Javascript是一种prototype based programming的语言, 有别于(java,C++)的class based programming继承模式。JavaScript同样是面向对象的语言,没有类,这就是JavaScript语言的最大特点,javascript中的每个对象都有prototype属性,Javascript中对象的prototype属性的解释是:返回对象类型原型的引用。今天,系统圣地的小编给大家详细说一说Javascript中的Prototype是什么,正在学习JavaScript的朋友们可以了解一下。【阅读全文】
最近总是听见 liu 这个东西啊,比如 liu 翔低调宣布新恋情啦、 liu 强冬告白奶茶啦、微软停止支持 IE liu 览器啦,最近我们的淘宝前端夜校讲师也提到了 liu (流)的运用。 在 Unix 系统中流就是一个很常见也很重要的概念。 Unix 的哲学:一个程序只做一件事,并做好。程序要...【阅读全文】
shelljsPortable Unix shell commands for Node.jsShellJS - Unix shell commands for Node.js ShellJS is a portable (Windows/Linux/OS X) implementation of Unix shell commands on top of the Node.js API. You can use it to eliminate your shell script's d...【阅读全文】
KoaHub平台基于Node.js开发的Koa 链接支付宝插件代码信息详情easy-alipayalipay payment & notification APIseasy-alipayNodejs based Alipay payment & notification APIsAPIPayment.createDirectPay()Create an Ali direct payment, return an Ali url so client can go to...【阅读全文】
年轻代的设置很关键,JVM中最大堆大小有三方面限制:相关操作系统的数据模型(32-bt还是64-bit)限制;系统的可用虚拟内存限制;系统的可用物理内存限制。32位系统下,一般限制在1.5G~2G;64为操作系统对内存无限制。在Windows Server 2003 系统,3.5G物理内存,JDK5.0下测试,最大可设置为1478m。【阅读全文】
var imgFile = null; //绑定监听选择图片事件 $('input[type="file"]').change(function(event){ $(this).attr('fileId',new Date().getTime()); var reader = new FileReader(); &nbs...【阅读全文】