From 3454b1efe78bce7dd83c2e620a9e96e7b33c1c6b Mon Sep 17 00:00:00 2001 From: Tim Lancina Date: Mon, 14 Dec 2015 13:02:13 -0600 Subject: [PATCH] remove temp.hack task --- gulpfile.js | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 98ae5452cc..1559857fe7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -194,33 +194,6 @@ function bundle(args) { }) } -gulp.task('temp.hack', function(){ - var fs = require('fs'); - var file = 'node_modules/angular2/bundles/angular2.dev.js'; - - var myHackedFileThatYouLove = fs.readFileSync(file, 'utf8'); - - myHackedFileThatYouLove = "System.config({ 'paths': { '@reactivex/*': '@reactivex/*.js' }});\n" + myHackedFileThatYouLove; - - // don't judge me - var find = 'function moveNodesAfterSibling(sibling, nodes) {'; - var replaceWith = - 'function moveNodesAfterSibling(sibling, nodes) {\n' + - ' // https://github.com/angular/angular/issues/5077\n' + - ' var cs = sibling;\n' + - ' if (nodes.length > 0 && lang_1.isPresent(dom_adapter_1.DOM.parentElement(sibling))) {\n' + - ' for (var i = 0; i < nodes.length; i++) {\n' + - ' dom_adapter_1.DOM.insertAfter(cs, nodes[i]);\n' + - ' cs = nodes[i];\n' + - ' }\n' + - ' }\n' + - ' }\n' + - ' function moveNodesAfterSibling_IF_YOU_WANT_DAT_FLICKER(sibling, nodes) {'; - myHackedFileThatYouLove = myHackedFileThatYouLove.replace(find, replaceWith); - - fs.writeFileSync(file, myHackedFileThatYouLove, 'utf8'); -}); - gulp.task('tests', function() { return gulp.src('ionic/**/test/**/*.spec.ts') .pipe(tsc(tscOptions, undefined, tscReporter))