paper-datatable icon indicating copy to clipboard operation
paper-datatable copied to clipboard

Apache Cordova problems

Open nscarg opened this issue 10 years ago • 2 comments

I am using the polymer component on the platform and it works perfectly , because of a need for the application to run on tablets , migrate apache cordova

under the platform apache cordova me the following problem occurs:

Uncaught paper-datatable.html:514 SyntaxError : missing) after argument list

Uncaught paper-datatable-card.html:398 SyntaxError : missing) after argument list

Check the source code datatable paper and find no answer to the problem, could someone help solve the problem

nscarg avatar Apr 20 '16 18:04 nscarg

Probably the webview on the phone is not supporting the ES6 syntax that is used in the javascript parts of the component. You can extract the javascript and transpile it with bable to ES5.

sandro-k avatar May 03 '16 09:05 sandro-k

Another possible solution would be to exchange your webview and use the crosswalk project for that (https://crosswalk-project.org/). It provides you a state of the art rendering engine (ES6 included) across multiple platforms and therefore also reduces the testing effort. The only downside is that the whole project size is increased.

Protoss78 avatar May 03 '16 10:05 Protoss78