#4704: [with patch, needs review] Use jquery to make the javascript code nicer
----------------------+-----------------------------------------------------
Reporter: jason | Owner: jason
Type: defect | Status: assigned
Priority: major | Milestone: sage-3.2.2
Component: notebook | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by boothby):
* cc: tclemans, robertwb (added)
Comment:
I'm not sure I see the point of this. I'm inclined to say, "If it ain't
broke, don't fix it." One might accuse me of being biased... but I really
don't think I am here -- I'd be happy to see my code go if it made the
rest of the notebook code significantly better.
There's one benefit that I see:
{{{
'newcell=0' + '&id=' + id + '&input='+escape0('%__sage_interact__\n' +
input))
}}}
becomes
{{{
{newcell: 0, id: id, input: '%__sage_interact__\n' + input}
}}}
and this is more readable (I'm hoping that the escape0 functionality is
preserved). I'd like to see what was, bradshaw, and tclemans say about
this. I'll test after finals are over.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4704#comment:8>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---