上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
摘要: 1aaaaa.appcache:CACHE MANIFEST# 9891a09e51adaasdasdasd.htmlFALLBACK:NETWORK:* When the a.appcachefileischanged,then appCache.status will be changed; 阅读全文
posted @ 2013-10-13 23:07 高捍得 阅读(451) 评论(0) 推荐(0) 编辑
摘要: window.onload = function () { var img = new Image(); img.src = '1.gif'; var ctx = document.querySelector('#aa').getContext('2d'); img.onload = function () { ctx.drawImage(img, 0, 0, img.width, img.height, 0, 0, 400, 400); va... 阅读全文
posted @ 2013-10-12 13:43 高捍得 阅读(221) 评论(0) 推荐(0) 编辑
摘要: /** * Created with JetBrains WebStorm. * User: 宇乔 * Date: 13-8-2 * Time: 下午3:01 * To change this template use File | Settings | File Templates. */function Event(name) { var handlers = []; this.getName = function () { return name; } this.addHandler = function (handler) { han... 阅读全文
posted @ 2013-08-02 15:37 高捍得 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-07-19 17:54 高捍得 阅读(681) 评论(0) 推荐(0) 编辑
摘要: $(function () { // window['vm'] = {}; /*var nav = new G.nav('resources/data/nav.json'); nav.getViewModel(function (viewModel) { vm = viewModel; ko.applyBindings(vm); }) */ var items = function (item) { this.item = item; } var vm =... 阅读全文
posted @ 2013-07-19 17:26 高捍得 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-07-19 17:10 高捍得 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-07-19 15:58 高捍得 阅读(377) 评论(0) 推荐(0) 编辑
摘要: @baseColor: red;@switch: light; //dark// according the first param to call class. .mixin (dark, @color) { color: darken(@color, 10%);}.mixin (light, @color) { color: @color;}.mixin (@_, @color) { display: block;}//end//Guards begin// can used > >= = = .guards (@a) when (@a){} or .guards (@... 阅读全文
posted @ 2013-07-18 13:56 高捍得 阅读(494) 评论(0) 推荐(0) 编辑
摘要: (function () { "use strict"; WinJS.Binding.optimizeBindingReferences = true; var app = WinJS.Application; var activation = Windows.ApplicationModel.Activation; var storage = Windows.Storage; var imageFileNames = ["logo.png", "smalllogo.png"]; app.onactivated = function 阅读全文
posted @ 2013-07-17 18:24 高捍得 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 代码如下:html: App1 搜索js 代码:(function () { "use strict"; WinJS.Binding.optimizeBindingReferences = true; var app = WinJS.Application; var activation = Windows.ApplicationModel.Activation; var s = Windows.App... 阅读全文
posted @ 2013-07-17 17:39 高捍得 阅读(350) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 17 下一页