Hi Lahiru,
As Dakshika mentioned, it is usual way is to get things as a JSON object.
For example you can look at top libraries such as jQuery.

Regards,
Inosh

On Tue, Nov 18, 2014 at 10:10 AM, Dakshika Jayathilaka <[email protected]>
wrote:

> Hi,
>
> You can maintain JSON object to set your configuration options.
>
> Regards,
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Tue, Nov 18, 2014 at 10:00 AM, Lahiru Cooray <[email protected]> wrote:
>
>> Hi all,
>>
>> I'm currently writing a Javascript library *(not a jaggery)* and I need
>> to get some external inputs from the developer who's going to use that
>> library.
>> Please advice the best practice, where should I store that configurable
>> data and how to access it.
>>
>>
>> --
>> *Lahiru Cooray*
>> Software Engineer
>> WSO2, Inc.;http://wso2.com/
>> lean.enterprise.middleware
>>
>> Mobile: +94 715 654154
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Inosh Perera
Software Engineer, WSO2 Inc.
Tel: 0785293686
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to