AGJS-42 remove jQuery from DataManager

https://issues.jboss.org/browse/AGJS-42

This PR also contains commits from Luke and Tolis that are not 2.0 branch yet.



On Jun 9, 2014, at 4:19 AM, Lukáš Fryč <notifications@github.com> wrote:

> In src/data-manager/adapters/websql.js:
> 
> >  
> > -    deferred.always( this.always );
> > -    return deferred.promise();
> > +/**
> > + Returns a Promise that immediately resolves for api symmetry
> > + @private
> > + @augments base
> > + */
> > +AeroGear.DataManager.adapters.WebSQL.prototype.close = function() {
> > +    return Promise.resolve();
> Are you sure we should move AeroGear.DataManager.adapters.WebSQL.prototype.close to constructor since open method is also defined on prototype?
> 
> 
yea, this is true,  lets keep it the way it is for consistency



> You refer to memory.js defined in constructor, but it has open also defined there, so either we should unify that and let all managers have open/close defined in constructor or on prototype.
> 
> —
> Reply to this email directly or view it on GitHub.
>