diff --git a/bower.json b/bower.json index 6e79cf8..8454ec2 100644 --- a/bower.json +++ b/bower.json @@ -1,22 +1,22 @@ { - "name": "angular-help-overlay", - "version": "0.1.0", - "homepage": "https://github.com/jordanburke/angular-help-overlay", - "authors": [ - "Jordan Burke <@jordanburke>" - ], - "main": "lib/angular-help-overlay.js", - "description": "Directive for chardin.js instruction overlay", - "keywords": [ - ], - "license": "MIT", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ], + "name": "angular-help-overlay", + "version": "0.1.1", + "homepage": "https://github.com/jordanburke/angular-help-overlay", + "authors": [ + "Jordan Burke <@jordanburke>" + ], + "main": "lib/angular-help-overlay.js", + "description": "Directive for chardin.js instruction overlay", + "keywords": [ + ], + "license": "MIT", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ], "dependencies": { "jquery": ">=1.6.0 <2.0.0", "chardin.js": "~0.1.3", diff --git a/lib/angular-help-overlay.min.js b/lib/angular-help-overlay.min.js index 4f3603f..1c03df1 100644 --- a/lib/angular-help-overlay.min.js +++ b/lib/angular-help-overlay.min.js @@ -1,2 +1,2 @@ -/*! angular-help-overlay 2014-07-06 */ +/*! angular-help-overlay 2015-07-18 */ angular.module("angularHelpOverlay",[]).directive("helpOverlay",["$document",function(a){var b=!1;return{restrict:"A",scope:{helpOverlay:"=",overlayStart:"&overlayStartCallback",overlayStop:"&overlayStopCallback"},link:function(c,d){a.on("chardinJs:start",function(a){angular.isFunction(c.overlayStart)&&c.overlayStart(a),c.helpOverlay===!1&&c.$apply(function(){b=!0,c.helpOverlay=!0})}),a.on("chardinJs:stop",function(a){angular.isFunction(c.overlayStop)&&c.overlayStop(a),c.helpOverlay===!0&&c.$apply(function(){b=!0,c.helpOverlay=!1})}),c.$watch("helpOverlay",function(a,c){a!==c&&(b===!0?b=!1:a===!0?d.chardinJs("start"):a===!1&&d.chardinJs("stop"))})}}}]); \ No newline at end of file diff --git a/package.json b/package.json index 3cd94dd..bfa6036 100644 --- a/package.json +++ b/package.json @@ -1,29 +1,29 @@ { - "name": "angular-help-overlay", - "description": "Angular Wrapper for chardin.js instruction overlay", - "version": "0.1.0", - "homepage": "https://github.com/jordanburke/angular-help-overlay", - "author": { - "name": "Jordan Burke", - "url": "https://github.com/jordanburke/" - }, - "repository": { - "type": "git", - "url": "git://github.com/jordanburke/angular-help-overlay.git" - }, - "licenses": [ - { - "type": "MIT" - } - ], - "dependencies": {}, - "devDependencies": { - "grunt": "~0.4.1", - "grunt-cli": "~0.1.7", - "grunt-contrib-jshint": "latest", - "grunt-contrib-uglify": "~0.2.0", - "grunt-contrib-concat": "~0.2.0", - "grunt-contrib-watch": "latest", - "grunt-contrib-connect": "~0.5.0" - } + "name": "angular-help-overlay", + "description": "Angular Wrapper for chardin.js instruction overlay", + "version": "0.1.1", + "homepage": "https://github.com/jordanburke/angular-help-overlay", + "author": { + "name": "Jordan Burke", + "url": "https://github.com/jordanburke/" + }, + "repository": { + "type": "git", + "url": "git://github.com/jordanburke/angular-help-overlay.git" + }, + "licenses": [ + { + "type": "MIT" + } + ], + "dependencies": {}, + "devDependencies": { + "grunt": "~0.4.1", + "grunt-cli": "~0.1.7", + "grunt-contrib-jshint": "latest", + "grunt-contrib-uglify": "~0.2.0", + "grunt-contrib-concat": "~0.2.0", + "grunt-contrib-watch": "latest", + "grunt-contrib-connect": "~0.5.0" + } }