bootstrapped-rails 2.0.8.1 → 2.0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/lib/bootstrapped-rails/version.rb +1 -1
  2. metadata +7 -112
  3. data/vendor/assets/twitter/.gitignore +0 -33
  4. data/vendor/assets/twitter/LICENSE +0 -13
  5. data/vendor/assets/twitter/Makefile +0 -59
  6. data/vendor/assets/twitter/README.md +0 -94
  7. data/vendor/assets/twitter/img/glyphicons-halflings-white.png +0 -0
  8. data/vendor/assets/twitter/img/glyphicons-halflings.png +0 -0
  9. data/vendor/assets/twitter/js/README.md +0 -106
  10. data/vendor/assets/twitter/js/bootstrap-alert.js +0 -91
  11. data/vendor/assets/twitter/js/bootstrap-button.js +0 -98
  12. data/vendor/assets/twitter/js/bootstrap-carousel.js +0 -154
  13. data/vendor/assets/twitter/js/bootstrap-collapse.js +0 -136
  14. data/vendor/assets/twitter/js/bootstrap-dropdown.js +0 -92
  15. data/vendor/assets/twitter/js/bootstrap-modal.js +0 -209
  16. data/vendor/assets/twitter/js/bootstrap-popover.js +0 -95
  17. data/vendor/assets/twitter/js/bootstrap-scrollspy.js +0 -125
  18. data/vendor/assets/twitter/js/bootstrap-tab.js +0 -130
  19. data/vendor/assets/twitter/js/bootstrap-tooltip.js +0 -270
  20. data/vendor/assets/twitter/js/bootstrap-transition.js +0 -51
  21. data/vendor/assets/twitter/js/bootstrap-typeahead.js +0 -271
  22. data/vendor/assets/twitter/js/tests/index.html +0 -49
  23. data/vendor/assets/twitter/js/tests/unit/bootstrap-alert.js +0 -41
  24. data/vendor/assets/twitter/js/tests/unit/bootstrap-button.js +0 -54
  25. data/vendor/assets/twitter/js/tests/unit/bootstrap-collapse.js +0 -25
  26. data/vendor/assets/twitter/js/tests/unit/bootstrap-dropdown.js +0 -53
  27. data/vendor/assets/twitter/js/tests/unit/bootstrap-modal.js +0 -85
  28. data/vendor/assets/twitter/js/tests/unit/bootstrap-popover.js +0 -93
  29. data/vendor/assets/twitter/js/tests/unit/bootstrap-scrollspy.js +0 -31
  30. data/vendor/assets/twitter/js/tests/unit/bootstrap-tab.js +0 -45
  31. data/vendor/assets/twitter/js/tests/unit/bootstrap-tooltip.js +0 -62
  32. data/vendor/assets/twitter/js/tests/unit/bootstrap-transition.js +0 -13
  33. data/vendor/assets/twitter/js/tests/unit/bootstrap-typeahead.js +0 -128
  34. data/vendor/assets/twitter/js/tests/vendor/jquery.js +0 -9252
  35. data/vendor/assets/twitter/js/tests/vendor/qunit.css +0 -232
  36. data/vendor/assets/twitter/js/tests/vendor/qunit.js +0 -1510
  37. data/vendor/assets/twitter/scss/accordion.scss +0 -28
  38. data/vendor/assets/twitter/scss/alerts.scss +0 -70
  39. data/vendor/assets/twitter/scss/bootstrap.scss +0 -62
  40. data/vendor/assets/twitter/scss/breadcrumbs.scss +0 -22
  41. data/vendor/assets/twitter/scss/button-groups.scss +0 -147
  42. data/vendor/assets/twitter/scss/buttons.scss +0 -168
  43. data/vendor/assets/twitter/scss/carousel.scss +0 -121
  44. data/vendor/assets/twitter/scss/close.scss +0 -18
  45. data/vendor/assets/twitter/scss/code.scss +0 -44
  46. data/vendor/assets/twitter/scss/component-animations.scss +0 -18
  47. data/vendor/assets/twitter/scss/dropdowns.scss +0 -131
  48. data/vendor/assets/twitter/scss/forms.scss +0 -516
  49. data/vendor/assets/twitter/scss/grid.scss +0 -8
  50. data/vendor/assets/twitter/scss/hero-unit.scss +0 -20
  51. data/vendor/assets/twitter/scss/labels.scss +0 -16
  52. data/vendor/assets/twitter/scss/layouts.scss +0 -17
  53. data/vendor/assets/twitter/scss/mixins.scss +0 -500
  54. data/vendor/assets/twitter/scss/modals.scss +0 -72
  55. data/vendor/assets/twitter/scss/navbar.scss +0 -292
  56. data/vendor/assets/twitter/scss/navs.scss +0 -344
  57. data/vendor/assets/twitter/scss/pager.scss +0 -30
  58. data/vendor/assets/twitter/scss/pagination.scss +0 -55
  59. data/vendor/assets/twitter/scss/popovers.scss +0 -49
  60. data/vendor/assets/twitter/scss/progress-bars.scss +0 -95
  61. data/vendor/assets/twitter/scss/reset.scss +0 -126
  62. data/vendor/assets/twitter/scss/responsive.scss +0 -323
  63. data/vendor/assets/twitter/scss/scaffolding.scss +0 -29
  64. data/vendor/assets/twitter/scss/sprites.scss +0 -158
  65. data/vendor/assets/twitter/scss/tables.scss +0 -130
  66. data/vendor/assets/twitter/scss/thumbnails.scss +0 -35
  67. data/vendor/assets/twitter/scss/tooltip.scss +0 -35
  68. data/vendor/assets/twitter/scss/type.scss +0 -217
  69. data/vendor/assets/twitter/scss/utilities.scss +0 -23
  70. data/vendor/assets/twitter/scss/variables.scss +0 -99
  71. data/vendor/assets/twitter/scss/wells.scss +0 -17
  72. data/vendor/toolkit/twitter/bootstrap/accordion.less +0 -28
  73. data/vendor/toolkit/twitter/bootstrap/alerts.less +0 -70
  74. data/vendor/toolkit/twitter/bootstrap/bootstrap.less +0 -62
  75. data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +0 -22
  76. data/vendor/toolkit/twitter/bootstrap/button-groups.less +0 -148
  77. data/vendor/toolkit/twitter/bootstrap/buttons.less +0 -183
  78. data/vendor/toolkit/twitter/bootstrap/carousel.less +0 -121
  79. data/vendor/toolkit/twitter/bootstrap/close.less +0 -18
  80. data/vendor/toolkit/twitter/bootstrap/code.less +0 -57
  81. data/vendor/toolkit/twitter/bootstrap/component-animations.less +0 -18
  82. data/vendor/toolkit/twitter/bootstrap/dropdowns.less +0 -130
  83. data/vendor/toolkit/twitter/bootstrap/forms.less +0 -522
  84. data/vendor/toolkit/twitter/bootstrap/grid.less +0 -8
  85. data/vendor/toolkit/twitter/bootstrap/hero-unit.less +0 -20
  86. data/vendor/toolkit/twitter/bootstrap/labels.less +0 -32
  87. data/vendor/toolkit/twitter/bootstrap/layouts.less +0 -17
  88. data/vendor/toolkit/twitter/bootstrap/mixins.less +0 -590
  89. data/vendor/toolkit/twitter/bootstrap/modals.less +0 -83
  90. data/vendor/toolkit/twitter/bootstrap/navbar.less +0 -299
  91. data/vendor/toolkit/twitter/bootstrap/navs.less +0 -353
  92. data/vendor/toolkit/twitter/bootstrap/pager.less +0 -30
  93. data/vendor/toolkit/twitter/bootstrap/pagination.less +0 -55
  94. data/vendor/toolkit/twitter/bootstrap/popovers.less +0 -49
  95. data/vendor/toolkit/twitter/bootstrap/progress-bars.less +0 -95
  96. data/vendor/toolkit/twitter/bootstrap/reset.less +0 -126
  97. data/vendor/toolkit/twitter/bootstrap/responsive.less +0 -327
  98. data/vendor/toolkit/twitter/bootstrap/scaffolding.less +0 -29
  99. data/vendor/toolkit/twitter/bootstrap/sprites.less +0 -158
  100. data/vendor/toolkit/twitter/bootstrap/tables.less +0 -150
  101. data/vendor/toolkit/twitter/bootstrap/thumbnails.less +0 -35
  102. data/vendor/toolkit/twitter/bootstrap/tooltip.less +0 -35
  103. data/vendor/toolkit/twitter/bootstrap/type.less +0 -218
  104. data/vendor/toolkit/twitter/bootstrap/utilities.less +0 -23
  105. data/vendor/toolkit/twitter/bootstrap/variables.less +0 -107
  106. data/vendor/toolkit/twitter/bootstrap/wells.less +0 -17
  107. data/vendor/toolkit/twitter/bootstrap_base.less +0 -2
@@ -1,5 +1,5 @@
1
1
  module Bootstrapped
2
2
  module Rails
3
- VERSION = "2.0.8.1"
3
+ VERSION = "2.0.8.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrapped-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8.1
4
+ version: 2.0.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-04 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
16
- requirement: &70166214241940 !ruby/object:Gem::Requirement
16
+ requirement: &70303480822380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70166214241940
24
+ version_requirements: *70303480822380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70166214241440 !ruby/object:Gem::Requirement
27
+ requirement: &70303480821880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70166214241440
35
+ version_requirements: *70303480821880
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rails
38
- requirement: &70166214240980 !ruby/object:Gem::Requirement
38
+ requirement: &70303480821420 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3.1'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70166214240980
46
+ version_requirements: *70303480821420
47
47
  description: ! ' This is a hacked-together version of the gem ''bootstrap-sass'',
48
48
  with the generators from ''twitter-bootstrap-rails'', has also replaced the Glyphicons
49
49
  icons with [Font Awesome](http://fortawesome.github.com/Font-Awesome/), since svg
@@ -200,111 +200,6 @@ files:
200
200
  - vendor/assets/stylesheets/fontawesome-webfont.svgz
201
201
  - vendor/assets/stylesheets/fontawesome-webfont.ttf
202
202
  - vendor/assets/stylesheets/fontawesome-webfont.woff
203
- - vendor/assets/twitter/.gitignore
204
- - vendor/assets/twitter/LICENSE
205
- - vendor/assets/twitter/Makefile
206
- - vendor/assets/twitter/README.md
207
- - vendor/assets/twitter/img/glyphicons-halflings-white.png
208
- - vendor/assets/twitter/img/glyphicons-halflings.png
209
- - vendor/assets/twitter/js/README.md
210
- - vendor/assets/twitter/js/bootstrap-alert.js
211
- - vendor/assets/twitter/js/bootstrap-button.js
212
- - vendor/assets/twitter/js/bootstrap-carousel.js
213
- - vendor/assets/twitter/js/bootstrap-collapse.js
214
- - vendor/assets/twitter/js/bootstrap-dropdown.js
215
- - vendor/assets/twitter/js/bootstrap-modal.js
216
- - vendor/assets/twitter/js/bootstrap-popover.js
217
- - vendor/assets/twitter/js/bootstrap-scrollspy.js
218
- - vendor/assets/twitter/js/bootstrap-tab.js
219
- - vendor/assets/twitter/js/bootstrap-tooltip.js
220
- - vendor/assets/twitter/js/bootstrap-transition.js
221
- - vendor/assets/twitter/js/bootstrap-typeahead.js
222
- - vendor/assets/twitter/js/tests/index.html
223
- - vendor/assets/twitter/js/tests/unit/bootstrap-alert.js
224
- - vendor/assets/twitter/js/tests/unit/bootstrap-button.js
225
- - vendor/assets/twitter/js/tests/unit/bootstrap-collapse.js
226
- - vendor/assets/twitter/js/tests/unit/bootstrap-dropdown.js
227
- - vendor/assets/twitter/js/tests/unit/bootstrap-modal.js
228
- - vendor/assets/twitter/js/tests/unit/bootstrap-popover.js
229
- - vendor/assets/twitter/js/tests/unit/bootstrap-scrollspy.js
230
- - vendor/assets/twitter/js/tests/unit/bootstrap-tab.js
231
- - vendor/assets/twitter/js/tests/unit/bootstrap-tooltip.js
232
- - vendor/assets/twitter/js/tests/unit/bootstrap-transition.js
233
- - vendor/assets/twitter/js/tests/unit/bootstrap-typeahead.js
234
- - vendor/assets/twitter/js/tests/vendor/jquery.js
235
- - vendor/assets/twitter/js/tests/vendor/qunit.css
236
- - vendor/assets/twitter/js/tests/vendor/qunit.js
237
- - vendor/assets/twitter/scss/accordion.scss
238
- - vendor/assets/twitter/scss/alerts.scss
239
- - vendor/assets/twitter/scss/bootstrap.scss
240
- - vendor/assets/twitter/scss/breadcrumbs.scss
241
- - vendor/assets/twitter/scss/button-groups.scss
242
- - vendor/assets/twitter/scss/buttons.scss
243
- - vendor/assets/twitter/scss/carousel.scss
244
- - vendor/assets/twitter/scss/close.scss
245
- - vendor/assets/twitter/scss/code.scss
246
- - vendor/assets/twitter/scss/component-animations.scss
247
- - vendor/assets/twitter/scss/dropdowns.scss
248
- - vendor/assets/twitter/scss/forms.scss
249
- - vendor/assets/twitter/scss/grid.scss
250
- - vendor/assets/twitter/scss/hero-unit.scss
251
- - vendor/assets/twitter/scss/labels.scss
252
- - vendor/assets/twitter/scss/layouts.scss
253
- - vendor/assets/twitter/scss/mixins.scss
254
- - vendor/assets/twitter/scss/modals.scss
255
- - vendor/assets/twitter/scss/navbar.scss
256
- - vendor/assets/twitter/scss/navs.scss
257
- - vendor/assets/twitter/scss/pager.scss
258
- - vendor/assets/twitter/scss/pagination.scss
259
- - vendor/assets/twitter/scss/popovers.scss
260
- - vendor/assets/twitter/scss/progress-bars.scss
261
- - vendor/assets/twitter/scss/reset.scss
262
- - vendor/assets/twitter/scss/responsive.scss
263
- - vendor/assets/twitter/scss/scaffolding.scss
264
- - vendor/assets/twitter/scss/sprites.scss
265
- - vendor/assets/twitter/scss/tables.scss
266
- - vendor/assets/twitter/scss/thumbnails.scss
267
- - vendor/assets/twitter/scss/tooltip.scss
268
- - vendor/assets/twitter/scss/type.scss
269
- - vendor/assets/twitter/scss/utilities.scss
270
- - vendor/assets/twitter/scss/variables.scss
271
- - vendor/assets/twitter/scss/wells.scss
272
- - vendor/toolkit/twitter/bootstrap/accordion.less
273
- - vendor/toolkit/twitter/bootstrap/alerts.less
274
- - vendor/toolkit/twitter/bootstrap/bootstrap.less
275
- - vendor/toolkit/twitter/bootstrap/breadcrumbs.less
276
- - vendor/toolkit/twitter/bootstrap/button-groups.less
277
- - vendor/toolkit/twitter/bootstrap/buttons.less
278
- - vendor/toolkit/twitter/bootstrap/carousel.less
279
- - vendor/toolkit/twitter/bootstrap/close.less
280
- - vendor/toolkit/twitter/bootstrap/code.less
281
- - vendor/toolkit/twitter/bootstrap/component-animations.less
282
- - vendor/toolkit/twitter/bootstrap/dropdowns.less
283
- - vendor/toolkit/twitter/bootstrap/forms.less
284
- - vendor/toolkit/twitter/bootstrap/grid.less
285
- - vendor/toolkit/twitter/bootstrap/hero-unit.less
286
- - vendor/toolkit/twitter/bootstrap/labels.less
287
- - vendor/toolkit/twitter/bootstrap/layouts.less
288
- - vendor/toolkit/twitter/bootstrap/mixins.less
289
- - vendor/toolkit/twitter/bootstrap/modals.less
290
- - vendor/toolkit/twitter/bootstrap/navbar.less
291
- - vendor/toolkit/twitter/bootstrap/navs.less
292
- - vendor/toolkit/twitter/bootstrap/pager.less
293
- - vendor/toolkit/twitter/bootstrap/pagination.less
294
- - vendor/toolkit/twitter/bootstrap/popovers.less
295
- - vendor/toolkit/twitter/bootstrap/progress-bars.less
296
- - vendor/toolkit/twitter/bootstrap/reset.less
297
- - vendor/toolkit/twitter/bootstrap/responsive.less
298
- - vendor/toolkit/twitter/bootstrap/scaffolding.less
299
- - vendor/toolkit/twitter/bootstrap/sprites.less
300
- - vendor/toolkit/twitter/bootstrap/tables.less
301
- - vendor/toolkit/twitter/bootstrap/thumbnails.less
302
- - vendor/toolkit/twitter/bootstrap/tooltip.less
303
- - vendor/toolkit/twitter/bootstrap/type.less
304
- - vendor/toolkit/twitter/bootstrap/utilities.less
305
- - vendor/toolkit/twitter/bootstrap/variables.less
306
- - vendor/toolkit/twitter/bootstrap/wells.less
307
- - vendor/toolkit/twitter/bootstrap_base.less
308
203
  homepage: ''
309
204
  licenses: []
310
205
  post_install_message:
@@ -1,33 +0,0 @@
1
- # Numerous always-ignore extensions
2
- *.diff
3
- *.err
4
- *.orig
5
- *.log
6
- *.rej
7
- *.swo
8
- *.swp
9
- *.vi
10
- *~
11
- *.sass-cache
12
-
13
- # OS or Editor folders
14
- .DS_Store
15
- Thumbs.db
16
- .cache
17
- .project
18
- .settings
19
- .tmproj
20
- *.esproj
21
- nbproject
22
- *.sublime-project
23
- *.sublime-workspace
24
-
25
- # Komodo
26
- *.komodoproject
27
- .komodotools
28
-
29
- # Folders to ignore
30
- .hg
31
- .svn
32
- .CVS
33
- .idea
@@ -1,13 +0,0 @@
1
- Copyright 2012 Twitter, Inc.
2
-
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.
@@ -1,59 +0,0 @@
1
- BOOTSTRAP = ./docs/assets/css/bootstrap.css
2
- BOOTSTRAP_LESS = ./less/bootstrap.less
3
- BOOTSTRAP_RESPONSIVE = ./docs/assets/css/bootstrap-responsive.css
4
- BOOTSTRAP_RESPONSIVE_LESS = ./less/responsive.less
5
- LESS_COMPRESSOR ?= `which lessc`
6
- WATCHR ?= `which watchr`
7
-
8
- #
9
- # BUILD DOCS
10
- #
11
-
12
- docs: bootstrap
13
- rm docs/assets/bootstrap.zip
14
- zip -r docs/assets/bootstrap.zip bootstrap
15
- rm -r bootstrap
16
- lessc ${BOOTSTRAP_LESS} > ${BOOTSTRAP}
17
- lessc ${BOOTSTRAP_RESPONSIVE_LESS} > ${BOOTSTRAP_RESPONSIVE}
18
- node docs/build
19
- cp img/* docs/assets/img/
20
- cp js/*.js docs/assets/js/
21
- cp js/tests/vendor/jquery.js docs/assets/js/
22
- cp js/tests/vendor/jquery.js docs/assets/js/
23
-
24
- #
25
- # BUILD SIMPLE BOOTSTRAP DIRECTORY
26
- # lessc & uglifyjs are required
27
- #
28
-
29
- bootstrap:
30
- mkdir -p bootstrap/img
31
- mkdir -p bootstrap/css
32
- mkdir -p bootstrap/js
33
- cp img/* bootstrap/img/
34
- lessc ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.css
35
- lessc --compress ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.min.css
36
- lessc ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.css
37
- lessc --compress ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.min.css
38
- cat js/bootstrap-transition.js js/bootstrap-alert.js js/bootstrap-button.js js/bootstrap-carousel.js js/bootstrap-collapse.js js/bootstrap-dropdown.js js/bootstrap-modal.js js/bootstrap-tooltip.js js/bootstrap-popover.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-typeahead.js > bootstrap/js/bootstrap.js
39
- uglifyjs -nc bootstrap/js/bootstrap.js > bootstrap/js/bootstrap.min.js
40
-
41
- #
42
- # MAKE FOR GH-PAGES 4 FAT & MDO ONLY (O_O )
43
- #
44
-
45
- gh-pages: docs
46
- rm -f ../bootstrap-gh-pages/assets/bootstrap.zip
47
- node docs/build production
48
- cp -r docs/* ../bootstrap-gh-pages
49
-
50
- #
51
- # WATCH LESS FILES
52
- #
53
-
54
- watch:
55
- echo "Watching less files..."; \
56
- watchr -e "watch('less/.*\.less') { system 'make' }"
57
-
58
-
59
- .PHONY: dist docs watch gh-pages
@@ -1,94 +0,0 @@
1
- TWITTER BOOTSTRAP
2
- =================
3
-
4
- Bootstrap is Twitter's toolkit for kickstarting CSS for websites, apps, and more. It includes base CSS styles for typography, forms, buttons, tables, grids, navigation, alerts, and more.
5
-
6
- To get started -- checkout http://twitter.github.com/bootstrap!
7
-
8
-
9
- Versioning
10
- ----------
11
-
12
- For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible.
13
-
14
- Releases will be numbered with the follow format:
15
-
16
- `<major>.<minor>.<patch>`
17
-
18
- And constructed with the following guidelines:
19
-
20
- * Breaking backward compatibility bumps the major
21
- * New additions without breaking backward compatibility bumps the minor
22
- * Bug fixes and misc changes bump the patch
23
-
24
- For more information on SemVer, please visit http://semver.org/.
25
-
26
-
27
- Bug tracker
28
- -----------
29
-
30
- Have a bug? Please create an issue here on GitHub!
31
-
32
- https://github.com/twitter/bootstrap/issues
33
-
34
-
35
- Twitter account
36
- ---------------
37
-
38
- Keep up to date on announcements and more by following Bootstrap on Twitter, <a href="http://twitter.com/TwBootstrap">@TwBootstrap</a>.
39
-
40
-
41
- Mailing list
42
- ------------
43
-
44
- Have a question? Ask on our mailing list!
45
-
46
- twitter-bootstrap@googlegroups.com
47
-
48
- http://groups.google.com/group/twitter-bootstrap
49
-
50
-
51
- Developers
52
- ----------
53
-
54
- We have included a makefile with convenience methods for working with the Bootstrap library.
55
-
56
- + **build** - `make`
57
- This will run the less compiler on the bootstrap lib and regenerate the docs dir.
58
- The lessc compiler is required for this command to run.
59
-
60
- + **watch** - `make watch`
61
- This is a convenience method for watching your less files and automatically building them whenever you save.
62
- Watchr is required for this command to run.
63
-
64
-
65
- Authors
66
- -------
67
-
68
- **Mark Otto**
69
-
70
- + http://twitter.com/mdo
71
- + http://github.com/markdotto
72
-
73
- **Jacob Thornton**
74
-
75
- + http://twitter.com/fat
76
- + http://github.com/fat
77
-
78
-
79
- Copyright and license
80
- ---------------------
81
-
82
- Copyright 2012 Twitter, Inc.
83
-
84
- Licensed under the Apache License, Version 2.0 (the "License");
85
- you may not use this work except in compliance with the License.
86
- You may obtain a copy of the License in the LICENSE file, or at:
87
-
88
- http://www.apache.org/licenses/LICENSE-2.0
89
-
90
- Unless required by applicable law or agreed to in writing, software
91
- distributed under the License is distributed on an "AS IS" BASIS,
92
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
93
- See the License for the specific language governing permissions and
94
- limitations under the License.
@@ -1,106 +0,0 @@
1
- ## 2.0 BOOTSTRAP JS PHILOSOPHY
2
- These are the high-level design rules which guide the development of Bootstrap's plugin apis.
3
-
4
- ---
5
-
6
- ### DATA-ATTRIBUTE API
7
-
8
- We believe you should be able to use all plugins provided by Bootstrap purely through the markup API without writing a single line of javascript.
9
-
10
- We acknowledge that this isn't always the most performant and sometimes it may be desirable to turn this functionality off altogether. Therefore, as of 2.0 we provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:
11
-
12
- $('body').off('.data-api')
13
-
14
- To target a specific plugin, just include the plugins name as a namespace along with the data-api namespace like this:
15
-
16
- $('body').off('.alert.data-api')
17
-
18
- ---
19
-
20
- ### PROGRAMATIC API
21
-
22
- We also believe you should be able to use all plugins provided by Bootstrap purely through the JS API.
23
-
24
- All public APIs should be single, chainable methods, and return the collection acted upon.
25
-
26
- $(".btn.danger").button("toggle").addClass("fat")
27
-
28
- All methods should accept an optional options object, a string which targets a particular method, or null which initiates the default behavior:
29
-
30
- $("#myModal").modal() // initialized with defaults
31
- $("#myModal").modal({ keyboard: false }) // initialized with now keyboard
32
- $("#myModal").modal('show') // initializes and invokes show immediately afterqwe2
33
-
34
- ---
35
-
36
- ### OPTIONS
37
-
38
- Options should be sparse and add universal value. We should pick the right defaults.
39
-
40
- All plugins should have a default object which can be modified to effect all instance's default options. The defaults object should be available via `$.fn.plugin.defaults`.
41
-
42
- $.fn.modal.defaults = { … }
43
-
44
- An options definition should take the following form:
45
-
46
- *noun*: *adjective* - describes or modifies a quality of an instance
47
-
48
- examples:
49
-
50
- backdrop: true
51
- keyboard: false
52
- placement: 'top'
53
-
54
- ---
55
-
56
- ### EVENTS
57
-
58
- All events should have an infinitive and past participle form. The infinitive is fired just before an action takes place, the past participle on completion of the action.
59
-
60
- show | shown
61
- hide | hidden
62
-
63
- ---
64
-
65
- ### CONSTRUCTORS
66
-
67
- Each plugin should expose it's raw constructor on a `Constructor` property -- accessed in the following way:
68
-
69
-
70
- $.fn.popover.Constructor
71
-
72
- ---
73
-
74
- ### DATA ACCESSOR
75
-
76
- Each plugin stores a copy of the invoked class on an object. This class instance can be accessed directly through jQuery's data API like this:
77
-
78
- $('[rel=popover]').data('popover') instanceof $.fn.popover.Constructor
79
-
80
- ---
81
-
82
- ### DATA ATTRIBUTES
83
-
84
- Data attributes should take the following form:
85
-
86
- - data-{{verb}}={{plugin}} - defines main interaction
87
- - data-target || href^=# - defined on "control" element (if element controls an element other than self)
88
- - data-{{noun}} - defines class instance options
89
-
90
- examples:
91
-
92
- // control other targets
93
- data-toggle="modal" data-target="#foo"
94
- data-toggle="collapse" data-target="#foo" data-parent="#bar"
95
-
96
- // defined on element they control
97
- data-spy="scroll"
98
-
99
- data-dismiss="modal"
100
- data-dismiss="alert"
101
-
102
- data-toggle="dropdown"
103
-
104
- data-toggle="button"
105
- data-toggle="buttons-checkbox"
106
- data-toggle="buttons-radio"