摘要: Promise.any ---- 参数是一个promise的数组。any的作用就是 promise 数组中任意一个 promise 执行完毕,就会执行 done内的函数(function () { "use strict"; WinJS.Binding.optimizeBindingReferences = true; var app = WinJS.Application; var activation = Windows.ApplicationModel.Activation; app.onactivated = function (args) { ... 阅读全文
posted @ 2013-07-16 17:30 高捍得 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 前台html 绑定(view)://js 实现 viewmodel(function () { "use strict"; WinJS.Binding.optimizeBindingReferences = true; var app = WinJS.Application; var activation = Windows.ApplicationModel.Activation; app.onactivated = function (args) { if (args.detail.kind === activation.ActivationKin... 阅读全文
posted @ 2013-07-16 16:05 高捍得 阅读(228) 评论(0) 推荐(0) 编辑
摘要: using css@media screen and (-ms-view-state: fullscreen-landscape) {}@media screen and (-ms-view-state: fullscreen-portrait) {}@media screen and (-ms-view-state: filled) {}@media screen and (-ms-view-state: snapped) {}using js:(function () { "use strict"; var app = WinJS.Application; var vi 阅读全文
posted @ 2013-07-16 14:17 高捍得 阅读(132) 评论(0) 推荐(0) 编辑