摘要: 来看看怎么用typescript实现链表:class Student { public fullname: string; public Next: Student; constructor(public firstname, private middleinitial, publ... 阅读全文
posted @ 2015-09-09 11:21 Byron12345 阅读(954) 评论(0) 推荐(0) 编辑
摘要: string:function greeter(person: string) { return "Hello, " + person;}var user = "Jane User";document.body.innerHTML = greeter(user);Array:function ... 阅读全文
posted @ 2015-09-09 11:05 Byron12345 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 1, 安装typescript 在IDE上后打开一个空的web app, 添加一个typescript file和 HTML file, 安装typescript package:typescript file:function greeter(person) { return "" + pe... 阅读全文
posted @ 2015-09-09 10:21 Byron12345 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 控制器 Simple app The simplest adding machine ever Add Subtract Current count: {{ counter }} 2. Simple ... 阅读全文
posted @ 2015-09-05 19:45 Byron12345 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 使用作用域 Simple app hello {{ name }} 阅读全文
posted @ 2015-09-05 19:04 Byron12345 阅读(158) 评论(1) 推荐(0) 编辑
摘要: 用AngularJS实现数据绑定实在太方便了(DOM 操作全依赖AngularJS): Simple app hello {{ clock }}! 阅读全文
posted @ 2015-09-05 12:37 Byron12345 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 因国内防火墙缘故,还不能直接访问https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js用百度静态文件替换:http://apps.bdimg.com/libs/angular.js/1.2.16/angular.min.js 阅读全文
posted @ 2015-09-05 12:22 Byron12345 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Simple appHello {{ name }} 阅读全文
posted @ 2015-09-05 11:55 Byron12345 阅读(126) 评论(0) 推荐(0) 编辑
摘要: D3,TypeScript, AngularJS and large-scale JavaScript.本博客只是整理一些资料心得,如有雷同,敬请谅解! 阅读全文
posted @ 2015-08-29 11:05 Byron12345 阅读(144) 评论(0) 推荐(0) 编辑