working on web templates
making progress

http://requirejs.org/docs/api.html
http://api.jquery.com/Types/#Element
http://api.qunitjs.com/equal/
http://knockoutjs.com/documentation/introduction.html
http://underscorejs.org/#indexOf
http://www.knockmeout.net/2013/01/simple-editor-pattern-knockout-js.html
https://github.com/umdjs/umd/blob/master/returnExports.js
http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth
https://github.com/volojs/volo
https://www.google.com/search?q=javascript+object+properties&aq=0&oq=javascript+object+prop&aqs=chrome.0.0j57j0l2j60j62.5697&sourceid=chrome&ie=UTF-8#hl=en&sclient=psy-ab&q=qunit+test+changes+to+dom+manipulation&oq=qunit+test+changes+to+DOM&gs_l=serp.1.0.33i29i30.1629538.1638585.3.1647910.25.23.0.0.0.0.3055.16577.2-1j1j2j3j3j9-4.14.0.les%3B..0.0...1c.1.6.psy-ab.5176GNs9i2w&pbx=1&bav=on.2,or.r_cp.r_qf.&fp=cba69c603a692dbc&biw=1241&bih=802
http://coding.smashingmagazine.com/2012/06/27/introduction-to-javascript-unit-testing/
http://stackoverflow.com/questions/1435038/testing-javascript-that-manipulates-the-dom
http://stackoverflow.com/questions/9949645/qunit-testing-of-html-dom-manipulation-procedures
https://www.google.com/search?q=knockoutjs&aq=f&oq=knockoutjs&aqs=chrome.0.57j5j0l2j60l2.6015&sourceid=chrome&ie=UTF-8#hl=en&sclient=psy-ab&q=ko.tojs&oq=ko.tojs&gs_l=serp.3..0l4.15014420.15016856.0.15019225.7.5.0.2.2.0.116.499.3j2.5.0.les%3B..0.0...1c.1.6.psy-ab.up043APULlw&pbx=1&bav=on.2,or.r_cp.r_qf.&bvm=bv.43828540,d.aWc&fp=cba69c603a692dbc&biw=1214&bih=722
http://knockoutjs.com/documentation/json-data.html
http://knockoutjs.com/documentation/plugins-mapping.html


trying to get require and jquery to work as expected...
might need a break from this for a bit.

thoughts about converting tree.py to javascript
then remember reading that should just use the DOM to store items...
makes sense

https://www.google.com/search?q=javascript+functions+vs+objects&aq=f&oq=javascript+functions+vs+objects&aqs=chrome.0.57j0l2j62l3.5657&sourceid=chrome&ie=UTF-8
http://stackoverflow.com/questions/5958417/javascript-function-and-object
http://stackoverflow.com/questions/1595611/how-to-properly-create-a-custom-object-in-javascript?lq=1
https://www.google.com/search?hl=en&sclient=psy-ab&q=javascript+window.self&oq=javascript+window.self&gs_l=serp.3..0j0i7i30l2j0i7i10i30.171301997.171302918.0.171303870.7.7.0.0.0.3.342.1156.1j4j1j1.7.0.les%3B..0.0...1c.1.5.psy-ab.IFYPOZ6ytYc&pbx=1&biw=1070&bih=704&cad=cbv&sei=lK80Uar8OceVyQHy-oGIAQ
http://stackoverflow.com/questions/3309516/when-to-use-self-in-javascript
http://ngauthier.com/2012/04/var-self-equals-lame.html#meowlater
http://www.w3schools.com/jsref/prop_win_self.asp
http://stackoverflow.com/questions/962033/what-underlies-this-javascript-idiom-var-self-this
http://alistapart.com/article/getoutbindingsituations
https://www.google.com/search?q=javascript+closure&oq=javascript+closure&aqs=chrome.0.57l2j61j59j62l2.4655&sourceid=chrome&ie=UTF-8
http://stackoverflow.com/questions/111102/how-do-javascript-closures-work
https://www.google.com/search?q=requirejs+create+object&aq=f&oq=requirejs+create+object&aqs=chrome.0.57j62l3.13552&sourceid=chrome&ie=UTF-8
http://stackoverflow.com/questions/8159873/how-to-use-a-backbone-model-with-node-js-and-amd-require-js-on-the-browser?rq=1
http://stackoverflow.com/questions/5608685/using-requirejs-how-do-i-pass-in-global-objects-or-singletons-around
http://backbonetutorials.com/organizing-backbone-using-modules/
https://www.google.com/search?q=javascript+optional+arguments+function&aq=0&oq=javascript+optional+arguments+&aqs=chrome.1.57j0l3j62l2.21204&sourceid=chrome&ie=UTF-8#hl=en&sclient=psy-ab&q=javascript+named+arguments+function&oq=javascript+named+arguments+function&gs_l=serp.3..0i30j0i8i30l3.669424.670096.0.670868.5.5.0.0.0.1.335.743.3j1j0j1.5.0.les%3B..0.0...1c.1.5.psy-ab.HZLkdjzkEIY&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&bvm=bv.43148975,d.aWc&fp=443df112168ae7b8&biw=1070&bih=704
http://stackoverflow.com/questions/11796093/named-parameters-in-javascript
http://stackoverflow.com/questions/2141520/javascript-variable-number-of-arguments-to-function?rq=1
http://stackoverflow.com/questions/587496/javascript-functions-and-optional-arguments
http://stackoverflow.com/questions/411352/how-best-to-determine-if-an-argument-is-not-sent-to-the-javascript-function?rq=1


revisiting CSS preprocessors.
SASS might have nice syntax, but keeping ruby available just for that is a hassle.
That leaves LESS or Stylus
both seem pretty good. Stylus is maybe a bit more sleek, but LESS is a lot more popular. I like that either can be compiled in the browser while developing. That simplifies things.

http://lesscss.org/#usage

http://www.google.com/search?q=css+less+sass&aq=f&oq=css+less+sass&sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8#hl=en&client=ubuntu&hs=89x&channel=cs&sclient=psy-ab&q=css+preprocessor&oq=css+pre&gs_l=serp.1.1.0l4.139810.140309.0.142905.4.4.0.0.0.1.256.632.0j3j1.4.0.les%3B..0.0...1c.1.5.psy-ab._OuZsX4ZfEc&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.43287494,d.aWc&fp=aa79bc8eab752bf1&biw=774&bih=850
http://en.blog.wordpress.com/2012/12/21/css-sass-less/
http://en.wikipedia.org/wiki/LESS_(stylesheet_language)
http://lesscss.org/
http://lesscss.org/#usage
https://github.com/cloudhead/less.js
http://css-tricks.com/poll-results-popularity-of-css-preprocessors/
http://www.google.com/search?q=less+vs+stylus&aq=f&oq=less+vs+stylus&sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8
http://blog.myfriendbrad.com/post/20861295678/sass-vs-less-vs-stylus
http://net.tutsplus.com/tutorials/html-css-techniques/sass-vs-less-vs-stylus-a-preprocessor-shootout/
http://net.tutsplus.com/tutorials/html-css-techniques/sass-vs-less-vs-stylus-a-preprocessor-shootout/
https://gist.github.com/paulmillr
http://www.google.com/search?q=stylus+css&aq=f&oq=stylus+css&sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8
http://learnboost.github.com/stylus/docs/import.html
http://learnboost.github.com/stylus/try.html
view-source:http://learnboost.github.com/stylus/try.html
http://www.google.com/search?q=codemirror&aq=f&oq=codemirror&sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8
http://codemirror.net/
http://codemirror.net/demo/resize.html


investigating modular javascript (using require.js) a bit more
getting a better feel for it

still not 100% comfortable with arguments/parameters to functions
no named parameters it seems

more reading about closures and modules

reading up on closures