Skip to content

Releases: PabloVallejo/gillie

v0.2.1

01 May 02:55
Compare
Choose a tag to compare
  • 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

09 Mar 00:21
Compare
Choose a tag to compare

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

01 Feb 16:33
Compare
Choose a tag to compare

This version of Gillie,

  • Adds support for model, view, controller and handler.
  • Adds Model.Post, Model.Get, Model.Put and Model.Delete methods in order to make RESTfull requests.
  • Adds get and set methods to model