diff --git a/lib/client/polyfill.js b/lib/client/polyfill.js new file mode 100644 index 00000000..172a7aa3 --- /dev/null +++ b/lib/client/polyfill.js @@ -0,0 +1,288 @@ +var Util, DOM, jQuery; + +(function(Util, DOM, $){ + 'use strict'; + + if(!window.XMLHttpRequest || !document.head) + DOM.ajax = $.ajax; + + /* setting head ie6 - ie8 */ + if(!document.head){ + document.head = $('head')[0]; + + /* + {name: '', src: ' ',func: '', style: '', id: '', parent: '', + async: false, inner: 'id{color:red, }, class:'', not_append: false} + */ + DOM.cssSet = function(pParams_o){ + var lElement = '