Deferred = (require './libs/jsdeferred.js').Deferred
Deferred.define()
func = (s, t)->
def = new Deferred()
console.log "Im works"
setTimeout(()->
console.log s
def.call
, t)
return def
next(()->
return func("Hello", 3000)
).next(()->
return func("World", 1000)
)
tx.executeSql("ALTER TABLE mytable ADD time VARCHAR NOT NULL BEFORE description");
could not prepare statement (1 near "BEFORE": syntax error)
tx.executeSql("ALTER TABLE mytable ADD time VARCHAR NOT NULL");
could not prepare statement (1 Cannot add a NOT NULL column with default value NULL)
ALTER TABLE mytable ADD time VARCHAR NOT NULL DEFAULT ''
$($.parseHTML(_html))
define(['require', 'dependency1', 'dependency2'], function (require) {
var dependency1 = require('dependency1'),
dependency2 = require('dependency2');
return function () {};
});