Releases: studentIvan/dueljs
Releases · studentIvan/dueljs
1.2.7
1.2.6
- Fixed #11: localstorage issue for private browsing (thanks to Stéphane Bachelier [email protected])
- Library added to npm as dueljs (thanks to Denis Lukov [email protected])
1.2.5
Different variables for each channel (setItem, getItem, removeItem)
1.2.4
New in 1.2.4:
- New storage methods setItem, getItem, removeItem with JSONify inside
- Direct localStorage changed to window.localStorage
- Fixed emit bug (arguments)
- New configuration duel.noWarnings
/** Turn off errors for debug */
duel.noWarnings = false;
/** New storage methods example */
var ch = duel.channel('demo');
ch.setItem('x', 10);
ch.setItem('y', {'a': true});
ch.getItem('x'); // 10
ch.getItem('y'); // Object {'a': true}
1.2.3
- UMD compatible (thanks to RasCarlito [email protected])
- Microsoft Edge attested (thanks to toby11)
1.2.2
Fixed some additional bugs
1.2.1
New in 1.2.1:
- Fixed #5: localStorage - stack overflow problem (thanks to Alex Core [email protected])
1.2.0
New in 1.2.0:
- New method: channel.off - stop watching event
- New method: channel.once - executing callback only one time and stop watching event
- New method: channel.emit - the alias of channel.broadcast
- Function window.isMaster() now returns true even if no one channel has initialized #3
- Dev test coverage (Mocha + PhantomJS)
1.1.0
DuelJS v1.1.0
JavaScript HTML5 Master/Slave Browser Tabs Helper.
See a brief documentation on the the homepage
New in 1.1.0:
- "storage" event improves performance in modern browsers.
To turn it off and use old method - do:
duel.useStorageEvent = false; // auto false in IE
- Now only slaves can execute triggers
- Some unimportant bug fixes
List of attested browsers:
- Opera 27.0.1689.33 (with storage event)
- Chrome 39.0.2171.95 (with storage event)
- Firefox 34.0 (with storage event)
- Internet Explorer 11 (without storage event)
- Safari 534.57.2 (with storage event)
- Android 4.3 LT29i default browser (with storage event)
Internet Explorer does incorrect. So it using force useStorageEvent = false
by default.
How it works with Internet Explorer without storage event?
Don't worry. It using setInterval javascript checking.
DuelJS 1.0.0
1.0.0 released