读一下underscore源代码,用于自己学习,个人理解,如果有不对的地方希望指正,谢谢 我觉着阅读的顺序按照从整体到局部,从架构到细节较好。 1.整体架构 (function() {}.call(this)); 整个源代码就是使用全局变量this作为调用方执行一个匿名自执行函数,目的就是防止全局对 ...
分类:
其他好文 时间:
2016-05-17 17:55:53
阅读次数:
169
<script type="text/javascript"> function DisplayImage(fileTag) { document.getElementById('viewfile').value = fileTag.value; fileTag.style.display = 'n ...
分类:
Web程序 时间:
2016-05-17 17:54:38
阅读次数:
239
Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return true.s = "rat", t = ...
分类:
其他好文 时间:
2016-05-17 17:49:47
阅读次数:
120
<script> window.onload=function(){ var liwidth = $('.imgul li img').width(); $('.imgul li img').height(liwidth); } </script> ...
分类:
Web程序 时间:
2016-05-17 17:38:34
阅读次数:
147
题目来源 https://leetcode.com/problems/same-tree/ Given two binary trees, write a function to check if they are equal or not. Two binary trees are conside ...
分类:
编程语言 时间:
2016-05-17 17:29:15
阅读次数:
326
第十周 所花时间(包括上课) 400min 代码量(行) 310 博客量(篇) 1 了解到的知识点 在web网页上设置文字超链接 <a href="fabu.jsp">发布项目</a> 在注册页面两次密码输入不同时提醒的代码 function isValidate(form) { pwd1=form ...
分类:
其他好文 时间:
2016-05-17 17:25:53
阅读次数:
128
// 事件绑定 this.bindHandler = (function() { if (window.addEventListener) {// 标准浏览器 return function(elem, type, handler) {// elem:节点 type:事件类型 handler:事件处 ...
分类:
Web程序 时间:
2016-05-17 16:10:02
阅读次数:
180
<?phpclass ReplyModel{ //验证token, public function ValidationToken($token){ if(isset($_GET["echostr"])){ $tokenInfo["token"]=$token; $tokenInfo["echost ...
分类:
微信 时间:
2016-05-17 15:59:00
阅读次数:
296
原文地址:http://www.zdexe.com/program/201004/589.html 方法10 : JournalRecordProc Function The JournalRecordProc hook procedure is an application-defined or ...
分类:
其他好文 时间:
2016-05-17 14:50:00
阅读次数:
519
原文地址:http://www.zdexe.com/program/201004/590.html 方法11 : KeyboardProc Function The KeyboardProc hook procedure is an application-defined or library-de ...
分类:
其他好文 时间:
2016-05-17 14:49:05
阅读次数:
1350