Skip to content
Snippets Groups Projects
Commit d37d0ef9 authored by Kevin Jahns's avatar Kevin Jahns
Browse files

update

parent c7a6e74d
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,6 @@ ...@@ -8,6 +8,6 @@
}, },
"parser": "babel-eslint", "parser": "babel-eslint",
"globals": { "globals": {
"Buffer": true "OperationBuffer": true
} }
} }
[ignore] [ignore]
./build_node
./build
./build_test ./build_test
./y.js
[include] [include]
./src ./src
......
/* @flow */ /* @flow */
/* global Buffer */
class Buffer { //eslint-disable-line no-unused-vars class OperationBuffer { //eslint-disable-line no-unused-vars
i : number; i : number;
constructor () { constructor () {
this.i = 4; this.i = 4;
} }
} }
function add(x : string){
return x + 4;
}
add("5");
add("6");
/* @flow */
/*eslint-env browser,jasmine,console */
describe("Operation Buffer", function() {
var OB = new OperationBuffer(void 0);
it("contains spec with an expectation", function(done) {
setTimeout(function(){
done();
}, 1000);
expect(OB.i).toBe(4);
});
});
/* @flow */ /* @flow */
/* global Buffer */
export default Buffer;
"use strict";function _classCallCheck(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function add(n){return n+4}var Buffer=function n(){_classCallCheck(this,n),this.i=4};add("5"),add("6"),describe("A suite",function(){it("contains spec with an expectation",function(){expect(!0).toBe(!0)})}); "use strict";function _classCallCheck(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}var OperationBuffer=function n(){_classCallCheck(this,n),this.i=4};describe("Operation Buffer",function(){var n=new OperationBuffer(void 0);window.console.log(n),it("contains spec with an expectation",function(n){setTimeout(function(){n()},1e3),expect(!0).toBe(!0)})});
//# sourceMappingURL=y.js.map //# sourceMappingURL=y.js.map
\ No newline at end of file
{"version":3,"sources":["y.js","Buffer.js","Buffer.spec.js"],"names":["_classCallCheck","instance","Constructor","TypeError","add","x","Buffer","this","i","describe","it","expect","toBe"],"mappings":"AAGA,YAEA,SAASA,iBAAgBC,EAAUC,GAAe,KAAMD,YAAoBC,IAAgB,KAAM,IAAIC,WAAU,qCCMhH,QAAAC,KAAAC,GACA,MAAAA,GAAA,EDLA,GCJAC,QAEA,QAFAA,KDKEN,gBAAgBO,KCLlBD,GAGAC,KAAAC,EAAA,EAUAJ,KAAA,KACAA,IAAA,KCdAK,SAAA,UAAA,WACAC,GAAA,oCAAA,WACAC,QAAA,GAAAC,MAAA","file":"y.js","sourcesContent":["/* @flow */\n/* global Buffer */\n\nexport default Buffer;\n","/* @flow */\n/* global Buffer */\n\nclass Buffer { //eslint-disable-line no-unused-vars\n i : number;\n constructor () {\n this.i = 4;\n }\n}\n\n\nfunction add(x : string){\n return x + 4;\n}\n\n\nadd(\"5\");\nadd(\"6\");\n","/* @flow */\n/*eslint-env jasmine */\n\ndescribe(\"A suite\", function() {\n it(\"contains spec with an expectation\", function() {\n expect(true).toBe(true);\n });\n});\n"],"sourceRoot":"/source/"} {"version":3,"sources":["y.js","OperationBuffer.js","OperationBuffer.spec.js"],"names":["_classCallCheck","instance","Constructor","TypeError","OperationBuffer","this","i","describe","OB","window","console","log","it","done","setTimeout","expect","toBe"],"mappings":"AAEA,YAEA,SAASA,iBAAgBC,EAAUC,GAAe,KAAMD,YAAoBC,IAAgB,KAAM,IAAIC,WAAU,qCAEhH,GCJAC,iBAEA,QAFAA,KDKEJ,gBAAgBK,KCLlBD,GAGAC,KAAAC,EAAA,ECFAC,UAAA,mBAAA,WACA,GAAAC,GAAA,GAAAJ,iBAAA,OACAK,QAAAC,QAAAC,IAAAH,GAEAI,GAAA,oCAAA,SAAAC,GACAC,WAAA,WACAD,KACA,KACAE,QAAA,GAAAC,MAAA","file":"y.js","sourcesContent":["/* @flow */\n","/* @flow */\n\nclass OperationBuffer { //eslint-disable-line no-unused-vars\n i : number;\n constructor () {\n this.i = 4;\n }\n}\n","/* @flow */\n/*eslint-env browser,jasmine */\n\ndescribe(\"Operation Buffer\", function() {\n var OB = new OperationBuffer(void 0);\n window.console.log(OB);\n\n it(\"contains spec with an expectation\", function(done) {\n setTimeout(function(){\n done();\n }, 1000);\n expect(true).toBe(true);\n });\n});\n"],"sourceRoot":"/source/"}
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment