Merge branch 'MDL-44798-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
Dan Poltawski
2014-04-16 15:21:08 +08:00
5 changed files with 31 additions and 6 deletions
+10
View File
@@ -0,0 +1,10 @@
Description of the import of libraries associated with the Atto editor.
1) Rangy (version 1.2.3)
* Download the latest stable release;
* Copy the content of the 'currentrelease/uncompressed' folder into yui/src/rangy/js
* Run shifter against yui/src/rangy
Notes:
* We have patched 1.2.3 with a backport fix from the next release of Rangy which addresses an incompatibility
between Rangy and HTML5Shiv which is used in the bootstrapclean theme. See MDL-44798 for further information.
@@ -1937,6 +1937,11 @@ rangy.createModule("DomUtil", function(api, module) {
}
var workingNode = dom.getDocument(containerElement).createElement("span");
// Workaround for HTML5 Shiv's insane violation of document.createElement(). See Rangy issue 104 and HTML5
// Shiv issue 64: https://github.com/aFarkas/html5shiv/issues/64
if (workingNode.parentNode) {
workingNode.parentNode.removeChild(workingNode);
}
var comparison, workingComparisonType = isStart ? "StartToStart" : "StartToEnd";
var previousNode, nextNode, boundaryPosition, boundaryNode;
File diff suppressed because one or more lines are too long
@@ -1937,6 +1937,11 @@ rangy.createModule("DomUtil", function(api, module) {
}
var workingNode = dom.getDocument(containerElement).createElement("span");
// Workaround for HTML5 Shiv's insane violation of document.createElement(). See Rangy issue 104 and HTML5
// Shiv issue 64: https://github.com/aFarkas/html5shiv/issues/64
if (workingNode.parentNode) {
workingNode.parentNode.removeChild(workingNode);
}
var comparison, workingComparisonType = isStart ? "StartToStart" : "StartToEnd";
var previousNode, nextNode, boundaryPosition, boundaryNode;
+5
View File
@@ -1937,6 +1937,11 @@ rangy.createModule("DomUtil", function(api, module) {
}
var workingNode = dom.getDocument(containerElement).createElement("span");
// Workaround for HTML5 Shiv's insane violation of document.createElement(). See Rangy issue 104 and HTML5
// Shiv issue 64: https://github.com/aFarkas/html5shiv/issues/64
if (workingNode.parentNode) {
workingNode.parentNode.removeChild(workingNode);
}
var comparison, workingComparisonType = isStart ? "StartToStart" : "StartToEnd";
var previousNode, nextNode, boundaryPosition, boundaryNode;