switched to Gulp
This commit is contained in:
118
build/browser/Connectors/IwcConnector.js
Normal file
118
build/browser/Connectors/IwcConnector.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/Connectors/IwcConnector.min.js
vendored
Normal file
1
build/browser/Connectors/IwcConnector.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function t(n,e,r){function i(u,a){if(!e[u]){if(!n[u]){var c="function"==typeof require&&require;if(!a&&c)return c(u,!0);if(o)return o(u,!0);throw new Error("Cannot find module '"+u+"'")}var s=e[u]={exports:{}};n[u][0].call(s.exports,function(t){var e=n[u][1][t];return i(e?e:t)},s,s.exports,t,n,e,r)}return e[u].exports}for(var o="function"==typeof require&&require,u=0;u<r.length;u++)i(r[u]);return i}({1:[function(t,n){var e;e=function(t){var n,e,r,i,o,u;return o={},e=new DUIClient,e.connect(function(t){var n;return null!=(n=o[t.action])?n.map(function(n){return setTimeout(function(){return n(t)},0)}):void 0}),e.initOK(),u=null,n=function(){function t(t,n,r,i){var a,c,s;this.engine=t,this.HB=n,this.execution_listener=r,this.yatta=i,this.duiClient=e,this.iwcHandler=o,s=function(t){return function(n){return t.send(n)}}(this),this.execution_listener.push(s),a=function(t){return function(n){var e;return e=n.extras,t.receive(e)}}(this),this.iwcHandler.Yatta_new_operation=[a],null!=u&&this.engine.applyOpsCheckDouble(u),c=function(t){return function(){var n;return n={HB:t.yatta.getHistoryBuffer()._encode()},t.sendIwcIntent("Yatta_push_HB_element",n)}}(this),this.iwcHandler.Yatta_get_HB_element=[c]}return t.prototype.send=function(t){return t.uid.creator===this.HB.getUserId()&&"string"!=typeof t.uid.op_number?this.sendIwcIntent("Yatta_new_operation",t):void 0},t.prototype.receive=function(t){return t.uid.creator!==this.HB.getUserId()?this.engine.applyOp(t):void 0},t.prototype.sendIwcIntent=function(t,n){var e;return e={action:t,component:"",data:"",dataType:"",extras:n},this.duiClient.sendIntent(e)},t}(),r={action:"Yatta_get_HB_element",component:"",data:"",dataType:"",extras:{}},i=function(){var i,a;return e.sendIntent(r),i=!1,a=function(r){var o;return o=e.getIwcClient()._componentName,u=null!=r?r.extras.HB:void 0,i?void 0:(i=!0,t(n,o))},o.Yatta_push_HB_element=[a],setTimeout(a,0)},void setTimeout(i,0*Math.random())},n.exports=e,"undefined"!=typeof window&&null!==window&&(window.createConnector=e)},{}]},{},[1]);
|
||||
1434
build/browser/Connectors/TestConnector.js
Normal file
1434
build/browser/Connectors/TestConnector.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/Connectors/TestConnector.min.js
vendored
Normal file
1
build/browser/Connectors/TestConnector.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
110
build/browser/Engine.js
Normal file
110
build/browser/Engine.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/Engine.min.js
vendored
Normal file
1
build/browser/Engine.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function r(e,t,o){function p(s,i){if(!t[s]){if(!e[s]){var u="function"==typeof require&&require;if(!i&&u)return u(s,!0);if(n)return n(s,!0);throw new Error("Cannot find module '"+s+"'")}var h=t[s]={exports:{}};e[s][0].call(h.exports,function(r){var t=e[s][1][r];return p(t?t:r)},h,h.exports,r,e,t,o)}return t[s].exports}for(var n="function"==typeof require&&require,s=0;s<o.length;s++)p(o[s]);return p}({1:[function(r,e){var t;t=function(){function r(r,e){this.HB=r,this.parser=e,this.unprocessed_ops=[]}return r.prototype.parseOperation=function(r){var e;if(e=this.parser[r.type],null!=e)return e(r);throw new Error("You forgot to specify a parser for type "+r.type+". The message is "+JSON.stringify(r)+".")},r.prototype.applyOpsBundle=function(r){var e,t,o,p,n,s,i,u;for(t=[],o=0,s=r.length;s>o;o++)e=r[o],t.push(this.parseOperation(e));for(p=0,i=t.length;i>p;p++)e=t[p],this.HB.addOperation(e);for(n=0,u=t.length;u>n;n++)e=t[n],e.execute()||this.unprocessed_ops.push(e);return this.tryUnprocessed()},r.prototype.applyOpsCheckDouble=function(r){var e,t,o,p;for(p=[],t=0,o=r.length;o>t;t++)e=r[t],p.push(null!=this.HB.getOperation(e.uid)?this.applyOp(e):void 0);return p},r.prototype.applyOps=function(r){var e,t,o,p;for(p=[],t=0,o=r.length;o>t;t++)e=r[t],p.push(this.applyOp(e));return p},r.prototype.applyOp=function(r){var e;return e=this.parseOperation(r),this.HB.addToCounter(e),e.execute()?this.HB.addOperation(e):this.unprocessed_ops.push(e),this.tryUnprocessed()},r.prototype.tryUnprocessed=function(){var r,e,t,o,p,n,s;for(s=[];;){for(r=this.unprocessed_ops.length,t=[],n=this.unprocessed_ops,o=0,p=n.length;p>o;o++)e=n[o],e.execute()?this.HB.addOperation(e):t.push(e);if(this.unprocessed_ops=t,this.unprocessed_ops.length===r)break;s.push(void 0)}return s},r}(),e.exports=t},{}]},{},[1]);
|
||||
1298
build/browser/Frameworks/JsonYatta.js
Normal file
1298
build/browser/Frameworks/JsonYatta.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/Frameworks/JsonYatta.min.js
vendored
Normal file
1
build/browser/Frameworks/JsonYatta.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1114
build/browser/Frameworks/TextYatta.js
Normal file
1114
build/browser/Frameworks/TextYatta.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/Frameworks/TextYatta.min.js
vendored
Normal file
1
build/browser/Frameworks/TextYatta.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
128
build/browser/HistoryBuffer.js
Normal file
128
build/browser/HistoryBuffer.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/HistoryBuffer.min.js
vendored
Normal file
1
build/browser/HistoryBuffer.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function r(e,t,n){function o(u,f){if(!t[u]){if(!e[u]){var p="function"==typeof require&&require;if(!f&&p)return p(u,!0);if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var c=t[u]={exports:{}};e[u][0].call(c.exports,function(r){var t=e[u][1][r];return o(t?t:r)},c,c.exports,r,e,t,n)}return t[u].exports}for(var i="function"==typeof require&&require,u=0;u<n.length;u++)o(n[u]);return o}({1:[function(r,e){var t;t=function(){function r(r){this.user_id=r,this.operation_counter={},this.buffer={},this.change_listeners=[]}return r.prototype.getUserId=function(){return this.user_id},r.prototype.getReservedUniqueIdentifier=function(){return{creator:"_",op_number:"_"}},r.prototype.getOperationCounter=function(){var r,e,t,n;e={},n=this.operation_counter;for(t in n)r=n[t],e[t]=r;return e},r.prototype._encode=function(r){var e,t,n,o,i,u,f,p,c,a;null==r&&(r={}),e=[],p=function(e,t){if(null==e||null==t)throw new Error("dah!");return null==r[e]||r[e]<=t},a=this.buffer;for(f in a){c=a[f];for(i in c)if(t=c[i],!isNaN(parseInt(i))&&p(f,i)){if(n=t._encode(),null!=t.next_cl){for(o=t.next_cl;null!=o.next_cl&&p(o.creator,o.op_number);)o=o.next_cl;n.next=o.getUid()}else if(null!=t.prev_cl){for(u=t.prev_cl;null!=u.prev_cl&&p(o.creator,o.op_number);)u=u.prev_cl;n.prev=u.getUid()}e.push(n)}}return e},r.prototype.getNextOperationIdentifier=function(r){var e;return null==r&&(r=this.user_id),null==this.operation_counter[r]&&(this.operation_counter[r]=0),e={creator:r,op_number:this.operation_counter[r]},this.operation_counter[r]++,e},r.prototype.getOperation=function(r){var e;if(r instanceof Object)return null!=(e=this.buffer[r.creator])?e[r.op_number]:void 0;if(null!=r)throw new Error("This type of uid is not defined!")},r.prototype.addOperation=function(r){if(null==this.buffer[r.creator]&&(this.buffer[r.creator]={}),null!=this.buffer[r.creator][r.op_number])throw new Error("You must not overwrite operations!");return this.buffer[r.creator][r.op_number]=r,r},r.prototype.addToCounter=function(r){return null==this.operation_counter[r.creator]&&(this.operation_counter[r.creator]=0),"number"==typeof r.op_number&&r.creator!==this.getUserId()?this.operation_counter[r.creator]++:void 0},r}(),e.exports=t},{}]},{},[1]);
|
||||
361
build/browser/Types/BasicTypes.js
Normal file
361
build/browser/Types/BasicTypes.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/Types/BasicTypes.min.js
vendored
Normal file
1
build/browser/Types/BasicTypes.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
985
build/browser/Types/JsonTypes.js
Normal file
985
build/browser/Types/JsonTypes.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/Types/JsonTypes.min.js
vendored
Normal file
1
build/browser/Types/JsonTypes.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
636
build/browser/Types/StructuredTypes.js
Normal file
636
build/browser/Types/StructuredTypes.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/Types/StructuredTypes.min.js
vendored
Normal file
1
build/browser/Types/StructuredTypes.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
816
build/browser/Types/TextTypes.js
Normal file
816
build/browser/Types/TextTypes.js
Normal file
File diff suppressed because one or more lines are too long
1
build/browser/Types/TextTypes.min.js
vendored
Normal file
1
build/browser/Types/TextTypes.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
build/browser/Types/XmlTypes.js
Normal file
6
build/browser/Types/XmlTypes.js
Normal file
@@ -0,0 +1,6 @@
|
||||
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
|
||||
|
||||
|
||||
},{}]},{},[1])
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL2Rtb25hZC9Ecm9wYm94L1lhdHRhIS9ub2RlX21vZHVsZXMvZ3VscC1icm93c2VyaWZ5L25vZGVfbW9kdWxlcy9icm93c2VyaWZ5L25vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUu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FIwWVNFdmJHbGlMMVI1Y0dWekwxaHRiRlI1Y0dWekxtTnZabVpsWlNKZExDSnVZVzFsY3lJNlcxMHNJbTFoY0hCcGJtZHpJam9pUVVGcllrY2lMQ0p6YjNWeVkyVnpRMjl1ZEdWdWRDSTZXeUlpWFgwPSJdfQ==
|
||||
1
build/browser/Types/XmlTypes.min.js
vendored
Normal file
1
build/browser/Types/XmlTypes.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);throw new Error("Cannot find module '"+i+"'")}var a=n[i]={exports:{}};e[i][0].call(a.exports,function(r){var n=e[i][1][r];return o(n?n:r)},a,a.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}({1:[function(){},{}]},{},[1]);
|
||||
2920
build/browser/index.js
Normal file
2920
build/browser/index.js
Normal file
File diff suppressed because one or more lines are too long
2
build/browser/index.min.js
vendored
Normal file
2
build/browser/index.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user