摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace Singleton { public class SingletonTest { private static Single... 阅读全文
posted @ 2017-03-27 18:10 小小高 阅读(129) 评论(0) 推荐(0)
摘要: $('#infoWindow').jqxWindow({ title: '导入失败日志', height: 500, width: "500", autoOpen: false, resizable: false, isModal: true, modalOpacity: 0.3 }); $('#infoWindow').jqxWindow('open'); 阅读全文
posted @ 2017-03-27 18:02 小小高 阅读(379) 评论(0) 推荐(0)
摘要: Array.prototype.forEach = function (callback, context) { for (var i = 0; i < this.length; i++) { callback.call(context || null, this[i], i, this); } } var arr = [... 阅读全文
posted @ 2017-03-27 16:13 小小高 阅读(384) 评论(0) 推荐(0)
摘要: function Person() { } Person.prototype.dance = function () { } function Ninjia() { } Ninjia.prototype = new Person(); var ninjia = new Ninjia(); 阅读全文
posted @ 2017-03-27 15:13 小小高 阅读(244) 评论(0) 推荐(0)
摘要: var elems = { length: 0, add: function (elem) { Array.prototype.push.call(this, elem); }, gather: function (id) { this.add(document.getElemen... 阅读全文
posted @ 2017-03-27 14:17 小小高 阅读(287) 评论(0) 推荐(0)
摘要: 点我 var button={ clicked:false, click:function(){ debugger; this.clicked=true; console.assert(!(button.clicked),"The button has been clicked"); } } var elem... 阅读全文
posted @ 2017-03-27 13:48 小小高 阅读(206) 评论(0) 推荐(0)