Skip to content

Commit

Permalink
Updated project to TroopJS 2.x
Browse files Browse the repository at this point in the history
* Fix jshint errors.
* Clean bower_components.
* Update global, remove local learn.json.
* Only edit when dblclick on `.view label`.
* Update title from Template -> TroopJS.
* Use .toggle (to simplify reading the code).
* Add support for ESC_KEY during edit.
* Escape title in template.
* Use unminified versions of components.
* Remove comments from html.
* Remove `type` from script attribute.
* Remove `baseUrl` from requirejs config.
* Convert double to single quotes for javascript (in index.html).
* Move troopjs -> troopjs_require and update the main index.html file to reflect updates in the framework.
* Use `.focus()` instead of `.select()`.
* Use Array natives for iteration.
* Remove redundant package configuration.
* `else` and `else if` on the same row as bracket.
* No space before `:`.
* Break `define` into multiple rows.
* Simplify filter.
* Stay consistent with anonymous function usage.
* Add newlines.
* Apply the same fix as in tastejs/todomvc@dca5107.
* Don't quote keys.
* Remove self evident comments.
* Update storage code to _always_ restore UI on fail.
  • Loading branch information
mikaelkaron committed May 29, 2013
1 parent 609f6cc commit b975647
Show file tree
Hide file tree
Showing 35 changed files with 12,104 additions and 10,001 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ <h2>Module Loaders</h2>
<a href="labs/dependency-examples/canjs_require/" data-source="http://canjs.us" data-content="CanJS is a client-side, JavaScript framework that makes building rich web applications easy. The AMD version lets you use the framework in a fully modular fashion and will only what you actually need.">CanJS + RequireJS</a>
</li>
<li class="routing labs">
<a href="labs/dependency-examples/troopjs/" data-source="https://github.com/troopjs/" data-content="TroopJS attempts to package popular front-end technologies and bind them with minimal effort for the developer. It includes jQuery for DOM manipulation, ComposeJS for object composition, RequireJS for modularity and Has.js for feature detection. On top, it includes Pub/Sub support, templating, weaving (widgets to DOM) and auto-wiring.">TroopJS</a>
<a href="labs/dependency-examples/troopjs_require/" data-source="https://github.com/troopjs/" data-content="TroopJS attempts to package popular front-end technologies and bind them with minimal effort for the developer. It includes jQuery for DOM manipulation, When.js for promises, RequireJS for modularity and Has.js for feature detection. On top, it includes Pub/Sub support, templating, weaving (widgets to DOM) and auto-wiring.">TroopJS + RequireJS</a>
</li>
<li class="routing labs">
<a href="labs/dependency-examples/thorax_lumbar/public/" data-source="http://walmartlabs.github.com/lumbar" data-content="An opinionated, battle tested Backbone + Handlebars framework to build large scale web applications. This implementation uses Lumbar, a route based module loader.">Thorax + Lumbar</a>
Expand Down
9 changes: 0 additions & 9 deletions labs/dependency-examples/troopjs/bower.json

This file was deleted.

47 changes: 0 additions & 47 deletions labs/dependency-examples/troopjs/index.html

This file was deleted.

29 changes: 0 additions & 29 deletions labs/dependency-examples/troopjs/js/app.js

This file was deleted.

4 changes: 0 additions & 4 deletions labs/dependency-examples/troopjs/js/config.js

This file was deleted.

Loading

0 comments on commit b975647

Please sign in to comment.