From a746f0e29b1642a2a700d36af02e44a20b340dfc Mon Sep 17 00:00:00 2001 From: George Michael Brower Date: Sun, 7 Sep 2014 21:40:18 -0400 Subject: [PATCH] fewer errors --- build/gui.js | 42 +++++++++---------- .../controller-option/controller-option.js | 1 - gulpfile.js | 2 +- 3 files changed, 22 insertions(+), 23 deletions(-) diff --git a/build/gui.js b/build/gui.js index 9089f01..eccb474 100644 --- a/build/gui.js +++ b/build/gui.js @@ -1,21 +1,21 @@ -document.write( [ - - - - - - - - - - - - - -].join( "\n" ) ) \ No newline at end of file +document.write( ['', +'', +'', +'', +'', +'', +'', +'', +'', +'', +'', +'', +'', +'', +'',].join( "\n" ) ) \ No newline at end of file diff --git a/elements/controller-option/controller-option.js b/elements/controller-option/controller-option.js index 0472b92..98a8264 100644 --- a/elements/controller-option/controller-option.js +++ b/elements/controller-option/controller-option.js @@ -38,7 +38,6 @@ Polymer( 'controller-option', { } } - this.super(); }, diff --git a/gulpfile.js b/gulpfile.js index 462dff2..ede59af 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -30,7 +30,7 @@ gulp.task( 'build', ['vulcanize'], function() { return gulp.src( 'build/gui.html' ) .pipe( $.replace( /\\/g, '\\\\' ) ) .pipe( $.replace( /'/g, '\\\'' ) ) - .pipe( $.replace( /^( .* )$/gm, '\'$1\',' ) ) + .pipe( $.replace( /^(.*)$/gm, '\'$1\',' ) ) .pipe( $.insert.wrap( 'document.write( [', '].join( "\\n" ) )' ) ) .pipe( $.rename( 'gui.js' ) ) .pipe( gulp.dest( 'build' ) );