diff --git a/Gruntfile.js b/Gruntfile.js index 46406f4..a403750 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -112,7 +112,7 @@ module.exports = function(grunt) { grunt.registerTask('karmatest', 'karma'); grunt.registerTask('htmltest', ['browserify:test1', 'watch']); grunt.registerTask('tests', ['mochaTest', 'browserify', 'karmatest']); - grunt.registerTask('default', ['test', 'browserify', 'exorcise', 'watch']); + grunt.registerTask('default', ['test', 'browserify', 'uglify', 'exorcise', 'watch']); grunt.registerTask('skiptest', ['browserify', 'watch']); }; diff --git a/bower.json b/bower.json index 2b7b6a9..b8a4ad6 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "milo", - "version": "0.2.0", + "version": "0.2.1", "homepage": "https://github.com/milojs/milo", "authors": [ "MOL Technical " diff --git a/lib/components/ui/FoldTree.js b/lib/components/ui/FoldTree.js index 90c37b0..0014747 100644 --- a/lib/components/ui/FoldTree.js +++ b/lib/components/ui/FoldTree.js @@ -3,7 +3,7 @@ var doT = require('milo-core').util.doT , componentsRegistry = require('../c_registry') , Component = require('../c_class') - , miloCount = require('../../util/count'); + , uniqueId = require('../../util/unique_id'); var TREE_TEMPLATE = '