Skip to content

Commit 1272aff

Browse files
Shahar Talmibtford
authored andcommitted
refactor(ngOutlet): move to typescript
1 parent 431ac33 commit 1272aff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/angular1_router/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var files = [
2121
var PRELUDE = '(function(){\n';
2222
var POSTLUDE = '\n}());\n';
2323
var FACADES = fs.readFileSync(__dirname + '/lib/facades.es5', 'utf8');
24-
var DIRECTIVES = fs.readFileSync(__dirname + '/src/ng_outlet.js', 'utf8');
24+
var DIRECTIVES = fs.readFileSync(__dirname + '/src/ng_outlet.ts', 'utf8');
2525
var moduleTemplate = fs.readFileSync(__dirname + '/src/module_template.js', 'utf8');
2626

2727
function main() {
@@ -31,7 +31,7 @@ function main() {
3131
}, '');
3232

3333
var out = moduleTemplate.replace('//{{FACADES}}', FACADES).replace('//{{SHARED_CODE}}', sharedCode);
34-
return PRELUDE + DIRECTIVES + out + POSTLUDE;
34+
return PRELUDE + transform(DIRECTIVES) + out + POSTLUDE;
3535
}
3636

3737
/*

0 commit comments

Comments
 (0)