-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Was attempting to browserify compiled TypeScript. The rabbit hole has…
… seemed to get too deep (browserify is now complaining about something node_modules not being able to find something).
- Loading branch information
1 parent
2d579af
commit 9fab365
Showing
23 changed files
with
318 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
/* | ||
* THIS IS TEMPORARY TO PATCH 2.1.1+ Core bugs | ||
*/ | ||
|
||
/* tslint:disable */ | ||
let __compiler__ = require('@angular/compiler'); | ||
import { __platform_browser_private__ } from '@angular/platform-browser'; | ||
import { __core_private__ } from '@angular/core'; | ||
let patch = false; | ||
if (!__core_private__['ViewUtils']) { | ||
patch = true; | ||
__core_private__['ViewUtils'] = __core_private__['view_utils']; | ||
} | ||
|
||
|
||
|
||
if (!__compiler__.__compiler_private__) { | ||
patch = true; | ||
(__compiler__).__compiler_private__ = { | ||
SelectorMatcher: __compiler__.SelectorMatcher, | ||
CssSelector: __compiler__.CssSelector | ||
} | ||
} | ||
|
||
var __universal__ = require('angular2-platform-node/__private_imports__'); | ||
if (patch) { | ||
__universal__.ViewUtils = __core_private__['view_utils']; | ||
__universal__.CssSelector = __compiler__.CssSelector | ||
__universal__.SelectorMatcher = __compiler__.SelectorMatcher | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,5 @@ | |
"types": [ | ||
"node" | ||
] | ||
}, | ||
"exclude": ["node_modules"] | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
AngularLab/type-scripts.compiled/Client/__2.1.1.workaround.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* THIS IS TEMPORARY TO PATCH 2.1.1+ Core bugs | ||
*/ | ||
"use strict"; | ||
/* tslint:disable */ | ||
var __compiler__ = require('@angular/compiler'); | ||
var core_1 = require('@angular/core'); | ||
var patch = false; | ||
if (!core_1.__core_private__['ViewUtils']) { | ||
patch = true; | ||
core_1.__core_private__['ViewUtils'] = core_1.__core_private__['view_utils']; | ||
} | ||
if (!__compiler__.__compiler_private__) { | ||
patch = true; | ||
(__compiler__).__compiler_private__ = { | ||
SelectorMatcher: __compiler__.SelectorMatcher, | ||
CssSelector: __compiler__.CssSelector | ||
}; | ||
} | ||
var __universal__ = require('angular2-platform-node/__private_imports__'); | ||
if (patch) { | ||
__universal__.ViewUtils = core_1.__core_private__['view_utils']; | ||
__universal__.CssSelector = __compiler__.CssSelector; | ||
__universal__.SelectorMatcher = __compiler__.SelectorMatcher; | ||
} |
Oops, something went wrong.