ide - Javascript code -
i checked websites source code , javascript games. problem readable , understandable except javascript code isolated on file extension .js
. looks this:
{vargas=void0,h=!0,ge=null,l=!1,aa=component,ba=infinity,ca=set timeout,da=is nan,m=math,ea=deconstructionism;function he(a,b){return a.on-load=b}function ie(a,b){return a.on error=b}function ha(a,b) {return a.name=b}
as can see, it's hard read code because of stupid indentation. tried use microsoft visual web developer , free javascript editors organize code, useless!
how can make more readable?
the best place start @ other open source java script libraries/modules/plugins. must have original code though, because see in browser "compiled" web small , fast.
for client have plenty frameworks. example @ list jsfiddle uses (top-left). can use tool play javascript without having install anything. search on web projects (that jsfiddle uses libraries) , code.
there server-side javascript library allows write javascript code server (also web apps, server side of them). called node.js ceck page find out more. in node.js have infinite number of open source , small modules: see node module registry wehre find links individual project.
in case, need github account play other's code because of these projects stored on github.
Comments
Post a Comment