Skip to content

sugar.js dependency & Joosy.namespace in REST#collectionPath #117

@alexshuhin

Description

@alexshuhin

I guess, something wrong with Resources.REST::collectionPath
https://github.com/joosy/joosy/blob/master/source/joosy/resources/rest.coffee#L113

First of all, String::underscore is sugarjs method. I heard, joosy is not depend on it now. Anyway, if i include sugarjs in my app, i'll get: TypeError: Object [object global] has no method 'replace' =(

Second, IMO, Joosy.namespace should not affect to result url. It need only for avoid name collisions, right? It would be better, if namespace for url (if it surely need) can be specified evidently in Resource class

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions