gritzko / swarm

JavaScript replicated model (M of MVC) library
http://swarmdb.net/
MIT License
2.68k stars 97 forks source link

Migrate the whole project to parsed specifier #71

Closed olebedev closed 8 years ago

olebedev commented 8 years ago

Move Spec.Parsed -> Spec. Consequently Spec.Parsed does not exists now. Managed to get it working, seems pretty easy. I just makes tests passing. Note that new and old Spec.version method returns other result, with quant:

// was
spec.version() // -> '!7Umum+gritzko~ssn'
// became
spec.version() // -> '7Umum+gritzko~ssn'

Spec#stamp() method works as previous version of Spec#version() method.