Permalink
Browse files

Remove all trailing whitespace and add EOF newlines

  • Loading branch information...
1 parent 2b99514 commit 176e3b3181ede1b166c88eefaad239e36f6ba8c8 @sindresorhus sindresorhus committed Aug 4, 2012
Showing with 589 additions and 589 deletions.
  1. +1 −1 .editorconfig
  2. +1 −1 architecture-examples/agilityjs/index.html
  3. +2 −2 architecture-examples/agilityjs/js/lib/agility.min.js
  4. +1 −1 architecture-examples/backbone/js/lib/backbone-localstorage.js
  5. +1 −1 architecture-examples/closure/build/closure-linter.version
  6. +1 −1 architecture-examples/closure/build/plovr.version
  7. +1 −1 architecture-examples/closure/index.html
  8. +1 −1 architecture-examples/closure/js/todomvc/view/templates.soy
  9. +1 −1 architecture-examples/closure/plovr.json
  10. +2 −2 architecture-examples/closure/readme.md
  11. +2 −2 architecture-examples/dojo/css/app.css
  12. +1 −1 architecture-examples/dojo/index.html
  13. +1 −1 architecture-examples/dojo/js/lib/dojo/cldr/nls/en/number.js
  14. +1 −1 architecture-examples/dojo/js/lib/dojo/dojo.js
  15. +16 −16 architecture-examples/dojo/js/todo/app.js
  16. +1 −1 architecture-examples/dojo/js/todo/form/CheckBox.js
  17. +2 −2 architecture-examples/dojo/js/todo/model/TodoModel.js
  18. +71 −71 architecture-examples/emberjs/js/libs/ember-latest.js
  19. +1 −1 architecture-examples/gwt/gwttodo/171663EC66CBE8FE7F0996BF7956E52B.cache.js
  20. +1 −1 architecture-examples/gwt/gwttodo/1CAC86B44F6B27D12EAF64AAF8436B20.cache.js
  21. +1 −1 architecture-examples/gwt/gwttodo/2BE730BB9138544318275E910F2291A9.cache.js
  22. +1 −1 architecture-examples/gwt/gwttodo/A332DBFB2D1C19D956ABF64D582D9BBB.cache.js
  23. +1 −1 architecture-examples/gwt/gwttodo/gwttodo.nocache.js
  24. +2 −2 architecture-examples/gwt/index.html
  25. +3 −3 architecture-examples/gwt/readme.md
  26. +1 −1 architecture-examples/gwt/src/com/todo/GwtToDo.gwt.xml
  27. +2 −2 architecture-examples/gwt/src/com/todo/client/TextBoxWithPlaceholder.java
  28. +2 −2 architecture-examples/gwt/src/com/todo/client/ToDoItem.java
  29. +3 −3 architecture-examples/gwt/src/com/todo/client/ToDoPresenter.java
  30. +1 −1 architecture-examples/gwt/src/com/todo/client/ToDoView.java
  31. +3 −3 architecture-examples/gwt/src/com/todo/client/ToDoView.ui.xml
  32. +1 −1 architecture-examples/jquery/css/app.css
  33. +1 −1 architecture-examples/jquery/index.html
  34. +1 −1 architecture-examples/jquery/js/app.js
  35. +1 −1 architecture-examples/jquery/readme.md
  36. +1 −1 architecture-examples/knockback/Cakefile
  37. +1 −1 architecture-examples/knockback/index.html
  38. +1 −1 architecture-examples/knockback/js/lib/backbone.localStorage-min.js
  39. +1 −1 architecture-examples/knockback/js/lib/knockback.min.js
  40. +1 −1 architecture-examples/knockback/readme.md
  41. +1 −1 architecture-examples/knockback/src/app.coffee
  42. +1 −1 architecture-examples/knockback/src/models/todo.coffee
  43. +1 −1 architecture-examples/knockback/src/models/todo_collection.coffee
  44. +1 −1 architecture-examples/knockback/src/routers/app.coffee
  45. +1 −1 architecture-examples/knockback/src/viewmodels/footer.coffee
  46. +1 −1 architecture-examples/knockback/src/viewmodels/header.coffee
  47. +1 −1 architecture-examples/knockback/src/viewmodels/settings.coffee
  48. +1 −1 architecture-examples/knockback/src/viewmodels/todos.coffee
  49. +1 −1 architecture-examples/knockoutjs/index.html
  50. +1 −1 architecture-examples/knockoutjs/readme.md
  51. +1 −1 architecture-examples/spine/Cakefile
  52. +1 −1 architecture-examples/spine/css/app.css
  53. +1 −1 architecture-examples/spine/index.html
  54. +1 −1 architecture-examples/spine/js/lib/local.js
  55. +1 −1 architecture-examples/spine/js/lib/route.min.js
  56. +1 −1 architecture-examples/spine/js/lib/spine.min.js
  57. +1 −1 architecture-examples/spine/readme.md
  58. +1 −1 architecture-examples/spine/src/app.coffee
  59. +1 −1 architecture-examples/spine/src/controllers/todos.coffee
  60. +1 −1 architecture-examples/spine/src/models/todo.coffee
  61. +1 −1 architecture-examples/yui/index.html
  62. +6 −6 architecture-examples/yui/js/app.js
  63. +1 −1 architecture-examples/yui/js/models/todolist.js
  64. +4 −4 architecture-examples/yui/js/views/todoview.js
  65. +1 −1 assets/base.js
  66. +1 −1 dependency-examples/backbone_require/js/lib/jquery/jquery.min.js
  67. +1 −1 dependency-examples/backbone_require/js/views/todos.js
  68. +1 −1 dependency-examples/emberjs_require/js/app/models/store.js
  69. +1 −1 dependency-examples/emberjs_require/js/app/models/todo.js
  70. +1 −1 dependency-examples/emberjs_require/js/app/specs/controllers/todos.js
  71. +1 −1 dependency-examples/emberjs_require/js/app/specs/models/store.js
  72. +2 −2 dependency-examples/emberjs_require/js/app/specs/todoMVC.js
  73. +1 −1 dependency-examples/emberjs_require/js/app/specs/views/basic_acceptance.js
  74. +1 −1 dependency-examples/emberjs_require/js/lib/ember-latest.min.js
  75. +1 −1 dependency-examples/emberjs_require/js/lib/require/require.js
  76. +1 −1 dependency-examples/emberjs_require/js/lib/require/text.js
  77. +1 −1 dependency-examples/emberjs_require/readme.md
  78. +1 −1 labs/architecture-examples/batman/index.html
  79. +1 −1 labs/architecture-examples/batman/js/lib/batman.min.js
  80. +1 −1 labs/architecture-examples/batman/readme.md
  81. +1 −1 labs/architecture-examples/canjs/dojo-widget/base.css
  82. +1 −1 labs/architecture-examples/canjs/dojo-widget/font/font-awesome.css
  83. +1 −1 labs/architecture-examples/canjs/dojo/base.css
  84. +1 −1 labs/architecture-examples/canjs/dojo/index.html
  85. +1 −1 labs/architecture-examples/canjs/dojo/todo.css
  86. +6 −6 labs/architecture-examples/canjs/dojo/todo.ejs
  87. +1 −1 labs/architecture-examples/cujo/app/controls/strings.js
  88. +1 −1 labs/architecture-examples/cujo/app/controls/structure.css
  89. +1 −1 labs/architecture-examples/cujo/app/create/cleanTodo.js
  90. +1 −1 labs/architecture-examples/cujo/app/create/generateMetadata.js
  91. +1 −1 labs/architecture-examples/cujo/app/create/strings.js
  92. +1 −1 labs/architecture-examples/cujo/app/create/validateTodo.js
  93. +1 −1 labs/architecture-examples/cujo/app/footer/strings.js
  94. +1 −1 labs/architecture-examples/cujo/app/list/setCompletedClass.js
  95. +1 −1 labs/architecture-examples/cujo/app/list/strings.js
  96. +1 −1 labs/architecture-examples/cujo/app/list/structure.css
  97. +1 −1 labs/architecture-examples/cujo/app/main.js
  98. +1 −1 labs/architecture-examples/cujo/app/run.js
  99. +1 −1 labs/architecture-examples/cujo/index.html
  100. +1 −1 labs/architecture-examples/cujo/lib/aop/README.md
  101. +1 −1 labs/architecture-examples/cujo/lib/aop/package.json
  102. +1 −1 labs/architecture-examples/cujo/lib/cola/AdapterResolver.js
  103. +1 −1 labs/architecture-examples/cujo/lib/cola/adapter/Object.js
  104. +1 −1 labs/architecture-examples/cujo/lib/cola/adapter/makeTransformed.js
  105. +1 −1 labs/architecture-examples/cujo/lib/cola/comparator/byProperty.js
  106. +1 −1 labs/architecture-examples/cujo/lib/cola/comparator/naturalOrder.js
  107. +1 −1 labs/architecture-examples/cujo/lib/cola/demo/ArrayToNodeList.html
  108. +1 −1 labs/architecture-examples/cujo/lib/cola/dom/adapter/Node.js
  109. +1 −1 labs/architecture-examples/cujo/lib/cola/dom/adapter/NodeList.js
  110. +1 −1 labs/architecture-examples/cujo/lib/cola/dom/bindingHandler.js
  111. +1 −1 labs/architecture-examples/cujo/lib/cola/dom/events.js
  112. +1 −1 labs/architecture-examples/cujo/lib/cola/dom/formElementFinder.js
  113. +1 −1 labs/architecture-examples/cujo/lib/cola/dom/formToObject.js
  114. +1 −1 labs/architecture-examples/cujo/lib/cola/dom/guess.js
  115. +1 −1 labs/architecture-examples/cujo/lib/cola/dom/has.js
  116. +1 −1 labs/architecture-examples/cujo/lib/cola/identifier/default.js
  117. +1 −1 labs/architecture-examples/cujo/lib/cola/identifier/property.js
  118. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/base.js
  119. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/changeEvent.js
  120. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/collectThenDeliver.js
  121. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/compose.js
  122. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/default.js
  123. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/minimal.js
  124. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/syncAfterJoin.js
  125. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/syncDataDirectly.js
  126. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/targetFirstItem.js
  127. +1 −1 labs/architecture-examples/cujo/lib/cola/network/strategy/validate.js
  128. +1 −1 labs/architecture-examples/cujo/lib/cola/package.json
  129. +1 −1 labs/architecture-examples/cujo/lib/cola/projection/assign.js
  130. +1 −1 labs/architecture-examples/cujo/lib/cola/projection/inherit.js
  131. +1 −1 labs/architecture-examples/cujo/lib/cola/relational/propertiesKey.js
  132. +1 −1 labs/architecture-examples/cujo/lib/cola/transform/configure.js
  133. +1 −1 labs/architecture-examples/cujo/lib/cola/transform/createEnum.js
  134. +1 −1 labs/architecture-examples/cujo/lib/cola/transform/expression.js
  135. +1 −1 labs/architecture-examples/cujo/lib/cola/validation/composeValidators.js
  136. +1 −1 labs/architecture-examples/cujo/lib/curl/src/curl/plugin/async.js
  137. +4 −4 labs/architecture-examples/cujo/lib/curl/src/curl/plugin/css.js
  138. +1 −1 labs/architecture-examples/cujo/lib/curl/src/curl/plugin/text.js
  139. +1 −1 labs/architecture-examples/cujo/lib/poly/README.md
  140. +1 −1 labs/architecture-examples/cujo/lib/poly/package.json
  141. +1 −1 labs/architecture-examples/cujo/lib/poly/support/json2.js
  142. +1 −1 labs/architecture-examples/cujo/lib/when/.travis.yml
  143. +1 −1 labs/architecture-examples/cujo/lib/when/LICENSE.txt
  144. +1 −1 labs/architecture-examples/cujo/lib/when/apply.js
  145. +1 −1 labs/architecture-examples/cujo/lib/when/debug.js
  146. +1 −1 labs/architecture-examples/cujo/lib/when/package.json
  147. +1 −1 labs/architecture-examples/cujo/lib/wire/LICENSE.txt
  148. +1 −1 labs/architecture-examples/cujo/lib/wire/README.md
  149. +1 −1 labs/architecture-examples/cujo/lib/wire/base.js
  150. +1 −1 labs/architecture-examples/cujo/lib/wire/cram/builder.js
  151. +2 −2 labs/architecture-examples/cujo/lib/wire/debug.js
  152. +2 −2 labs/architecture-examples/cujo/lib/wire/dojo/data.js
  153. +1 −1 labs/architecture-examples/cujo/lib/wire/dojo/dijit.js
  154. +1 −1 labs/architecture-examples/cujo/lib/wire/dojo/dom.js
  155. +4 −4 labs/architecture-examples/cujo/lib/wire/dojo/events.js
  156. +1 −1 labs/architecture-examples/cujo/lib/wire/dojo/pubsub.js
  157. +1 −1 labs/architecture-examples/cujo/lib/wire/dojo/store.js
  158. +1 −1 labs/architecture-examples/cujo/lib/wire/dom.js
  159. +1 −1 labs/architecture-examples/cujo/lib/wire/dom/transform/cardinality.js
  160. +1 −1 labs/architecture-examples/cujo/lib/wire/dom/transform/mapClasses.js
  161. +1 −1 labs/architecture-examples/cujo/lib/wire/dom/transform/mapTokenList.js
  162. +1 −1 labs/architecture-examples/cujo/lib/wire/dom/transform/toggleClasses.js
  163. +1 −1 labs/architecture-examples/cujo/lib/wire/lib/array.js
  164. +1 −1 labs/architecture-examples/cujo/lib/wire/lib/component.js
  165. +1 −1 labs/architecture-examples/cujo/lib/wire/lib/connection.js
  166. +1 −1 labs/architecture-examples/cujo/lib/wire/lib/context.js
  167. +1 −1 labs/architecture-examples/cujo/lib/wire/lib/lifecycle.js
  168. +1 −1 labs/architecture-examples/cujo/lib/wire/lib/object.js
  169. +1 −1 labs/architecture-examples/cujo/lib/wire/lib/resolver.js
  170. +1 −1 labs/architecture-examples/cujo/lib/wire/package.json
  171. +1 −1 labs/architecture-examples/cujo/lib/wire/wire.js
  172. +1 −1 labs/architecture-examples/dijon/index.html
  173. +1 −1 labs/architecture-examples/dijon/js/app.js
  174. +1 −1 labs/architecture-examples/dijon/js/config.js
  175. +1 −1 labs/architecture-examples/dijon/js/lib/dijon-0.5.3.min.js
  176. +1 −1 labs/architecture-examples/dijon/js/models/TodosModel.js
  177. +1 −1 labs/architecture-examples/dijon/js/services/LocalStorageService.js
  178. +1 −1 labs/architecture-examples/dijon/js/utils/Utils.js
  179. +1 −1 labs/architecture-examples/dijon/js/views/FooterView.js
  180. +1 −1 labs/architecture-examples/dijon/js/views/TodoFormView.js
  181. +1 −1 labs/architecture-examples/dijon/js/views/TodoListView.js
  182. +1 −1 labs/architecture-examples/dijon/readme.md
  183. +1 −1 labs/architecture-examples/duel/pom.xml
  184. +1 −1 labs/architecture-examples/duel/src/main/resources/views/HomePage.duel
  185. +1 −1 labs/architecture-examples/duel/src/main/webapp/css/base.css
  186. +1 −1 labs/architecture-examples/epitome/index.html
  187. +1 −1 labs/architecture-examples/epitome/js/app.js
  188. +1 −1 labs/architecture-examples/epitome/js/collections/todo-collection.js
  189. +1 −1 labs/architecture-examples/epitome/js/controllers/todo-router.js
  190. +1 −1 labs/architecture-examples/epitome/js/lib/Epitome-min.js
  191. +1 −1 labs/architecture-examples/epitome/js/lib/mootools-yui-compressed.js
  192. +1 −1 labs/architecture-examples/epitome/js/models/todo-model.js
  193. +1 −1 labs/architecture-examples/epitome/js/views/todo-list.js
  194. +1 −1 labs/architecture-examples/epitome/js/views/todo-main.js
  195. +1 −1 labs/architecture-examples/epitome/readme.md
  196. +1 −1 labs/architecture-examples/extjs/index.html
  197. +2 −2 labs/architecture-examples/fun/app.fun
  198. +2 −2 labs/architecture-examples/fun/css/app.css
  199. +43 −43 labs/architecture-examples/fun/index.html
  200. +1 −1 labs/architecture-examples/gwt/css/app.css
  201. +1 −1 labs/architecture-examples/gwt/css/override.css
  202. +1 −1 labs/architecture-examples/gwt/gwttodo/5FD4AAC86E219AC1FF43B8231BBFC9A4.cache.js
  203. +1 −1 labs/architecture-examples/gwt/gwttodo/87D689CCFADB5E3A71E49647FA69B184.cache.js
  204. +1 −1 labs/architecture-examples/gwt/gwttodo/935405CAEE8D167A6A3D4E8FAE65D368.cache.js
  205. +1 −1 labs/architecture-examples/gwt/gwttodo/B0CF42A3AE3A14F349D922E798684002.cache.js
  206. +1 −1 labs/architecture-examples/gwt/gwttodo/F489C51DB09285D5DF4838E66BE501DB.cache.js
  207. +1 −1 labs/architecture-examples/gwt/gwttodo/FE73BA09C21765BDF56D7DE5BC958B2F.cache.js
  208. +1 −1 labs/architecture-examples/gwt/gwttodo/gwttodo.nocache.js
  209. +2 −2 labs/architecture-examples/gwt/index.html
  210. +3 −3 labs/architecture-examples/gwt/readme.md
  211. +1 −1 labs/architecture-examples/gwt/src/com/todo/GwtToDo.gwt.xml
  212. +2 −2 labs/architecture-examples/gwt/src/com/todo/client/TextBoxWithPlaceholder.java
  213. +25 −25 labs/architecture-examples/gwt/src/com/todo/client/ToDoCell.java
  214. +8 −8 labs/architecture-examples/gwt/src/com/todo/client/ToDoItem.java
  215. +28 −28 labs/architecture-examples/gwt/src/com/todo/client/ToDoPresenter.java
  216. +26 −26 labs/architecture-examples/gwt/src/com/todo/client/ToDoView.java
  217. +1 −1 labs/architecture-examples/gwt/src/com/todo/client/ToDoView.ui.xml
  218. +1 −1 labs/architecture-examples/maria/lib/aristocrat/aristocrat.js
  219. +13 −13 labs/architecture-examples/maria/lib/maria/maria.js
  220. +1 −1 labs/architecture-examples/maria/src/js/templates/TodosInputTemplate.js
  221. +1 −1 labs/architecture-examples/meteor/.meteor/packages
  222. +1 −1 labs/architecture-examples/meteor/css/base.css
  223. +1 −1 labs/architecture-examples/o_O/index.html
  224. +1 −1 labs/architecture-examples/o_O/js/lib/o_O.js
  225. +1 −1 labs/architecture-examples/o_O/js/lib/o_O.router.js
  226. +1 −1 labs/architecture-examples/olives/index.html
  227. +9 −9 labs/architecture-examples/olives/js/app.js
  228. +1 −1 labs/architecture-examples/olives/js/lib/Tools.js
  229. +13 −13 labs/architecture-examples/olives/js/uis/Controls.js
  230. +8 −8 labs/architecture-examples/olives/js/uis/Input.js
  231. +1 −1 labs/architecture-examples/plastronjs/index.html
  232. +1 −1 labs/architecture-examples/plastronjs/js/app.js
  233. +1 −1 labs/architecture-examples/plastronjs/js/controllers/listcontrol.js
  234. +1 −1 labs/architecture-examples/plastronjs/js/models/listmodel.js
  235. +1 −1 labs/architecture-examples/plastronjs/js/models/todomodel.js
  236. +1 −1 labs/architecture-examples/plastronjs/js/sync/listsync.js
  237. +1 −1 labs/architecture-examples/plastronjs/plovr.json
  238. +1 −1 labs/architecture-examples/plastronjs/readme.md
  239. +1 −1 labs/architecture-examples/rappidjs/app/Todo.xml
  240. +1 −1 labs/architecture-examples/rappidjs/app/TodoClass.js
  241. +1 −1 labs/architecture-examples/rappidjs/app/collection/TodoList.js
  242. +1 −1 labs/architecture-examples/rappidjs/app/lib/rappidjs.min.js
  243. +1 −1 labs/architecture-examples/rappidjs/app/model/Todo.js
  244. +1 −1 labs/architecture-examples/rappidjs/config.json
  245. +1 −1 labs/architecture-examples/rappidjs/css/app.css
  246. +1 −1 labs/architecture-examples/rappidjs/index.html
  247. +1 −1 labs/architecture-examples/rappidjs/readme.md
  248. +1 −1 labs/architecture-examples/socketstream/.gitignore
  249. +1 −1 labs/architecture-examples/socketstream/app.js
  250. +1 −1 labs/architecture-examples/socketstream/client/code/app/app.js
  251. +1 −1 labs/architecture-examples/socketstream/client/code/app/entry.js
  252. +1 −1 labs/architecture-examples/socketstream/client/code/libs/base.js
  253. +1 −1 labs/architecture-examples/socketstream/client/code/libs/ie.js
  254. +1 −1 labs/architecture-examples/socketstream/client/code/libs/jquery.min.js
  255. +1 −1 labs/architecture-examples/socketstream/client/css/base.css
  256. +1 −1 labs/architecture-examples/somajs/index.html
  257. +1 −1 labs/architecture-examples/somajs/js/app.js
  258. +1 −1 labs/architecture-examples/somajs/js/lib/soma-native_v1.0.2_min.js
  259. +1 −1 labs/architecture-examples/somajs/js/todos/controllers/controllers.js
  260. +1 −1 labs/architecture-examples/somajs/js/todos/models/models.js
  261. +1 −1 labs/architecture-examples/somajs/readme.md
  262. +1 −1 labs/architecture-examples/stapes/index.html
  263. +1 −1 labs/architecture-examples/stapes/js/controllers/todoController.js
  264. +1 −1 labs/architecture-examples/stapes/js/lib/stapes.js
  265. +1 −1 labs/architecture-examples/stapes/js/models/todoModel.js
  266. +1 −1 labs/architecture-examples/stapes/js/stores/todoStore.js
  267. +1 −1 labs/architecture-examples/stapes/js/views/todoView.js
  268. +1 −1 labs/architecture-examples/troopjs/js/config.js
  269. +1 −1 labs/architecture-examples/troopjs/js/widget/clear.js
  270. +1 −1 labs/architecture-examples/troopjs/js/widget/item.html
  271. +1 −1 labs/dependency-examples/knockoutjs_require/index.html
  272. +1 −1 labs/dependency-examples/knockoutjs_require/js/config/global.js
  273. +1 −1 labs/dependency-examples/knockoutjs_require/js/extends/native.js
  274. +1 −1 labs/dependency-examples/knockoutjs_require/js/models/Todo.js
  275. +6 −6 labs/dependency-examples/knockoutjs_require/js/viewmodels/todo.js
  276. +1 −1 labs/dependency-examples/stapes_require/index.html
  277. +1 −1 labs/dependency-examples/stapes_require/js/app.js
  278. +1 −1 labs/dependency-examples/stapes_require/js/controllers/todoController.js
  279. +1 −1 labs/dependency-examples/stapes_require/js/lib/stapes.js
  280. +1 −1 labs/dependency-examples/stapes_require/js/lib/zepto.js
  281. +1 −1 labs/dependency-examples/stapes_require/js/models/todoModel.js
  282. +1 −1 labs/dependency-examples/stapes_require/js/stores/todoStore.js
  283. +1 −1 labs/dependency-examples/stapes_require/js/views/todoView.js
  284. +1 −1 site/css/bootstrap-responsive.css
  285. +1 −1 site/css/bootstrap-responsive.min.css
  286. +1 −1 site/css/main.css
  287. +1 −1 site/js/bootstrap.js
  288. +1 −1 site/js/bootstrap.min.js
  289. +1 −1 site/js/main.js
  290. +1 −1 template/css/app.css
  291. +1 −1 template/index.html
  292. +1 −1 template/js/app.js
  293. +1 −1 template/readme.md
  294. +1 −1 vanilla-examples/vanillajs/index.html
View
@@ -6,4 +6,4 @@ indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
-insert_final_newline = true
+insert_final_newline = true
@@ -54,4 +54,4 @@
<script src="js/localstorage.js"></script>
<script src="js/app.js"></script>
</body>
-</html>
+</html>

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -81,4 +81,4 @@ Backbone.sync = function(method, model, options) {
} else {
options.error("Record not found");
}
-};
+};
@@ -1 +1 @@
-2.3.5
+2.3.5
@@ -1 +1 @@
-plovr-4b3caf2b7d84
+plovr-4b3caf2b7d84
@@ -48,4 +48,4 @@
<!-- The COMPILED development version (to serve the files run java -jar build/plovr.jar serve plovr.json) -->
<!-- <script type="text/javascript" src="http://localhost:9810/compile?id=todomvc&mode=ADVANCED"></script> -->
</body>
-</html>
+</html>
@@ -46,4 +46,4 @@
*/
{template .clearCompletedInner}
Clear completed ({$number})
-{/template}
+{/template}
@@ -11,7 +11,7 @@
// Unfortunately, the Closure Library violates these in many places.
// "accessControls": "ERROR",
// "visibility": "ERROR"
-
+
"checkRegExp": "WARNING",
"checkTypes": "WARNING",
"checkVars": "WARNING",
@@ -25,7 +25,7 @@ Whilst Plovr features many of the tools from the Closure toolkit, one very usefu
The linter must be installed before use, the installation package is included in the build folder and the instructions are available on the [linter homepage](https://developers.google.com/closure/utilities/). Once installed run the following to check for errors -
-`find . -name *.js | xargs gjslint`
+`find . -name *.js | xargs gjslint`
(or whatever floats your OSs boat)
@@ -47,4 +47,4 @@ Part of [TodoMVC](http://todomvc.com)
## License
-Public Domain
+Public Domain
@@ -4,7 +4,7 @@
}
#todoapp.todos_selected #clear-completed,
-#todoapp.todos_present #footer,
+#todoapp.todos_present #footer,
#todoapp.todos_present #main,
.multiple .plural {
display: inherit;
@@ -79,7 +79,7 @@
margin: 0 !important;
}
-/**
+/**
* Inline edit box doesn't provide indication via class names
* when a box is 'live'. Style values are set manually. Use the
* opacity change as indicator... :( */
@@ -17,7 +17,7 @@
<p>Double-click to edit a todo</p>
<p>Created by <a href="http://jamesthom.as/">James Thomas</a> and <a href="https://github.com/edchat">Ed Chatelain</a></p>
</footer>
-
+
<script src="../../assets/base.js"></script>
<script data-dojo-config="async:true, parseOnLoad:true, locale:'en', paths:{'todo':'../todo/'}, deps:['dojo/parser', 'todo/app']" src="js/lib/dojo/dojo.js"></script>
</body>
@@ -20,4 +20,4 @@ define(
"decimalFormat-short": "000T"
}
//end v1.x content
-);
+);

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -12,7 +12,7 @@ define(["dojo/_base/declare",
"dojo/text!./app.html",
// Template Widgets
"todo/form/InlineEditBox", "todo/form/CheckBox", "dojox/mvc/Group", "dojox/mvc/Repeat", "dojox/mvc/Output"],
- function(declare, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, lang, _event, on, domClass, domAttr,
+ function(declare, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, lang, _event, on, domClass, domAttr,
query, str, manager, keys, mvc, hash, connect, TodoModel, template) {
return declare("todo.app", [_WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin], {
@@ -64,10 +64,10 @@ define(["dojo/_base/declare",
this.onItemStatusUpdate();
},
- /**
- * Ensure application state reflects current
+ /**
+ * Ensure application state reflects current
* hash value after rendering model in the view.
- */
+ */
startup: function () {
this.inherited(arguments);
this.onHashChange(hash());
@@ -115,7 +115,7 @@ define(["dojo/_base/declare",
* Also verify state of the "Mark All" box.
*/
onItemStatusUpdate: function () {
- var completed = this.model.complete.get("value"),
+ var completed = this.model.complete.get("value"),
length = this.model.todos.get("length");
domClass.toggle(this.domNode, "todos_selected", completed > 0);
@@ -129,9 +129,9 @@ define(["dojo/_base/declare",
/**
* Event fired when user selects the "Mark All" checkbox.
- * Update selection state of all the todos based upon current
+ * Update selection state of all the todos based upon current
* checked value.
- */
+ */
onMarkAll: function () {
var checked = this.mark_all.checked;
@@ -146,7 +146,7 @@ define(["dojo/_base/declare",
* text value as new todo item in the model.
*/
onKeyPress: function (event) {
- if (event.keyCode !== keys.ENTER ||
+ if (event.keyCode !== keys.ENTER ||
!str.trim(event.target.value).length) {
return;
}
@@ -163,28 +163,28 @@ define(["dojo/_base/declare",
*/
onRemove: function (event) {
this.model.todos.remove(domAttr.get(event.target, "data-model-id"));
- },
+ },
/**
- * Whenever the user double clicks the item label,
+ * Whenever the user double clicks the item label,
* set inline edit box to true.
- */
+ */
onEdit: function (event) {
query(".inline_edit", event.target).forEach(function (inline_edit) {
manager.byNode(inline_edit).edit();
});
},
/**
- * When the URI's hash value changes, modify the
+ * When the URI's hash value changes, modify the
* displayed list items to show either completed,
- * remaining or all tasks.
+ * remaining or all tasks.
* Also highlight currently selected link value.
- */
+ */
onHashChange: function (hash) {
- var showIfDone = (hash === this.COMPLETED ? false :
+ var showIfDone = (hash === this.COMPLETED ? false :
(hash === this.ACTIVE? true : null));
-
+
query("#todo-list > li").forEach(lang.hitch(this, function (item, idx) {
var done = this.model.todos[idx].completed.get("value");
domClass.toggle(item, "hidden", done === showIfDone);
@@ -1,4 +1,4 @@
-/**
+/**
* There's an incompatibility between the Dojo CheckBox and the Dojo MVC
* module. To use them together, I've manually tied the "checked" attribute
* value to push updates to the "value" attribute, which the Dojo MVC module
@@ -73,9 +73,9 @@ define(["dojo/_base/declare", "dojox/mvc/StatefulModel", "todo/store/LocalStorag
},
/**
- * Search through current tasks list, removing all
+ * Search through current tasks list, removing all
* with empty titles.
- */
+ */
deleteEmptyTasks: function () {
var len = this.todos.length, idx = 0;
Oops, something went wrong.

0 comments on commit 176e3b3

Please sign in to comment.