Skip to content

Commit

Permalink
fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoitch committed Feb 7, 2015
1 parent d8496ac commit e6996a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var transpile = require('gulp-es6-module-transpiler');
var pkg = require('./package.json');

var jsSrc = [
'./src/js/**/*.js'
'./src/js/*.js'
];

var cssSrc = [
Expand Down Expand Up @@ -67,7 +67,7 @@ gulp.task('build-js', function() {
.pipe(concat(jsDistName))
// Remove gulp-es6-module-transpiler's IIFE so we can add our own
.pipe(replace(/^\(function\(\) {\n/g, ''))
.pipe(replace(/\}\)\.call\(this\);\n/g, ''))
.pipe(replace(/\}\)\.call\(this\);/g, ''))
.pipe(replace(/\n\/\/# sourceMappingURL\=bundle\.map/g, ''))
// end IFFE removal
.pipe(header(iifeHeader))
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "ContentKit-Editor",
"name": "content-kit-editor",
"version": "0.1.0",
"description": "A modern, minimalist WYSIWYG editor.",
"repository": "https://github.com/ContentKit/content-kit-editor",
"repository": "https://github.com/bustlelabs/content-kit-editor",
"main": "dist/content-kit-editor.js",
"engines": {
"node": "0.10.x"
Expand Down Expand Up @@ -33,7 +33,7 @@
"gulp": "^3.8.10",
"gulp-concat": "~2.1.7",
"gulp-cssmin": "^0.1.6",
"gulp-es6-module-transpiler": "^0.2.0",
"gulp-es6-module-transpiler": "^0.2.1",
"gulp-footer": "^1.0.5",
"gulp-header": "^1.2.2",
"gulp-jshint": "~1.3.4",
Expand Down

0 comments on commit e6996a1

Please sign in to comment.