Skip to content
This repository was archived by the owner on Jan 17, 2022. It is now read-only.

Commit 78c20b0

Browse files
committed
Added version to minified file
1 parent c3ac75d commit 78c20b0

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = function(grunt) {
2222
pkg: grunt.file.readJSON('package.json'),
2323
uglify: {
2424
options: {
25-
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
25+
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %> */\n'
2626
},
2727
build: {
2828
src: 'src/angular-intro.js',

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-intro.js",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"main": "src/angular-intro.js",
55
"description": "Angular directive to wrap intro.js",
66
"license": "MIT",

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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-intro.js",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Angular directive to wrap intro.js",
55
"main": "src/angular-intro.js",
66
"directories": {

src/angular-intro.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@
113113

114114
scope.ngIntroExitMethod = function (callback) {
115115
intro.exit();
116-
if (typeof callback === 'function')
116+
if (typeof callback === 'function'){
117117
callback();
118+
}
118119
};
119120

120121
var autoStartWatch = scope.$watch('ngIntroAutostart', function () {

0 commit comments

Comments
 (0)