Actualización
This commit is contained in:
18
plugin/mindmap/edit-mindmap/vendor/js/kampfer/support.js
vendored
Normal file
18
plugin/mindmap/edit-mindmap/vendor/js/kampfer/support.js
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 用于检测浏览器的功能特性
|
||||
* @module support.js
|
||||
* @author l.w.kampfer@gmail.com
|
||||
*/
|
||||
|
||||
kampfer.provide('browser.support');
|
||||
|
||||
kampfer.browser.support.deleteExpando = (function() {
|
||||
var div = document.createElement('div');
|
||||
|
||||
try{
|
||||
delete div.test;
|
||||
return true;
|
||||
} catch(e) {
|
||||
return false;
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user