Major refactoring of VIE.Entity

25 बार देखा गया
नहीं पढ़े गए पहले मैसेज पर जाएं

Henri Bergius

नहीं पढ़ी गई,
20 दिस॰ 2012, 4:19:47 am20/12/12
ईमेल पाने वाला vi...@googlegroups.com
Hi,

I did some major refactoring with VIE.Entity in order to make it
possible to "inherit" your own models from it. Now instead of the
custom constructor function we used to use, VIE.Entity is a standard
Backbone.Model:

https://github.com/bergie/VIE/blob/master/src/Entity.js

This doesn't affect the external API of VIE at all, but makes things a
bit more flexible. The new capability of extending the Entity model is
shown in:
https://github.com/bergie/VIE/blob/master/src/VIE.js#L420

--
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/

Jabber: henri....@gmail.com
Microblogs: @bergie

Henri Bergius

नहीं पढ़ी गई,
20 दिस॰ 2012, 8:34:54 am20/12/12
ईमेल पाने वाला vi...@googlegroups.com
I've started a change log for VIE as well:
https://github.com/bergie/VIE/blob/master/CHANGES.md

Not much there yet, but it is a good place to watch :-)
सभी प्रषकों को उत्तर दें
लेखक को उत्तर दें
आगे भेजें
0 नया मैसेज