Skip to content

Commit 128cf5b

Browse files
committed
2.3.0
1 parent 096e23d commit 128cf5b

21 files changed

+43
-38
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v2.3.0 - March 16, 2016
2+
3+
* 2.3.0 (Jeff Tan)
4+
* Set the handler context to the actual behavior or module instance (Justin Bennett)
5+
16
v2.2.0 - March 14, 2016
27

38
* 2.2.0 (Jeff Tan)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ The last published release:
4444

4545
```
4646
<!-- Recommended: Latest version of T3 -->
47-
<script src="https://cdn.rawgit.com/box/t3js/v2.2.0/dist/t3.js"></script>
47+
<script src="https://cdn.rawgit.com/box/t3js/v2.3.0/dist/t3.js"></script>
4848
4949
<!-- Recommended: Latest minified version of T3 -->
50-
<script src="https://cdn.rawgit.com/box/t3js/v2.2.0/dist/t3.min.js"></script>
50+
<script src="https://cdn.rawgit.com/box/t3js/v2.3.0/dist/t3.min.js"></script>
5151
5252
<!-- jQuery version (IE8 + 1.8.0+ jQuery) -->
53-
<script src="https://cdn.rawgit.com/box/t3js/v2.2.0/dist/t3-jquery.js"></script>
53+
<script src="https://cdn.rawgit.com/box/t3js/v2.3.0/dist/t3-jquery.js"></script>
5454
5555
<!-- jQuery minified version (IE8 + 1.8.0+ jQuery) -->
56-
<script src="https://cdn.rawgit.com/box/t3js/v2.2.0/dist/t3-jquery.min.js"></script>
56+
<script src="https://cdn.rawgit.com/box/t3js/v2.3.0/dist/t3-jquery.min.js"></script>
5757
```
5858
## Upgrade from 1.5.1 to 2.0.0
5959

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! t3-jquery v2.2.0 */
1+
/*! t3-jquery v2.3.0 */
22
/*!
33
Copyright 2015 Box, Inc. All rights reserved.
44
@@ -887,11 +887,11 @@ Box.Application = (function() {
887887

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

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

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! t3-jquery-testing v2.2.0 */
1+
/*! t3-jquery-testing v2.3.0 */
22
/*!
33
Copyright 2015 Box, Inc. All rights reserved.
44

dist/t3-jquery-testing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! t3-jquery-testing v2.2.0 */
1+
/*! t3-jquery-testing v2.3.0 */
22
/*!
33
Copyright 2015 Box, Inc. All rights reserved.
44

dist/t3-jquery.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! t3-jquery v2.2.0 */
1+
/*! t3-jquery v2.3.0 */
22
/*!
33
Copyright 2015 Box, Inc. All rights reserved.
44
@@ -887,11 +887,11 @@ Box.Application = (function() {
887887

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

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

0 commit comments

Comments
 (0)