Make Prototype.ScriptFragment behave when including Prototype inline.

This commit is contained in:
Thomas Fuchs 2007-05-18 00:44:20 +00:00
parent df33e410b0
commit a7a0edd830
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
*SVN*
* Make Prototype.ScriptFragment behave when including Prototype inline. [Christophe Porteneuve]
* Deprecate Position (kept for backwards compatibility). Add Element#cumulativeOffset, Element#positionedOffset, Element#absolutize, Element#relativize, Element#cumulativeScrollOffset, Element#getOffsetParent, Element#viewportOffset and Element#clonePosition. [Christophe Porteneuve]
* Make Element#update and Element#insert work for SELECT tags in IE and Opera. [Tobie Langel]

2
src/prototype.js vendored
View File

@ -18,7 +18,7 @@ var Prototype = {
document.createElement('form').__proto__)
},
ScriptFragment: '<script[^>]*>([\u0001-\uFFFF]*?)</script>',
ScriptFragment: '<script[^>]*>([\u0001-\uFFFF]*?)<\/script>',
JSONFilter: /^\/\*-secure-\s*(.*)\s*\*\/\s*$/,
emptyFunction: function() { },