The short answer is, because that's what either William, Alex Clemesha, or I did when the notebook had about a hundred lines of javascript associated with it. And nobody has bothered to change it since. I've never considered it to be a problem, and it makes sense in css.py since substitutions are made for color schemes.
If you want to fix it, I'll be happy to referee the patch. On Wed, 17 Oct 2007, Matt F wrote: > > Hi - > > I'm new to Sage and I was just wondering why the javascript for the > notebook was all placed in a string rather than just a javascript file > or straight embedding into the web pages. > > Thanks for any response. > > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---