Skip to content

Commit

Permalink
Merge pull request #18 from Microsoft/fix12887
Browse files Browse the repository at this point in the history
Remove System.register from UMD header
  • Loading branch information
rbuckton authored Dec 22, 2016
2 parents 3954a27 + 658ef13 commit e633121
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Microsoft Corp."
],
"homepage": "http://typescriptlang.org/",
"version": "1.3.0",
"version": "1.4.0",
"license": "Apache License 2.0",
"description": "Runtime library for TypeScript helper functions",
"keywords": [
Expand All @@ -18,7 +18,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/Draccoz/tslib.git"
"url": "https://github.com/Microsoft/tslib.git"
},
"main": "tslib.js",
"ignore": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tslib",
"author": "Microsoft Corp.",
"homepage": "http://typescriptlang.org/",
"version": "1.3.0",
"version": "1.4.0",
"licenses": [
{
"type": "Apache License 2.0",
Expand Down
9 changes: 1 addition & 8 deletions tslib.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,7 @@ var __awaiter;
var __generator;
(function (factory) {
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
if (typeof System === "object" && typeof System.register === "function") {
System.register("tslib", [], function (exporter) {
factory(createExporter(root, exporter));
return { setters: [], execute: function() { } };
});
}
else if (typeof define === "function" && define.amd) {
if (typeof define === "function" && define.amd) {
define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); });
}
else if (typeof module === "object" && typeof module.exports === "object") {
Expand All @@ -38,7 +32,6 @@ var __generator;
else {
factory(createExporter(root));
}

function createExporter(exports, previous) {
return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };
}
Expand Down

0 comments on commit e633121

Please sign in to comment.