[fusion-commits] r2666 - in sandbox/ol212: . lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue Mar 19 05:24:11 PDT 2013
Author: jng
Date: 2013-03-19 05:24:11 -0700 (Tue, 19 Mar 2013)
New Revision: 2666
Removed:
sandbox/ol212/lib/IE9patch.js
Modified:
sandbox/ol212/build.xml
sandbox/ol212/lib/fusion.js
Log:
IE9patch.js was put in due to some IE9-specific issue with MooTools (according to commit notes). Since we've internally upgraded JxLib's MooTools and the internally patched JxLib shows no side-effects, this patch file is no longer required.
Modified: sandbox/ol212/build.xml
===================================================================
--- sandbox/ol212/build.xml 2013-03-19 12:15:03 UTC (rev 2665)
+++ sandbox/ol212/build.xml 2013-03-19 12:24:11 UTC (rev 2666)
@@ -209,7 +209,6 @@
fusion.js
jxLib/jxlib.uncompressed.js
OpenLayers/OpenLayers.js
- IE9patch.js
Proj4js/proj4js-compressed.js
Error.js
EventMgr.js
Deleted: sandbox/ol212/lib/IE9patch.js
===================================================================
--- sandbox/ol212/lib/IE9patch.js 2013-03-19 12:15:03 UTC (rev 2665)
+++ sandbox/ol212/lib/IE9patch.js 2013-03-19 12:24:11 UTC (rev 2666)
@@ -1,28 +0,0 @@
-document.newElement = function(tag, props) {
- var createdElement;
- var temp = tag.split(' ').shift();//error in IE if tag has extra attributes listed
- //just strip off the tag name, properties should
- //set through the props argument
-
- if (Browser.Engine.trident && props){
- ['name', 'type', 'checked'].each(function(attribute){
- if (!props[attribute]) return;
- tag += ' ' + attribute + '="' + props[attribute] + '"';
- if (attribute != 'checked') delete props[attribute];
- });
-
- var replaceTag = '<' + tag +'>';
-
- try {
- createdElement = this.createElement(replaceTag);
- }
- catch (e) {
- createdElement = this.createElement(temp);
- }
- }
- else {
- createdElement = this.createElement(tag);
- }
-
- return document.id(this.createElement(temp)).set(props);
-};
Modified: sandbox/ol212/lib/fusion.js
===================================================================
--- sandbox/ol212/lib/fusion.js 2013-03-19 12:15:03 UTC (rev 2665)
+++ sandbox/ol212/lib/fusion.js 2013-03-19 12:24:11 UTC (rev 2666)
@@ -1492,7 +1492,6 @@
if (!Fusion._singleFile) {
var coreScripts = [ 'lib/jxLib/jxlib.uncompressed.js', //JxLib has first dibs on any globals
'lib/OpenLayers/OpenLayers.js',
- 'lib/IE9patch.js',
'lib/Proj4js/proj4js-compressed.js',
'lib/EventMgr.js',
'lib/Error.js',
More information about the fusion-commits
mailing list