changed import method

This commit is contained in:
Kevin Jahns
2014-08-14 20:33:55 +02:00
parent a637633a1c
commit eb541fd473
35 changed files with 101 additions and 55 deletions

View File

@@ -178,12 +178,15 @@ JsonYatta = (function() {
})();
if (typeof window !== "undefined" && window !== null) {
window.JsonYatta = JsonYatta;
}
module.exports = JsonYatta;
if (typeof window !== "undefined" && window !== null) {
if (window.Y == null) {
window.Y = {};
}
window.Y.JsonYatta = JsonYatta;
}
},{"../Engine":1,"../HistoryBuffer":3,"../Types/JsonTypes":5}],3:[function(require,module,exports){
var HistoryBuffer;
@@ -235,7 +238,7 @@ HistoryBuffer = (function() {
user = _ref[u_name];
for (o_number in user) {
o = user[o_number];
if (!isNaN(parseInt(o_number)) && unknown(u_name, o_number)) {
if ((!isNaN(parseInt(o_number))) && unknown(u_name, o_number)) {
o_json = o._encode();
if (o.next_cl != null) {
o_next = o.next_cl;

File diff suppressed because one or more lines are too long

View File

@@ -169,6 +169,13 @@ TextYatta = (function() {
module.exports = TextYatta;
if (typeof window !== "undefined" && window !== null) {
if (window.Y == null) {
window.Y = {};
}
window.Y.TextYatta = TextYatta;
}
},{"../Engine":1,"../HistoryBuffer":3,"../Types/TextTypes":6}],3:[function(require,module,exports){
var HistoryBuffer;
@@ -220,7 +227,7 @@ HistoryBuffer = (function() {
user = _ref[u_name];
for (o_number in user) {
o = user[o_number];
if (!isNaN(parseInt(o_number)) && unknown(u_name, o_number)) {
if ((!isNaN(parseInt(o_number))) && unknown(u_name, o_number)) {
o_json = o._encode();
if (o.next_cl != null) {
o_next = o.next_cl;

File diff suppressed because one or more lines are too long