[jira] [Commented] (CB-12026) JavaScript interpreter problem

2016-10-21 Thread Vladimir Kotikov (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15594440#comment-15594440
 ] 

Vladimir Kotikov commented on CB-12026:
---

Cordova itself doesn't interpret javascript - it delegates this to Android 
WebView, which is not the same thing as Android browser. That's why the code, 
working in browser doesn't work in Cordova. Also i'm not sure but perhaps 
Samsung might have it's own implementation of WebView on board, which might 
have some divergences with Google.

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12026) JavaScript interpreter problem

2016-10-20 Thread Amir Karimi (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15592888#comment-15592888
 ] 

Amir Karimi commented on CB-12026:
--

Mean im sure its not an error from javascript interpreter. Because i test this 
is normal mode from mobile browser.

I use SAMSUNG J5, no do not test yet. But i will test... 

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12026) JavaScript interpreter problem

2016-10-20 Thread Vladimir Kotikov (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15591798#comment-15591798
 ] 

Vladimir Kotikov commented on CB-12026:
---

??because i check JS interpreter with external web page?? - could you please 
explain what did you mean?

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12026) JavaScript interpreter problem

2016-10-20 Thread Vladimir Kotikov (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15591786#comment-15591786
 ] 

Vladimir Kotikov commented on CB-12026:
---

Does this happens for you consistently on different devices? What device are 
you using for testing?

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12026) JavaScript interpreter problem

2016-10-20 Thread Vladimir Kotikov (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15591692#comment-15591692
 ] 

Vladimir Kotikov commented on CB-12026:
---

Not sure what is the platform, you're developing for, but i guess this is 
because it doesn't support default functions parameters syntax from ES6. 
Consider using transpiler, such as Babel, to convert your JavaScript to ES5 
syntax.

Closing this as this is not a cordova issue

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org