bootstrapped-rails 1.1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. data/.DS_Store +0 -0
  2. data/.gitignore +4 -0
  3. data/Gemfile +4 -0
  4. data/Rakefile +1 -0
  5. data/bootstrapped-rails.gemspec +24 -0
  6. data/lib/.DS_Store +0 -0
  7. data/lib/bootstrapped-rails.rb +11 -0
  8. data/lib/bootstrapped-rails/.DS_Store +0 -0
  9. data/lib/bootstrapped-rails/engine.rb +6 -0
  10. data/lib/bootstrapped-rails/ie_hex_str.rb +16 -0
  11. data/lib/bootstrapped-rails/railtie.rb +6 -0
  12. data/lib/bootstrapped-rails/version.rb +5 -0
  13. data/vendor/.DS_Store +0 -0
  14. data/vendor/images/.DS_Store +0 -0
  15. data/vendor/images/glyphicons-halflings-white.png +0 -0
  16. data/vendor/images/glyphicons-halflings.png +0 -0
  17. data/vendor/javascripts/.DS_Store +0 -0
  18. data/vendor/javascripts/bootstrapped.js +1 -0
  19. data/vendor/javascripts/bootstrapped/.DS_Store +0 -0
  20. data/vendor/javascripts/bootstrapped/bootstrap-alert.js +91 -0
  21. data/vendor/javascripts/bootstrapped/bootstrap-button.js +98 -0
  22. data/vendor/javascripts/bootstrapped/bootstrap-carousel.js +154 -0
  23. data/vendor/javascripts/bootstrapped/bootstrap-collapse.js +136 -0
  24. data/vendor/javascripts/bootstrapped/bootstrap-dropdown.js +92 -0
  25. data/vendor/javascripts/bootstrapped/bootstrap-modal.js +209 -0
  26. data/vendor/javascripts/bootstrapped/bootstrap-popover.js +95 -0
  27. data/vendor/javascripts/bootstrapped/bootstrap-scrollspy.js +125 -0
  28. data/vendor/javascripts/bootstrapped/bootstrap-tab.js +130 -0
  29. data/vendor/javascripts/bootstrapped/bootstrap-tooltip.js +270 -0
  30. data/vendor/javascripts/bootstrapped/bootstrap-transition.js +51 -0
  31. data/vendor/javascripts/bootstrapped/bootstrap-typeahead.js +271 -0
  32. data/vendor/stylesheets/.DS_Store +0 -0
  33. data/vendor/stylesheets/bootstrapped-rails.css +3 -0
  34. data/vendor/stylesheets/bootstrapped/.DS_Store +0 -0
  35. data/vendor/stylesheets/bootstrapped/accordion.scss +28 -0
  36. data/vendor/stylesheets/bootstrapped/alerts.scss +70 -0
  37. data/vendor/stylesheets/bootstrapped/bootstrap.scss +62 -0
  38. data/vendor/stylesheets/bootstrapped/breadcrumbs.scss +22 -0
  39. data/vendor/stylesheets/bootstrapped/button-groups.scss +147 -0
  40. data/vendor/stylesheets/bootstrapped/buttons.scss +183 -0
  41. data/vendor/stylesheets/bootstrapped/carousel.scss +121 -0
  42. data/vendor/stylesheets/bootstrapped/close.scss +18 -0
  43. data/vendor/stylesheets/bootstrapped/code.scss +44 -0
  44. data/vendor/stylesheets/bootstrapped/component-animations.scss +18 -0
  45. data/vendor/stylesheets/bootstrapped/dropdowns.scss +131 -0
  46. data/vendor/stylesheets/bootstrapped/forms.scss +516 -0
  47. data/vendor/stylesheets/bootstrapped/grid.scss +8 -0
  48. data/vendor/stylesheets/bootstrapped/hero-unit.scss +20 -0
  49. data/vendor/stylesheets/bootstrapped/labels.scss +16 -0
  50. data/vendor/stylesheets/bootstrapped/layouts.scss +17 -0
  51. data/vendor/stylesheets/bootstrapped/mixins.scss +511 -0
  52. data/vendor/stylesheets/bootstrapped/modals.scss +72 -0
  53. data/vendor/stylesheets/bootstrapped/navbar.scss +292 -0
  54. data/vendor/stylesheets/bootstrapped/navs.scss +344 -0
  55. data/vendor/stylesheets/bootstrapped/pager.scss +30 -0
  56. data/vendor/stylesheets/bootstrapped/pagination.scss +55 -0
  57. data/vendor/stylesheets/bootstrapped/popovers.scss +49 -0
  58. data/vendor/stylesheets/bootstrapped/progress-bars.scss +95 -0
  59. data/vendor/stylesheets/bootstrapped/reset.scss +126 -0
  60. data/vendor/stylesheets/bootstrapped/responsive.scss +323 -0
  61. data/vendor/stylesheets/bootstrapped/scaffolding.scss +29 -0
  62. data/vendor/stylesheets/bootstrapped/sprites.scss +158 -0
  63. data/vendor/stylesheets/bootstrapped/tables.scss +130 -0
  64. data/vendor/stylesheets/bootstrapped/thumbnails.scss +35 -0
  65. data/vendor/stylesheets/bootstrapped/tooltip.scss +35 -0
  66. data/vendor/stylesheets/bootstrapped/type.scss +217 -0
  67. data/vendor/stylesheets/bootstrapped/utilities.scss +23 -0
  68. data/vendor/stylesheets/bootstrapped/variables.scss +99 -0
  69. data/vendor/stylesheets/bootstrapped/wells.scss +17 -0
  70. data/vendor/twitter/.gitignore +33 -0
  71. data/vendor/twitter/LICENSE +13 -0
  72. data/vendor/twitter/Makefile +59 -0
  73. data/vendor/twitter/README.md +94 -0
  74. data/vendor/twitter/docs/assets/bootstrap.zip +0 -0
  75. data/vendor/twitter/docs/assets/css/bootstrap-responsive.css +567 -0
  76. data/vendor/twitter/docs/assets/css/bootstrap.css +3365 -0
  77. data/vendor/twitter/docs/assets/css/docs.css +790 -0
  78. data/vendor/twitter/docs/assets/ico/bootstrap-apple-114x114.png +0 -0
  79. data/vendor/twitter/docs/assets/ico/bootstrap-apple-57x57.png +0 -0
  80. data/vendor/twitter/docs/assets/ico/bootstrap-apple-72x72.png +0 -0
  81. data/vendor/twitter/docs/assets/ico/favicon.ico +0 -0
  82. data/vendor/twitter/docs/assets/img/bird.png +0 -0
  83. data/vendor/twitter/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
  84. data/vendor/twitter/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
  85. data/vendor/twitter/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
  86. data/vendor/twitter/docs/assets/img/browsers.png +0 -0
  87. data/vendor/twitter/docs/assets/img/example-diagram-01.png +0 -0
  88. data/vendor/twitter/docs/assets/img/example-diagram-02.png +0 -0
  89. data/vendor/twitter/docs/assets/img/example-diagram-03.png +0 -0
  90. data/vendor/twitter/docs/assets/img/example-sites/bartop.png +0 -0
  91. data/vendor/twitter/docs/assets/img/example-sites/fleetio.png +0 -0
  92. data/vendor/twitter/docs/assets/img/example-sites/jshint.png +0 -0
  93. data/vendor/twitter/docs/assets/img/example-sites/kippt.png +0 -0
  94. data/vendor/twitter/docs/assets/img/example-sites/railwayjs.png +0 -0
  95. data/vendor/twitter/docs/assets/img/example-sites/totalwireframe.png +0 -0
  96. data/vendor/twitter/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
  97. data/vendor/twitter/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
  98. data/vendor/twitter/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
  99. data/vendor/twitter/docs/assets/img/github-16px.png +0 -0
  100. data/vendor/twitter/docs/assets/img/glyphicons-halflings-white.png +0 -0
  101. data/vendor/twitter/docs/assets/img/glyphicons-halflings.png +0 -0
  102. data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
  103. data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
  104. data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
  105. data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
  106. data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
  107. data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
  108. data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
  109. data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
  110. data/vendor/twitter/docs/assets/img/grid-18px-masked.png +0 -0
  111. data/vendor/twitter/docs/assets/img/icon-css3.png +0 -0
  112. data/vendor/twitter/docs/assets/img/icon-github.png +0 -0
  113. data/vendor/twitter/docs/assets/img/icon-html5.png +0 -0
  114. data/vendor/twitter/docs/assets/img/icon-twitter.png +0 -0
  115. data/vendor/twitter/docs/assets/img/less-logo-large.png +0 -0
  116. data/vendor/twitter/docs/assets/img/less-small.png +0 -0
  117. data/vendor/twitter/docs/assets/img/responsive-illustrations.png +0 -0
  118. data/vendor/twitter/docs/assets/js/README.md +106 -0
  119. data/vendor/twitter/docs/assets/js/application.js +180 -0
  120. data/vendor/twitter/docs/assets/js/bootstrap-alert.js +91 -0
  121. data/vendor/twitter/docs/assets/js/bootstrap-button.js +98 -0
  122. data/vendor/twitter/docs/assets/js/bootstrap-carousel.js +154 -0
  123. data/vendor/twitter/docs/assets/js/bootstrap-collapse.js +136 -0
  124. data/vendor/twitter/docs/assets/js/bootstrap-dropdown.js +92 -0
  125. data/vendor/twitter/docs/assets/js/bootstrap-modal.js +209 -0
  126. data/vendor/twitter/docs/assets/js/bootstrap-popover.js +95 -0
  127. data/vendor/twitter/docs/assets/js/bootstrap-scrollspy.js +125 -0
  128. data/vendor/twitter/docs/assets/js/bootstrap-tab.js +130 -0
  129. data/vendor/twitter/docs/assets/js/bootstrap-tooltip.js +270 -0
  130. data/vendor/twitter/docs/assets/js/bootstrap-transition.js +51 -0
  131. data/vendor/twitter/docs/assets/js/bootstrap-typeahead.js +271 -0
  132. data/vendor/twitter/docs/assets/js/google-code-prettify/prettify.css +30 -0
  133. data/vendor/twitter/docs/assets/js/google-code-prettify/prettify.js +28 -0
  134. data/vendor/twitter/docs/assets/js/jquery.js +9252 -0
  135. data/vendor/twitter/docs/base-css.html +1582 -0
  136. data/vendor/twitter/docs/build/index.js +33 -0
  137. data/vendor/twitter/docs/build/node_modules/.bin/hulk +93 -0
  138. data/vendor/twitter/docs/build/node_modules/hogan.js/.git_ignore +1 -0
  139. data/vendor/twitter/docs/build/node_modules/hogan.js/.gitmodules +3 -0
  140. data/vendor/twitter/docs/build/node_modules/hogan.js/LICENSE +177 -0
  141. data/vendor/twitter/docs/build/node_modules/hogan.js/Makefile +62 -0
  142. data/vendor/twitter/docs/build/node_modules/hogan.js/README.md +93 -0
  143. data/vendor/twitter/docs/build/node_modules/hogan.js/bin/hulk +93 -0
  144. data/vendor/twitter/docs/build/node_modules/hogan.js/lib/compiler.js +348 -0
  145. data/vendor/twitter/docs/build/node_modules/hogan.js/lib/hogan.js +20 -0
  146. data/vendor/twitter/docs/build/node_modules/hogan.js/lib/template.js +233 -0
  147. data/vendor/twitter/docs/build/node_modules/hogan.js/package.json +20 -0
  148. data/vendor/twitter/docs/build/node_modules/hogan.js/test/html/list.html +8 -0
  149. data/vendor/twitter/docs/build/node_modules/hogan.js/test/index.html +13 -0
  150. data/vendor/twitter/docs/build/node_modules/hogan.js/test/index.js +848 -0
  151. data/vendor/twitter/docs/build/node_modules/hogan.js/test/mustache.js +90 -0
  152. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec.js +77 -0
  153. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/Changes +31 -0
  154. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/README.md +65 -0
  155. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/Rakefile +27 -0
  156. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/TESTING.md +46 -0
  157. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +1 -0
  158. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +103 -0
  159. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +1 -0
  160. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +158 -0
  161. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +1 -0
  162. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +230 -0
  163. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +1 -0
  164. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +193 -0
  165. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +1 -0
  166. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +109 -0
  167. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +1 -0
  168. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +256 -0
  169. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +1 -0
  170. data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +149 -0
  171. data/vendor/twitter/docs/build/node_modules/hogan.js/test/templates/list.mustache +8 -0
  172. data/vendor/twitter/docs/build/node_modules/hogan.js/tools/release.js +74 -0
  173. data/vendor/twitter/docs/build/node_modules/hogan.js/tools/web_templates.js +32 -0
  174. data/vendor/twitter/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +500 -0
  175. data/vendor/twitter/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +14 -0
  176. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +500 -0
  177. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +14 -0
  178. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +545 -0
  179. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +5 -0
  180. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +576 -0
  181. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +576 -0
  182. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +572 -0
  183. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +5 -0
  184. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +5 -0
  185. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +5 -0
  186. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +5 -0
  187. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +619 -0
  188. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +233 -0
  189. data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +5 -0
  190. data/vendor/twitter/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
  191. data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
  192. data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
  193. data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
  194. data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
  195. data/vendor/twitter/docs/build/node_modules/hogan.js/web/index.html.mustache +139 -0
  196. data/vendor/twitter/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +206 -0
  197. data/vendor/twitter/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +236 -0
  198. data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +21 -0
  199. data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +21 -0
  200. data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/js.mustache +17 -0
  201. data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +64 -0
  202. data/vendor/twitter/docs/build/package.json +6 -0
  203. data/vendor/twitter/docs/components.html +1517 -0
  204. data/vendor/twitter/docs/download.html +362 -0
  205. data/vendor/twitter/docs/examples.html +145 -0
  206. data/vendor/twitter/docs/examples/fluid.html +150 -0
  207. data/vendor/twitter/docs/examples/hero.html +107 -0
  208. data/vendor/twitter/docs/examples/starter-template.html +77 -0
  209. data/vendor/twitter/docs/index.html +249 -0
  210. data/vendor/twitter/docs/javascript.html +1465 -0
  211. data/vendor/twitter/docs/less.html +795 -0
  212. data/vendor/twitter/docs/scaffolding.html +438 -0
  213. data/vendor/twitter/docs/templates/layout.mustache +132 -0
  214. data/vendor/twitter/docs/templates/pages/base-css.mustache +1468 -0
  215. data/vendor/twitter/docs/templates/pages/components.mustache +1403 -0
  216. data/vendor/twitter/docs/templates/pages/download.mustache +248 -0
  217. data/vendor/twitter/docs/templates/pages/examples.mustache +31 -0
  218. data/vendor/twitter/docs/templates/pages/index.mustache +136 -0
  219. data/vendor/twitter/docs/templates/pages/javascript.mustache +1352 -0
  220. data/vendor/twitter/docs/templates/pages/less.mustache +681 -0
  221. data/vendor/twitter/docs/templates/pages/scaffolding.mustache +324 -0
  222. data/vendor/twitter/docs/templates/pages/upgrading.mustache +183 -0
  223. data/vendor/twitter/docs/upgrading.html +297 -0
  224. data/vendor/twitter/img/glyphicons-halflings-white.png +0 -0
  225. data/vendor/twitter/img/glyphicons-halflings.png +0 -0
  226. data/vendor/twitter/js/README.md +106 -0
  227. data/vendor/twitter/js/bootstrap-alert.js +91 -0
  228. data/vendor/twitter/js/bootstrap-button.js +98 -0
  229. data/vendor/twitter/js/bootstrap-carousel.js +154 -0
  230. data/vendor/twitter/js/bootstrap-collapse.js +136 -0
  231. data/vendor/twitter/js/bootstrap-dropdown.js +92 -0
  232. data/vendor/twitter/js/bootstrap-modal.js +209 -0
  233. data/vendor/twitter/js/bootstrap-popover.js +95 -0
  234. data/vendor/twitter/js/bootstrap-scrollspy.js +125 -0
  235. data/vendor/twitter/js/bootstrap-tab.js +130 -0
  236. data/vendor/twitter/js/bootstrap-tooltip.js +270 -0
  237. data/vendor/twitter/js/bootstrap-transition.js +51 -0
  238. data/vendor/twitter/js/bootstrap-typeahead.js +271 -0
  239. data/vendor/twitter/js/tests/index.html +49 -0
  240. data/vendor/twitter/js/tests/unit/bootstrap-alert.js +41 -0
  241. data/vendor/twitter/js/tests/unit/bootstrap-button.js +54 -0
  242. data/vendor/twitter/js/tests/unit/bootstrap-collapse.js +25 -0
  243. data/vendor/twitter/js/tests/unit/bootstrap-dropdown.js +53 -0
  244. data/vendor/twitter/js/tests/unit/bootstrap-modal.js +85 -0
  245. data/vendor/twitter/js/tests/unit/bootstrap-popover.js +93 -0
  246. data/vendor/twitter/js/tests/unit/bootstrap-scrollspy.js +31 -0
  247. data/vendor/twitter/js/tests/unit/bootstrap-tab.js +45 -0
  248. data/vendor/twitter/js/tests/unit/bootstrap-tooltip.js +62 -0
  249. data/vendor/twitter/js/tests/unit/bootstrap-transition.js +13 -0
  250. data/vendor/twitter/js/tests/unit/bootstrap-typeahead.js +128 -0
  251. data/vendor/twitter/js/tests/vendor/jquery.js +9252 -0
  252. data/vendor/twitter/js/tests/vendor/qunit.css +232 -0
  253. data/vendor/twitter/js/tests/vendor/qunit.js +1510 -0
  254. data/vendor/twitter/scss/accordion.scss +28 -0
  255. data/vendor/twitter/scss/alerts.scss +70 -0
  256. data/vendor/twitter/scss/bootstrap.scss +62 -0
  257. data/vendor/twitter/scss/breadcrumbs.scss +22 -0
  258. data/vendor/twitter/scss/button-groups.scss +147 -0
  259. data/vendor/twitter/scss/buttons.scss +168 -0
  260. data/vendor/twitter/scss/carousel.scss +121 -0
  261. data/vendor/twitter/scss/close.scss +18 -0
  262. data/vendor/twitter/scss/code.scss +44 -0
  263. data/vendor/twitter/scss/component-animations.scss +18 -0
  264. data/vendor/twitter/scss/dropdowns.scss +131 -0
  265. data/vendor/twitter/scss/forms.scss +516 -0
  266. data/vendor/twitter/scss/grid.scss +8 -0
  267. data/vendor/twitter/scss/hero-unit.scss +20 -0
  268. data/vendor/twitter/scss/labels.scss +16 -0
  269. data/vendor/twitter/scss/layouts.scss +17 -0
  270. data/vendor/twitter/scss/mixins.scss +500 -0
  271. data/vendor/twitter/scss/modals.scss +72 -0
  272. data/vendor/twitter/scss/navbar.scss +292 -0
  273. data/vendor/twitter/scss/navs.scss +344 -0
  274. data/vendor/twitter/scss/pager.scss +30 -0
  275. data/vendor/twitter/scss/pagination.scss +55 -0
  276. data/vendor/twitter/scss/popovers.scss +49 -0
  277. data/vendor/twitter/scss/progress-bars.scss +95 -0
  278. data/vendor/twitter/scss/reset.scss +126 -0
  279. data/vendor/twitter/scss/responsive.scss +323 -0
  280. data/vendor/twitter/scss/scaffolding.scss +29 -0
  281. data/vendor/twitter/scss/sprites.scss +158 -0
  282. data/vendor/twitter/scss/tables.scss +130 -0
  283. data/vendor/twitter/scss/thumbnails.scss +35 -0
  284. data/vendor/twitter/scss/tooltip.scss +35 -0
  285. data/vendor/twitter/scss/type.scss +217 -0
  286. data/vendor/twitter/scss/utilities.scss +23 -0
  287. data/vendor/twitter/scss/variables.scss +99 -0
  288. data/vendor/twitter/scss/wells.scss +17 -0
  289. metadata +368 -0
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Copyright 2011 Twitter, Inc.
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software
10
+ * distributed under the License is distributed on an "AS IS" BASIS,
11
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the License for the specific language governing permissions and
13
+ * limitations under the License.
14
+ */var HoganTemplate=function(){function a(a){this.text=a}function h(a){var h=String(a===null?"":a);return g.test(h)?h.replace(b,"&amp;").replace(c,"&lt;").replace(d,"&gt;").replace(e,"&#39;").replace(f,"&quot;"):h}a.prototype={r:function(a,b){return""},v:h,render:function(a,b){return this.r(a,b)},rp:function(a,b,c,d){var e=c[a];return e?e.render(b,c):""},rs:function(a,b,c){var d="",e=a[a.length-1];if(!i(e))return d=c(a,b),d;for(var f=0;f<e.length;f++)a.push(e[f]),d+=c(a,b),a.pop();return d},s:function(a,b,c,d,e,f){if(i(a)&&a.length===0)return!1;!d&&typeof a=="function"&&(a=this.ls(a,b,c,e,f));var g=a===""||!!a;return!d&&g&&b&&b.push(typeof a=="object"?a:b[b.length-1]),g},d:function(a,b,c,d){if(a==="."&&i(b[b.length-2]))return b[b.length-1];var e=a.split("."),f=this.f(e[0],b,c,d),g=null;for(var h=1;h<e.length;h++)f&&typeof f=="object"&&e[h]in f?(g=f,f=f[e[h]]):f="";return d&&!f?!1:(!d&&typeof f=="function"&&(b.push(g),f=this.lv(f,b,c),b.pop()),f)},f:function(a,b,c,d){var e=!1,f=null,g=!1;for(var h=b.length-1;h>=0;h--){f=b[h];if(f&&typeof f=="object"&&a in f){e=f[a],g=!0;break}}return g?(!d&&typeof e=="function"&&(e=this.lv(e,b,c)),e):d?!1:""},ho:function(a,b,c,d){var e=a.call(b,d,function(a){return Hogan.compile(a).render(b)}),f=Hogan.compile(e.toString()).render(b,c);return this.b=f,!1},b:"",ls:function(a,b,c,d,e){var f=b[b.length-1];if(a.length>0)return this.ho(a,f,c,this.text.substring(d,e));var g=a.call(f);return typeof g=="function"?this.ho(g,f,c,this.text.substring(d,e)):g},lv:function(a,b,c){var d=b[b.length-1];return Hogan.compile(a.call(d).toString()).render(d,c)}};var b=/&/g,c=/</g,d=/>/g,e=/\'/g,f=/\"/g,g=/[&<>\"\']/,i=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};return a}(),Hogan=function(){function a(a){function s(){l.length>0&&(m.push(new String(l)),l="")}function t(){var a=!0;for(var b=p;b<m.length;b++){a=m[b].tag&&d[m[b].tag]<d._v||!m[b].tag&&m[b].match(c)==null;if(!a)return!1}return a}function u(a,b){s();if(a&&t())for(var c=p;c<m.length;c++)m[c].tag||m.splice(c,1);else b||m.push({tag:"\n"});n=!1,p=m.length}function v(a,c){var d="="+r,e=a.indexOf(d,c),f=b(a.substring(a.indexOf("=",c)+1,e)).split(" ");return q=f[0],r=f[1],e+d.length-1}var f=a.length,g=0,h=1,i=2,j=g,k=null,l="",m=[],n=!1,o=0,p=0,q="{{",r="}}";for(o=0;o<f;o++)if(j==g)e(q,a,o)?(--o,s(),j=h):a[o]=="\n"?u(n):l+=a[o];else if(j==h){o+=q.length-1;var w=d[a[o+1]];k=w?a[o+1]:"_v",n=o,k=="="?(o=v(a,o),j=g):(w&&o++,j=i)}else e(r,a,o)?(o+=r.length-1,m.push({tag:k,n:b(l),i:k=="/"?n-1:o+1}),l="",j=g,k=="{"&&o++):l+=a[o];return u(n,!0),m}function b(a){return a.trim?a.trim():a.replace(/^\s*|\s*$/g,"")}function e(a,b,c){if(b[c]!=a[0])return!1;for(var d=1,e=a.length;d<e;d++)if(b[c+d]!=a[d])return!1;return!0}function f(a,b,c,d){var e=[],i=null,j=null;while(a.length>0){j=a.shift();if(j.tag=="#"||j.tag=="^"||g(j,d))c.push(j),j.nodes=f(a,j.tag,c,d),e.push(j);else{if(j.tag=="/"){if(c.length==0)throw new Error("Closing tag without opener: /"+j.n);i=c.pop();if(j.n!=i.n&&!h(j.n,i.n,d))throw new Error("Nesting error: "+i.n+" vs. "+j.n);return i.end=j.i,e}e.push(j)}}if(c.length>0)throw new Error("missing closing tag: "+c.pop().n);return e}function g(a,b){for(var c=0,d=b.length;c<d;c++)if(b[c].o==a.n)return a.tag="#",!0}function h(a,b,c){for(var d=0,e=c.length;d<e;d++)if(c[d].c==a&&c[d].o==b)return!0}function i(a,b,c){var d='var c = [cx];var b = "";var _ = this;'+p(a)+"return b;";if(c.asString)return"function(cx,p){"+d+";};";var e=new HoganTemplate(b);return e.r=new Function("cx","p",d),e}function n(a){return a.replace(m,"\\\\").replace(j,'\\"').replace(k,"\\n").replace(l,"\\r")}function o(a){return~a.indexOf(".")?"d":"f"}function p(a){var b="";for(var c=0,d=a.length;c<d;c++){var e=a[c].tag;e=="#"?b+=q(a[c].nodes,a[c].n,o(a[c].n),a[c].i,a[c].end):e=="^"?b+=r(a[c].nodes,a[c].n,o(a[c].n)):e=="<"||e==">"?b+=s(a[c].n):e=="{"||e=="&"?b+=t(a[c].n,o(a[c].n)):e=="\n"?b+=v("\n"):e=="_v"?b+=u(a[c].n,o(a[c].n)):e===undefined&&(b+=v(a[c]))}return b}function q(a,b,c,d,e){var f="if(_.s(_."+c+'("'+n(b)+'",c,p,1),';return f+="c,p,0,"+d+","+e+")){",f+="b += _.rs(c,p,",f+='function(c,p){ var b = "";',f+=p(a),f+="return b;});c.pop();}",f+='else{b += _.b; _.b = ""};',f}function r(a,b,c){var d="if (!_.s(_."+c+'("'+n(b)+'",c,p,1),c,p,1,0,0)){';return d+=p(a),d+="};",d}function s(a){return'b += _.rp("'+n(a)+'",c[c.length - 1],p);'}function t(a,b){return"b += (_."+b+'("'+n(a)+'",c,p,0));'}function u(a,b){return"b += (_.v(_."+b+'("'+n(a)+'",c,p,0)));'}function v(a){return'b += "'+n(a)+'";'}var c=/\S/,d={"#":1,"^":2,"/":3,"!":4,">":5,"<":6,"=":7,_v:8,"{":9,"&":10},j=/\"/g,k=/\n/g,l=/\r/g,m=/\\/g;return{scan:a,parse:function(a,b){return b=b||{},f(a,"",[],b.sectionTags||[])},cache:{},compile:function(b,c){c=c||{};var d=this.cache[b];return d?d:(d=i(this.parse(a(b),c),b,c),this.cache[b]=d)}}}();typeof module!="undefined"&&module.exports?(module.exports=Hogan,module.exports.Template=HoganTemplate):typeof exports!="undefined"&&(exports.Hogan=Hogan,exports.HoganTemplate=HoganTemplate);
@@ -0,0 +1,500 @@
1
+ /*
2
+ * Copyright 2011 Twitter, Inc.
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software
10
+ * distributed under the License is distributed on an "AS IS" BASIS,
11
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the License for the specific language governing permissions and
13
+ * limitations under the License.
14
+ */
15
+
16
+ var HoganTemplate = (function () {
17
+
18
+ function constructor(text) {
19
+ this.text = text;
20
+ };
21
+
22
+ constructor.prototype = {
23
+ // render: replaced by generated code.
24
+ r: function (context, partials) { return ''; },
25
+
26
+ // variable escaping
27
+ v: hoganEscape,
28
+
29
+ render: function render(context, partials) {
30
+ return this.r(context, partials);
31
+ },
32
+
33
+ // tries to find a partial in the curent scope and render it
34
+ rp: function(name, context, partials, indent) {
35
+ var partial = partials[name];
36
+
37
+ if (!partial) {
38
+ return '';
39
+ }
40
+
41
+ return partial.render(context, partials);
42
+ },
43
+
44
+ // render a section
45
+ rs: function(context, partials, section) {
46
+ var buf = '';
47
+ var tail = context[context.length - 1];
48
+ if (!isArray(tail)) {
49
+ buf = section(context, partials);
50
+ return buf;
51
+ }
52
+
53
+ for (var i = 0; i < tail.length; i++) {
54
+ context.push(tail[i]);
55
+ buf += section(context, partials);
56
+ context.pop();
57
+ }
58
+ return buf;
59
+ },
60
+
61
+ // maybe start a section
62
+ s: function(val, ctx, partials, inverted, start, end) {
63
+ if (isArray(val) && val.length === 0) {
64
+ return false;
65
+ }
66
+
67
+ if (!inverted && typeof val == 'function') {
68
+ val = this.ls(val, ctx, partials, start, end);
69
+ }
70
+
71
+ var pass = (val === '') || !!val;
72
+
73
+ if (!inverted && pass && ctx) {
74
+ ctx.push((typeof val == 'object') ? val : ctx[ctx.length - 1]);
75
+ }
76
+
77
+ return pass;
78
+ },
79
+
80
+ // find values with dotted names
81
+ d: function(key, ctx, partials, returnFound) {
82
+ if (key === '.' && isArray(ctx[ctx.length - 2])) {
83
+ return ctx[ctx.length - 1];
84
+ }
85
+
86
+ var names = key.split('.');
87
+ var val = this.f(names[0], ctx, partials, returnFound);
88
+ var cx = null;
89
+ for (var i = 1; i < names.length; i++) {
90
+ if (val && typeof val == 'object' && names[i] in val) {
91
+ cx = val;
92
+ val = val[names[i]];
93
+ } else {
94
+ val = '';
95
+ }
96
+ }
97
+
98
+ if (returnFound && !val) {
99
+ return false;
100
+ }
101
+
102
+ if (!returnFound && typeof val == 'function') {
103
+ ctx.push(cx);
104
+ val = this.lv(val, ctx, partials);
105
+ ctx.pop();
106
+ }
107
+
108
+ return val;
109
+ },
110
+
111
+ // find values with normal names
112
+ f: function(key, ctx, partials, returnFound) {
113
+ var val = false;
114
+ var v = null;
115
+ var found = false;
116
+
117
+ for (var i = ctx.length - 1; i >= 0; i--) {
118
+ v = ctx[i];
119
+ if (v && typeof v == 'object' && key in v) {
120
+ val = v[key];
121
+ found = true;
122
+ break;
123
+ }
124
+ }
125
+
126
+ if (!found) {
127
+ return (returnFound) ? false : "";
128
+ }
129
+
130
+ if (!returnFound && typeof val == 'function') {
131
+ val = this.lv(val, ctx, partials);
132
+ }
133
+
134
+ return val;
135
+ },
136
+
137
+ // higher order templates
138
+ ho: function(val, cx, partials, text) {
139
+ var t = val.call(cx, text, function(t) {
140
+ return Hogan.compile(t).render(cx);
141
+ });
142
+ var s = Hogan.compile(t.toString()).render(cx, partials);
143
+ this.b = s;
144
+ return false;
145
+ },
146
+
147
+ // higher order template result buffer
148
+ b: '',
149
+
150
+ // lambda replace section
151
+ ls: function(val, ctx, partials, start, end) {
152
+ var cx = ctx[ctx.length - 1];
153
+ if (val.length > 0) {
154
+ return this.ho(val, cx, partials, this.text.substring(start, end));
155
+ }
156
+ var t = val.call(cx);
157
+ if (typeof t == 'function') {
158
+ return this.ho(t, cx, partials, this.text.substring(start, end));
159
+ }
160
+ return t;
161
+ },
162
+
163
+ // lambda replace variable
164
+ lv: function(val, ctx, partials) {
165
+ var cx = ctx[ctx.length - 1];
166
+ return Hogan.compile(val.call(cx).toString()).render(cx, partials);
167
+ }
168
+ };
169
+
170
+ var rAmp = /&/g, rLt = /</g, rGt = />/g, rApos =/\'/g,
171
+ rQuot = /\"/g, hChars =/[&<>\"\']/;
172
+ function hoganEscape(str) {
173
+ var s = String(str === null ? '' : str);
174
+ return hChars.test(s) ? s.replace(rAmp,'&amp;')
175
+ .replace(rLt,'&lt;').replace(rGt,'&gt;')
176
+ .replace(rApos,'&#39;').replace(rQuot, '&quot;') : s;
177
+ }
178
+
179
+ var isArray = Array.isArray || function(a) {
180
+ return Object.prototype.toString.call(a) === '[object Array]';
181
+ }
182
+
183
+ return constructor;
184
+ })();
185
+
186
+ var Hogan = (function () {
187
+
188
+ function scan(text) {
189
+ var len = text.length,
190
+ IN_TEXT = 0,
191
+ IN_TAG_TYPE = 1,
192
+ IN_TAG = 2,
193
+ state = IN_TEXT,
194
+ tagType = null,
195
+ buf = '',
196
+ tokens = [],
197
+ seenTag = false,
198
+ i = 0,
199
+ lineStart = 0,
200
+ otag = '{{',
201
+ ctag = '}}';
202
+
203
+ function addBuf() {
204
+ if (buf.length > 0) {
205
+ tokens.push(new String(buf));
206
+ buf = '';
207
+ }
208
+ }
209
+
210
+ function lineIsWhitespace() {
211
+ var isAllWhitespace = true;
212
+ for (var j = lineStart; j < tokens.length; j++) {
213
+ isAllWhitespace =
214
+ (tokens[j].tag && tagTypes[tokens[j].tag] < tagTypes['_v']) ||
215
+ (!tokens[j].tag && tokens[j].match(rIsWhitespace) == null);
216
+ if (!isAllWhitespace) {
217
+ return false;
218
+ }
219
+ }
220
+
221
+ return isAllWhitespace;
222
+ }
223
+
224
+ function filterLine(haveSeenTag, noNewLine) {
225
+ addBuf();
226
+ if (haveSeenTag && lineIsWhitespace()) {
227
+ for (var j = lineStart; j < tokens.length; j++) {
228
+ if (!tokens[j].tag) {
229
+ tokens.splice(j, 1);
230
+ }
231
+ }
232
+ } else if (!noNewLine) {
233
+ tokens.push({tag:'\n'})
234
+ }
235
+
236
+ seenTag = false;
237
+ lineStart = tokens.length;
238
+ }
239
+
240
+ function changeDelimiters(text, index) {
241
+ var close = '=' + ctag;
242
+ var closeIndex = text.indexOf(close, index);
243
+ var delimiters = trim(text.substring(text.indexOf('=', index) + 1,
244
+ closeIndex)).split(' ');
245
+ otag = delimiters[0];
246
+ ctag = delimiters[1];
247
+ return closeIndex + close.length - 1;
248
+ }
249
+
250
+ for (i = 0; i < len; i++) {
251
+ if (state == IN_TEXT) {
252
+ if (tagChange(otag, text, i)) {
253
+ --i;
254
+ addBuf();
255
+ state = IN_TAG_TYPE;
256
+ } else {
257
+ if (text[i] == '\n') {
258
+ filterLine(seenTag);
259
+ } else {
260
+ buf += text[i];
261
+ }
262
+ }
263
+ } else if (state == IN_TAG_TYPE) {
264
+ i += otag.length - 1;
265
+ var tag = tagTypes[text[i + 1]];
266
+ tagType = tag ? text[i + 1] : '_v';
267
+ seenTag = i;
268
+ if (tagType == '=') {
269
+ i = changeDelimiters(text, i);
270
+ state = IN_TEXT;
271
+ } else {
272
+ if (tag) {
273
+ i++;
274
+ }
275
+ state = IN_TAG;
276
+ }
277
+ } else {
278
+ if (tagChange(ctag, text, i)) {
279
+ i += ctag.length - 1;
280
+ tokens.push({tag: tagType, n: trim(buf),
281
+ i: (tagType == '/') ? seenTag - 1 : i + 1});
282
+ buf = '';
283
+ state = IN_TEXT;
284
+ if (tagType == '{') {
285
+ i++;
286
+ }
287
+ } else {
288
+ buf += text[i];
289
+ }
290
+ }
291
+ }
292
+
293
+ filterLine(seenTag, true);
294
+
295
+ return tokens;
296
+ }
297
+
298
+ function trim(s) {
299
+ if (s.trim) {
300
+ return s.trim();
301
+ }
302
+
303
+ return s.replace(/^\s*|\s*$/g, '');
304
+ }
305
+
306
+ // remove whitespace according to Mustache spec
307
+ var rIsWhitespace = /\S/;
308
+
309
+ var tagTypes = {
310
+ '#': 1, '^': 2, '/': 3, '!': 4, '>': 5,
311
+ '<': 6, '=': 7, '_v': 8, '{': 9, '&': 10
312
+ };
313
+
314
+ function tagChange(tag, text, index) {
315
+ if (text[index] != tag[0]) {
316
+ return false;
317
+ }
318
+
319
+ for (var i = 1, l = tag.length; i < l; i++) {
320
+ if (text[index + i] != tag[i]) {
321
+ return false;
322
+ }
323
+ }
324
+
325
+ return true;
326
+ }
327
+
328
+ function buildTree(tokens, kind, stack, customTags) {
329
+ var instructions = [],
330
+ opener = null,
331
+ token = null;
332
+
333
+ while (tokens.length > 0) {
334
+ token = tokens.shift();
335
+ if (token.tag == '#' || token.tag == '^' ||
336
+ isOpener(token, customTags)) {
337
+ stack.push(token);
338
+ token.nodes = buildTree(tokens, token.tag, stack, customTags);
339
+ instructions.push(token);
340
+ } else if (token.tag == '/') {
341
+ if (stack.length == 0) {
342
+ throw new Error('Closing tag without opener: /' + token.n);
343
+ }
344
+ opener = stack.pop();
345
+ if (token.n != opener.n && !isCloser(token.n, opener.n, customTags)) {
346
+ throw new Error('Nesting error: ' + opener.n + ' vs. ' + token.n);
347
+ }
348
+ opener.end = token.i;
349
+ return instructions;
350
+ } else {
351
+ instructions.push(token);
352
+ }
353
+ }
354
+
355
+ if (stack.length > 0) {
356
+ throw new Error('missing closing tag: ' + stack.pop().n);
357
+ }
358
+
359
+ return instructions;
360
+ }
361
+
362
+ function isOpener(token, tags) {
363
+ for (var i = 0, l = tags.length; i < l; i++) {
364
+ if (tags[i].o == token.n) {
365
+ token.tag = '#';
366
+ return true;
367
+ }
368
+ }
369
+ }
370
+
371
+ function isCloser(close, open, tags) {
372
+ for (var i = 0, l = tags.length; i < l; i++) {
373
+ if (tags[i].c == close && tags[i].o == open) {
374
+ return true;
375
+ }
376
+ }
377
+ }
378
+
379
+ function generate(tree, text, options) {
380
+ var code = 'var c = [cx];var b = "";var _ = this;' +
381
+ walk(tree) + 'return b;';
382
+ if (options.asString) {
383
+ return 'function(cx,p){' + code + ';};';
384
+ }
385
+
386
+ var template = new HoganTemplate(text);
387
+ template.r = new Function('cx', 'p', code);
388
+ return template;
389
+ }
390
+
391
+ var rQuot = /\"/g, rNewline = /\n/g, rCr = /\r/g, rSlash = /\\/g;
392
+ function esc(s) {
393
+ return s.replace(rSlash, '\\\\')
394
+ .replace(rQuot, '\\\"')
395
+ .replace(rNewline, '\\n')
396
+ .replace(rCr, '\\r')
397
+ };
398
+
399
+ function chooseMethod(s) {
400
+ return (~s.indexOf('.')) ? 'd' : 'f';
401
+ }
402
+
403
+ function walk(tree) {
404
+ var code = '';
405
+ for (var i = 0, l = tree.length; i < l; i++) {
406
+ var tag = tree[i].tag;
407
+ if (tag == '#') {
408
+ code += section(tree[i].nodes, tree[i].n, chooseMethod(tree[i].n),
409
+ tree[i].i, tree[i].end);
410
+ } else if (tag == '^') {
411
+ code += invertedSection(tree[i].nodes, tree[i].n,
412
+ chooseMethod(tree[i].n));
413
+ } else if (tag == '<' || tag == '>') {
414
+ code += partial(tree[i].n);
415
+ } else if (tag == '{' || tag == '&') {
416
+ code += tripleStache(tree[i].n, chooseMethod(tree[i].n));
417
+ } else if (tag == '\n') {
418
+ code += text('\n');
419
+ } else if (tag == '_v') {
420
+ code += variable(tree[i].n, chooseMethod(tree[i].n));
421
+ } else if (tag === undefined) {
422
+ code += text(tree[i]);
423
+ }
424
+ }
425
+ return code;
426
+ }
427
+
428
+ function section(nodes, id, method, start, end) {
429
+ var code = 'if(_.s(_.' + method + '("' + esc(id) + '",c,p,1),';
430
+ code += 'c,p,0,' + start + ',' + end + ')){';
431
+ code += 'b += _.rs(c,p,';
432
+ code += 'function(c,p){ var b = "";';
433
+ code += walk(nodes);
434
+ code += 'return b;});c.pop();}';
435
+ code += 'else{b += _.b; _.b = ""};';
436
+ return code;
437
+ }
438
+
439
+ function invertedSection(nodes, id, method) {
440
+ var code = 'if (!_.s(_.' + method + '("' + esc(id) + '",c,p,1),c,p,1,0,0)){';
441
+ code += walk(nodes);
442
+ code += '};';
443
+ return code;
444
+ }
445
+
446
+ function partial(id) {
447
+ return 'b += _.rp("' + esc(id) + '",c[c.length - 1],p);';
448
+ }
449
+
450
+ function tripleStache(id, method) {
451
+ return 'b += (_.' + method + '("' + esc(id) + '",c,p,0));';
452
+ }
453
+
454
+ function variable(id, method) {
455
+ return 'b += (_.v(_.' + method + '("' + esc(id) + '",c,p,0)));';
456
+ }
457
+
458
+ function text(id) {
459
+ return 'b += "' + esc(id) + '";';
460
+ }
461
+
462
+ return ({
463
+ scan: scan,
464
+
465
+ parse: function(tokens, options) {
466
+ options = options || {};
467
+ return buildTree(tokens, '', [], options.sectionTags || []);
468
+ },
469
+
470
+ cache: {},
471
+
472
+ compile: function(text, options) {
473
+ // options
474
+ //
475
+ // asString: false (default)
476
+ //
477
+ // sectionTags: [{o: '_foo', c: 'foo'}]
478
+ // An array of object with o and c fields that indicate names for custom
479
+ // section tags. The example above allows parsing of {{_foo}}{{/foo}}.
480
+ //
481
+ options = options || {};
482
+
483
+ var t = this.cache[text];
484
+ if (t) {
485
+ return t;
486
+ }
487
+ t = generate(this.parse(scan(text), options), text, options);
488
+ return this.cache[text] = t;
489
+ }
490
+ });
491
+ })();
492
+
493
+ // Export the hogan constructor for Node.js and CommonJS.
494
+ if (typeof module !== 'undefined' && module.exports) {
495
+ module.exports = Hogan;
496
+ module.exports.Template = HoganTemplate;
497
+ } else if (typeof exports !== 'undefined') {
498
+ exports.Hogan = Hogan;
499
+ exports.HoganTemplate = HoganTemplate;
500
+ }