Skip to content

Commit c57975f

Browse files
committed
working for normal, aswellas for amd also
1 parent d2a6931 commit c57975f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build/angular-intro.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/angular-intro.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
root.angularIntroJs = factory(root.angular, root.introJs);
88
}
99
}(this, function (angular, introJs) {
10-
introJs=introJs.introJs;
10+
if(typeof introJs == 'object')
11+
introJs=introJs.introJs;
1112

1213
var ngIntroDirective = angular.module('angular-intro', []);
1314

0 commit comments

Comments
 (0)