Opened 13 years ago

Closed 12 years ago

#9364 closed enhancement (wontfix)

Enhancement: support self-degrading scripts

Reported by: Nathan Toone Owned by: dante
Priority: low Milestone: future
Component: General Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:


A full detailed write-up can be found at

Attachments (1)

1.3.0-self.patch (1.4 KB) - added by Nathan Toone 13 years ago.
Patch (from the blog entry above) which implements this functionality

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by Nathan Toone

Attachment: 1.3.0-self.patch added

Patch (from the blog entry above) which implements this functionality

comment:1 Changed 13 years ago by davidmark

Patch appears empty.

comment:2 Changed 13 years ago by dante

well that's weird. Just tried to upload a verified copy, and it was empty again.

Perhaps because it has an added file?

Patch originates at:

comment:3 Changed 13 years ago by James Burke

It is there if you click the Original Format link, just the inline display is messed up. I have seen this on other patches too, but not sure what causes it.

As mentioned in the dojo-contributors thread, I prefer the smaller patch that does not create a new module to load in base and just does the work in dojo/_base/browser.js after the djConfig.require work. Similarly, no build option to exclude it.

As a side note, I am not sure this helps our progressive enhancement case. That crowd normally cringes at this kind of HTML hacking, like with our custom dojoType attribute. But dante knows better how to speak to that crowd.

comment:4 Changed 13 years ago by Eugene Lazutkin

Owner: changed from phiggins to dante

comment:5 Changed 12 years ago by dante

Resolution: wontfix
Status: newclosed

too much magic.

Note: See TracTickets for help on using tickets.