Skip to content

Instantly share code, notes, and snippets.

@gabrielschulhof
Created November 8, 2012 18:16
Show Gist options
  • Save gabrielschulhof/4040538 to your computer and use it in GitHub Desktop.
Save gabrielschulhof/4040538 to your computer and use it in GitHub Desktop.
css/structure/jquery.mobile.button.css | 7 ++
css/structure/jquery.mobile.collapsible.css | 30 ++++++
css/structure/jquery.mobile.controlgroup.css | 85 ++++++++++++++++-
css/structure/jquery.mobile.core.css | 20 ++++-
css/structure/jquery.mobile.listview.css | 52 +++++++++--
css/structure/jquery.mobile.popup.css | 40 --------
css/themes/default/jquery.mobile.theme.css | 128 --------------------------
js/jquery.mobile.buttonMarkup.js | 38 +-------
js/widgets/collapsible.js | 27 +++---
js/widgets/collapsibleSet.js | 59 ++++--------
js/widgets/controlgroup.js | 32 ++-----
js/widgets/dialog.js | 12 +--
js/widgets/listview.filter.js | 1 -
js/widgets/listview.js | 82 ++--------------
tests/functional/controlgroup.html | 92 ++++++++++++++++++
15 files changed, 329 insertions(+), 376 deletions(-)
... and if we take away the last file, which is there for our benefit alone, and is not shipped,
css/structure/jquery.mobile.button.css | 7 ++
css/structure/jquery.mobile.collapsible.css | 30 ++++++
css/structure/jquery.mobile.controlgroup.css | 85 ++++++++++++++++-
css/structure/jquery.mobile.core.css | 20 ++++-
css/structure/jquery.mobile.listview.css | 52 +++++++++--
css/structure/jquery.mobile.popup.css | 40 --------
css/themes/default/jquery.mobile.theme.css | 128 --------------------------
js/jquery.mobile.buttonMarkup.js | 38 +-------
js/widgets/collapsible.js | 27 +++---
js/widgets/collapsibleSet.js | 59 ++++--------
js/widgets/controlgroup.js | 32 ++-----
js/widgets/dialog.js | 12 +--
js/widgets/listview.filter.js | 1 -
js/widgets/listview.js | 82 ++--------------
14 files changed, 237 insertions(+), 376 deletions(-)
That's 139 lines gone!
@gabrielschulhof
Copy link
Author

But OK, listview still isn't there with ui-first-child/ui-last-child - still, that's not going to take 139 lines to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment