compass-jquery-plugin 0.3.3.0 → 0.3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +4 -4
- data/VERSION.yml +1 -1
- data/lib/handle_js_files.rb +1 -1
- data/lib/jquery/gridify/grid_column.rb +4 -0
- data/lib/jquery/gridify/grid_options.rb +5 -1
- data/lib/jquery/gridify/grid_view.rb +8 -3
- data/templates/dynatree/jquery.dynatree.js +184 -73
- data/templates/dynatree/jquery.dynatree.min.js +78 -76
- data/templates/emulators/emulators/galaxy.tab.7.7.landscape.png +0 -0
- data/templates/emulators/emulators/{palm.pre.2.landscape.scss → galaxy.tab.7.7.landscape.scss} +7 -7
- data/templates/emulators/emulators/galaxy.tab.7.7.portrait.png +0 -0
- data/templates/emulators/emulators/{palm.pre.2.portrait.scss → galaxy.tab.7.7.portrait.scss} +7 -7
- data/templates/emulators/manifest.rb +4 -4
- data/templates/graphics/config/initializers/graphics.rb +1 -1
- data/templates/graphics/highcharts/dark-blue.js +257 -159
- data/templates/graphics/highcharts/dark-blue.min.js +4 -2
- data/templates/graphics/highcharts/dark-green.js +257 -159
- data/templates/graphics/highcharts/dark-green.min.js +4 -2
- data/templates/graphics/highcharts/gray.js +252 -154
- data/templates/graphics/highcharts/gray.min.js +4 -2
- data/templates/graphics/highcharts/grid.js +84 -84
- data/templates/graphics/highcharts/highslide-full.min.js +3 -3
- data/templates/graphics/highcharts/highslide.js +3391 -0
- data/templates/graphics/highcharts/highslide.min.js +132 -0
- data/templates/graphics/jquery.ganttView.min.js +4 -4
- data/templates/graphics/jquery.highcharts.js +15379 -1071
- data/templates/graphics/jquery.highcharts.min.js +384 -167
- data/templates/graphics/jquery.sparkline.min.js +2 -2
- data/templates/graphics/manifest.rb +2 -0
- data/templates/ical/jquery.ical.min.js +46 -47
- data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +20 -19
- data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +7 -6
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +28 -28
- data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +6 -6
- data/templates/jqgrid/i18n/jqgrid/locale-th.js +134 -0
- data/templates/jqgrid/i18n/jqgrid/locale-th.min.js +6 -0
- data/templates/jqgrid/jquery.jqGrid.js +674 -598
- data/templates/jqgrid/jquery.jqGrid.min.js +444 -441
- data/templates/jqgrid/jquery/jqGrid.scss +0 -3
- data/templates/jqgrid/manifest.rb +2 -0
- data/templates/jqtouch/jquery.jqtouch.js +201 -156
- data/templates/jqtouch/jquery.jqtouch.min.js +1 -1
- data/templates/jqtouch/jquery/touch/apple.scss +2 -2
- data/templates/jqtouch/jquery/touch/default.scss +2 -2
- data/templates/jquery/amplify.store.js +111 -78
- data/templates/jquery/amplify.store.min.js +6 -6
- data/templates/jquery/history.js +3 -3
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.min.js +1 -1
- data/templates/jquery/jquery-ui.js +1286 -1042
- data/templates/jquery/jquery-ui.min.js +320 -316
- data/templates/jquery/jquery.contextMenu.js +2 -2
- data/templates/jquery/jquery.easing.js +152 -152
- data/templates/jquery/jquery.easing.min.js +7 -7
- data/templates/jquery/jquery.farbtastic.min.js +2 -2
- data/templates/jquery/jquery.form.js +30 -30
- data/templates/jquery/jquery.haml.min.js +5 -5
- data/templates/jquery/jquery.hotkeys.min.js +1 -1
- data/templates/jquery/jquery.js +419 -311
- data/templates/jquery/jquery.layout.js +59 -40
- data/templates/jquery/jquery.min.js +176 -176
- data/templates/jquery/jquery.themeswitchertool.js +37 -37
- data/templates/jquery/jquery.tmpl.js +4 -4
- data/templates/jquery/jquery.tmpl.min.js +9 -9
- data/templates/jquery/jquery.tmplPlus.min.js +3 -3
- data/templates/jquery/jquery.tokeninput.js +613 -490
- data/templates/jquery/jquery.tokeninput.min.js +17 -14
- data/templates/jquery/jquery/ui/_theme.scss +39 -63
- data/templates/jquery/json.js +31 -15
- data/templates/jstree/jquery.jstree.js +415 -410
- data/templates/jstree/jquery.jstree.min.js +134 -133
- data/templates/markitup/jquery.markitup.js +567 -560
- data/templates/markitup/jquery.markitup.min.js +1 -1
- data/templates/markitup/jquery/markitup/sets/default.scss +7 -3
- data/templates/markitup/jquery/markitup/sets/default/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup.scss +3 -10
- data/templates/markitup/jquery/markitup/skins/markitup/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple.scss +2 -3
- data/templates/markitup/jquery/markitup/skins/simple/menu.png +0 -0
- data/templates/markitup/manifest.rb +2 -0
- data/templates/markitup/markitup/jquery.markitup.set.default.js +21 -21
- data/templates/markitup/markitup/jquery.markitup.set.default.min.js +3 -2
- data/templates/mobile/jquery.mobile.js +5230 -2846
- data/templates/mobile/jquery.mobile.min.js +192 -46
- data/templates/mobile/jquery/mobile/_base.scss +141 -18
- data/templates/mobile/jquery/mobile/default.scss +263 -66
- data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia.scss +242 -53
- data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
- data/templates/tiny_mce/manifest.rb +2 -0
- data/templates/tiny_mce/tiny_mce/langs/de.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advhr/rule.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advimage/image.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advimage/js/image.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlink/link.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autolink/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autolink/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/emotions/emotions.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/example/dialog.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/example_dependency/editor_plugin.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/example_dependency/editor_plugin_src.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/fullpage.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/template.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/lists/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/lists/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/media/js/media.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/media/langs/en_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/media/media.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/paste/pastetext.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/paste/pasteword.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/preview/example.html +16 -17
- data/templates/tiny_mce/tiny_mce/plugins/preview/preview.html +9 -10
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/searchreplace.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/style/js/props.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/style/props.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/cell.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/js/cell.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/js/row.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/langs/de_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/langs/en_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/merge_cells.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/row.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/table.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/template/blank.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/template/template.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/abbr.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/acronym.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/attributes.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/cite.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/del.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/ins.htm +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/about.htm +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/anchor.htm +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/color_picker.htm +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/image.htm +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/img/flash.gif +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/image.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/link.htm +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/content.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/dialog.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/ui.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/ui.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/content.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/dialog.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/source_editor.htm +1 -1
- data/templates/tiny_mce/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/ui.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/ui.css +1 -1
- data/templates/tiny_mce/tiny_mce/tiny_mce.js +1 -1
- data/templates/tools/flowplayer.min.js +1 -1
- data/templates/tools/jquery.tools.js +17 -17
- data/templates/tools/jquery.tools.min.js +22 -22
- metadata +17 -9
- data/templates/emulators/emulators/palm.pre.2.landscape.png +0 -0
- data/templates/emulators/emulators/palm.pre.2.portrait.png +0 -0
|
@@ -70,6 +70,8 @@ javascript 'i18n/jqgrid/locale-sr.js'
|
|
|
70
70
|
javascript 'i18n/jqgrid/locale-sr.min.js'
|
|
71
71
|
javascript 'i18n/jqgrid/locale-sv.js'
|
|
72
72
|
javascript 'i18n/jqgrid/locale-sv.min.js'
|
|
73
|
+
javascript 'i18n/jqgrid/locale-th.js'
|
|
74
|
+
javascript 'i18n/jqgrid/locale-th.min.js'
|
|
73
75
|
javascript 'i18n/jqgrid/locale-tr.js'
|
|
74
76
|
javascript 'i18n/jqgrid/locale-tr.min.js'
|
|
75
77
|
javascript 'i18n/jqgrid/locale-ua.js'
|
|
@@ -57,7 +57,8 @@
|
|
|
57
57
|
fullScreenClass: 'fullscreen',
|
|
58
58
|
hoverDelay: 50,
|
|
59
59
|
icon: null,
|
|
60
|
-
|
|
60
|
+
iconPad: null, // available in iOS 4.2 and later.
|
|
61
|
+
icon4: null, // available in iOS 4.2 and later.
|
|
61
62
|
moveThreshold: 10,
|
|
62
63
|
preloadImages: false,
|
|
63
64
|
pressDelay: 1000,
|
|
@@ -89,8 +90,8 @@
|
|
|
89
90
|
};
|
|
90
91
|
|
|
91
92
|
function _debug(message) {
|
|
92
|
-
now = (new Date).getTime();
|
|
93
|
-
delta = now - lastTime;
|
|
93
|
+
var now = (new Date).getTime();
|
|
94
|
+
var delta = now - lastTime;
|
|
94
95
|
lastTime = now;
|
|
95
96
|
if (jQTSettings.debug) {
|
|
96
97
|
if (message) {
|
|
@@ -119,8 +120,8 @@
|
|
|
119
120
|
hist.unshift({
|
|
120
121
|
page: page,
|
|
121
122
|
animation: animation,
|
|
122
|
-
hash: '#' + page.
|
|
123
|
-
id: page.
|
|
123
|
+
hash: '#' + page.attr('id'),
|
|
124
|
+
id: page.attr('id')
|
|
124
125
|
});
|
|
125
126
|
}
|
|
126
127
|
|
|
@@ -138,11 +139,11 @@
|
|
|
138
139
|
|
|
139
140
|
// Find the nearest tappable ancestor
|
|
140
141
|
if (!$el.is(touchSelectors.join(', '))) {
|
|
141
|
-
|
|
142
|
+
$el = $(e.target).closest(touchSelectors.join(', '));
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
// Prevent default if we found an internal link (relative or absolute)
|
|
145
|
-
if ($el && $el.
|
|
146
|
+
if ($el && $el.attr('href') && !$el.isExternalLink()) {
|
|
146
147
|
_debug('Need to prevent default click behavior');
|
|
147
148
|
e.preventDefault();
|
|
148
149
|
} else {
|
|
@@ -253,7 +254,7 @@
|
|
|
253
254
|
|
|
254
255
|
fromPage.unselect();
|
|
255
256
|
lastAnimationTime = (new Date()).getTime();
|
|
256
|
-
setHash(currentPage.
|
|
257
|
+
setHash(currentPage.attr('id'));
|
|
257
258
|
tapReady = true;
|
|
258
259
|
|
|
259
260
|
// Trigger custom events
|
|
@@ -358,20 +359,16 @@
|
|
|
358
359
|
;
|
|
359
360
|
}
|
|
360
361
|
|
|
361
|
-
// Set appropriate icon (retina display
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
if (appropriateIcon) {
|
|
372
|
-
precomposed = (jQTSettings.addGlossToIcon) ? '' : '-precomposed';
|
|
373
|
-
hairExtensions += '<link rel="apple-touch-icon' + precomposed + '" href="' + appropriateIcon + '" />';
|
|
374
|
-
}
|
|
362
|
+
// Set appropriate icon (retina display available in iOS 4.2 and later.)
|
|
363
|
+
var precomposed = (jQTSettings.addGlossToIcon) ? '' : '-precomposed';
|
|
364
|
+
if (jQTSettings.icon) {
|
|
365
|
+
hairExtensions += '<link rel="apple-touch-icon' + precomposed + '" href="' + jQTSettings.icon + '" />';
|
|
366
|
+
}
|
|
367
|
+
if (jQTSettings.iconPad) {
|
|
368
|
+
hairExtensions += '<link rel="apple-touch-icon' + precomposed + '" sizes="72x72" href="' + jQTSettings.iconPad + '" />';
|
|
369
|
+
}
|
|
370
|
+
if (jQTSettings.icon4) {
|
|
371
|
+
hairExtensions += '<link rel="apple-touch-icon' + precomposed + '" sizes="114x114" href="' + jQTSettings.icon4 + '" />';
|
|
375
372
|
}
|
|
376
373
|
|
|
377
374
|
// Set startup screen
|
|
@@ -405,12 +402,12 @@
|
|
|
405
402
|
var targetPage = null;
|
|
406
403
|
$(nodes).each(function(index, node) {
|
|
407
404
|
var $node = $(this);
|
|
408
|
-
if (!$node.
|
|
409
|
-
$node.
|
|
405
|
+
if (!$node.attr('id')) {
|
|
406
|
+
$node.attr('id', 'page-' + (++newPageCount));
|
|
410
407
|
}
|
|
411
408
|
|
|
412
409
|
// Remove any existing instance
|
|
413
|
-
$('#' + $node.
|
|
410
|
+
$('#' + $node.attr('id')).remove();
|
|
414
411
|
|
|
415
412
|
$body.trigger('pageInserted', {page: $node.appendTo($body)});
|
|
416
413
|
|
|
@@ -473,7 +470,7 @@
|
|
|
473
470
|
var firstPage = insertPages(data, settings.animation);
|
|
474
471
|
if (firstPage) {
|
|
475
472
|
if (settings.method == 'GET' && jQTSettings.cacheGetRequests === true && settings.$referrer) {
|
|
476
|
-
settings.$referrer.
|
|
473
|
+
settings.$referrer.attr('href', '#' + firstPage.attr('id'));
|
|
477
474
|
}
|
|
478
475
|
if (settings.callback) {
|
|
479
476
|
settings.callback(true);
|
|
@@ -503,12 +500,12 @@
|
|
|
503
500
|
|
|
504
501
|
var $form = (typeof(e) === 'string') ? $(e).eq(0) : (e.target ? $(e.target) : $(e));
|
|
505
502
|
|
|
506
|
-
_debug($form.
|
|
503
|
+
_debug($form.attr('action'));
|
|
507
504
|
|
|
508
|
-
if ($form.length && $form.is(jQTSettings.formSelector) && $form.
|
|
509
|
-
showPageByHref($form.
|
|
505
|
+
if ($form.length && $form.is(jQTSettings.formSelector) && $form.attr('action')) {
|
|
506
|
+
showPageByHref($form.attr('action'), {
|
|
510
507
|
data: $form.serialize(),
|
|
511
|
-
method: $form.
|
|
508
|
+
method: $form.attr('method') || "POST",
|
|
512
509
|
animation: animations[0] || null,
|
|
513
510
|
callback: callback
|
|
514
511
|
});
|
|
@@ -616,14 +613,14 @@
|
|
|
616
613
|
}
|
|
617
614
|
|
|
618
615
|
// Make sure we have a tappable element
|
|
619
|
-
if (!$el.length || !$el.
|
|
616
|
+
if (!$el.length || !$el.attr('href')) {
|
|
620
617
|
_debug('Could not find a link related to tapped element');
|
|
621
618
|
return false;
|
|
622
619
|
}
|
|
623
620
|
|
|
624
621
|
// Init some vars
|
|
625
|
-
var target = $el.
|
|
626
|
-
hash = $el.
|
|
622
|
+
var target = $el.attr('target'),
|
|
623
|
+
hash = $el.attr('hash'),
|
|
627
624
|
animation = null;
|
|
628
625
|
|
|
629
626
|
if ($el.isExternalLink()) {
|
|
@@ -640,10 +637,10 @@
|
|
|
640
637
|
|
|
641
638
|
} else if (target === '_webapp') {
|
|
642
639
|
// User clicked or tapped an internal link, fullscreen mode
|
|
643
|
-
window.location = $el.
|
|
640
|
+
window.location = $el.attr('href');
|
|
644
641
|
return false;
|
|
645
642
|
|
|
646
|
-
} else if ($el.
|
|
643
|
+
} else if ($el.attr('href') === '#') {
|
|
647
644
|
// Allow tap on item with no href
|
|
648
645
|
$el.unselect();
|
|
649
646
|
return true;
|
|
@@ -673,7 +670,7 @@
|
|
|
673
670
|
} else {
|
|
674
671
|
// External href
|
|
675
672
|
$el.addClass('loading active');
|
|
676
|
-
showPageByHref($el.
|
|
673
|
+
showPageByHref($el.attr('href'), {
|
|
677
674
|
animation: animation,
|
|
678
675
|
callback: function() {
|
|
679
676
|
$el.removeClass('loading');
|
|
@@ -830,7 +827,7 @@
|
|
|
830
827
|
// Define public jQuery functions
|
|
831
828
|
$.fn.isExternalLink = function() {
|
|
832
829
|
var $el = $(this);
|
|
833
|
-
return ($el.
|
|
830
|
+
return ($el.attr('target') == '_blank' || $el.attr('rel') == 'external' || $el.is('a[href^="http://maps.google.com"], a[href^="mailto:"], a[href^="tel:"], a[href^="javascript:"], a[href*="youtube.com/v"], a[href*="youtube.com/watch"]'));
|
|
834
831
|
}
|
|
835
832
|
$.fn.makeActive = function() {
|
|
836
833
|
return $(this).addClass('active');
|
|
@@ -904,7 +901,7 @@
|
|
|
904
901
|
$body = $('#jqt');
|
|
905
902
|
if ($body.length === 0) {
|
|
906
903
|
_log('Could not find an element with the id "jqt", so the body id has been set to "jqt". If you are having any problems, wrapping your panels in a div with the id "jqt" might help.');
|
|
907
|
-
$body = $('body').
|
|
904
|
+
$body = $('body').attr('id', 'jqt');
|
|
908
905
|
}
|
|
909
906
|
|
|
910
907
|
// Add some specific css if need be
|
|
@@ -939,7 +936,7 @@
|
|
|
939
936
|
|
|
940
937
|
// Go to the top of the "current" page
|
|
941
938
|
$(currentPage).addClass('current');
|
|
942
|
-
initialPageId = $(currentPage).
|
|
939
|
+
initialPageId = $(currentPage).attr('id');
|
|
943
940
|
setHash(initialPageId);
|
|
944
941
|
addPageToHistory(currentPage);
|
|
945
942
|
scrollTo(0, 0);
|
|
@@ -2139,45 +2136,55 @@ function dateAddExtention(p_Interval, p_Number) {
|
|
|
2139
2136
|
|
|
2140
2137
|
p_Number = new Number(p_Number);
|
|
2141
2138
|
switch (p_Interval.toLowerCase()) {
|
|
2142
|
-
case "yyyy":
|
|
2139
|
+
case "yyyy":
|
|
2140
|
+
{// year
|
|
2143
2141
|
this.setFullYear(this.getFullYear() + p_Number);
|
|
2144
2142
|
break;
|
|
2145
2143
|
}
|
|
2146
|
-
case "q":
|
|
2144
|
+
case "q":
|
|
2145
|
+
{ // quarter
|
|
2147
2146
|
this.setMonth(this.getMonth() + (p_Number * 3));
|
|
2148
2147
|
break;
|
|
2149
2148
|
}
|
|
2150
|
-
case "m":
|
|
2149
|
+
case "m":
|
|
2150
|
+
{ // month
|
|
2151
2151
|
this.setMonth(this.getMonth() + p_Number);
|
|
2152
2152
|
break;
|
|
2153
2153
|
}
|
|
2154
2154
|
case "y": // day of year
|
|
2155
2155
|
case "d": // day
|
|
2156
|
-
case "w":
|
|
2156
|
+
case "w":
|
|
2157
|
+
{ // weekday
|
|
2157
2158
|
this.setDate(this.getDate() + p_Number);
|
|
2158
2159
|
break;
|
|
2159
2160
|
}
|
|
2160
|
-
case "ww":
|
|
2161
|
+
case "ww":
|
|
2162
|
+
{ // week of year
|
|
2161
2163
|
this.setDate(this.getDate() + (p_Number * 7));
|
|
2162
2164
|
break;
|
|
2163
2165
|
}
|
|
2164
|
-
case "h":
|
|
2166
|
+
case "h":
|
|
2167
|
+
{ // hour
|
|
2165
2168
|
this.setHours(this.getHours() + p_Number);
|
|
2166
2169
|
break;
|
|
2167
2170
|
}
|
|
2168
|
-
case "n":
|
|
2171
|
+
case "n":
|
|
2172
|
+
{ // minute
|
|
2169
2173
|
this.setMinutes(this.getMinutes() + p_Number);
|
|
2170
2174
|
break;
|
|
2171
2175
|
}
|
|
2172
|
-
case "s":
|
|
2176
|
+
case "s":
|
|
2177
|
+
{ // second
|
|
2173
2178
|
this.setSeconds(this.getSeconds() + p_Number);
|
|
2174
2179
|
break;
|
|
2175
2180
|
}
|
|
2176
|
-
case "ms":
|
|
2181
|
+
case "ms":
|
|
2182
|
+
{ // second
|
|
2177
2183
|
this.setMilliseconds(this.getMilliseconds() + p_Number);
|
|
2178
2184
|
break;
|
|
2179
2185
|
}
|
|
2180
|
-
default:
|
|
2186
|
+
default:
|
|
2187
|
+
{
|
|
2181
2188
|
|
|
2182
2189
|
//throws an error so that the coder can see why he effed up and
|
|
2183
2190
|
//a list of elegible letters.
|
|
@@ -2347,8 +2354,8 @@ Date.prototype.prevMonth = prevMonth;
|
|
|
2347
2354
|
return drop.$elements
|
|
2348
2355
|
.filter(drop.filter)
|
|
2349
2356
|
.each(function(i) {
|
|
2350
|
-
|
|
2351
|
-
|
|
2357
|
+
drop.data[i] = drop.locate(this);
|
|
2358
|
+
});
|
|
2352
2359
|
};
|
|
2353
2360
|
|
|
2354
2361
|
// SPECIAL EVENT CONFIGURATION
|
|
@@ -2724,11 +2731,11 @@ function changeBack(target) {
|
|
|
2724
2731
|
}, jqc.css || {});
|
|
2725
2732
|
|
|
2726
2733
|
parts[o] = $.extend({
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2734
|
+
paddingBottom:5,
|
|
2735
|
+
width: window.innerWidth,
|
|
2736
|
+
height: window.innerHeight - toolbarHeight,
|
|
2737
|
+
bottomToolbarHeight: window.innerHeight - (toolbarHeight * 2)
|
|
2738
|
+
},
|
|
2732
2739
|
jqc[o] || {});
|
|
2733
2740
|
|
|
2734
2741
|
parts.defaults = $.extend({}, parts[o], jqc.defaults || {});
|
|
@@ -2747,11 +2754,11 @@ function changeBack(target) {
|
|
|
2747
2754
|
$(window).one("orientationchange", function() {
|
|
2748
2755
|
var o = window.innerWidth < window.innerHeight ? "profile" : "landscape";
|
|
2749
2756
|
parts[o] = $.extend({
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2757
|
+
paddingBottom:5,
|
|
2758
|
+
width: window.innerWidth,
|
|
2759
|
+
height: window.innerHeight - toolbarHeight,
|
|
2760
|
+
bottomToolbarHeight: window.innerHeight - (toolbarHeight * 2)
|
|
2761
|
+
},
|
|
2755
2762
|
jqc[o] || {});
|
|
2756
2763
|
|
|
2757
2764
|
$(document.createElement("style"))
|
|
@@ -3529,17 +3536,17 @@ function changeBack(target) {
|
|
|
3529
3536
|
// NEED OPTIMIZATION
|
|
3530
3537
|
self.find('> .' + i + ', *:not(.chain-element) .' + i)
|
|
3531
3538
|
.each(function() {
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3539
|
+
var match = $(this);
|
|
3540
|
+
if (match.filter(':input').length) {
|
|
3541
|
+
match.val(data[i]);
|
|
3542
|
+
}
|
|
3543
|
+
else if (match.filter('img').length) {
|
|
3544
|
+
match.prop('src', data[i]);
|
|
3545
|
+
}
|
|
3546
|
+
else {
|
|
3547
|
+
match.html(data[i]);
|
|
3548
|
+
}
|
|
3549
|
+
});
|
|
3543
3550
|
}
|
|
3544
3551
|
}
|
|
3545
3552
|
});
|
|
@@ -5447,15 +5454,15 @@ function changeBack(target) {
|
|
|
5447
5454
|
settings.onGestureStart(getScale(e, end_scale), getRotation(e, rotation), e, settings.element);
|
|
5448
5455
|
})
|
|
5449
5456
|
.bind('gesturechange', function(e) {
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5457
|
+
if (settings.onGestureChange)
|
|
5458
|
+
settings.onGestureChange(getScale(e, end_scale), getRotation(e, rotation), e, settings.element);
|
|
5459
|
+
})
|
|
5453
5460
|
.bind('gestureend', function(e) {
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5461
|
+
end_scale = e.originalEvent.scale;
|
|
5462
|
+
rotation = (e.originalEvent.rotation + rotation) % 360;
|
|
5463
|
+
if (settings.onGestureEnd)
|
|
5464
|
+
settings.onGestureEnd(getScale(e, end_scale), getRotation(e, rotation), e, settings.element);
|
|
5465
|
+
});
|
|
5459
5466
|
}
|
|
5460
5467
|
|
|
5461
5468
|
function getRotation(event, current_rotation) {
|
|
@@ -5611,8 +5618,8 @@ function changeBack(target) {
|
|
|
5611
5618
|
$(function() {
|
|
5612
5619
|
$(defaults.selector)
|
|
5613
5620
|
.each(function() {
|
|
5614
|
-
|
|
5615
|
-
|
|
5621
|
+
$(this).scrollHorizontally(defaults.attributesToOptions($(this), defaults.attributes));
|
|
5622
|
+
});
|
|
5616
5623
|
});
|
|
5617
5624
|
|
|
5618
5625
|
return {};
|
|
@@ -6194,12 +6201,12 @@ function changeBack(target) {
|
|
|
6194
6201
|
|
|
6195
6202
|
// Swap in newly download files when update is ready
|
|
6196
6203
|
cache.addEventListener('updateready', function(e) {
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6204
|
+
// Don't perform "swap" if this is the first cache
|
|
6205
|
+
if (cacheStatusValues[cache.status] != 'idle') {
|
|
6206
|
+
cache.swapCache();
|
|
6207
|
+
console.log('Swapped/updated the Cache Manifest.');
|
|
6208
|
+
}
|
|
6209
|
+
}
|
|
6203
6210
|
, false);
|
|
6204
6211
|
|
|
6205
6212
|
// These two functions check for updates to the manifest file
|
|
@@ -7055,7 +7062,7 @@ function changeBack(target) {
|
|
|
7055
7062
|
sheet.insertRule(
|
|
7056
7063
|
format(options.parsedClassTemplate, options.parsedClass),
|
|
7057
7064
|
sheet.cssRules.length
|
|
7058
|
-
|
|
7065
|
+
);
|
|
7059
7066
|
}
|
|
7060
7067
|
|
|
7061
7068
|
options.gallery = $(options.galleryTemplate).appendTo(options.appendTo);
|
|
@@ -7068,8 +7075,8 @@ function changeBack(target) {
|
|
|
7068
7075
|
.append(
|
|
7069
7076
|
$("<h1></h1>").html(
|
|
7070
7077
|
format(options.galleryName, options.defaultIndex + 1, images.length)
|
|
7071
|
-
|
|
7072
|
-
|
|
7078
|
+
)
|
|
7079
|
+
);
|
|
7073
7080
|
|
|
7074
7081
|
if (options.backLink) {
|
|
7075
7082
|
toolbar.append(options.backLink);
|
|
@@ -7343,18 +7350,18 @@ function changeBack(target) {
|
|
|
7343
7350
|
|
|
7344
7351
|
$this
|
|
7345
7352
|
.data("jqt-photo-event", {
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
|
|
7353
|
+
table: table,
|
|
7354
|
+
position: {current: position.x, original: position.x},
|
|
7355
|
+
target: target.css("webkitTransitionDuration", "0s"),
|
|
7356
|
+
options: options,
|
|
7357
|
+
slides: table.find(options.slideSelector),
|
|
7358
|
+
moved: false,
|
|
7359
|
+
x: tt.pageX,
|
|
7360
|
+
y: tt.pageY,
|
|
7361
|
+
left: current.left || 0,
|
|
7362
|
+
top: current.top || 0,
|
|
7363
|
+
timeStamp: +new Date
|
|
7364
|
+
});
|
|
7358
7365
|
|
|
7359
7366
|
return true;
|
|
7360
7367
|
}
|
|
@@ -7565,7 +7572,7 @@ function changeBack(target) {
|
|
|
7565
7572
|
distance: sqrt(
|
|
7566
7573
|
pow((tt[1].pageX - tt[0].pageX), 2)
|
|
7567
7574
|
+ pow((tt[1].pageY - tt[0].pageY), 2)
|
|
7568
|
-
|
|
7575
|
+
)
|
|
7569
7576
|
})
|
|
7570
7577
|
.find(".image-list")
|
|
7571
7578
|
.css("webkitTransitionDuration", "0s");//end any transform on this table
|
|
@@ -7598,7 +7605,7 @@ function changeBack(target) {
|
|
|
7598
7605
|
distance = sqrt(
|
|
7599
7606
|
pow((tt[1].pageX - tt[0].pageX), 2) +
|
|
7600
7607
|
pow((tt[1].pageY - tt[0].pageY), 2)
|
|
7601
|
-
|
|
7608
|
+
),
|
|
7602
7609
|
difference = distance - original.distance,
|
|
7603
7610
|
percentChange = (difference / original.distance) / 2,
|
|
7604
7611
|
current = data.current,
|
|
@@ -7617,7 +7624,7 @@ function changeBack(target) {
|
|
|
7617
7624
|
(current.scale = (current.scale + (current.scale * percentChange))),
|
|
7618
7625
|
current.left,
|
|
7619
7626
|
current.top
|
|
7620
|
-
|
|
7627
|
+
);
|
|
7621
7628
|
|
|
7622
7629
|
original.distance = distance;
|
|
7623
7630
|
|
|
@@ -7842,9 +7849,9 @@ function changeBack(target) {
|
|
|
7842
7849
|
options.rearrange(current, last, options);
|
|
7843
7850
|
})
|
|
7844
7851
|
.css({
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7852
|
+
webkitTransitionDuration: duration + "ms",
|
|
7853
|
+
webkitTransform: format(options.transform, position)
|
|
7854
|
+
});
|
|
7848
7855
|
|
|
7849
7856
|
//update the title of the gallery
|
|
7850
7857
|
title = $this.find(options.titleSelector);
|
|
@@ -7950,27 +7957,27 @@ function changeBack(target) {
|
|
|
7950
7957
|
.find(options.imageSelector)
|
|
7951
7958
|
.filter("[src]")
|
|
7952
7959
|
.each(function() {
|
|
7953
|
-
|
|
7954
|
-
|
|
7960
|
+
var clone = options.blankImage.clone(true),
|
|
7961
|
+
$this = $(this);
|
|
7955
7962
|
|
|
7956
|
-
|
|
7957
|
-
|
|
7963
|
+
$this.parent().addClass(options.notLoadedClass);
|
|
7964
|
+
$this.replaceWith(clone);
|
|
7958
7965
|
|
|
7959
|
-
|
|
7960
|
-
|
|
7966
|
+
parseImageData($this, clone, options);
|
|
7967
|
+
});
|
|
7961
7968
|
|
|
7962
7969
|
current.nextAll().slice(options.maxSlidesAfter)
|
|
7963
7970
|
.find(options.imageSelector)
|
|
7964
7971
|
.filter("[src]")
|
|
7965
7972
|
.each(function() {
|
|
7966
|
-
|
|
7967
|
-
|
|
7973
|
+
var clone = options.blankImage.clone(true),
|
|
7974
|
+
$this = $(this);
|
|
7968
7975
|
|
|
7969
|
-
|
|
7970
|
-
|
|
7976
|
+
$this.parent().addClass(options.notLoadedClass);
|
|
7977
|
+
$this.replaceWith(clone);
|
|
7971
7978
|
|
|
7972
|
-
|
|
7973
|
-
|
|
7979
|
+
parseImageData($this, clone, options);
|
|
7980
|
+
});
|
|
7974
7981
|
|
|
7975
7982
|
if (last[0] !== current[0]) {
|
|
7976
7983
|
resetDimensions(last.find(options.imageSelector));
|
|
@@ -8212,7 +8219,7 @@ function changeBack(target) {
|
|
|
8212
8219
|
d.current.scale = d.original.scale,
|
|
8213
8220
|
d.current.left = d.original.left,
|
|
8214
8221
|
d.current.top = d.original.top
|
|
8215
|
-
|
|
8222
|
+
)
|
|
8216
8223
|
});
|
|
8217
8224
|
|
|
8218
8225
|
d.current.width = d.original.width;
|
|
@@ -8480,8 +8487,8 @@ function changeBack(target) {
|
|
|
8480
8487
|
$(function() {
|
|
8481
8488
|
$('body > *')
|
|
8482
8489
|
.each(function() {
|
|
8483
|
-
|
|
8484
|
-
|
|
8490
|
+
binder({}, {page: $(this)});
|
|
8491
|
+
});
|
|
8485
8492
|
});
|
|
8486
8493
|
|
|
8487
8494
|
return {};
|
|
@@ -8522,9 +8529,15 @@ function changeBack(target) {
|
|
|
8522
8529
|
iScale.prototype = {
|
|
8523
8530
|
handleEvent: function(e) {
|
|
8524
8531
|
switch (e.type) {
|
|
8525
|
-
case 'touchstart':
|
|
8526
|
-
|
|
8527
|
-
|
|
8532
|
+
case 'touchstart':
|
|
8533
|
+
return this.onTouchStart(e);
|
|
8534
|
+
break;
|
|
8535
|
+
case 'touchmove':
|
|
8536
|
+
return this.onTouchMove(e);
|
|
8537
|
+
break;
|
|
8538
|
+
case 'touchend':
|
|
8539
|
+
return this.onTouchEnd(e);
|
|
8540
|
+
break;
|
|
8528
8541
|
}
|
|
8529
8542
|
},
|
|
8530
8543
|
|
|
@@ -8554,7 +8567,7 @@ function changeBack(target) {
|
|
|
8554
8567
|
this.startDistance = Math.sqrt(
|
|
8555
8568
|
Math.pow((e.targetTouches[1].clientX - e.targetTouches[0].clientX), 2)
|
|
8556
8569
|
+ Math.pow((e.targetTouches[1].clientX - e.targetTouches[0].clientX), 2)
|
|
8557
|
-
|
|
8570
|
+
);
|
|
8558
8571
|
|
|
8559
8572
|
return false;
|
|
8560
8573
|
},
|
|
@@ -8572,7 +8585,7 @@ function changeBack(target) {
|
|
|
8572
8585
|
var newDistance = Math.sqrt(
|
|
8573
8586
|
Math.pow((e.targetTouches[1].clientX - e.targetTouches[0].clientX), 2)
|
|
8574
8587
|
+ Math.pow((e.targetTouches[1].clientY - e.targetTouches[0].clientY), 2)
|
|
8575
|
-
|
|
8588
|
+
),
|
|
8576
8589
|
difference = newDistance - this.startDistance,
|
|
8577
8590
|
percentChange = (difference / this.startDistance) / 2;
|
|
8578
8591
|
|
|
@@ -9261,13 +9274,13 @@ function changeBack(target) {
|
|
|
9261
9274
|
|
|
9262
9275
|
$(v.selector)
|
|
9263
9276
|
.each(function() {
|
|
9264
|
-
|
|
9265
|
-
|
|
9277
|
+
$(this).verticallyScroll(v.attributesToOptions($(this), "vertical", v.attributes));
|
|
9278
|
+
});
|
|
9266
9279
|
|
|
9267
9280
|
$(h.selector)
|
|
9268
9281
|
.each(function() {
|
|
9269
|
-
|
|
9270
|
-
|
|
9282
|
+
$(this).horizontallyScroll(h.attributesToOptions($(this), "horizontal", h.attributes));
|
|
9283
|
+
});
|
|
9271
9284
|
});
|
|
9272
9285
|
|
|
9273
9286
|
return {};
|
|
@@ -9833,7 +9846,7 @@ function changeBack(target) {
|
|
|
9833
9846
|
this.direction == "horizontal" ?
|
|
9834
9847
|
0 :
|
|
9835
9848
|
Math.round(pos)
|
|
9836
|
-
|
|
9849
|
+
);
|
|
9837
9850
|
},
|
|
9838
9851
|
|
|
9839
9852
|
scrollTo: function (pos, runtime) {
|
|
@@ -9996,8 +10009,8 @@ function changeBack(target) {
|
|
|
9996
10009
|
$(function() {
|
|
9997
10010
|
$('body > *')
|
|
9998
10011
|
.each(function() {
|
|
9999
|
-
|
|
10000
|
-
|
|
10012
|
+
binder({}, {page: $(this)});
|
|
10013
|
+
});
|
|
10001
10014
|
});
|
|
10002
10015
|
|
|
10003
10016
|
return {};
|
|
@@ -10044,10 +10057,18 @@ function changeBack(target) {
|
|
|
10044
10057
|
iScroll.prototype = {
|
|
10045
10058
|
handleEvent: function(e) {
|
|
10046
10059
|
switch (e.type) {
|
|
10047
|
-
case 'touchstart':
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
case '
|
|
10060
|
+
case 'touchstart':
|
|
10061
|
+
this.onTouchStart(e);
|
|
10062
|
+
break;
|
|
10063
|
+
case 'touchmove':
|
|
10064
|
+
this.onTouchMove(e);
|
|
10065
|
+
break;
|
|
10066
|
+
case 'touchend':
|
|
10067
|
+
this.onTouchEnd(e);
|
|
10068
|
+
break;
|
|
10069
|
+
case 'webkitTransitionEnd':
|
|
10070
|
+
this.onTransitionEnd(e);
|
|
10071
|
+
break;
|
|
10051
10072
|
}
|
|
10052
10073
|
},
|
|
10053
10074
|
|
|
@@ -10237,10 +10258,18 @@ function changeBack(target) {
|
|
|
10237
10258
|
iScrollHorizontal.prototype = {
|
|
10238
10259
|
handleEvent: function(e) {
|
|
10239
10260
|
switch (e.type) {
|
|
10240
|
-
case 'touchstart':
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
case '
|
|
10261
|
+
case 'touchstart':
|
|
10262
|
+
this.onTouchStart(e);
|
|
10263
|
+
break;
|
|
10264
|
+
case 'touchmove':
|
|
10265
|
+
this.onTouchMove(e);
|
|
10266
|
+
break;
|
|
10267
|
+
case 'touchend':
|
|
10268
|
+
this.onTouchEnd(e);
|
|
10269
|
+
break;
|
|
10270
|
+
case 'webkitTransitionEnd':
|
|
10271
|
+
this.onTransitionEnd(e);
|
|
10272
|
+
break;
|
|
10244
10273
|
}
|
|
10245
10274
|
},
|
|
10246
10275
|
|
|
@@ -10472,8 +10501,8 @@ function changeBack(target) {
|
|
|
10472
10501
|
$(function() {
|
|
10473
10502
|
$('body > *')
|
|
10474
10503
|
.each(function() {
|
|
10475
|
-
|
|
10476
|
-
|
|
10504
|
+
binder({}, {page: $(this)});
|
|
10505
|
+
});
|
|
10477
10506
|
});
|
|
10478
10507
|
|
|
10479
10508
|
return {};
|
|
@@ -10525,10 +10554,18 @@ function changeBack(target) {
|
|
|
10525
10554
|
iSlide.prototype = {
|
|
10526
10555
|
handleEvent: function(e) {
|
|
10527
10556
|
switch (e.type) {
|
|
10528
|
-
case 'touchstart':
|
|
10529
|
-
|
|
10530
|
-
|
|
10531
|
-
case '
|
|
10557
|
+
case 'touchstart':
|
|
10558
|
+
this.onTouchStart(e);
|
|
10559
|
+
break;
|
|
10560
|
+
case 'touchmove':
|
|
10561
|
+
this.onTouchMove(e);
|
|
10562
|
+
break;
|
|
10563
|
+
case 'touchend':
|
|
10564
|
+
this.onTouchEnd(e);
|
|
10565
|
+
break;
|
|
10566
|
+
case 'webkitTransitionEnd':
|
|
10567
|
+
this.onTransitionEnd(e);
|
|
10568
|
+
break;
|
|
10532
10569
|
}
|
|
10533
10570
|
},
|
|
10534
10571
|
|
|
@@ -10721,10 +10758,18 @@ function changeBack(target) {
|
|
|
10721
10758
|
iSlideHorizontal.prototype = {
|
|
10722
10759
|
handleEvent: function(e) {
|
|
10723
10760
|
switch (e.type) {
|
|
10724
|
-
case 'touchstart':
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
case '
|
|
10761
|
+
case 'touchstart':
|
|
10762
|
+
this.onTouchStart(e);
|
|
10763
|
+
break;
|
|
10764
|
+
case 'touchmove':
|
|
10765
|
+
this.onTouchMove(e);
|
|
10766
|
+
break;
|
|
10767
|
+
case 'touchend':
|
|
10768
|
+
this.onTouchEnd(e);
|
|
10769
|
+
break;
|
|
10770
|
+
case 'webkitTransitionEnd':
|
|
10771
|
+
this.onTransitionEnd(e);
|
|
10772
|
+
break;
|
|
10728
10773
|
}
|
|
10729
10774
|
},
|
|
10730
10775
|
|
|
@@ -11196,8 +11241,8 @@ function changeBack(target) {
|
|
|
11196
11241
|
$(function() {
|
|
11197
11242
|
$(defaults.selector)
|
|
11198
11243
|
.each(function() {
|
|
11199
|
-
|
|
11200
|
-
|
|
11244
|
+
$(this).scrollVertically(defaults.attributesToOptions($(this), defaults.attributes));
|
|
11245
|
+
});
|
|
11201
11246
|
});
|
|
11202
11247
|
|
|
11203
11248
|
return {};
|