changed import method
This commit is contained in:
@@ -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;
|
||||
|
||||
2
build/browser/Frameworks/JsonYatta.min.js
vendored
2
build/browser/Frameworks/JsonYatta.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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;
|
||||
|
||||
2
build/browser/Frameworks/TextYatta.min.js
vendored
2
build/browser/Frameworks/TextYatta.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user