javascript ?中的falsy值 6个:false null undefined 0(数字) NaN(数字) ?‘’最后一个指的是空字符串 其他为true, ? 包括‘false‘. from javascript good parts P26...
分类:
编程语言 时间:
2014-07-31 00:13:15
阅读次数:
262
NGUI,目前Unity3D Assert Store中最火的2D图形界面工具。本文假设读者有Unity3D使用经验。有基本了解。NGUI3.6.01.新建Pannel(Scroll View),确保Clliping为soft Clip2.Add Component增加Scroll View3.在S...
分类:
其他好文 时间:
2014-07-30 20:17:54
阅读次数:
234
1.对象 1.1 对象使用和属性 JavaScript中所有变量都是对象,除了null和undefined 1.2 对象作为数据类型 JavaScript对象可以作为哈希表使用,主要用来保存命名的键和值的对应关系 1.3 访问属性 点操作符和中括号操...
分类:
编程语言 时间:
2014-07-30 01:11:33
阅读次数:
441
For example, the following code will store uploaded files under /media/photos regardless of what yourMEDIA_ROOT setting is:from django.db import model...
分类:
其他好文 时间:
2014-07-30 00:52:02
阅读次数:
207
出现这样的错误时说明自己忘记加载数据库了, application/config/aotuload.php $autoload['libraries'] = array('database');
分类:
数据库 时间:
2014-07-29 21:10:02
阅读次数:
498
先来看看效果:一、新建一个TreeStore,并添加根节点Ext.define('Demo1.store.TreeDemoStore', { extend: 'Ext.data.TreeStore', root: { text: '目录树', id: 0 ...
分类:
Web程序 时间:
2014-07-29 20:47:42
阅读次数:
290
Little Bob loves chocolates, and goes to the store with $N money in his pocket. The price of each chocolate is $C. The store offers a discount: for ev...
分类:
其他好文 时间:
2014-07-29 20:35:22
阅读次数:
306
State management(handler的状态管理) A ChannelHandler often needs to store some stateful information. The simplest and recommended approach is to use member variables: public?interface?Message?...
分类:
Web程序 时间:
2014-07-29 16:22:59
阅读次数:
317
Problem Description
After months of hard working, Iserlohn finally wins awesome amount of scholarship. As a great zealot of sneakers, he decides to spend all his money on them in a sneaker store.
...
分类:
其他好文 时间:
2014-07-29 14:42:05
阅读次数:
273
最近维护别人写的代码的时候,遇到了这么个情况 找原因找到了这行代码的身上tpl: '{name}',不明白tpl干啥用的可以猛击这里,本来以为ext出问题了,最后看到坑爹的代码结束标签写错了,改为下面正常tpl: '{name}',坑爹的人啊
分类:
其他好文 时间:
2014-07-29 14:11:08
阅读次数:
187