摘要: Node对象的节点类型***************************************************接口 nodeType常量 nodeType值 备注Element Node.ELEMENT_NODE 1 元素节点Text Node.TEXT_NODE 3 文本节点Document Node.DOCUMENT_NODE 9 ... 阅读全文
posted @ 2013-10-10 17:44 Angkor--:-- 阅读(217) 评论(0) 推荐(0) 编辑
摘要: string callbackURL = "https://demo.accesscontrol.windows.net";// 需要你注册你的移动应用访问服务wndows azure ACSString FacebookURL = "https://www.facebook.com/dialog/oauth?client_id=" + Uri.EscapeDataString("402........") + "&redirect_uri=" + Uri.EscapeDataString(callback 阅读全文
posted @ 2013-05-09 11:00 Angkor--:-- 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 在开发Windows Store App 应用中 我们有可能用到Google,Facebook,Windows Live Account……等方式登录,那么我们该如何做呢:Google: string callbackURL = "urn:ietf:wg:oauth:2.0:ooa"; // you can get this urn from google .... String GoogleURL = "https://accounts.google.com/o/oauth2/auth?client_id=" + Uri.EscapeDataStrin 阅读全文
posted @ 2013-05-08 18:28 Angkor--:-- 阅读(108) 评论(0) 推荐(0) 编辑
摘要: defineWithParent: function defineWithParent(parentNamespace, name, members) { /// /// /// Defines a new namespace with the specified name under the specified parent namespace. /// ////// The parent namespace. /// ////// The name of the new namespace. /// ////// The members of the new namespace. /// 阅读全文
posted @ 2012-12-30 09:38 Angkor--:-- 阅读(188) 评论(0) 推荐(0) 编辑
摘要: define: function define(constructor, instanceMembers, staticMembers) { /// /// /// Defines a class using the given constructor and the specified instance members. /// ////// A constructor function that is used to instantiate this class. /// ////// The set of instance fields, properties, and methods 阅读全文
posted @ 2012-12-30 00:06 Angkor--:-- 阅读(203) 评论(0) 推荐(0) 编辑
摘要: expandProperties: function (shape) { /// /// /// Wraps the specified object so that all its properties /// are instrumented for binding. This is meant to be used in /// conjunction with the binding mixin. /// ////// The specification for the bindable object. /// /// /// An object with a set of prope 阅读全文
posted @ 2012-12-29 23:53 Angkor--:-- 阅读(380) 评论(0) 推荐(0) 编辑
摘要: WinJS.Application 相关函数和源码:stop: function () { /// /// /// Stops application event processing and resets WinJS.Application /// to its initial state. /// /// // Need to clear out the event properties explicitly to clear their backing // state. // this.onactivated = null; this.oncheckpoint = null; this 阅读全文
posted @ 2012-12-29 23:38 Angkor--:-- 阅读(338) 评论(0) 推荐(0) 编辑
摘要: WinJS.Promise 函数和源码:supportedForProcessing: falseaddEventListener: function Promise_addEventListener(eventType, listener, capture) { /// /// /// Adds an event listener to the control. /// /// /// The type ... 阅读全文
posted @ 2012-12-29 23:28 Angkor--:-- 阅读(412) 评论(0) 推荐(0) 编辑
摘要: WinJS.UI.Animation 函数和源码 createExpandAnimation: function (revealed, affected) { /// /// /// Creates an expand animation. /// After creating the ExpandAnimation object, /// modify the document to move the elements to their new positions, /// then call the execute method on the ExpandAnimation object. 阅读全文
posted @ 2012-12-29 23:11 Angkor--:-- 阅读(418) 评论(0) 推荐(0) 编辑
摘要: ApplicationModelIO操作:WinRT为应用程序提供三种(文件)存储非结构化的状态,本地的容器(local),该容器是唯一的一台机器上的单个用户内部 一个单一的应用; varlocal= WinJS.Application["local"]; 漫游(roaming)到单个用户是独特的容器,该容器从一个单一的应用程序,但在多台机器上漫游; var roaming = WinJS.Application["roaming"]; 临时(temp)的容器,该容器具有相同的限制作为本地容器,但也可以自动地由系统清除。 var tem... 阅读全文
posted @ 2012-12-10 11:28 Angkor--:-- 阅读(216) 评论(0) 推荐(0) 编辑