Skip to content

Commit

Permalink
One more pass at packaging up rc5
Browse files Browse the repository at this point in the history
  • Loading branch information
kball committed Jun 22, 2017
1 parent 135d5d9 commit d2926e2
Show file tree
Hide file tree
Showing 18 changed files with 13 additions and 67 deletions.
6 changes: 0 additions & 6 deletions dist/js/foundation.js
Original file line number Diff line number Diff line change
Expand Up @@ -676,12 +676,10 @@ Triggers.Listeners.Basic = {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'open');
},
closeListener: function () {
console.log('in close listener');
var id = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('close');
if (id) {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'close');
} else {
console.log('bubbling close');
__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).trigger('close.zf.trigger');
}
},
Expand All @@ -694,7 +692,6 @@ Triggers.Listeners.Basic = {
}
},
closeableListener: function (e) {
console.log('in closeable listener');
e.stopPropagation();
var animation = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('closable');

Expand Down Expand Up @@ -893,14 +890,11 @@ Triggers.init = function ($, Foundation) {
if (typeof $.triggersInitialized === 'undefined') {
var $document = $(document);

console.log('inside initialization');
if (document.readyState === "complete") {
console.log('initializing because document complete');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
} else {
$(window).on('load', function () {
console.log('initializing on load');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
});
Expand Down
10 changes: 5 additions & 5 deletions dist/js/foundation.min.js

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions dist/js/plugins/foundation.dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -873,12 +873,10 @@ Triggers.Listeners.Basic = {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'open');
},
closeListener: function () {
console.log('in close listener');
var id = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('close');
if (id) {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'close');
} else {
console.log('bubbling close');
__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).trigger('close.zf.trigger');
}
},
Expand All @@ -891,7 +889,6 @@ Triggers.Listeners.Basic = {
}
},
closeableListener: function (e) {
console.log('in closeable listener');
e.stopPropagation();
var animation = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('closable');

Expand Down Expand Up @@ -1090,14 +1087,11 @@ Triggers.init = function ($, Foundation) {
if (typeof $.triggersInitialized === 'undefined') {
var $document = $(document);

console.log('inside initialization');
if (document.readyState === "complete") {
console.log('initializing because document complete');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
} else {
$(window).on('load', function () {
console.log('initializing on load');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
});
Expand Down
2 changes: 1 addition & 1 deletion dist/js/plugins/foundation.dropdown.min.js

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions dist/js/plugins/foundation.offcanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -801,12 +801,10 @@ Triggers.Listeners.Basic = {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'open');
},
closeListener: function () {
console.log('in close listener');
var id = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('close');
if (id) {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'close');
} else {
console.log('bubbling close');
__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).trigger('close.zf.trigger');
}
},
Expand All @@ -819,7 +817,6 @@ Triggers.Listeners.Basic = {
}
},
closeableListener: function (e) {
console.log('in closeable listener');
e.stopPropagation();
var animation = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('closable');

Expand Down Expand Up @@ -1018,14 +1015,11 @@ Triggers.init = function ($, Foundation) {
if (typeof $.triggersInitialized === 'undefined') {
var $document = $(document);

console.log('inside initialization');
if (document.readyState === "complete") {
console.log('initializing because document complete');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
} else {
$(window).on('load', function () {
console.log('initializing on load');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
});
Expand Down
2 changes: 1 addition & 1 deletion dist/js/plugins/foundation.offcanvas.min.js

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions dist/js/plugins/foundation.reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -815,12 +815,10 @@ Triggers.Listeners.Basic = {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'open');
},
closeListener: function () {
console.log('in close listener');
var id = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('close');
if (id) {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'close');
} else {
console.log('bubbling close');
__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).trigger('close.zf.trigger');
}
},
Expand All @@ -833,7 +831,6 @@ Triggers.Listeners.Basic = {
}
},
closeableListener: function (e) {
console.log('in closeable listener');
e.stopPropagation();
var animation = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('closable');

Expand Down Expand Up @@ -1032,14 +1029,11 @@ Triggers.init = function ($, Foundation) {
if (typeof $.triggersInitialized === 'undefined') {
var $document = $(document);

console.log('inside initialization');
if (document.readyState === "complete") {
console.log('initializing because document complete');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
} else {
$(window).on('load', function () {
console.log('initializing on load');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
});
Expand Down
2 changes: 1 addition & 1 deletion dist/js/plugins/foundation.reveal.min.js

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions dist/js/plugins/foundation.slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -985,12 +985,10 @@ Triggers.Listeners.Basic = {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'open');
},
closeListener: function () {
console.log('in close listener');
var id = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('close');
if (id) {
triggers(__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this), 'close');
} else {
console.log('bubbling close');
__WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).trigger('close.zf.trigger');
}
},
Expand All @@ -1003,7 +1001,6 @@ Triggers.Listeners.Basic = {
}
},
closeableListener: function (e) {
console.log('in closeable listener');
e.stopPropagation();
var animation = __WEBPACK_IMPORTED_MODULE_0_jquery___default()(this).data('closable');

Expand Down Expand Up @@ -1202,14 +1199,11 @@ Triggers.init = function ($, Foundation) {
if (typeof $.triggersInitialized === 'undefined') {
var $document = $(document);

console.log('inside initialization');
if (document.readyState === "complete") {
console.log('initializing because document complete');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
} else {
$(window).on('load', function () {
console.log('initializing on load');
Triggers.Initializers.addSimpleListeners();
Triggers.Initializers.addGlobalListeners();
});
Expand Down
Loading

0 comments on commit d2926e2

Please sign in to comment.