canmove, Confirmed users
725
edits
| Line 22: | Line 22: | ||
* <tt>services/sync/modules/type_records/history.js</tt> -- the <tt>HistoryRec</tt> record class. | * <tt>services/sync/modules/type_records/history.js</tt> -- the <tt>HistoryRec</tt> record class. | ||
After implementing your classes, you'll have to register them with | After implementing your classes, you'll have to register them with the Sync service. | ||
* - Javascript is prototype-based, not class-based, so technically it's not correct to talk about "subclassing" or "extending a class", but what we're doing is very much the equivalent of that, and I don't know any other terminology to explain it as clearly. | * - Javascript is prototype-based, not class-based, so technically it's not correct to talk about "subclassing" or "extending a class", but what we're doing is very much the equivalent of that, and I don't know any other terminology to explain it as clearly. | ||