Skip to content

Commit

Permalink
1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
j3tan committed Jun 11, 2015
1 parent 869edbc commit bce7a79
Show file tree
Hide file tree
Showing 22 changed files with 341 additions and 56 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.4.0 - June 11, 2015

* 1.4.0 (Jeff Tan)
* Add missing commonJS and AMD wrappers (Jeff Tan)

v1.3.0 - June 9, 2015

* 1.3.0 (Jeff Tan)
Expand Down
18 changes: 0 additions & 18 deletions dist/t3-jquery-1.3.0.min.js

This file was deleted.

30 changes: 29 additions & 1 deletion dist/t3-jquery-1.3.0.js → dist/t3-jquery-1.4.0.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! t3-jquery v 1.3.0*/
/*! t3-jquery v 1.4.0*/
/*!
Copyright 2015 Box, Inc. All rights reserved.
Expand All @@ -14,6 +14,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Start wrapper
// We use this to make sure we don't assign globals unless we actually want to
(function(window) {

/**
* @fileoverview Base namespaces for Box JavaScript.
* @author Box
Expand Down Expand Up @@ -1203,3 +1207,27 @@ Box.Application = (function() {

}());

if (typeof define === 'function' && define.amd) {
// AMD
define('t3', [], function() {
return Box;
});
} else if (typeof module === 'object' && typeof module.exports === 'object') {
// CommonJS/npm, we want to export Box instead of assigning to global Window
module.exports = Box;
} else {
// Make sure not to override Box namespace
window.Box = window.Box || {};

// Copy all properties onto namespace (ES3 safe for loop)
for (var key in Box) {
if (Box.hasOwnProperty(key)) {
window.Box[key] = Box[key];
}
}
}

// Potentially window is not defined yet, so bind to 'this' instead
}(typeof window !== 'undefined' ? window : this));
// End Wrapper

18 changes: 18 additions & 0 deletions dist/t3-jquery-1.4.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 v 1.3.0*/
/*! t3-jquery v 1.4.0*/
/*!
Copyright 2015 Box, Inc. All rights reserved.
Expand All @@ -14,6 +14,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Start wrapper
// We use this to make sure we don't assign globals unless we actually want to
(function(window) {

/**
* @fileoverview Base namespaces for Box JavaScript.
* @author Box
Expand Down Expand Up @@ -429,3 +433,27 @@ Box.DOM = Box.JQueryDOM;

}());

if (typeof define === 'function' && define.amd) {
// AMD
define('t3', [], function() {
return Box;
});
} else if (typeof module === 'object' && typeof module.exports === 'object') {
// CommonJS/npm, we want to export Box instead of assigning to global Window
module.exports = Box;
} else {
// Make sure not to override Box namespace
window.Box = window.Box || {};

// Copy all properties onto namespace (ES3 safe for loop)
for (var key in Box) {
if (Box.hasOwnProperty(key)) {
window.Box[key] = Box[key];
}
}
}

// Potentially window is not defined yet, so bind to 'this' instead
}(typeof window !== 'undefined' ? window : this));
// End Wrapper

30 changes: 29 additions & 1 deletion dist/t3-jquery-testing.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! t3-jquery v 1.3.0*/
/*! t3-jquery v 1.4.0*/
/*!
Copyright 2015 Box, Inc. All rights reserved.
Expand All @@ -14,6 +14,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Start wrapper
// We use this to make sure we don't assign globals unless we actually want to
(function(window) {

/**
* @fileoverview Base namespaces for Box JavaScript.
* @author Box
Expand Down Expand Up @@ -429,3 +433,27 @@ Box.DOM = Box.JQueryDOM;

}());

if (typeof define === 'function' && define.amd) {
// AMD
define('t3', [], function() {
return Box;
});
} else if (typeof module === 'object' && typeof module.exports === 'object') {
// CommonJS/npm, we want to export Box instead of assigning to global Window
module.exports = Box;
} else {
// Make sure not to override Box namespace
window.Box = window.Box || {};

// Copy all properties onto namespace (ES3 safe for loop)
for (var key in Box) {
if (Box.hasOwnProperty(key)) {
window.Box[key] = Box[key];
}
}
}

// Potentially window is not defined yet, so bind to 'this' instead
}(typeof window !== 'undefined' ? window : this));
// End Wrapper

30 changes: 29 additions & 1 deletion dist/t3-jquery.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! t3-jquery v 1.3.0*/
/*! t3-jquery v 1.4.0*/
/*!
Copyright 2015 Box, Inc. All rights reserved.
Expand All @@ -14,6 +14,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Start wrapper
// We use this to make sure we don't assign globals unless we actually want to
(function(window) {

/**
* @fileoverview Base namespaces for Box JavaScript.
* @author Box
Expand Down Expand Up @@ -1203,3 +1207,27 @@ Box.Application = (function() {

}());

if (typeof define === 'function' && define.amd) {
// AMD
define('t3', [], function() {
return Box;
});
} else if (typeof module === 'object' && typeof module.exports === 'object') {
// CommonJS/npm, we want to export Box instead of assigning to global Window
module.exports = Box;
} else {
// Make sure not to override Box namespace
window.Box = window.Box || {};

// Copy all properties onto namespace (ES3 safe for loop)
for (var key in Box) {
if (Box.hasOwnProperty(key)) {
window.Box[key] = Box[key];
}
}
}

// Potentially window is not defined yet, so bind to 'this' instead
}(typeof window !== 'undefined' ? window : this));
// End Wrapper

Loading

0 comments on commit bce7a79

Please sign in to comment.