|
1 |
| -/*! |
2 |
| - * jQuery Steps Plugin v1.0.0pre - A powerful jQuery wizard plugin that supports accessibility and HTML5 |
3 |
| - * http://www.jquery-steps.com |
4 |
| - * |
5 |
| - * Copyright (c) 2013 Rafael J. Staib |
6 |
| - * Released under the MIT license |
7 |
| - * |
8 |
| - * Follow me on twitter: https://twitter.com/@RafaelStaib |
9 |
| - * |
10 |
| - * Requires jQuery version 1.4.4 or higher |
11 |
| - * Please report issues at: https://github.com/rstaib/jquery-steps/issues |
12 |
| - */ |
13 |
| - |
14 |
| -/* |
15 |
| - * TODOs: |
16 |
| - * - Add tests and styles for loading animation (Spinner) |
17 |
| - * - Add tests for add, insert and remove |
18 |
| - * - Add tests in general |
19 |
| - * |
20 |
| - * Planed Features: |
21 |
| - * - Progress bar |
22 |
| - * - Implement preloadContent for async and iframe content types. |
23 |
| - * - Implement functionality to skip a certain amount of steps |
24 |
| - * - Dynamic settings change (setOptions({ enablePagination: false })) |
25 |
| - * - Dynamic step update (setStepContent(0, { title: "", content: "" })) |
26 |
| - * - Jump from any page to a specific step (via uri hash tag test.html#steps-uid-1-3) |
27 |
| - * - Add Swipe gesture for devices that support touch |
28 |
| - * - Allow clicking on the next step even if it is disabled (so that people can decide whether they use prev button or the step button next to the current step) |
29 |
| - * |
30 |
| - */ |
31 |
| - |
32 |
| -/** |
33 |
| - * @module jQuery.steps |
34 |
| - * @requires jQuery (always required), jQuery.cookie (only required if saveState is `true`) |
| 1 | +/*! |
| 2 | + * jquery-steps v1.0.0pre - 08/11/2013 |
| 3 | + * Copyright (c) 2013 Rafael J. Staib (http://www.jquery-steps.com) |
| 4 | + * Licensed under MIT http://www.opensource.org/licenses/MIT |
35 | 5 | */
|
36 | 6 | ;(function ($, undefined)
|
37 | 7 | {
|
@@ -1219,6 +1189,7 @@ function validateArgument(argumentName, argumentValue)
|
1219 | 1189 | throwError("The argument '{0}' is null or undefined.", argumentName);
|
1220 | 1190 | }
|
1221 | 1191 | }
|
| 1192 | + |
1222 | 1193 | /**
|
1223 | 1194 | * Represents a jQuery wizard plugin.
|
1224 | 1195 | *
|
@@ -1395,6 +1366,7 @@ $.fn.steps.skip = function (count)
|
1395 | 1366 | {
|
1396 | 1367 | throw new Error("Not yet implemented!");
|
1397 | 1368 | };
|
| 1369 | + |
1398 | 1370 | /**
|
1399 | 1371 | * An enum represents the different content types of a step and their loading mechanisms.
|
1400 | 1372 | *
|
@@ -1508,13 +1480,15 @@ var transitionEffect = $.fn.steps.transitionEffect = {
|
1508 | 1480 | **/
|
1509 | 1481 | slideLeft: 3
|
1510 | 1482 | };
|
| 1483 | + |
1511 | 1484 | var stepModel = $.fn.steps.stepModel = {
|
1512 | 1485 | title: "",
|
1513 | 1486 | content: "",
|
1514 | 1487 | contentUrl: "",
|
1515 | 1488 | contentMode: contentMode.html,
|
1516 | 1489 | contentLoaded: false
|
1517 | 1490 | };
|
| 1491 | + |
1518 | 1492 | /**
|
1519 | 1493 | * An object that represents the default settings.
|
1520 | 1494 | * There are two possibities to override the sub-properties.
|
@@ -1907,6 +1881,7 @@ var defaults = $.fn.steps.defaults = {
|
1907 | 1881 | loading: "Loading ..."
|
1908 | 1882 | }
|
1909 | 1883 | };
|
| 1884 | + |
1910 | 1885 | $.fn.extend({
|
1911 | 1886 | aria: function (name, value)
|
1912 | 1887 | {
|
|
0 commit comments