Releases: PabloVallejo/gillie
Releases · PabloVallejo/gillie
v0.2.1
- Add support for passing full URL to model request method.
// Person model
var Person = Gillie.Model.extend({
// Base URL
url: 'http://myapi.com'
});
// Create a person instance
var person = new Person({
name: 'John',
age: 30
});
// As normal this will make a request to
// `http://myapi.com/person`
person.Post( '/person' );
// But also, we can specify a full URL for the request.
// This will make a request to `http://otherapi.com/person`.
person.Post( 'http://otherapi.com/person' );
v0.2.0
In this version, the controller
has been removed and other minor changes have been made.
- Remove
Controller
object - Remove
Controller
from README
v0.1.3
This version of Gillie,
- Adds support for
model
,view
,controller
andhandler
. - Adds
Model.Post
,Model.Get
,Model.Put
andModel.Delete
methods in order to make RESTfull requests. - Adds
get
andset
methods to model