2012年4月28日

Chrome Developer Tools

摘要: The Chrome Developer Tools is really a power tool for web developer. My favorate feature is the element inspection, with this, you can pick some element from the browser, and the developer tool will be brought up and the corresponding element will be highlight in the Elements panel. Defaultly, you c 阅读全文

posted @ 2012-04-28 09:08 Jalen Wang 阅读(208) 评论(0) 推荐(0) 编辑

2012年3月10日

Apache Ant

摘要: Source:http://en.wikipedia.org/wiki/Apache_AntApache Antis a software tool forautomating software buildprocesses. It is similar toMakebut is implemented using theJavalanguage, requires the Java platform, and is best suited to building Java projects.The most immediately noticeable difference between 阅读全文

posted @ 2012-03-10 10:49 Jalen Wang 阅读(209) 评论(0) 推荐(0) 编辑

2012年3月8日

for each in java script

摘要: var names = ['Hello', 'World'];for(var index in names) console.log(names[index]);这里的for each是遍历key-value pair。 阅读全文

posted @ 2012-03-08 21:18 Jalen Wang 阅读(166) 评论(0) 推荐(0) 编辑

2012年3月6日

Some usefule jasmine terms and its wiki pages

摘要: 1Suites and specs1.1SpecsEach spec is, naturally, a JavaScript function. You tell Jasmine about a spec with a call to it() with a description string and the function. The string is a description of a behavior that you want your production code to exhibit; it should be meaningful to you when reading 阅读全文

posted @ 2012-03-06 21:20 Jalen Wang 阅读(185) 评论(0) 推荐(0) 编辑

Configuration file for test runner.

摘要: IntroductionConfiguration file is written in YAML and is used to tell the test runner which files to load to browser and in which order. By default the JsTestDriver looks for the configuration file in the current directory and with the name jsTestDriver.conf. You can use --config command line option 阅读全文

posted @ 2012-03-06 18:39 Jalen Wang 阅读(223) 评论(0) 推荐(0) 编辑

2012年2月29日

[Jasmine]Why Another JavaScript TDD/BDD Framework?

摘要: There are some great JavaScript testing frameworks out there already, so why did we write another?None of the existing frameworks quite worked the way we wanted. Many only work from within a browser. Most don't support testing asynchronous code like event callbacks. Some have syntax that's h 阅读全文

posted @ 2012-02-29 20:09 Jalen Wang 阅读(1176) 评论(0) 推荐(0) 编辑

2012年2月26日

JavaScript Conventions

摘要: With any program design it is important to use a programming convention when writing code. This not only helps the code look consistent (and one hopes avoids certain bugs), but also allows different programmers to work on the same code.The Alt Framework is no exception, so I hope to outline the conv 阅读全文

posted @ 2012-02-26 22:03 Jalen Wang 阅读(255) 评论(0) 推荐(0) 编辑

2012年2月25日

[转]MyEclipse下设置合适的Content Assist快捷键

摘要: MyEclipse安装完成之后,有一个很常用的快捷键Content Assist(即代码提示)被默认为Ctrl + Space。这会使得我们使用中文操作系统的计算机用起来很不方便,因为我们平时打字必用的切换打字法的快捷键,恰恰就是这个!当然,你可以直接在Windows => Preferences... => General => Keys去替换掉这个快捷键,不过可能还会有其他快捷键与我们的中文操作系统有冲突。这里介绍一个一劳永逸,也是更“Eclipse化”的方法来改变这种尴尬局面:在MyEclipse的启动选项中,其实有Duser.language这样一项设置,在MyEcl 阅读全文

posted @ 2012-02-25 22:11 Jalen Wang 阅读(212) 评论(0) 推荐(0) 编辑

2012年2月15日

[Learn Note]Assembly Manifest

摘要: 1 What is Assembly ManifestEvery assembly, whether static or dynamic, contains a collection of data that describes how the elements in the assembly relate to each other. The assembly manifest contains this assembly metadata. An assembly manifest contains all the metadata needed to specify the assemb 阅读全文

posted @ 2012-02-15 20:46 Jalen Wang 阅读(623) 评论(2) 推荐(0) 编辑

[Learn Note] MSBuild

摘要: 1 基本定义 属性是键/值的配对,相应于: 环境变量项目文件自身中的定义使用 /p 传递给 msbuild.exe 的命令行参数 2 项 <Item Type="FilesToCompile" Include="file1.cs"/> <Item Type="FilesToCompile" Include="file2.cs"/> <Item Type="FilesToComp... 阅读全文

posted @ 2012-02-15 20:38 Jalen Wang 阅读(281) 评论(0) 推荐(0) 编辑

导航