You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aurelia-framework version "aurelia-framework": "^1.3.1",
the view-model code:
import moment from 'moment'
export class ComponentX {
constructor (router) {
this.router = router
this.moment = moment
}
then in view.html: ${moment()} -- works, return date as string ${moment().toISOString()} -- does not work. no method of moment can be called, it throws error: moment() is not a function
when i downgrade to "aurelia-framework": "1.3.0" it works again.
The text was updated successfully, but these errors were encountered:
i get this error after upgrading
aurelia-framework version "aurelia-framework": "^1.3.1",
the view-model code:
then in view.html:
${moment()}
-- works, return date as string${moment().toISOString()}
-- does not work. no method of moment can be called, it throws error:moment() is not a function
when i downgrade to "aurelia-framework": "1.3.0" it works again.
The text was updated successfully, but these errors were encountered: