摘要: window.onload = function() { var canvas = document.getElementById("canvas"), context = canvas.getContext("2d"), width = canvas.width = 600,... 阅读全文
posted @ 2015-03-19 23:39 Zhentiw 阅读(265) 评论(0) 推荐(0)
摘要: window.onload = function() { var canvas = document.getElementById("canvas"), context = canvas.getContext("2d"); context.beginPath(); c... 阅读全文
posted @ 2015-03-19 22:00 Zhentiw 阅读(367) 评论(0) 推荐(0)
摘要: HTML5 Canvas Graphics and Animation/** * Created by Answer1215 on 3/19/2015. */window.onload = function() { //var canvas = $("#canvas")... 阅读全文
posted @ 2015-03-19 21:34 Zhentiw 阅读(216) 评论(0) 推荐(0)
摘要: ng-html2js takes .html templates and converts them into strings stored in AngularJS's template cache. This allows you to bundle all of your templates ... 阅读全文
posted @ 2015-03-19 21:10 Zhentiw 阅读(645) 评论(0) 推荐(0)
摘要: The TypeScript compiler is a powerful tool which catches mistakes even in vanilla JavaScript. Try it online at theTypeScript Playground, zero setup re... 阅读全文
posted @ 2015-03-19 16:44 Zhentiw 阅读(254) 评论(0) 推荐(0)
摘要: Create a greeter.ts file:class Student { fullname : string; constructor(public firstname, public middleinitial, public lastname) { this.f... 阅读全文
posted @ 2015-03-19 16:37 Zhentiw 阅读(183) 评论(0) 推荐(0)