Skip to content

Releases: studentIvan/dueljs

1.2.7

16 Oct 12:32
Compare
Choose a tag to compare

New in 1.2.7:

  • Fixed #13: webpack import

1.2.6

05 Oct 12:34
Compare
Choose a tag to compare

1.2.5

09 Mar 15:09
Compare
Choose a tag to compare

Different variables for each channel (setItem, getItem, removeItem)

1.2.4

09 Mar 14:51
Compare
Choose a tag to compare

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

18 Feb 15:28
Compare
Choose a tag to compare
  • UMD compatible (thanks to RasCarlito [email protected])
  • Microsoft Edge attested (thanks to toby11)

1.2.2

12 Apr 09:40
Compare
Choose a tag to compare

Fixed some additional bugs

1.2.1

12 Apr 09:16
Compare
Choose a tag to compare

New in 1.2.1:

1.2.0

15 Jan 23:34
Compare
Choose a tag to compare

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

12 Jan 00:29
Compare
Choose a tag to compare

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:

  1. Opera 27.0.1689.33 (with storage event)
  2. Chrome 39.0.2171.95 (with storage event)
  3. Firefox 34.0 (with storage event)
  4. Internet Explorer 11 (without storage event)
  5. Safari 534.57.2 (with storage event)
  6. 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

06 Jan 17:12
Compare
Choose a tag to compare
1.0.0 released