Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #14 from cferdinandi/development
Browse files Browse the repository at this point in the history
Fixed CommonJS bug
  • Loading branch information
Chris Ferdinandi committed Oct 3, 2014
2 parents 3fa7081 + 08b299c commit 99f37ff
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 35 deletions.
47 changes: 26 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,17 @@ Add your files to the appropriate `src` subdirectories. Gulp will process and an
```
gulp-boilerplate/
|—— dist/
| |—— js/
| | |—— myplugin.js
| | |—— myplugin.min.js
| |—— css/
| | |—— myplugin.css
| | |—— myplugin.min.css
| |—— static/
| | |—— # static assets
| |—— js/
| | |—— bind-polyfill.js
| | |—— bind-polyfill.min.js
| | |—— classList.js
| | |—— classList.min.js
| | |—— myplugin.js
| | |—— myplugin.min.js
| |—— # static assets
|—— src/
| |—— js/
| | |—— bind-polyfill.js
Expand Down Expand Up @@ -92,22 +95,21 @@ Inside `gulpfile.js` you'll see a variable named `paths`. Adjust the paths to su

```js
var paths = {
output : 'dist/',
temp: 'src/temp/',
scripts : {
input : [ 'src/js/*' ],
output : 'dist/js/'
},
styles : {
input : 'src/sass/**/*.scss',
output : 'dist/css/'
},
static : 'src/static/**',
test : {
spec : [ 'test/spec/**/*.js' ],
coverage: 'test/coverage/',
results: 'test/results/'
}
output : 'dist/',
scripts : {
input : [ 'src/js/*' ],
output : 'dist/js/'
},
styles : {
input : 'src/sass/**/*.scss',
output : 'dist/css/'
},
static : 'src/static/**',
test : {
spec : [ 'test/spec/**/*.js' ],
coverage: 'test/coverage/',
results: 'test/results/'
}
};
```

Expand All @@ -129,6 +131,9 @@ Gulp Boilerplate is licensed under the [MIT License](http://gomakethings.com/mit

Gulp Boilerplate uses [semantic versioning](http://semver.org/).

* v1.0.2 - October 2, 2014
* Added CommonJS bug fix.
* Updated readme.md to reflect new file structure.
* v1.0.1 - September 29, 2014
* Fixed JS concatenation bug.
* v1.0.0 - August 31, 2014
Expand Down
2 changes: 1 addition & 1 deletion dist/css/myplugin.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* gulp-boilerplate v1.0.1
* gulp-boilerplate v1.0.2
* My Gulp.js boilerplate for creating new web projects, by Chris Ferdinandi.
* http://github.com/cferdinandi/Plugin
*
Expand Down
2 changes: 1 addition & 1 deletion dist/css/myplugin.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/myplugin.css.min.map
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/** gulp-boilerplate v1.0.1, by Chris Ferdinandi | http://github.com/cferdinandi/Plugin | Licensed under MIT: http://gomakethings.com/mit/ */
/** gulp-boilerplate v1.0.2, by Chris Ferdinandi | http://github.com/cferdinandi/Plugin | Licensed under MIT: http://gomakethings.com/mit/ */
{"version":3,"mappings":"","sources":[],"names":[],"file":"myplugin.css"}
2 changes: 1 addition & 1 deletion dist/css/myplugin.min.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/** gulp-boilerplate v1.0.1, by Chris Ferdinandi | http://github.com/cferdinandi/Plugin | Licensed under MIT: http://gomakethings.com/mit/ */
/** gulp-boilerplate v1.0.2, by Chris Ferdinandi | http://github.com/cferdinandi/Plugin | Licensed under MIT: http://gomakethings.com/mit/ */
2 changes: 1 addition & 1 deletion dist/js/bind-polyfill.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* gulp-boilerplate v1.0.1
* gulp-boilerplate v1.0.2
* My Gulp.js boilerplate for creating new web projects, by Chris Ferdinandi.
* http://github.com/cferdinandi/Plugin
*
Expand Down
2 changes: 1 addition & 1 deletion dist/js/bind-polyfill.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/classList.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* gulp-boilerplate v1.0.1
* gulp-boilerplate v1.0.2
* My Gulp.js boilerplate for creating new web projects, by Chris Ferdinandi.
* http://github.com/cferdinandi/Plugin
*
Expand Down
2 changes: 1 addition & 1 deletion dist/js/classList.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/js/myplugin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* gulp-boilerplate v1.0.1
* gulp-boilerplate v1.0.2
* My Gulp.js boilerplate for creating new web projects, by Chris Ferdinandi.
* http://github.com/cferdinandi/Plugin
*
Expand All @@ -15,7 +15,7 @@
} else {
root.MyPlugin = factory(root);
}
})(this, function (root) {
})(window || this, function (root) {

'use strict';

Expand Down
4 changes: 2 additions & 2 deletions dist/js/myplugin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "gulp-boilerplate",
"version": "1.0.1",
"version": "1.0.2",
"description": "My Gulp.js boilerplate for creating new web projects",
"main": "./dist",
"author": {
"name": "Chris Ferdinandi",
"url": "http://gomakethings.com"
Expand Down
2 changes: 1 addition & 1 deletion src/js/myplugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
} else {
root.MyPlugin = factory(root);
}
})(this, function (root) {
})(window || this, function (root) {

'use strict';

Expand Down

0 comments on commit 99f37ff

Please sign in to comment.