摘要:
function inherits(Child,Parent){ var F = function(){}; F.prototype = Parent.prototype; Child.prototype = new F(); Child.prototype.constructor = Child; } fu... 阅读全文
摘要:
function getUrlParams(params){ var urlObj = {}; if(!window.location.search){return false;} var urlParams = window.location.search.substring(1); var urlArr = urlParams.split('&'); ... 阅读全文