Permalink
Browse files

first release

  • Loading branch information...
1 parent 2a2b461 commit f995e3917e3098273b3e04bb6c378263600ba769 @maccman committed Sep 17, 2011
Showing with 14 additions and 9 deletions.
  1. +2 −4 lib/stage.js
  2. +5 −1 lib/touch.js
  3. +1 −1 package.json
  4. +2 −2 src/stage.coffee
  5. +4 −1 src/touch.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
{
"name": "spine.mobile",
"description": "Spine Mobile MVC Framework.",
- "version": "0.0.3",
+ "version": "0.0.4",
"author": "maccman",
"licenses":
[{
View
@@ -12,7 +12,7 @@ class Stage extends Spine.Controller
easing: 'cubic-bezier(.25, .1, .25, 1)'
effectOptions: (options = {}) ->
- $.extend({}, @effectOptions, options)
+ $.extend({}, @effectDefaults, options)
viewport: true
@@ -21,7 +21,7 @@ class Stage extends Spine.Controller
@el.addClass('stage')
@header = $('<header />')
- @content = document.createElement(@tag) unless @content
+ @content = document.createElement(@tag)
@content = $(@content).addClass('content')
@footer = $('<footer />')
View
@@ -45,7 +45,10 @@ $ ->
.bind 'touchcancel', (e) ->
touch = {}
-unless $.support.touch
+if $.support.touch
+ $('body').bind 'click', (e) ->
@dmedvinsky

dmedvinsky Jun 22, 2012

For some reason this line (and the next one, apparently), breaks form submitting in my DroidGap application. form.onsubmit isn't simply fired when clicking the submit button. Any idea why can this happen?

@mmavko

mmavko Sep 19, 2012

@maccman, can you tell please what is the idea behind these added lines? I've just spent few hours figuring out why my <a> links are not working.

+ e.preventDefault()
+else
$ ->
$('body').bind 'click', (e) ->
$(e.target).trigger('tap')

0 comments on commit f995e39

Please sign in to comment.