摘要:
http://net.tutsplus.com/tutorials/javascript-ajax/build-your-first-javascript-library/Step 1: Creating the Library BoilerplateWe’ll start with some wrapper code, which will contain our whole library. It’s your typical immediately invoked function expression (IIFE).window.dome = (function () { fun... 阅读全文