foundation-sites
Advanced tools
Comparing version 6.0.0 to 6.0.1
{ | ||
"name": "foundation-sites", | ||
"version": "6.0.0-rc.1", | ||
"version": "6.0.1", | ||
"main": [ | ||
@@ -15,5 +15,5 @@ "scss/foundation.scss", | ||
"dependencies": { | ||
"jquery": ">= 2.1.0", | ||
"jquery": "~2.1.0", | ||
"what-input": "~1.1.2" | ||
} | ||
} |
{ | ||
"name": "zurb/foundation-sites", | ||
"description": "The most advanced responsive front-end framework in the world.", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "css", |
@@ -382,3 +382,3 @@ !function(Foundation, $) { | ||
Foundation.plugin(Abide); | ||
Foundation.plugin(Abide, 'Abide'); | ||
@@ -385,0 +385,0 @@ // Exports for AMD/Browserify |
@@ -225,3 +225,3 @@ /** | ||
Foundation.plugin(Accordion); | ||
Foundation.plugin(Accordion, 'Accordion'); | ||
}(jQuery, window.Foundation); |
@@ -259,3 +259,3 @@ /** | ||
Foundation.plugin(AccordionMenu); | ||
Foundation.plugin(AccordionMenu, 'AccordionMenu'); | ||
}(jQuery, window.Foundation); |
@@ -5,3 +5,3 @@ !function($) { | ||
var FOUNDATION_VERSION = '6.0.0'; | ||
var FOUNDATION_VERSION = '6.0.1'; | ||
@@ -37,6 +37,6 @@ // Global Foundation object | ||
*/ | ||
plugin: function(plugin) { | ||
plugin: function(plugin, name) { | ||
// Object key to use when adding to global Foundation object | ||
// Examples: Foundation.Reveal, Foundation.OffCanvas | ||
var className = functionName(plugin); | ||
var className = (name || functionName(plugin)); | ||
// Object key to use when storing the plugin, also used to create the identifying data attribute for the plugin | ||
@@ -43,0 +43,0 @@ // Examples: data-reveal, data-off-canvas |
@@ -315,3 +315,3 @@ /** | ||
}; | ||
Foundation.plugin(Drilldown); | ||
Foundation.plugin(Drilldown, 'Drilldown'); | ||
}(jQuery, window.Foundation); |
@@ -319,3 +319,3 @@ /** | ||
Foundation.plugin(Dropdown); | ||
Foundation.plugin(Dropdown, 'Dropdown'); | ||
}(jQuery, window.Foundation); |
@@ -180,21 +180,22 @@ /** | ||
if(this.options.clickOpen){ | ||
$elem.children('a').on('click.zf.dropdownmenu touchend.zf.dropdownmenu', function(e){ | ||
if($(e.target).parent('li').hasClass('has-submenu')){ | ||
e.preventDefault(); | ||
e.stopPropagation(); | ||
}else{ | ||
return; | ||
} | ||
$elem.off('click.zf.dropdownmenu') | ||
.on('click.zf.dropdownmenu', function(e){ | ||
if(!$(this).hasClass('is-dropdown-submenu-parent')){ return; } | ||
if($elem.data('isClick')){ | ||
_this._hide($elem); | ||
}else{ | ||
_this._hideOthers($elem); | ||
_this._show($elem); | ||
$elem.data('isClick', true).parentsUntil('[data-dropdown-menu]', '.has-submenu').data('isClick', true); | ||
if(_this.options.closeOnClick){ | ||
_this._addBodyHandler(); | ||
} | ||
} | ||
}); | ||
e.preventDefault(); | ||
e.stopPropagation(); | ||
if($elem.data('isClick')){ | ||
_this._hide($elem); | ||
}else{ | ||
_this._hideOthers($elem); | ||
_this._show($elem); | ||
$elem.data('isClick', true) | ||
.parentsUntil('[data-dropdown-menu]', '.is-dropdown-submenu-parent') | ||
.data('isClick', true); | ||
if(_this.options.closeOnClick){ | ||
_this._addBodyHandler(); | ||
} | ||
} | ||
}); | ||
} | ||
@@ -461,4 +462,5 @@ | ||
}; | ||
Foundation.plugin(DropdownMenu); | ||
Foundation.plugin(DropdownMenu, 'DropdownMenu'); | ||
var checkClass = function($elem){ | ||
@@ -465,0 +467,0 @@ return $elem.hasClass('is-active'); |
@@ -147,3 +147,3 @@ !function(Foundation, $) { | ||
Foundation.plugin(Equalizer); | ||
Foundation.plugin(Equalizer, 'Equalizer'); | ||
@@ -150,0 +150,0 @@ // Exports for AMD/Browserify |
@@ -174,3 +174,3 @@ /** | ||
}; | ||
Foundation.plugin(Interchange); | ||
Foundation.plugin(Interchange, 'Interchange'); | ||
@@ -177,0 +177,0 @@ // Exports for AMD/Browserify |
@@ -195,3 +195,3 @@ /** | ||
}; | ||
Foundation.plugin(Magellan); | ||
Foundation.plugin(Magellan, 'Magellan'); | ||
@@ -198,0 +198,0 @@ // Exports for AMD/Browserify |
@@ -319,4 +319,4 @@ /** | ||
Foundation.plugin(OffCanvas); | ||
Foundation.plugin(OffCanvas, 'OffCanvas'); | ||
}(jQuery, Foundation); |
@@ -396,4 +396,4 @@ /** | ||
Foundation.plugin(Orbit); | ||
Foundation.plugin(Orbit, 'Orbit'); | ||
}(jQuery, window.Foundation); |
@@ -143,4 +143,4 @@ /** | ||
}; | ||
Foundation.plugin(ResponsiveMenu); | ||
Foundation.plugin(ResponsiveMenu, 'ResponsiveMenu'); | ||
}(Foundation, jQuery); |
@@ -104,4 +104,4 @@ /** | ||
}; | ||
Foundation.plugin(ResponsiveToggle); | ||
Foundation.plugin(ResponsiveToggle, 'ResponsiveToggle'); | ||
}(jQuery, Foundation); |
@@ -467,3 +467,3 @@ /** | ||
Foundation.plugin(Reveal); | ||
Foundation.plugin(Reveal, 'Reveal'); | ||
@@ -470,0 +470,0 @@ // Exports for AMD/Browserify |
@@ -450,3 +450,3 @@ /** | ||
Foundation.plugin(Slider); | ||
Foundation.plugin(Slider, 'Slider'); | ||
@@ -453,0 +453,0 @@ function percent(frac, num){ |
@@ -440,3 +440,3 @@ /** | ||
} | ||
Foundation.plugin(Sticky); | ||
Foundation.plugin(Sticky, 'Sticky'); | ||
}(jQuery, window.Foundation); |
@@ -300,3 +300,3 @@ /** | ||
Foundation.plugin(Tabs); | ||
Foundation.plugin(Tabs, 'Tabs'); | ||
@@ -303,0 +303,0 @@ function checkClass($elem){ |
@@ -161,3 +161,3 @@ /** | ||
Foundation.plugin(Toggler); | ||
Foundation.plugin(Toggler, 'Toggler'); | ||
@@ -164,0 +164,0 @@ // Exports for AMD/Browserify |
@@ -428,3 +428,3 @@ /** | ||
Foundation.plugin(Tooltip); | ||
Foundation.plugin(Tooltip, 'Tooltip'); | ||
}(jQuery, window.document, window.Foundation); |
Package.describe({ | ||
name: 'zurb:foundation-sites', | ||
summary: 'The most advanced responsive front-end framework in the world.', | ||
version: '6.0.0', | ||
git: 'https://github.com/zurb/foundation-sites.git' | ||
version: '6.0.1', | ||
git: 'https://github.com/zurb/foundation-sites.git', | ||
documentation: 'meteor-README.md' | ||
}); | ||
@@ -12,7 +13,4 @@ | ||
api.use(['ecmascript', 'jquery@1.11.4', 'fourseven:scss@3.4.1'], 'client'); | ||
api.addFiles('dist/foundation.js', 'client'); | ||
api.addFiles([ | ||
'dist/foundation.css', | ||
'dist/foundation.min.css', | ||
'dist/foundation.js', | ||
'dist/foundation.min.js', | ||
@@ -36,3 +34,2 @@ 'scss/foundation.scss', | ||
'scss/components/_float.scss', | ||
'scss/components/_joyride.scss', | ||
'scss/components/_label.scss', | ||
@@ -92,3 +89,3 @@ 'scss/components/_media-object.scss', | ||
'scss/vendor/normalize.scss', | ||
], 'client'); | ||
], 'client', {isImport: true}); | ||
}); |
{ | ||
"name": "foundation-sites", | ||
"version": "6.0.0", | ||
"main": "js/foundation/foundation.js", | ||
"version": "6.0.1", | ||
"main": "dist/foundation.js", | ||
"description": "The most advanced responsive front-end framework in the world.", | ||
"author": "ZURB <foundation@zurb.com> (http://foundation.zurb.com)", | ||
"homepage": "http://foundation.zurb.com/sites", | ||
"scripts": { | ||
@@ -15,2 +18,3 @@ "start": "gulp", | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
@@ -52,3 +56,3 @@ "bootcamp": "^1.1.7", | ||
"string-template": "^0.2.1", | ||
"supercollider": "^1.0.0", | ||
"supercollider": "^1.1.0", | ||
"typeahead.js": "^0.11.1", | ||
@@ -61,12 +65,10 @@ "zeroclipboard": "^2.2.0" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/zurb/foundation-sites/issues", | ||
"email": "foundation@zurb.com" | ||
}, | ||
"keywords": [ | ||
"handlebars-helper-rel", | ||
"handlebars-helper-slugify" | ||
], | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/zurb/foundation-sites/blob/master/LICENSE" | ||
} | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1338775
124
32534
0
1