[Dojo-interest] Question on dojo/_base module

bob22 virsir at gmail.com
Thu Jan 2 05:10:48 EST 2014

What if I just want a jQuery alternative in one file, will there a single
dojo.js file in 2.0 with new out-of-date APIs like the new dojo/json ?

2014/1/2 amikhailov [via Dojo Toolkit] <
ml-node+s33424n4000562h43 at n3.nabble.com>

> As the comment to fromJson method states:
> It is recommend that you use dojo/json's parse function for an
> implementation uses the (faster) native JSON parse when available.
> Additionally, it's livedocs<http://livedocs.dojotoolkit.org/dojo/_base/json> state
> that this module is deprecated.
> And, as stated inmigration to 2.0 guide<http://livedocs.dojotoolkit.org/releasenotes/migration-2.0#dojo-base-lang>:
> The modules that formerly composed dojo.js (modules in dojo/_base) have
> been replaced with smaller, more specific modules in the top level dojo
> directory. Note: as of 1.8, some modules in dojo/_base are still being
> used.
> So i.o.w. modules under dojo/_base are mostly for backward compatibility,
> so whenever possible you should use their counterpaths from under dojo/
> level (like with dojo/_base/json (legacy methods related to JSON from older
> non-amd Dojo) and dojo/json).
> Hope that helps,
> Alex-
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://dojo-toolkit.33424.n3.nabble.com/Question-on-dojo-base-module-tp4000552p4000562.html
>  To unsubscribe from Question on dojo/_base module, click here<http://dojo-toolkit.33424.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4000552&code=dmlyc2lyQGdtYWlsLmNvbXw0MDAwNTUyfC0xMzkzNTUzMTcw>
> .
> NAML<http://dojo-toolkit.33424.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Question-on-dojo-base-module-tp4000552p4000564.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20140102/408db427/attachment.htm 

More information about the Dojo-interest mailing list