remove unused code
This commit is contained in:
parent
606d1bdbaf
commit
10b9ad34d5
1 changed files with 0 additions and 33 deletions
|
|
@ -194,7 +194,6 @@ else
|
|||
};
|
||||
|
||||
exports.scrollbarWidth = function() {
|
||||
|
||||
var inner = exports.createElement("p");
|
||||
inner.style.width = "100%";
|
||||
inner.style.minWidth = "0px";
|
||||
|
|
@ -261,36 +260,4 @@ exports.getParentWindow = function(document) {
|
|||
return document.defaultView || document.parentWindow;
|
||||
};
|
||||
|
||||
exports.getSelectionStart = function(textarea) {
|
||||
// TODO IE
|
||||
var start;
|
||||
try {
|
||||
start = textarea.selectionStart || 0;
|
||||
} catch (e) {
|
||||
start = 0;
|
||||
}
|
||||
return start;
|
||||
};
|
||||
|
||||
exports.setSelectionStart = function(textarea, start) {
|
||||
// TODO IE
|
||||
return textarea.selectionStart = start;
|
||||
};
|
||||
|
||||
exports.getSelectionEnd = function(textarea) {
|
||||
// TODO IE
|
||||
var end;
|
||||
try {
|
||||
end = textarea.selectionEnd || 0;
|
||||
} catch (e) {
|
||||
end = 0;
|
||||
}
|
||||
return end;
|
||||
};
|
||||
|
||||
exports.setSelectionEnd = function(textarea, end) {
|
||||
// TODO IE
|
||||
return textarea.selectionEnd = end;
|
||||
};
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue