Skip to content

Commit

Permalink
Release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
grullo90 committed Jun 14, 2017
1 parent e65c416 commit 089b5dc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
bower_components
dist
node_modules
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "xp-schema",
"description": "A class used to provide scheming functionality",
"version": "1.0.1",
"version": "1.0.2",
"license": "BSD-3-Clause",
"homepage": "https://expandjs.com/classes/xp-schema",

Expand Down
2 changes: 1 addition & 1 deletion dist/xp-schema.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ module.exports = env.XPSchema = new XP.Class('XPSchema', {
XP.waterfall([
next => this._assert({namespace: namespace, item: item, current: current}, next), // asserting
next => XP.attempt(next => next(null, sanitize(this, item, {current: current, path: namespace})), next) // sanitizing
], error => callback(error ? console.log(item) || error : null));
], error => callback(error ? error : null));
}
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "xp-schema",
"description": "A class used to provide scheming functionality",
"version": "1.0.1",
"version": "1.0.2",
"license": "BSD-3-Clause",
"homepage": "https://expandjs.com/classes/xp-schema",
"author": "ExpandJS <[email protected]> (https://expandjs.com)",
Expand Down
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Const
const webpack = require('webpack');
const Uglify = require('uglifyjs-webpack-plugin');

// Exporting
module.exports = {
Expand All @@ -10,9 +10,9 @@ module.exports = {
},
output: {
filename: 'xp-schema.js',
path: './dist'
path: `${__dirname}/dist`
},
plugins: [
new webpack.optimize.UglifyJsPlugin({compress: {warnings: false}, output: {comments: false}})
new Uglify({compress: {warnings: false}, output: {comments: false}})
]
};

0 comments on commit 089b5dc

Please sign in to comment.