JSONP with or without Dojo?

Development-related discussion, including bundled plugins
o_cee
Bear Rating Trainee
Bear Rating Trainee
Posts: 8
Joined: 16 Jul 2013, 12:44

JSONP with or without Dojo?

Postby o_cee » 16 Jul 2013, 12:48

Hi

I've rewritten the Instapaper plugin to send article by JSONP instead of opening up an extra browser window, which I thought looked a bit odd.

The question is now, is it preferred to do this with Dojo (which adds dojo.require("dojo.io.script");) or is it cleaner to just do it in plain JavaScript?

I've implemented both ways and it's simple enough either way. Thoughts?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: JSONP with or without Dojo?

Postby fox » 16 Jul 2013, 14:10

You are not required to use dojo, so use whatever feels better.


Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest