Skip to content

Instantly share code, notes, and snippets.

View gabrielschulhof's full-sized avatar

Gabriel Schulhof gabrielschulhof

  • California, USA
View GitHub Profile
"ui-panel": null,
"ui-panel-position-left": null,
"ui-panel-position-right": null,
"ui-panel-display-reveal": null,
"ui-panel-display-push": null,
"ui-panel-display-overlay": null,
"ui-panel-open": null,
"ui-panel-closed": null,
"ui-panel-fixed": null,
"ui-panel-inner": null,

Navigation

  • Fix exceptions during navigation by correctly (un)escaping data-url all throughout the code, selector-escaping the result when creating a selector for a page, and removing code dealing with nested list URL tokens (subPageUrlKey) (#1383, d3a412e)
  • Fix the way a transition is chosen during back/forward navigation: when going forward, grab transition from current entry since, when going forward, it makes no sense to read the transition value from the previous entry, because that one stores the transition that was used to reach it, not the transition that must be used to reach the next entry. (#1867, #4951, 8ea937f)
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
//>>description: Trigger "pagebottomreached" when the user scrolls to the bottom
//>>label: Page Scrolling
//>>group: Core
define( [ "jquery", "./page", "../events/touch" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {
$.widget( "mobile.page", $.mobile.page, {
@gabrielschulhof
gabrielschulhof / gist:128b35b9b74a60ec40a2
Created June 6, 2014 09:04
Commits since 1.4-stable and master have diverged that are present in master but missing in 1.4-stable
$ git log --oneline `git merge-base master 1.4-stable`..master | while read hash description; do other_hash=`git log --oneline $( git merge-base 1.4-stable master )..1.4-stable | grep -m 1 "${description}" | awk '{print $1;}'`; if test "x${other_hash}x" = "xx"; then echo ' ' $hash "${description}"; else echo $other_hash $hash "${description}"; fi; done
da816e7 b0685b3 Toolbar: Back button correctly appears/disappears on external toolbar
ea0533f dde4873 Selectmenu: Delay trigger until after the list closes
14d2343 a9472ce Table: Copy entire contents of reflow headers into reflow bold tags
9aa1f30 cb7a5dc Checkboxradio: When pre-rendered, assume label is a sibling of the input
05f409d 1ed6f92 Core: Width auto for inline button elements in toolbars
39786a2 24200cc Theme: Prevent text underline in visited link buttons
ab0358e 6c7e304 Listview: Make it possible to apply count theme with a class
040c6c5 2a4d092 Tabs: Fixed typos on the demo page
a253474 44f503d Demos: Allow text selection in INPUTs and TEXTAR
.
./.gitignore
./Gruntfile.js
./README.md
./lib
./lib/dependencies.js
./lib/regexp.js
./lib/css.js
./lib/project.js
./lib/tools.js
@gabrielschulhof
gabrielschulhof / gist:c50cd5b0cc5bcad9d224
Created May 4, 2014 21:28
trigger native change event
if ("createEvent" in document) {
var evt = document.createEvent("HTMLEvents");
evt.initEvent("change", false, true);
element.dispatchEvent(evt);
}
else {
element.fireEvent("onchange");
}
/*!
* jQuery Mobile 1.3.2
* Git HEAD hash: 528cf0e96940644ea644096bfeb913ed920ffaef <> Date: Fri Jul 19 2013 22:17:57 UTC
* http://jquerymobile.com
*
* Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
/*!
* jQuery Mobile 1.3.2
* Git HEAD hash: 528cf0e96940644ea644096bfeb913ed920ffaef <> Date: Fri Jul 19 2013 22:17:57 UTC
* http://jquerymobile.com
*
* Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
/*!
* jQuery Mobile 1.3.2
* Git HEAD hash: 528cf0e96940644ea644096bfeb913ed920ffaef <> Date: Fri Jul 19 2013 22:17:57 UTC
* http://jquerymobile.com
*
* Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
/*!
* jQuery Mobile 1.3.2
* Git HEAD hash: 528cf0e96940644ea644096bfeb913ed920ffaef <> Date: Fri Jul 19 2013 22:17:57 UTC
* http://jquerymobile.com
*
* Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/