CmdUtils.CreateCommand({
name: "dojo",
description: "test dojo",
preview: function(pblock, statusText) {
CmdUtils.injectJavascript("http://localhost/dojo/dojo.js",
Utils.safeWrapper(function() {
pblock.innerHTML = CmdUtils.getWindowInsecure
().dojo.isBrowser;
})
);
},
execute: function(statusText) {}
});
================
I wrote the above in the Command Editor - all that happens is that tab
is 'redirected' to localhost (white screen - not sure what it's
looking for as it doesn't find anything). I edit it to use
http://o.aolcdn.com/dojo/1.2.3/dojo/dojo.xd.js instead, then the
command works. I change it back to http://localhost/dojo/dojo.js and
it still works. Restart the browser and it's back to not working. Can
someone explain what could be causing this inconsistency?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---