Hi Vijay,
Yes it is possible to add new javascript functions. You just need to fix
the errors you added when adding new code by not mixing spaces and tabs
characters (as said in the error message) and by not using the alert()
or console.log() javascript function unless you do something as
explained in
http://stackoverflow.com/questions/14270346/grunt-lint-error-with.
Cheers,
Ghislain
On 28/01/2014 06:30, Vijay Kumar wrote:
Hi All,
I have downloaded and builded linphone web ui and web plugin successfully. I
have to make some changes to UI and load contacts by calling a web service.
So i tried to add a function inside login.js file. When i run grunt, it throws
syntax errors as below.
[L32:C28] W117: 'alert' is not defined.
alert(result);
function init() {
Linting modules/linphone/ui/view/login.js ...ERROR
[L15:C1] W099: Mixed spaces and tabs.
Is it possible to add new javascript functions inside the ones provided by
linphone?
Thanks,
Vijay.
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users