Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Commit

Permalink
v3.3.1
Browse files Browse the repository at this point in the history
- Rebuild with cleanup()
- Stop testing with node 6
- Update build script
  • Loading branch information
ndaidong committed May 31, 2017
1 parent fb9f32e commit c397c73
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 30 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- "7.10"
- "6.0"
after_success:
- npm run coveralls
4 changes: 3 additions & 1 deletion builder/rollupify.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ var rollup = require('rollup');
var babel = require('rollup-plugin-babel');
var nodeResolve = require('rollup-plugin-node-resolve');
var commonjs = require('rollup-plugin-commonjs');
var cleanup = require('rollup-plugin-cleanup');

var {minify} = require('uglify-js');

Expand Down Expand Up @@ -44,7 +45,8 @@ var rollupify = (entry, gname) => {
plugins: [
'external-helpers'
]
})
}),
cleanup()
]
}).then((bundle) => {
console.log('Generating code with bundle...');
Expand Down
10 changes: 3 additions & 7 deletions dist/realdom.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* realdom
* v3.1.0
* built: Wed, 31 May 2017 17:32:12 GMT
* v3.1.1
* built: Wed, 31 May 2017 17:47:59 GMT
* git: https://github.com/ndaidong/realdom
* author: @ndaidong
* License: MIT
Expand All @@ -24,15 +24,11 @@
return Array.from(arr);
}
};
/**
* realdom
* @ndaidong
**/
var ob2Str = function ob2Str(val) {
return {}.toString.call(val);
};
var isUndefined = function isUndefined(v) {
return v === undefined; // eslint-disable-line no-undefined
return v === undefined;
};
var isObject = function isObject(v) {
return !isUndefined(v) && (typeof v === 'undefined' ? 'undefined' : _typeof(v)) === 'object';
Expand Down
2 changes: 1 addition & 1 deletion dist/realdom.min.js

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

8 changes: 0 additions & 8 deletions index.js

This file was deleted.

28 changes: 27 additions & 1 deletion package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "3.1.0",
"version": "3.1.1",
"name": "realdom",
"description": "Lightweight DOM Manipulation library",
"repository": {
"type": "git",
"url": "https://github.com/ndaidong/realdom"
},
"author": "@ndaidong",
"main": "./index.js",
"main": "./dist/realdom.js",
"module": "./src/main",
"jsnext:main": "./src/main",
"browser": "./dist/realdom.min.js",
Expand Down Expand Up @@ -38,6 +38,7 @@
"nyc": "10.x.x",
"rollup": "0.x.x",
"rollup-plugin-babel": "2.x.x",
"rollup-plugin-cleanup": "1.x.x",
"rollup-plugin-commonjs": "8.x.x",
"rollup-plugin-node-resolve": "3.x.x",
"sinon": "2.x.x",
Expand Down
9 changes: 0 additions & 9 deletions tests/index.html

This file was deleted.

0 comments on commit c397c73

Please sign in to comment.