Skip to content

Commit

Permalink
2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
j3tan committed Mar 16, 2016
1 parent 096e23d commit 128cf5b
Show file tree
Hide file tree
Showing 21 changed files with 43 additions and 38 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v2.3.0 - March 16, 2016

* 2.3.0 (Jeff Tan)
* Set the handler context to the actual behavior or module instance (Justin Bennett)

v2.2.0 - March 14, 2016

* 2.2.0 (Jeff Tan)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ The last published release:

```
<!-- Recommended: Latest version of T3 -->
<script src="https://cdn.rawgit.com/box/t3js/v2.2.0/dist/t3.js"></script>
<script src="https://cdn.rawgit.com/box/t3js/v2.3.0/dist/t3.js"></script>
<!-- Recommended: Latest minified version of T3 -->
<script src="https://cdn.rawgit.com/box/t3js/v2.2.0/dist/t3.min.js"></script>
<script src="https://cdn.rawgit.com/box/t3js/v2.3.0/dist/t3.min.js"></script>
<!-- jQuery version (IE8 + 1.8.0+ jQuery) -->
<script src="https://cdn.rawgit.com/box/t3js/v2.2.0/dist/t3-jquery.js"></script>
<script src="https://cdn.rawgit.com/box/t3js/v2.3.0/dist/t3-jquery.js"></script>
<!-- jQuery minified version (IE8 + 1.8.0+ jQuery) -->
<script src="https://cdn.rawgit.com/box/t3js/v2.2.0/dist/t3-jquery.min.js"></script>
<script src="https://cdn.rawgit.com/box/t3js/v2.3.0/dist/t3-jquery.min.js"></script>
```
## Upgrade from 1.5.1 to 2.0.0

Expand Down
6 changes: 3 additions & 3 deletions dist/t3-jquery-2.2.0.js → dist/t3-jquery-2.3.0.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! t3-jquery v2.2.0 */
/*! t3-jquery v2.3.0 */
/*!
Copyright 2015 Box, Inc. All rights reserved.
Expand Down Expand Up @@ -887,11 +887,11 @@ Box.Application = (function() {

// If onmessage is an object call message handler with the matching key (if any)
if (instance.onmessage !== null && typeof instance.onmessage === 'object' && instance.onmessage.hasOwnProperty(name)) {
instance.onmessage[name](data);
instance.onmessage[name].call(instance, data);

// Otherwise if message name exists in messages call onmessage with name, data
} else if (indexOf(instance.messages || [], name) !== -1) {
instance.onmessage(name, data);
instance.onmessage.call(instance, name, data);
}
}

Expand Down
4 changes: 2 additions & 2 deletions dist/t3-jquery-2.2.0.min.js → dist/t3-jquery-2.3.0.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! t3-jquery-testing v2.2.0 */
/*! t3-jquery-testing v2.3.0 */
/*!
Copyright 2015 Box, Inc. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion dist/t3-jquery-testing.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! t3-jquery-testing v2.2.0 */
/*! t3-jquery-testing v2.3.0 */
/*!
Copyright 2015 Box, Inc. All rights reserved.
Expand Down
6 changes: 3 additions & 3 deletions dist/t3-jquery.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! t3-jquery v2.2.0 */
/*! t3-jquery v2.3.0 */
/*!
Copyright 2015 Box, Inc. All rights reserved.
Expand Down Expand Up @@ -887,11 +887,11 @@ Box.Application = (function() {

// If onmessage is an object call message handler with the matching key (if any)
if (instance.onmessage !== null && typeof instance.onmessage === 'object' && instance.onmessage.hasOwnProperty(name)) {
instance.onmessage[name](data);
instance.onmessage[name].call(instance, data);

// Otherwise if message name exists in messages call onmessage with name, data
} else if (indexOf(instance.messages || [], name) !== -1) {
instance.onmessage(name, data);
instance.onmessage.call(instance, name, data);
}
}

Expand Down
Loading

0 comments on commit 128cf5b

Please sign in to comment.