Skip to content

Commit

Permalink
Fixes the build process, updates the version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihai Ionut Vilcu committed Jan 22, 2016
1 parent de64b6e commit 5a38537
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = function gruntConfig(grunt) {

copy: {
build: {
src: '<%= pkg.name %>.js',
src: '<%= pkg.main %>',
dest: 'dist/verbalexpressions.js',
},
},
Expand All @@ -37,7 +37,7 @@ module.exports = function gruntConfig(grunt) {
},
dist: {
files: {
'dist/verbalexpressions.min.js': ['<%= pkg.name %>.js'],
'dist/verbalexpressions.min.js': ['<%= pkg.main %>'],
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VerbalExpressions v0.2.0
VerbalExpressions v0.2.1
=====================

[![Build Status](https://travis-ci.org/VerbalExpressions/JSVerbalExpressions.svg)](https://travis-ci.org/VerbalExpressions/JSVerbalExpressions)
Expand Down
2 changes: 1 addition & 1 deletion VerbalExpressions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* VerbalExpressions JavaScript Library v0.2.0
* VerbalExpressions JavaScript Library v0.2.1
* https://github.com/VerbalExpressions/JSVerbalExpressions
*
*
Expand Down
8 changes: 4 additions & 4 deletions dist/verbalexpressions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* VerbalExpressions JavaScript Library v0.2.0
* VerbalExpressions JavaScript Library v0.2.1
* https://github.com/VerbalExpressions/JSVerbalExpressions
*
*
Expand Down Expand Up @@ -392,12 +392,12 @@

// UMD (Universal Module Definition), URL: https://github.com/umdjs/umd
// Supports AMD, CommonJS and the browser
if (typeof root.module !== 'undefined' && root.module.exports) {
if (typeof module !== 'undefined' && module.exports) {
// Node.js Module
module.exports = createVerbalExpression;
} else if (typeof root.define === 'function' && root.define.amd) {
} else if (typeof define === 'function' && define.amd) {
// AMD Module
root.define(MODULE_NAME, [], function define() {
define(MODULE_NAME, [], function define() {
return VerbalExpression;
});
} else {
Expand Down
6 changes: 3 additions & 3 deletions dist/verbalexpressions.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/verbalexpressions.min.js.map

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "verbal-expressions",
"description": "JavaScript Regular expressions made easy",
"version": "0.2.0",
"version": "0.2.1",
"keywords": [
"regular expressions",
"regex"
Expand Down

0 comments on commit 5a38537

Please sign in to comment.