Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use the easy requiring of package.version => kill node 0.4 support

  • Loading branch information...
commit ff8875daccdefdd47ac3ff5332bd6812468721dd 1 parent ba8736d
@clux authored
Showing with 1 addition and 2 deletions.
  1. +0 −1  .travis.yml
  2. +1 −1  index.js
View
1  .travis.yml
@@ -1,6 +1,5 @@
language: node_js
node_js:
- - 0.4
- 0.6
notifications:
View
2  index.js
@@ -4,6 +4,6 @@ var fs = require('fs')
modul8.minifier = require('./lib/plugins/minifier');
modul8.testcutter = require('./lib/plugins/testcutter');
-modul8.version = JSON.parse(fs.readFileSync(join(__dirname, 'package.json'),'utf8')).version;
+modul8.version = require('./package').version;
module.exports = modul8;
Please sign in to comment.
Something went wrong with that request. Please try again.