Permalink
Browse files

pew pew Zepto; pew pew Bower

  • Loading branch information...
1 parent 5e4c586 commit 752b8366d2dab4177b4a28d50f3b7a6633a8d080 Marlow Payne committed Mar 25, 2016
Showing with 81 additions and 14,771 deletions.
  1. +0 −1 .gitignore
  2. +29 −37 README.md
  3. +0 −30 bower.json
  4. +2 −2 dist/bellows.js
  5. +2 −2 dist/bellows.min.js
  6. +2 −3 examples/animation.html
  7. +4 −4 examples/assets/js/config.js
  8. +1 −1 examples/assets/js/setup-bellows.js
  9. +1 −2 examples/dataattr.html
  10. +1 −2 examples/default.html
  11. +1 −2 examples/inception.html
  12. +1 −2 examples/index.html
  13. +1 −2 examples/link.html
  14. +3 −4 examples/norequire.html
  15. +1 −2 examples/single.html
  16. +0 −14 lib/zeptojs/.bower.json
  17. +0 −10 lib/zeptojs/.gitignore
  18. +0 −9 lib/zeptojs/.travis.yml
  19. +0 −45 lib/zeptojs/CONTRIBUTING.md
  20. +0 −21 lib/zeptojs/MIT-LICENSE
  21. +0 −225 lib/zeptojs/README.md
  22. +0 −1,811 lib/zeptojs/dist/zepto.js
  23. BIN lib/zeptojs/dist/zepto.min.gz
  24. +0 −2 lib/zeptojs/dist/zepto.min.js
  25. +0 −9 lib/zeptojs/examples/anim.html
  26. +0 −57 lib/zeptojs/examples/iphone/index.html
  27. +0 −161 lib/zeptojs/examples/iphone/iphone.css
  28. +0 −18 lib/zeptojs/examples/load_jquery_on_ie.html
  29. +0 −51 lib/zeptojs/examples/snow/index.html
  30. +0 −30 lib/zeptojs/examples/touch_events.html
  31. +0 −98 lib/zeptojs/make
  32. +0 −26 lib/zeptojs/package.json
  33. +0 −10 lib/zeptojs/script/bootstrap
  34. +0 −6 lib/zeptojs/script/guard
  35. +0 −18 lib/zeptojs/script/test
  36. +0 −344 lib/zeptojs/src/ajax.js
  37. +0 −21 lib/zeptojs/src/assets.js
  38. +0 −122 lib/zeptojs/src/callbacks.js
  39. +0 −80 lib/zeptojs/src/data.js
  40. +0 −118 lib/zeptojs/src/deferred.js
  41. +0 −65 lib/zeptojs/src/detect.js
  42. +0 −276 lib/zeptojs/src/event.js
  43. +0 −40 lib/zeptojs/src/form.js
  44. +0 −123 lib/zeptojs/src/fx.js
  45. +0 −71 lib/zeptojs/src/fx_methods.js
  46. +0 −35 lib/zeptojs/src/gesture.js
  47. +0 −38 lib/zeptojs/src/ie.js
  48. +0 −36 lib/zeptojs/src/ios3.js
  49. +0 −85 lib/zeptojs/src/selector.js
  50. +0 −22 lib/zeptojs/src/stack.js
  51. +0 −165 lib/zeptojs/src/touch.js
  52. +0 −866 lib/zeptojs/src/zepto.js
  53. +0 −1,433 lib/zeptojs/test/ajax.html
  54. +0 −213 lib/zeptojs/test/ajax_deferred.html
  55. +0 −272 lib/zeptojs/test/callbacks.html
  56. +0 −329 lib/zeptojs/test/data.html
  57. +0 −418 lib/zeptojs/test/deferred.html
  58. +0 −432 lib/zeptojs/test/detect.html
  59. +0 −434 lib/zeptojs/test/event.html
  60. +0 −123 lib/zeptojs/test/evidence_runner.js
  61. +0 −1 lib/zeptojs/test/fixtures/ajax_load_javascript.js
  62. +0 −13 lib/zeptojs/test/fixtures/ajax_load_selector.html
  63. +0 −16 lib/zeptojs/test/fixtures/ajax_load_selector_javascript.html
  64. +0 −1 lib/zeptojs/test/fixtures/ajax_load_simple.html
  65. +0 −1 lib/zeptojs/test/fixtures/iframe_document.html
  66. +0 −3 lib/zeptojs/test/fixtures/zepto.json
  67. +0 −151 lib/zeptojs/test/form.html
  68. +0 −61 lib/zeptojs/test/functional/assets.html
  69. +0 −48 lib/zeptojs/test/functional/fx.html
  70. +0 −38 lib/zeptojs/test/functional/gesture.html
  71. +0 −107 lib/zeptojs/test/functional/touch.html
  72. +0 −60 lib/zeptojs/test/functional/touchcancel.html
  73. +0 −312 lib/zeptojs/test/fx.html
  74. +0 −70 lib/zeptojs/test/index.html
  75. +0 −62 lib/zeptojs/test/ios3.html
  76. +0 −72 lib/zeptojs/test/runner.coffee
  77. +0 −91 lib/zeptojs/test/selector.html
  78. +0 −125 lib/zeptojs/test/server.coffee
  79. +0 −73 lib/zeptojs/test/stack.html
  80. +0 −61 lib/zeptojs/test/test.css
  81. +0 −338 lib/zeptojs/test/touch.html
  82. +0 −3,105 lib/zeptojs/test/zepto.html
  83. +0 −1,059 lib/zeptojs/vendor/evidence.js
  84. +12 −4 package.json
  85. +2 −2 src/js/bellows.js
  86. +2 −2 tests/fixtures/sandbox.html
  87. +4 −4 tests/gremlins/config.js
  88. +1 −2 tests/gremlins/index.html
  89. +3 −3 tests/runner/index.html
  90. +4 −4 tests/runner/sandbox-config.js
  91. +2 −2 tests/runner/test-config.js
  92. +2 −2 tests/unit/plugin.js
View
@@ -1,4 +1,3 @@
node_modules/
-bower_components/
.DS_Store
/.sass-cache/
View
@@ -2,7 +2,6 @@
A mobile-first accordion UI module for progressive disclosure on the web.
-[![Bower version](https://badge.fury.io/bo/bellows.svg)](http://badge.fury.io/bo/bellows)
[![Dependency Status](https://www.versioneye.com/user/projects/53ff9b7deab62a5003000009/badge.svg?style=flat)](https://www.versioneye.com/user/projects/53ff9b7deab62a5003000009)
[![Build Status](https://circleci.com/gh/mobify/bellows/tree/master.svg?style=shield&circle-token=8c096b513a1f04ef1b977178c4f3358c2a42a132)](https://circleci.com/gh/mobify/bellows)
@@ -14,37 +13,33 @@ You can find a simple demo on [the Documentation page](http://mobify.github.io/b
## Requirements
-* [Zepto](http://zeptojs.com/)
-* [Velocity.js](http://velocityjs.org)
+* [jQuery](http://jquery.com/)
+* [Velocity.js](http://julian.com/research/velocity/)
-### Velocity
+### Zepto Support
-If you are using Zepto, you need to load `bower_components/velocity/velocity.js` (this file comes with a jQuery shim bundled directly in it). If you are using jQuery, you need to load `bower_components/velocity/jquery.velocity.js`.
-
-### jQuery Support
-
-Bellows supports jQuery but is not actively developed for it. You should be able to use Bellows directly with jQuery 2.0. While we don't actively support jQuery for Bellows, we welcome any and all issues and PRs to help us make it work.
+Bellows supports Zepto up until v5.1.2 but is not actively developed for it. You should be able to use Bellows directly with Zepto. While we don't actively support Zepto for Bellows, we welcome any and all issues and PRs to help us make it work.
## Installation
-Bellows can be installed using bower:
+Bellows can be installed using NPM:
```
-bower install bellows
+npm install bellows
```
## Usage with Require.js
-To use with require.js, after installing through bower you merely have to reference bellows in your require config file:
+To use with require.js, after installing through NPM you merely have to reference bellows in your require config file:
```config.js
{
'paths': {
- 'plugin': 'bower_components/plugin/dist/plugin.min',
- 'bellows': 'bower_components/bellows/dist/bellows.min',
- 'velocity': 'bower_components/mobify-velocity/velocity'
+ 'plugin': 'node_modules/plugin/dist/plugin.min',
+ 'bellows': 'node_modules/bellows/dist/bellows.min',
+ 'velocity': 'node_modules/velocity-animate/velocity'
}
}
@@ -54,7 +49,7 @@ And then require bellows in as needed:
```
define(
- ['zepto', 'bellows'],
+ ['$', 'bellows'],
function($) {
$('.bellows').bellows();
}
@@ -104,9 +99,9 @@ At a bare minimum, your markup structure should follow the above structure. You
</div>
<!-- Include dependencies -->
-<script src="zepto.min.js"></script>
-<script src="bower_components/mobify-velocity/dist/velocity.min.js"></script>
-<script src="bower_components/plugin/dist/plugin.min.js"></script>
+<script src="jqueryin.js"></script>
+<script src="node_modules/velocity-animate/velocity.min.js"></script>
+<script src="node_modules/plugin/dist/plugin.min.js"></script>
<!-- Include bellows.js -->
<script src="bellows.min.js"></script>
@@ -173,10 +168,10 @@ default: `swing`
Sets the easing for the animation. Bellows takes all of the same easing properties that [Velocity.js](http://julian.com/research/velocity) accepts.
-> * [jQuery UI's easings](http://easings.net/) and CSS3's easings ("ease", "ease-in", "ease-out", and "ease-in-out"), which are pre-packaged into Velocity. A bonus "spring" easing (sampled in the CSS Support pane) is also included.
-* CSS3's bezier curves: Pass in a four-item array of bezier points. (Refer to [Cubic-Bezier.com](http://cubic-bezier.com/) for crafing custom bezier curves.)
-* Spring physics: Pass a two-item array in the form of [ tension, friction ]. A higher tension (default: 600) increases total speed and bounciness. A lower friction (default: 20) increases ending vibration speed.
-* Step easing: Pass a one-item array in the form of [ steps ]. The animation will jump toward its end values using the specified number of steps.
+> * [jQuery UI's easings](http://easings.net/) and CSS3's easings ("ease", "ease-in", "ease-out", and "ease-in-out"), which are pre-packaged into Velocity. A bonus "spring" easing (sampled in the CSS Support pane) is also included.
+* CSS3's bezier curves: Pass in a four-item array of bezier points. (Refer to [Cubic-Bezier.com](http://cubic-bezier.com/) for crafing custom bezier curves.)
+* Spring physics: Pass a two-item array in the form of [ tension, friction ]. A higher tension (default: 600) increases total speed and bounciness. A lower friction (default: 20) increases ending vibration speed.
+* Step easing: Pass a one-item array in the form of [ steps ]. The animation will jump toward its end values using the specified number of steps.
For more information, check out [Velocity's docs on easing](http://julian.com/research/velocity/#easing).
@@ -197,11 +192,11 @@ Triggered every time the selected bellows item is starting to open.
| Parameter name | Description |
|----------------|-------------|
| **e** | An Event object passed to the callback |
-| **ui** | An object containing any associated data for use inside the callback |
+| **ui** | An object containing any associated data for use inside the callback |
```js
$('.bellows').bellows({
- open: function(e, ui) {
+ open: function(e, ui) {
// ui.item contains the item opening
}
});
@@ -218,11 +213,11 @@ Triggered every time the selected bellows item has finished opening.
| Parameter name | Description |
|----------------|-------------|
| **e** | An Event object passed to the callback |
-| **ui** | An object containing any associated data for use inside the callback |
+| **ui** | An object containing any associated data for use inside the callback |
```js
$('.bellows').bellows({
- opened: function(e, ui) {
+ opened: function(e, ui) {
// ui.item contains the item that opened
}
});
@@ -237,11 +232,11 @@ Triggered every time an bellows item is starting to close.
| Parameter name | Description |
|----------------|-------------|
| **e** | An Event object passed to the callback |
-| **ui** | An object containing any associated data for use inside the callback |
+| **ui** | An object containing any associated data for use inside the callback |
```js
$('.bellows').bellows({
- close: function(e, ui) {
+ close: function(e, ui) {
// ui.item contains the item closing
}
});
@@ -256,11 +251,11 @@ Triggered every time an bellows item is finished closing.
| Parameter name | Description |
|----------------|-------------|
| **e** | An Event object passed to the callback |
-| **ui** | An object containing any associated data for use inside the callback |
+| **ui** | An object containing any associated data for use inside the callback |
```js
$('.bellows').bellows({
- closed: function(e, ui) {
+ closed: function(e, ui) {
// ui.item contains the item that closed
}
});
@@ -291,7 +286,7 @@ $bellows.bellows('openAll');
```
### close
-
+
Close the selected bellows item by element reference
```js
@@ -313,7 +308,7 @@ $bellows.bellows('closeAll');
```
### toggle
-
+
Toggle the selected bellows item by element reference
```js
@@ -363,7 +358,7 @@ $('.bellows').bellows({
});
```
-This will scroll the viewport to the opened bellows item, restoring its position in the viewport.
+This will scroll the viewport to the opened bellows item, restoring its position in the viewport.
## Browser Compatibility
@@ -382,12 +377,9 @@ This will scroll the viewport to the opened bellows item, restoring its position
* [node.js 0.10.x/npm](http://nodejs.org/download/)
* [Grunt](http://gruntjs.com/)
* Install with `npm install -g grunt-cli`
-* [Bower](http://bower.io/)
- * Install with `npm install -g bower`
### Steps
1. `npm install`
-1. `bower install`
1. `grunt build`
The `dist` directory will be populated with minified versions of the css and javascript files for distribution and use with whatever build system you might use. The `src` directory has our raw unminified Sass and Javascript files if you prefer to work with those.
View
@@ -1,30 +0,0 @@
-{
- "name": "bellows",
- "version": "5.1.2",
- "homepage": "https://github.com/mobify/bellows",
- "authors": [
- "Mobify <jobs@mobify.com>"
- ],
- "description": "A mobile first accordion UI plugin",
- "main": "dist/bellows.min.js",
- "keywords": [
- "bellows",
- "accordion",
- "toggle",
- "mobile",
- "mobify"
- ],
- "license": "MIT",
- "ignore": [
- "./!(src|dist|lib|templates)"
- ],
- "dependencies": {
- "plugin": "~3.0.0",
- "mobify-velocity": "1.1.2",
- "requirejs-text": "~2.0.12",
- "requirejs": "~2.1.14"
- },
- "devDependencies": {
- "gremlins.js": "~0.1.0"
- }
-}
View
@@ -6,7 +6,7 @@
'plugin'
], factory);
} else {
- var framework = window.Zepto || window.jQuery;
+ var framework = window.jQuery;
factory(framework, framework.Velocity, window.Plugin);
}
}(function($, Velocity, Plugin) {
@@ -66,7 +66,7 @@
/**
* Ghetto Event Delegation™
-
+ TODO: Re-evalute this for new default of jQuery
Zepto doesn't support descendant selectors in event delegation,
so we compare against the closest bellows to ensure we are invoking
the event from a direct child, not a bellows child from a nested bellows.
View
@@ -1,2 +1,2 @@
-/*! bellows 5.1.2 (https://github.com/mobify/bellows.git) */
-(function(e){if("function"==typeof define&&define.amd)define(["$","velocity","plugin"],e);else{var t=window.Zepto||window.jQuery;e(t,t.Velocity,window.Plugin)}})(function(e,t,i){function s(e,t){s.__super__.call(this,e,t,s.DEFAULTS)}var n={ITEM:"bellows__item",HEADER:"bellows__header",OPENED:"bellows--is-open",OPENING:"bellows--is-opening",CLOSING:"bellows--is-closing",DISABLED:"bellows--is-disabled"},o={ITEM_HEADER:"> .bellows__item > .bellows__header",ITEM_CONTENT_WRAPPER:"> .bellows__content-wrapper",ITEM_CONTENT:"> .bellows__item > .bellows__content"},l={CLICK:"click.bellows"};return s.VERSION="5.1.2",s.DEFAULTS={singleItemOpen:!1,duration:200,easing:"swing",open:e.noop,opened:e.noop,close:e.noop,closed:e.noop},i.create("bellows",s,{_init:function(t){this.$bellows=e(t),this._wrapContent(this.$bellows),this._bindEvents()},destroy:function(){this.$bellows.removeData(this.name).off(l.CLICK)},_bindEvents:function(){var t=this;this.$bellows.on(l.CLICK,function(i){var s=e(i.target),o=s.closest(".bellows");s.is("a")||s.parents("a").length||o[0]===t.$bellows[0]&&(s.hasClass(n.HEADER)||s.closest(".bellows__header").length)&&(i.preventDefault(),t.toggle(s.closest(".bellows__item")))})},_getHeight:function(e){return parseFloat(t.CSS.getPropertyValue(e[0],"height"))},_setHeight:function(e){this.$bellows.css("height",e||"")},_item:function(e){return"number"==typeof e&&(e=this.$bellows.find("."+n.ITEM).eq(e)),e},_isOpen:function(e){return e.hasClass(n.OPENED)},_isDisabled:function(e){return e.hasClass(n.DISABLED)},_wrapContent:function(e){e.find(o.ITEM_CONTENT).wrap('<div class="bellows__content-wrapper" />').parents(".bellows__item:not(.bellows--is-open)").find(o.ITEM_CONTENT_WRAPPER).attr("aria-hidden",!0)},toggle:function(e){e=this._item(e),this[e.hasClass(n.OPENED)?"close":"open"](e)},open:function(e){if(e=this._item(e),!this._isOpen(e)&&!this._isDisabled(e)){var i=this,s=e.find(o.ITEM_CONTENT_WRAPPER);this.options.singleItemOpen&&this.closeAll(),this._trigger("open",{item:e}),t.animate(s,"slideDown",{begin:function(){i._setHeight(i._getHeight(i.$bellows)+i._getHeight(s)),e.addClass(n.OPENING)},duration:this.options.duration,easing:this.options.easing,complete:function(){e.removeClass(n.OPENING).addClass(n.OPENED).find(o.ITEM_CONTENT_WRAPPER).removeAttr("aria-hidden"),i._setHeight(),i._trigger("opened",{item:e})}})}},close:function(e){if(e=this._item(e),this._isOpen(e)&&!this._isDisabled(e)){var i=this,s=e.find(o.ITEM_CONTENT_WRAPPER);this._trigger("close",{item:e}),t.animate(s,"slideUp",{begin:function(){i._setHeight(i._getHeight(i.$bellows)),e.removeClass(n.OPENED).addClass(n.CLOSING)},duration:this.options.duration,easing:this.options.easing,complete:function(){e.removeClass(n.CLOSING).find(o.ITEM_CONTENT_WRAPPER).attr("aria-hidden",!0),i._setHeight(),i._trigger("closed",{item:e})}})}},toggleAll:function(){var t=this;this.$bellows.find("."+n.ITEM).each(function(){t.toggle(e(this))})},openAll:function(){var t=this;this.$bellows.find("."+n.ITEM+":not(."+n.OPENED+")").each(function(){t.open(e(this))})},closeAll:function(){var t=this;this.$bellows.find("."+n.OPENED).each(function(){t.close(e(this))})},add:function(t,i){var s=e("<div />");e(t).appendTo(s),i&&this.$bellows.empty(),this._wrapContent(s),this.$bellows.append(s.children())}}),e("[data-bellows]").bellows(),e});
+/*! bellows 5.1.2 (git+https://github.com/mobify/bellows.git) */
+!function(a){if("function"==typeof define&&define.amd)define(["$","velocity","plugin"],a);else{var b=window.jQuery;a(b,b.Velocity,window.Plugin)}}(function(a,b,c){function d(a,b){d.__super__.call(this,a,b,d.DEFAULTS)}var e={ITEM:"bellows__item",HEADER:"bellows__header",OPENED:"bellows--is-open",OPENING:"bellows--is-opening",CLOSING:"bellows--is-closing",DISABLED:"bellows--is-disabled"},f={ITEM_HEADER:"> .bellows__item > .bellows__header",ITEM_CONTENT_WRAPPER:"> .bellows__content-wrapper",ITEM_CONTENT:"> .bellows__item > .bellows__content"},g={CLICK:"click.bellows"};return d.VERSION="5.1.2",d.DEFAULTS={singleItemOpen:!1,duration:200,easing:"swing",open:a.noop,opened:a.noop,close:a.noop,closed:a.noop},c.create("bellows",d,{_init:function(b){this.$bellows=a(b),this._wrapContent(this.$bellows),this._bindEvents()},destroy:function(){this.$bellows.removeData(this.name).off(g.CLICK)},_bindEvents:function(){var b=this;this.$bellows.on(g.CLICK,function(c){var d=a(c.target),f=d.closest(".bellows");d.is("a")||d.parents("a").length||f[0]===b.$bellows[0]&&(d.hasClass(e.HEADER)||d.closest(".bellows__header").length)&&(c.preventDefault(),b.toggle(d.closest(".bellows__item")))})},_getHeight:function(a){return parseFloat(b.CSS.getPropertyValue(a[0],"height"))},_setHeight:function(a){this.$bellows.css("height",a||"")},_item:function(a){return"number"==typeof a&&(a=this.$bellows.find("."+e.ITEM).eq(a)),a},_isOpen:function(a){return a.hasClass(e.OPENED)},_isDisabled:function(a){return a.hasClass(e.DISABLED)},_wrapContent:function(a){a.find(f.ITEM_CONTENT).wrap('<div class="bellows__content-wrapper" />').parents(".bellows__item:not(.bellows--is-open)").find(f.ITEM_CONTENT_WRAPPER).attr("aria-hidden",!0)},toggle:function(a){a=this._item(a),this[a.hasClass(e.OPENED)?"close":"open"](a)},open:function(a){if(a=this._item(a),!this._isOpen(a)&&!this._isDisabled(a)){var c=this,d=a.find(f.ITEM_CONTENT_WRAPPER);this.options.singleItemOpen&&this.closeAll(),this._trigger("open",{item:a}),b.animate(d,"slideDown",{begin:function(){c._setHeight(c._getHeight(c.$bellows)+c._getHeight(d)),a.addClass(e.OPENING)},duration:this.options.duration,easing:this.options.easing,complete:function(){a.removeClass(e.OPENING).addClass(e.OPENED).find(f.ITEM_CONTENT_WRAPPER).removeAttr("aria-hidden"),c._setHeight(),c._trigger("opened",{item:a})}})}},close:function(a){if(a=this._item(a),this._isOpen(a)&&!this._isDisabled(a)){var c=this,d=a.find(f.ITEM_CONTENT_WRAPPER);this._trigger("close",{item:a}),b.animate(d,"slideUp",{begin:function(){c._setHeight(c._getHeight(c.$bellows)),a.removeClass(e.OPENED).addClass(e.CLOSING)},duration:this.options.duration,easing:this.options.easing,complete:function(){a.removeClass(e.CLOSING).find(f.ITEM_CONTENT_WRAPPER).attr("aria-hidden",!0),c._setHeight(),c._trigger("closed",{item:a})}})}},toggleAll:function(){var b=this;this.$bellows.find("."+e.ITEM).each(function(){b.toggle(a(this))})},openAll:function(){var b=this;this.$bellows.find("."+e.ITEM+":not(."+e.OPENED+")").each(function(){b.open(a(this))})},closeAll:function(){var b=this;this.$bellows.find("."+e.OPENED).each(function(){b.close(a(this))})},add:function(b,c){var d=a("<div />");a(b).appendTo(d),c&&this.$bellows.empty(),this._wrapContent(d),this.$bellows.append(d.children())}}),a("[data-bellows]").bellows(),a});
@@ -16,7 +16,7 @@
<h2>Different Animation Timings</h2>
- <p>You can pass Bellows alternate animation <code>duration</code> and <code>easing</code> when you initialize it. The different easings available are described in the readme</p>
+ <p>You can pass Bellows alternate animation <code>duration</code> and <code>easing</code> when you initialize it. The different easings available are described in the readme</p>
<div class="bellows animation">
<div class="bellows__item bellows--is-open">
@@ -53,7 +53,6 @@
</div>
</div>
- <script data-main="assets/js/main" src="../bower_components/requirejs/require.js"></script>
+ <script data-main="assets/js/main" src="../node_modules/requirejs/require.js"></script>
</body>
</html>
-
@@ -2,10 +2,10 @@ require.config({
baseUrl: '../',
almond: true,
paths: {
- 'text': 'bower_components/requirejs-text/text',
- '$': 'lib/zeptojs/dist/zepto',
- 'velocity': 'bower_components/mobify-velocity/velocity',
- 'plugin': 'bower_components/plugin/dist/plugin.min',
+ 'text': 'node_modules/text/text',
+ '$': 'node_modules/jquery/dist/jquery',
+ 'velocity': 'node_modules/velocity-animate/velocity',
+ 'plugin': 'node_modules/plugin/dist/plugin.min',
'bellows': 'dist/bellows',
'setup-bellows': 'examples/assets/js/setup-bellows'
},
@@ -4,7 +4,7 @@
define(['bellows'], factory);
} else {
// Browser globals
- root.setupBellows = factory(window.Zepto || window.jQuery);
+ root.setupBellows = factory(window.jQuery);
}
}(this, function ($) {
@@ -53,7 +53,6 @@
</div>
</div>
- <script data-main="assets/js/main" src="../bower_components/requirejs/require.js"></script>
+ <script data-main="assets/js/main" src="../node_modules/requirejs/require.js"></script>
</body>
</html>
-
@@ -55,7 +55,6 @@
<p>Lorem honeyed locusts sit amet, none so wise, sed do eiusmod never resting ut labore et dolore magna aliqua. Manhood death before disgrace warrior, feed it to the goats spare me your false courtesy commodo consequat. Mace aute irure dolor in reprehenderit poison is a woman's weapon lord of light tower dwarf. The last of the dragons royal, godswood garron sister betrothed officia deserunt mollit anim id est snow.</p>
- <script data-main="assets/js/main" src="../bower_components/requirejs/require.js"></script>
+ <script data-main="assets/js/main" src="../node_modules/requirejs/require.js"></script>
</body>
</html>
-
@@ -111,7 +111,6 @@
</div>
</div>
- <script data-main="assets/js/main" src="../bower_components/requirejs/require.js"></script>
+ <script data-main="assets/js/main" src="../node_modules/requirejs/require.js"></script>
</body>
</html>
-
View
@@ -21,8 +21,7 @@
<li><a href="link.html">Internal Header Link</a></li>
</ul>
- <script data-main="assets/js/main" src="../bower_components/requirejs/require.js"></script>
+ <script data-main="assets/js/main" src="../node_modules/requirejs/require.js"></script>
</body>
</html>
-
Oops, something went wrong.

0 comments on commit 752b836

Please sign in to comment.