Titanium Desktop on ubuntu(被墙了,所以移过来一下吧)
摘要:Titanium Desktop on ubuntuSetting up titanium on ubuntu can be a pain in the ass so, wrote up a series of commands to follow to get it working for sure.Do not run this as a shell script, paste in commands one at a time. (titanium was having touble getting envoked this way)# Remove the current titani
阅读全文
posted @
2011-05-18 19:28
Q.Lee.lulu
阅读(700)
推荐(0) 编辑
用Eclipse调试Node.js代码
摘要:node.js是基于Google V8的,而Google V8有一个Eclipse的调试插件,这个插件同样也支持node.js。1、安装Eclipse debugger for V8这个,用过Eclipse的应该都知道,不过还是简单说下吧: 选择“Install New Software” 点“Add” Location为: http://chromedevtools.googlecode.com/svn/update/dev/Name你喜欢,整一个方便你记忆的就好。 点击确定后,在“Work with“选择你刚才添加的站点: 然后选择“Chromium JavaScript Remote D
阅读全文
posted @
2011-05-06 18:56
Q.Lee.lulu
阅读(16152)
推荐(4) 编辑
Javascript中的类数组对象
摘要:看到一句Javascript的代码:function test(){ var args = Array.prototype.slice.call(arguments);}第一感觉是这句代码不是多余么?这切分后不是返回一样的数组么?不过又感觉没人这么蛋疼做这么无聊的事情吧,于是Google,于是发现,我错了!因为arguments不是一个数组对象,虽然它有length属性,并且你在firebug或者Chrome的控制台log出来的结果和数组一样。function testArguments(){ console.log(arguments); console.log(arguments.leng
阅读全文
posted @
2011-05-05 17:40
Q.Lee.lulu
阅读(4097)
推荐(0) 编辑