|
From: | Ghislain MARY |
Subject: | Re: [Linphone-users] Linphone Web customization |
Date: | Tue, 28 Jan 2014 08:52:03 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
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 address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-users
[Prev in Thread] | Current Thread | [Next in Thread] |