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,33 @@
1
+ #!/usr/bin/env node
2
+ var hogan = require('hogan.js')
3
+ , fs = require('fs')
4
+ , prod = process.argv[2] == 'production'
5
+
6
+ var layout, pages
7
+
8
+ // compile layout template
9
+ layout = fs.readFileSync(__dirname + '/../templates/layout.mustache', 'utf-8')
10
+ layout = hogan.compile(layout, { sectionTags: [{o:'_i', c:'i'}] })
11
+
12
+ // retrieve pages
13
+ pages = fs.readdirSync(__dirname + '/../templates/pages')
14
+
15
+ // iterate over pages
16
+ pages.forEach(function (name) {
17
+
18
+ if (!name.match(/\.mustache$/)) return
19
+
20
+ var page = fs.readFileSync(__dirname + '/../templates/pages/' + name, 'utf-8')
21
+ , context = {}
22
+
23
+ context[name.replace(/\.mustache$/, '')] = 'active'
24
+ context._i = true
25
+ context.production = prod
26
+
27
+ page = hogan.compile(page, { sectionTags: [{o:'_i', c:'i'}] })
28
+ page = layout.render(context, {
29
+ body: page
30
+ })
31
+
32
+ fs.writeFileSync(__dirname + '/../' + name.replace(/mustache$/, 'html'), page, 'utf-8')
33
+ })
@@ -0,0 +1,93 @@
1
+ #!/usr/bin/env node
2
+
3
+ /*
4
+ * Copyright 2011 Twitter, Inc.
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ var hogan = require('../lib/hogan.js'),
19
+ path = require('path'),
20
+ fs = require('fs');
21
+
22
+ var specials = ['/', '.', '*', '+', '?', '|','(', ')', '[', ']', '{', '}', '\\'],
23
+ specialsRegExp = new RegExp('(\\' + specials.join('|\\') + ')', 'g'),
24
+ templates;
25
+
26
+
27
+ // Escape special regexp characters
28
+ function esc(text) {
29
+ return text.replace(specialsRegExp, '\\$1');
30
+ }
31
+
32
+
33
+ // Check for dirs and correct ext (<3 for windows)
34
+ function extractFiles(args) {
35
+ var usage = 'USAGE: hulk ./templates/*.mustaches\n' +
36
+ 'NOTE: hulk supports the "*" wildcard and allows you to target specific extensions too',
37
+ files = [];
38
+
39
+ if (!args.length) {
40
+ console.log(usage);
41
+ process.exit(-1);
42
+ }
43
+
44
+ args.forEach(function (arg) {
45
+
46
+ if (/\*/.test(arg)) {
47
+ arg = arg.split('*');
48
+ return files = files.concat(
49
+ fs.readdirSync(arg[0] || '.')
50
+ .map(function (f) {
51
+ return new RegExp(esc(arg[1]) + '$').test(f) && path.join(arg[0], f);
52
+ })
53
+ .filter(function (f) {
54
+ return f;
55
+ })
56
+ );
57
+ }
58
+
59
+ files.push(arg);
60
+
61
+ })
62
+
63
+ return files;
64
+ }
65
+
66
+
67
+ // Remove utf-8 byte order mark, http://en.wikipedia.org/wiki/Byte_order_mark
68
+ function removeByteOrderMark(text) {
69
+ if (text.charCodeAt(0) === 0xfeff) {
70
+ return text.substring(1);
71
+ }
72
+ return text;
73
+ }
74
+
75
+
76
+ // Write a template foreach file that matches template extension
77
+ templates = extractFiles(process.argv.slice(2))
78
+ .map(function (file) {
79
+ var openedFile = fs.readFileSync(file, 'utf-8'), name;
80
+ if (!openedFile) return;
81
+ name = file.replace(/\..*$/, '');
82
+ openedFile = removeByteOrderMark(openedFile.trim());
83
+ return 'templates.' + name + ' = new Hogan.Template(' + hogan.compile(openedFile, { asString: 1 }) + ');';
84
+ })
85
+ .filter(function (t) {
86
+ return t;
87
+ });
88
+
89
+
90
+ // Output templates
91
+ if (!templates.length) return;
92
+ console.log('var templates = {};');
93
+ console.log(templates.join('\n'));
@@ -0,0 +1,3 @@
1
+ [submodule "test/spec"]
2
+ path = test/spec
3
+ url = https://github.com/mustache/spec.git
@@ -0,0 +1,177 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,62 @@
1
+ REPO = git@github.com:twitter/hogan.js.git
2
+ BUILD := build
3
+ VERSION = ${shell node -e 'var s = JSON.parse(require("fs").readFileSync("package.json").toString()).version; console.log(s.substring(0, s.indexOf("-")));'}
4
+
5
+ #
6
+ # Run command line tests
7
+ #
8
+ test:
9
+ @ node test/index.js
10
+
11
+ #
12
+ # Run Mustache spec tests
13
+ #
14
+ spec:
15
+ @ node test/spec.js
16
+
17
+ #
18
+ # Run benchmark
19
+ #
20
+ benchmark:
21
+ @ node benchmark/console/index.js
22
+
23
+ clean:
24
+ @ rm -rf dist/*
25
+ #
26
+ # Make a new version of Hogan from the current dev version.
27
+ #
28
+ release: clean
29
+ @ echo "Creating a new version of Hogan."
30
+ @ mkdir -p dist/nodejs
31
+ @ cp -R lib dist/nodejs/lib
32
+ @ node tools/release.js
33
+ @ mkdir -p web/builds/$(VERSION)
34
+ @ cp dist/*.* web/builds/$(VERSION)/.
35
+ #
36
+ # Make the gh-pages website
37
+ #
38
+ # This target builds the hogan.js github website using hogan.js.
39
+ #
40
+ # cd into build/gh-pages to check in the new site.
41
+ #
42
+ GH_PAGES = $(BUILD)/gh-pages
43
+ web: | pages
44
+ @cp -R web/* $(GH_PAGES)
45
+ @@ node tools/web_templates.js
46
+ @echo
47
+ @echo "Website built in $(GH_PAGES)."
48
+
49
+ #
50
+ # Checkout the gh-pages branch.
51
+ #
52
+ pages: | $(BUILD)
53
+ @if [ ! -d "$(GH_PAGES)" ]; then \
54
+ git clone -b gh-pages $(REPO) $(GH_PAGES); \
55
+ rm -rf $(GH_PAGES)/*; \
56
+ fi;
57
+ @mkdir -p $(GH_PAGES)/images
58
+
59
+ $(BUILD):
60
+ mkdir -p $(BUILD)
61
+
62
+ .PHONY: test spec benchmark web release
@@ -0,0 +1,93 @@
1
+ ## Hogan.js - A mustache compiler.
2
+
3
+ [Hogan.js](http://twitter.github.com/hogan.js/) is a compiler for the
4
+ [Mustache](http://mustache.github.com/) templating language. For information
5
+ on Mustache, see the [manpage](http://mustache.github.com/mustache.5.html) and
6
+ the [spec](https://github.com/mustache/spec).
7
+
8
+ ## Basics
9
+
10
+ Hogan compiles templates to HoganTemplate objects, which have a render method.
11
+
12
+ ```js
13
+ var data = {
14
+ screenName: "dhg",
15
+ };
16
+
17
+ var template = Hogan.compile("Follow @{{screenName}}.");
18
+ var output = template.render(data);
19
+
20
+ // prints "Follow @dhg."
21
+ console.log(output);
22
+ ```
23
+
24
+ ## Features
25
+
26
+ Hogan is fast--try it on your workload.
27
+
28
+ Hogan has separate scanning, parsing and code generation phases. This way it's
29
+ possible to add new features without touching the scanner at all, and many
30
+ different code generation techniques can be tried without changing the parser.
31
+
32
+ Hogan exposes scan and parse methods. These can be useful for
33
+ pre-processing templates on the server.
34
+
35
+ ```js
36
+ var text = "{{^check}}{{i18n}}No{{/i18n}}{{/check}}";
37
+ text += "{{#check}}{{i18n}}Yes{{/i18n}}{{/check}}";
38
+ var tree = Hogan.parse(Hogan.scan(text));
39
+
40
+ // outputs "# check"
41
+ console.log(tree[0].tag + " " + tree[0].name);
42
+
43
+ // outputs "Yes"
44
+ console.log(tree[1].nodes[0].nodes[0]);
45
+ ```
46
+
47
+ It's also possible to use HoganTemplate objects without the Hogan compiler
48
+ present. That means you can pre-compile your templates on the server, and
49
+ avoid shipping the compiler. However, the optional lambda features from the
50
+ Mustache spec do require the compiler to be present.
51
+
52
+ ## Why Hogan.js?
53
+
54
+ Why another templating library?
55
+
56
+ Hogan.js was written to meet three templating library requirements: good
57
+ performance, standalone template objects, and a parser API.
58
+
59
+ ## Issues
60
+
61
+ Have a bug? Please create an issue here on GitHub!
62
+
63
+ https://github.com/twitter/hogan.js/issues
64
+
65
+ ## Versioning
66
+
67
+ For transparency and insight into our release cycle, releases will be numbered with the follow format:
68
+
69
+ `<major>.<minor>.<patch>`
70
+
71
+ And constructed with the following guidelines:
72
+
73
+ * Breaking backwards compatibility bumps the major
74
+ * New additions without breaking backwards compatibility bumps the minor
75
+ * Bug fixes and misc changes bump the patch
76
+
77
+ For more information on semantic versioning, please visit http://semver.org/.
78
+
79
+ ## Authors
80
+
81
+ **Robert Sayre**
82
+
83
+ + http://github.com/sayrer
84
+
85
+ **Jacob Thornton**
86
+
87
+ + http://github.com/fat
88
+
89
+ ## License
90
+
91
+ Copyright 2011 Twitter, Inc.
92
+
93
+ Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0