码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
UnderScore源代码阅读1
读一下underscore源代码,用于自己学习,个人理解,如果有不对的地方希望指正,谢谢 我觉着阅读的顺序按照从整体到局部,从架构到细节较好。 1.整体架构 (function() {}.call(this)); 整个源代码就是使用全局变量this作为调用方执行一个匿名自执行函数,目的就是防止全局对 ...
分类:其他好文   时间:2016-05-17 17:55:53    阅读次数:169
JS 图片预览功能
<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
Leetcode 242 Valid Anagram
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
图片加载完后执行js
<script> window.onload=function(){ var liwidth = $('.imgul li img').width(); $('.imgul li img').height(liwidth); } </script> ...
分类:Web程序   时间:2016-05-17 17:38:34    阅读次数:147
[LeetCode]题解(python):100 Same Tree
题目来源 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
JS事件绑定
// 事件绑定 this.bindHandler = (function() { if (window.addEventListener) {// 标准浏览器 return function(elem, type, handler) {// elem:节点 type:事件类型 handler:事件处 ...
分类:Web程序   时间:2016-05-17 16:10:02    阅读次数:180
PHP微信开发ReplyModel(封装验证,数据获取,信息返回)
<?phpclass ReplyModel{ //验证token, public function ValidationToken($token){ if(isset($_GET["echostr"])){ $tokenInfo["token"]=$token; $tokenInfo["echost ...
分类:微信   时间:2016-05-17 15:59:00    阅读次数:296
钩子教程 - 原理(十五) : JournalRecordProc
原文地址: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
钩子教程 - 原理(十六) : KeyboardProc
原文地址: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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!