diff --git a/common/event/Event.ts b/common/event/Event.ts index 2193b310..69fc9928 100644 --- a/common/event/Event.ts +++ b/common/event/Event.ts @@ -1,5 +1,3 @@ -/// - function isFunction(functionToCheck) { var getType = {}; return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; diff --git a/common/event/Event2Args.ts b/common/event/Event2Args.ts index 41b3236d..9e22e76d 100644 --- a/common/event/Event2Args.ts +++ b/common/event/Event2Args.ts @@ -1,5 +1,3 @@ -/// - export class Event2Args { private handlers: { (data?: T,data2?: M): void; }[] = []; diff --git a/common/event/EventLimit.ts b/common/event/EventLimit.ts index e60d879f..15199f73 100644 --- a/common/event/EventLimit.ts +++ b/common/event/EventLimit.ts @@ -1,5 +1,3 @@ -/// - export class EventLimit { private lastTriggerValue:T = null; diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index a13153dc..c24b3241 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -2,7 +2,7 @@ var webpack = require('webpack'); var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin"); module.exports = { entry: { - 'app': __dirname+'./main.ts' + 'app': __dirname+'/main.ts' }, output: { filename: __dirname+'./dist/[name]-bundle.js', diff --git a/package.json b/package.json index 5f85a6c1..efa65310 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "license": "MIT", "main": "./backend/server.js", "scripts": { - "build": "typings install && webpack frontend/webpack.config.js -P && tsc -p backend", + "install": "typings install && tsc -p backend && webpack --config ./frontend/webpack.config.js -p ", "pretest": "typings install", "test": "karma start ./karma.conf.js", "start": "node ./backend/server"