tslib
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -7,3 +7,3 @@ { | ||
"homepage": "http://typescriptlang.org/", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"license": "Apache-2.0", | ||
@@ -10,0 +10,0 @@ "description": "Runtime library for TypeScript helper functions", |
@@ -5,3 +5,3 @@ { | ||
"homepage": "http://typescriptlang.org/", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"license": "Apache-2.0", | ||
@@ -8,0 +8,0 @@ "description": "Runtime library for TypeScript helper functions", |
@@ -111,3 +111,3 @@ # tslib | ||
"paths": { | ||
"tslib" : ["jspm_packages/npm/tslib@1.8.0/tslib.d.ts"] | ||
"tslib" : ["jspm_packages/npm/tslib@1.8.1/tslib.d.ts"] | ||
} | ||
@@ -114,0 +114,0 @@ } |
12
tslib.js
@@ -45,8 +45,10 @@ /*! ***************************************************************************** | ||
function createExporter(exports, previous) { | ||
if (typeof Object.create === "function") { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
if (exports !== root) { | ||
if (typeof Object.create === "function") { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
} | ||
else { | ||
exports.__esModule = true; | ||
} | ||
} | ||
else { | ||
exports.__esModule = true; | ||
} | ||
return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; | ||
@@ -53,0 +55,0 @@ } |
56235
413