Skip to content

Commit 1f31b8e

Browse files
author
Rafael J. Staib
committed
Add further minification improvements and tests for step cache array
1 parent 9fb1f04 commit 1f31b8e

File tree

8 files changed

+242
-11587
lines changed

8 files changed

+242
-11587
lines changed

GHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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
7+
- Improved code for better minification
88

99
## 0.9.7
1010

Gruntfile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ module.exports = function (grunt)
2626
preserveComments: false,
2727
banner: '/*! <%= "\\r\\n * " + pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("mm/dd/yyyy") + "\\r\\n" %>' +
2828
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> <%= (pkg.homepage ? "(" + pkg.homepage + ")" : "") + "\\r\\n" %>' +
29-
' * Licensed under <%= pkg.licenses[0].type + " " + pkg.licenses[0].url + "\\r\\n */\\r\\n" %>'
29+
' * Licensed under <%= pkg.licenses[0].type + " " + pkg.licenses[0].url + "\\r\\n */\\r\\n" %>',
30+
report: 'gzip'
3031
},
3132
all: {
3233
files: {

demo/empty.html

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<!DOCTYPE html>
2+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
3+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
4+
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
5+
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
6+
<head>
7+
<meta charset="utf-8">
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9+
<title>jQeury.steps Demos</title>
10+
<meta name="description" content="">
11+
<meta name="viewport" content="width=device-width">
12+
<link rel="stylesheet" href="css/normalize.css">
13+
<link rel="stylesheet" href="css/main.css">
14+
<link rel="stylesheet" href="css/jquery.steps.css">
15+
<script src="../lib/modernizr-2.6.2.min.js"></script>
16+
<script src="../lib/jquery-1.9.1.min.js"></script>
17+
<script src="../lib/jquery.cookie-1.3.1.js"></script>
18+
<script src="../build/jquery.steps.js"></script>
19+
</head>
20+
<body>
21+
<!--[if lt IE 7]>
22+
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
23+
<![endif]-->
24+
25+
<header>
26+
<h1>Wizard Demo</h1>
27+
<nav>
28+
<ul>
29+
<li><a href="index.html">Basic</a></li>
30+
<li><a href="multiple.html">Multiple Wizard</a></li>
31+
<li><a href="async-iframe.html">Async/Iframe Content</a></li>
32+
<li><a href="form.html">Step Validation</a></li>
33+
<li><a href="add-remove.html">Add/Remove Steps via API</a></li>
34+
</ul>
35+
</nav>
36+
</header>
37+
38+
<div class="content">
39+
<h1>Basic Demo</h1>
40+
41+
<script>
42+
$(function ()
43+
{
44+
$("#wizard").steps({
45+
headerTag: "h2",
46+
bodyTag: "section",
47+
transitionEffect: "slide"
48+
});
49+
});
50+
</script>
51+
52+
<div id="wizard">
53+
</div>
54+
</div>
55+
</body>
56+
</html>

0 commit comments

Comments
 (0)