Has anyone used Moment.js with PlumDEV?

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

  • Author
  • Message
Offline

srmoser430

  • Posts: 20
  • Joined: Thu Oct 19, 2017 3:40 pm

Has anyone used Moment.js with PlumDEV?

PostWed Nov 01, 2017 9:21 am

Hi Team,

I'm trying to include the moment.js javascript library for date handling and getting strange errors. Was wondering if anyone has done this successfully and how. Moment.js works well in all other browsers.

Thanks...

My vxml source (in root document):

<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.19.1/moment.js"/>

From my call log:

Cache Miss: https://cdnjs.cloudflare.com/ajax/libs/ ... /moment.js
Attempting to fetch https://cdnjs.cloudflare.com/ajax/libs/ ... /moment.js
useless expression line 11
TypeError: useless expression line 11
LOCAL: APP ERROR!!! error.semantic.ecmascript
Offline

support

  • Posts: 3544
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Has anyone used Moment.js with PlumDEV?

PostWed Nov 01, 2017 3:28 pm

Hi,

Our platform does not currently support the moment.js javascript library. We currently only support ECMA-262 3rd edition.

Regards,
Plum Support

Return to Plum DEV Q&A

Who is online

Users browsing this forum: No registered users and 1 guest

cron