We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Has anyone used Moment.js with PlumDEV?

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
srmoser430
Posts: 20
Joined: Thu Oct 19, 2017 3:40 pm

Has anyone used Moment.js with PlumDEV?

Post by srmoser430 »

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"/>

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

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Has anyone used Moment.js with PlumDEV?

Post by support »

Hi,

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

Regards,
Plum Support

Post Reply