File tree Expand file tree Collapse file tree 9 files changed +1085
-1052
lines changed
Expand file tree Collapse file tree 9 files changed +1085
-1052
lines changed Original file line number Diff line number Diff line change 44
55- 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 )
66- Improved architecture under the hood (data and UI changes are separated into layer)
7+ - Improved code for minification
78
89## 0.9.7
910
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ module.exports = function (grunt)
1010 files : {
1111 '<%= pkg.folders.dist %>/jquery.steps.js' : [
1212 '<%= pkg.folders.src %>/banner.js' ,
13- '<%= pkg.folders.src %>/variables.js' ,
1413 '<%= pkg.folders.src %>/privates.js' ,
1514 '<%= pkg.folders.src %>/publics.js' ,
16- '<%= pkg.folders.src %>/objects.js' ,
15+ '<%= pkg.folders.src %>/enums.js' ,
16+ '<%= pkg.folders.src %>/model.js' ,
1717 '<%= pkg.folders.src %>/defaults.js' ,
1818 '<%= pkg.folders.src %>/helper.js' ,
1919 '<%= pkg.folders.src %>/footer.js'
Original file line number Diff line number Diff line change 1414 < link rel ="stylesheet " href ="css/jquery.steps.css ">
1515 < script src ="../lib/modernizr-2.6.2.min.js "> </ script >
1616 < 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 >
1818 </ head >
1919 < body >
2020 <!--[if lt IE 7]>
Original file line number Diff line number Diff line change 1515 < script src ="../lib/modernizr-2.6.2.min.js "> </ script >
1616 < script src ="../lib/jquery-1.9.1.min.js "> </ script >
1717 < 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 >
1919 </ head >
2020 < body >
2121 <!--[if lt IE 7]>
Original file line number Diff line number Diff line change 1- /*
2- * Enums
3- */
4-
5-
6-
71/**
82 * An enum represents the different content types of a step and their loading mechanisms.
93 *
@@ -88,39 +82,4 @@ $.fn.steps.transitionEffect = {
8882 * @for transitionEffect
8983 **/
9084 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- }
12685} ;
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