摘要: <!DOCTYPE html> <html> <head> </head> <body> <script> function namespace(ns) { if(!ns || typeof ns !== "string" || !ns.length) return null; var steps = ns.split("."); var root = window; for ( var i = 0, len = steps.length; i < len; i++) { ro 阅读全文
posted @ 2013-03-08 22:22 playerlife 阅读(232) 评论(0) 推荐(0) 编辑