Skip to content

Commit

Permalink
👷 build v3.0.5; isotope-layout package name
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Dec 30, 2017
1 parent 46d2769 commit c2ade31
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 38 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ Add a `data-isotope` attribute to your element. Options can be set in JSON in th

* * *

By [Metafizzy](http://metafizzy.co), 2010–2017
By [Metafizzy](https://metafizzy.co), 2010–2017
65 changes: 34 additions & 31 deletions dist/isotope.pkgd.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*!
* Isotope PACKAGED v3.0.4
* Isotope PACKAGED v3.0.5
*
* Licensed GPLv3 for open source use
* or Isotope Commercial License for commercial use
*
* http://isotope.metafizzy.co
* https://isotope.metafizzy.co
* Copyright 2017 Metafizzy
*/

Expand Down Expand Up @@ -153,7 +153,7 @@ return jQueryBridget;
}));

/**
* EvEmitter v1.0.3
* EvEmitter v1.1.0
* Lil' event emitter
* MIT License
*/
Expand Down Expand Up @@ -233,13 +233,14 @@ proto.emitEvent = function( eventName, args ) {
if ( !listeners || !listeners.length ) {
return;
}
var i = 0;
var listener = listeners[i];
// copy over to avoid interference if .off() in listener
listeners = listeners.slice(0);
args = args || [];
// once stuff
var onceListeners = this._onceEvents && this._onceEvents[ eventName ];

while ( listener ) {
for ( var i=0; i < listeners.length; i++ ) {
var listener = listeners[i]
var isOnce = onceListeners && onceListeners[ listener ];
if ( isOnce ) {
// remove listener
Expand All @@ -250,14 +251,16 @@ proto.emitEvent = function( eventName, args ) {
}
// trigger listener
listener.apply( this, args );
// get next listener
i += isOnce ? 0 : 1;
listener = listeners[i];
}

return this;
};

proto.allOff = function() {
delete this._events;
delete this._onceEvents;
};

return EvEmitter;

}));
Expand Down Expand Up @@ -2268,7 +2271,7 @@ return Outlayer;
/* jshint strict: false */ /*globals define, module, require */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'isotope/js/item',[
define( 'isotope-layout/js/item',[
'outlayer/outlayer'
],
factory );
Expand Down Expand Up @@ -2346,7 +2349,7 @@ return Item;
/* jshint strict: false */ /*globals define, module, require */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'isotope/js/layout-mode',[
define( 'isotope-layout/js/layout-mode',[
'get-size/get-size',
'outlayer/outlayer'
],
Expand Down Expand Up @@ -2496,9 +2499,9 @@ return Item;
}));

/*!
* Masonry v4.2.0
* Masonry v4.2.1
* Cascading grid layout library
* http://masonry.desandro.com
* https://masonry.desandro.com
* MIT License
* by David DeSandro
*/
Expand All @@ -2508,7 +2511,7 @@ return Item;
/* jshint strict: false */ /*globals define, module, require */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'masonry/masonry',[
define( 'masonry-layout/masonry',[
'outlayer/outlayer',
'get-size/get-size'
],
Expand Down Expand Up @@ -2738,17 +2741,17 @@ return Item;
/*!
* Masonry layout mode
* sub-classes Masonry
* http://masonry.desandro.com
* https://masonry.desandro.com
*/

( function( window, factory ) {
// universal module definition
/* jshint strict: false */ /*globals define, module, require */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'isotope/js/layout-modes/masonry',[
define( 'isotope-layout/js/layout-modes/masonry',[
'../layout-mode',
'masonry/masonry'
'masonry-layout/masonry'
],
factory );
} else if ( typeof module == 'object' && module.exports ) {
Expand Down Expand Up @@ -2819,7 +2822,7 @@ return Item;
/* jshint strict: false */ /*globals define, module, require */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'isotope/js/layout-modes/fit-rows',[
define( 'isotope-layout/js/layout-modes/fit-rows',[
'../layout-mode'
],
factory );
Expand Down Expand Up @@ -2888,7 +2891,7 @@ return FitRows;
/* jshint strict: false */ /*globals define, module, require */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'isotope/js/layout-modes/vertical',[
define( 'isotope-layout/js/layout-modes/vertical',[
'../layout-mode'
],
factory );
Expand Down Expand Up @@ -2935,12 +2938,12 @@ return Vertical;
}));

/*!
* Isotope v3.0.4
* Isotope v3.0.5
*
* Licensed GPLv3 for open source use
* or Isotope Commercial License for commercial use
*
* http://isotope.metafizzy.co
* https://isotope.metafizzy.co
* Copyright 2017 Metafizzy
*/

Expand All @@ -2954,12 +2957,12 @@ return Vertical;
'get-size/get-size',
'desandro-matches-selector/matches-selector',
'fizzy-ui-utils/utils',
'isotope/js/item',
'isotope/js/layout-mode',
'isotope-layout/js/item',
'isotope-layout/js/layout-mode',
// include default layout modes
'isotope/js/layout-modes/masonry',
'isotope/js/layout-modes/fit-rows',
'isotope/js/layout-modes/vertical'
'isotope-layout/js/layout-modes/masonry',
'isotope-layout/js/layout-modes/fit-rows',
'isotope-layout/js/layout-modes/vertical'
],
function( Outlayer, getSize, matchesSelector, utils, Item, LayoutMode ) {
return factory( window, Outlayer, getSize, matchesSelector, utils, Item, LayoutMode );
Expand All @@ -2972,12 +2975,12 @@ return Vertical;
require('get-size'),
require('desandro-matches-selector'),
require('fizzy-ui-utils'),
require('isotope/js/item'),
require('isotope/js/layout-mode'),
require('isotope-layout/js/item'),
require('isotope-layout/js/layout-mode'),
// include default layout modes
require('isotope/js/layout-modes/masonry'),
require('isotope/js/layout-modes/fit-rows'),
require('isotope/js/layout-modes/vertical')
require('isotope-layout/js/layout-modes/masonry'),
require('isotope-layout/js/layout-modes/fit-rows'),
require('isotope-layout/js/layout-modes/vertical')
);
} else {
// browser global
Expand Down
8 changes: 4 additions & 4 deletions dist/isotope.pkgd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/isotope.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Isotope v3.0.4
* Isotope v3.0.5
*
* Licensed GPLv3 for open source use
* or Isotope Commercial License for commercial use
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "isotope-layout",
"version": "3.0.4",
"version": "3.0.5",
"description": "Filter and sort magical layouts",
"main": "js/isotope.js",
"files": [
Expand Down

0 comments on commit c2ade31

Please sign in to comment.