emscripten-library-decorator
Advanced tools
Comparing version 0.1.8 to 0.2.0
@@ -19,3 +19,3 @@ // This file is part of emscripten-library-decorator, | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
depList[_i - 0] = arguments[_i]; | ||
depList[_i] = arguments[_i]; | ||
} | ||
@@ -68,3 +68,3 @@ return (function (target, functionName) { | ||
return (function (target) { | ||
var body = evil('__decorate').caller.caller.toString(); | ||
var body = evil('__decorate').caller.toString(); | ||
var prefix = new RegExp('^[ (]*function *\\( *' + name + ' *\\) *\\{'); | ||
@@ -71,0 +71,0 @@ var suffix = new RegExp('var +' + target.name + ' *= *[^]*$'); |
{ | ||
"name": "emscripten-library-decorator", | ||
"version": "0.1.8", | ||
"version": "0.2.0", | ||
"description": "Decorators for writing Emscripten libraries", | ||
@@ -30,5 +30,5 @@ "main": "dist/index.js", | ||
"docts": "~0.1.0", | ||
"tslint": "^3.15.1", | ||
"typescript": "^1.8.10" | ||
"tslint": "^4.0.2", | ||
"typescript": "^2.1.4" | ||
} | ||
} |
15355