File tree 9 files changed +1085
-1052
lines changed
9 files changed +1085
-1052
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- Nested tags which have the same node name as the body tag cause an exception. Closes issue [ #4 ] ( https://github.com/rstaib/jquery-steps/issues/4 )
6
6
- Improved architecture under the hood (data and UI changes are separated into layer)
7
+ - Improved code for minification
7
8
8
9
## 0.9.7
9
10
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ module.exports = function (grunt)
10
10
files : {
11
11
'<%= pkg.folders.dist %>/jquery.steps.js' : [
12
12
'<%= pkg.folders.src %>/banner.js' ,
13
- '<%= pkg.folders.src %>/variables.js' ,
14
13
'<%= pkg.folders.src %>/privates.js' ,
15
14
'<%= pkg.folders.src %>/publics.js' ,
16
- '<%= pkg.folders.src %>/objects.js' ,
15
+ '<%= pkg.folders.src %>/enums.js' ,
16
+ '<%= pkg.folders.src %>/model.js' ,
17
17
'<%= pkg.folders.src %>/defaults.js' ,
18
18
'<%= pkg.folders.src %>/helper.js' ,
19
19
'<%= pkg.folders.src %>/footer.js'
Original file line number Diff line number Diff line change 14
14
< link rel ="stylesheet " href ="css/jquery.steps.css ">
15
15
< script src ="../lib/modernizr-2.6.2.min.js "> </ script >
16
16
< script src ="../lib/jquery-1.9.1.min.js "> </ script >
17
- < script src ="../dist /jquery.steps.js "> </ script >
17
+ < script src ="../build /jquery.steps.js "> </ script >
18
18
</ head >
19
19
< body >
20
20
<!--[if lt IE 7]>
Original file line number Diff line number Diff line change 15
15
< script src ="../lib/modernizr-2.6.2.min.js "> </ script >
16
16
< script src ="../lib/jquery-1.9.1.min.js "> </ script >
17
17
< script src ="../lib/jquery.cookie-1.3.1.js "> </ script >
18
- < script src ="../dist /jquery.steps.js "> </ script >
18
+ < script src ="../build /jquery.steps.js "> </ script >
19
19
</ head >
20
20
< body >
21
21
<!--[if lt IE 7]>
Original file line number Diff line number Diff line change 1
- /*
2
- * Enums
3
- */
4
-
5
-
6
-
7
1
/**
8
2
* An enum represents the different content types of a step and their loading mechanisms.
9
3
*
@@ -88,39 +82,4 @@ $.fn.steps.transitionEffect = {
88
82
* @for transitionEffect
89
83
**/
90
84
slideLeft : 3
91
- } ;
92
-
93
-
94
-
95
- /*
96
- * Model
97
- */
98
-
99
-
100
-
101
- $ . fn . steps . stepModel = {
102
- title : "" ,
103
- content : "" ,
104
- contentUrl : "" ,
105
- contentMode : $ . fn . steps . contentMode . html ,
106
- contentLoaded : false
107
- } ;
108
-
109
-
110
-
111
- /*
112
- * Model
113
- */
114
-
115
-
116
-
117
- $ . fn . steps . currentIndex = {
118
- decrease : function ( state , decreaseBy )
119
- {
120
- return state . currentIndex - decreaseBy ;
121
- } ,
122
- increase : function ( state , increaseBy )
123
- {
124
- return state . currentIndex + increaseBy ;
125
- }
126
85
} ;
Original file line number Diff line number Diff line change
1
+ $ . fn . steps . stepModel = {
2
+ title : "" ,
3
+ content : "" ,
4
+ contentUrl : "" ,
5
+ contentMode : $ . fn . steps . contentMode . html ,
6
+ contentLoaded : false
7
+ } ;
You can’t perform that action at this time.
0 commit comments