linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] Linphone Web customization


From: Vijay Kumar
Subject: Re: [Linphone-users] Linphone Web customization
Date: Tue, 28 Jan 2014 18:53:17 +0530 (IST)

Hi Ghislain,

Thanks for the message. You are correct. I have made the following changes in 
jshint section of gruntFile.js file and it worked fine.

devel:true,                             
globals: {$:false}


----- Original Message -----
From: "Ghislain MARY" <address@hidden>
To: address@hidden
Sent: Tuesday, January 28, 2014 1:22:03 PM
Subject: Re: [Linphone-users] Linphone Web customization

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


_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]