Make Prototype.ScriptFragment behave when including Prototype inline.
This commit is contained in:
parent
df33e410b0
commit
a7a0edd830
@ -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
2
src/prototype.js
vendored
@ -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() { },
|
||||
|
Loading…
Reference in New Issue
Block a user