From 8a7b3d152354b66c697325826f7182b96f37050f Mon Sep 17 00:00:00 2001 From: mendhak Date: Sun, 14 Jun 2015 07:40:57 +0100 Subject: [PATCH] Minified nextstep previousstep change --- build/angular-intro.min.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/angular-intro.min.js b/build/angular-intro.min.js index 8aa905e..7faf01c 100644 --- a/build/angular-intro.min.js +++ b/build/angular-intro.min.js @@ -1,2 +1,2 @@ -/*! angular-intro.js 2015-03-20 */ -!function(a,b){"function"==typeof define&&define.amd?define(["angular","intro"],b):"object"==typeof exports?module.exports=b(require("angular"),require("intro")):a.angularIntroJs=b(a.angular,a.introJs)}(this,function(a,b){var c=a.module("angular-intro",[]);return c.directive("ngIntroOptions",["$timeout",function(a){return{restrict:"A",scope:{ngIntroMethod:"=",ngIntroExitMethod:"=?",ngIntroOptions:"=",ngIntroOncomplete:"=",ngIntroOnexit:"=",ngIntroOnchange:"=",ngIntroOnbeforechange:"=",ngIntroOnafterchange:"=",ngIntroAutostart:"=",ngIntroAutorefresh:"="},link:function(c){var d;c.ngIntroMethod=function(e){var f=c.$on("$locationChangeStart",function(){d.exit()});d="string"==typeof e?b(e):b(),d.setOptions(c.ngIntroOptions),c.ngIntroAutorefresh&&c.$watch(function(){d.refresh()}),c.ngIntroOncomplete&&d.oncomplete(function(){c.ngIntroOncomplete.call(this,c),a(function(){c.$digest()}),f()}),c.ngIntroOnexit&&d.onexit(function(){c.ngIntroOnexit.call(this,c),a(function(){c.$digest()}),f()}),c.ngIntroOnchange&&d.onchange(function(b){c.ngIntroOnchange.call(this,b,c),a(function(){c.$digest()})}),c.ngIntroOnbeforechange&&d.onbeforechange(function(b){c.ngIntroOnbeforechange.call(this,b,c),a(function(){c.$digest()})}),c.ngIntroOnafterchange&&d.onafterchange(function(b){c.ngIntroOnafterchange.call(this,b,c),a(function(){c.$digest()})}),"number"==typeof e?d.goToStep(e).start():d.start()},c.ngIntroExitMethod=function(a){d.exit(),a()};var e=c.$watch("ngIntroAutostart",function(){c.ngIntroAutostart&&a(function(){c.ngIntroMethod()}),e()})}}}]),c}); \ No newline at end of file +/*! angular-intro.js 2015-06-14 */ +!function(a,b){"function"==typeof define&&define.amd?define(["angular","intro"],b):"object"==typeof exports?module.exports=b(require("angular"),require("intro")):a.angularIntroJs=b(a.angular,a.introJs)}(this,function(a,b){var c=a.module("angular-intro",[]);return c.directive("ngIntroOptions",["$timeout",function(a){return{restrict:"A",scope:{ngIntroMethod:"=",ngIntroExitMethod:"=?",ngIntroNextMethod:"=?",ngIntroPreviousMethod:"=?",ngIntroOptions:"=",ngIntroOncomplete:"=",ngIntroOnexit:"=",ngIntroOnchange:"=",ngIntroOnbeforechange:"=",ngIntroOnafterchange:"=",ngIntroAutostart:"=",ngIntroAutorefresh:"="},link:function(c,d,e){var f;c.ngIntroMethod=function(d){var e=c.$on("$locationChangeStart",function(){f.exit()});f="string"==typeof d?b(d):b(),f.setOptions(c.ngIntroOptions),c.ngIntroAutorefresh&&c.$watch(function(){f.refresh()}),c.ngIntroOncomplete&&f.oncomplete(function(){c.ngIntroOncomplete.call(this,c),a(function(){c.$digest()}),e()}),c.ngIntroOnexit&&f.onexit(function(){c.ngIntroOnexit.call(this,c),a(function(){c.$digest()}),e()}),c.ngIntroOnchange&&f.onchange(function(b){c.ngIntroOnchange.call(this,b,c),a(function(){c.$digest()})}),c.ngIntroOnbeforechange&&f.onbeforechange(function(b){c.ngIntroOnbeforechange.call(this,b,c),a(function(){c.$digest()})}),c.ngIntroOnafterchange&&f.onafterchange(function(b){c.ngIntroOnafterchange.call(this,b,c),a(function(){c.$digest()})}),"number"==typeof d?f.goToStep(d).start():f.start()},c.ngIntroNextMethod=function(){f.nextStep()},c.ngIntroPreviousMethod=function(){f.previousStep()},c.ngIntroExitMethod=function(a){f.exit(),a()};var g=c.$watch("ngIntroAutostart",function(){c.ngIntroAutostart&&a(function(){c.ngIntroMethod()}),g()})}}}]),c}); \ No newline at end of file