js/foundation/foundation.js in zurb-foundation-4.3.0 vs js/foundation/foundation.js in zurb-foundation-4.3.1
- old
+ new
@@ -164,11 +164,11 @@
};
window.Foundation = {
name : 'Foundation',
- version : '4.3.0',
+ version : '4.3.1',
cache : {},
init : function (scope, libraries, method, options, response, /* internal */ nc) {
var library_arr,
@@ -399,11 +399,11 @@
}
return el.outerHeight();
};
- lib.outerWidth = function (el) {
+ lib.outerWidth = function (el, bool) {
if (typeof Zepto === 'function') {
return el.width();
}
if (typeof bool !== 'undefined') {
@@ -423,16 +423,10 @@
$(this.scope).off('.fndtn');
$(window).off('.fndtn');
return true;
},
- zj : function () {
- if (typeof Zepto !== 'undefined') {
- return Zepto;
- } else {
- return jQuery;
- }
- }()
+ zj : $
};
$.fn.foundation = function () {
var args = Array.prototype.slice.call(arguments, 0);