Vincent's Blog


  • Home

  • Categories

  • Archives

  • Tags

判断是否会 back回来的

Posted on 2015-12-18   |   In JS , WinJS
XboxJS.Utilities._isBackwardNavigation
Read more »

WinJS 自定义控件之 VItemContainer

Posted on 2015-12-18   |   In JS , WinJS
ItemContainer的变异控件 基本使用 <div id="testcon" data-win-control="XboxJS.OK.VItemContainer" style="width: 200px; height: 200px; background-color: red;" ...
Read more »

WinJS自定义控件之 MsgBox

Posted on 2015-12-18   |   In JS , WinJS
基本用法 <div data-win-control="XboxJS.OK.MsgBox" data-win-options="{selector:'.pop-main'}"></div> 参数为在控件内的内容,且这个参数必须提供 此控件提供两个非常有 ...
Read more »

WinJS 自定义控件 之 GameTag

Posted on 2015-12-18   |   In JS , WinJS
单独js文件内写入control default.html 中引入 基本使用方法 <div data-win-control="XboxJS.OK.GameTag" data-win-options="{location:'right',VUIText:'SignIn',disp ...
Read more »

console.log()

Posted on 2015-12-18   |   In JS
console.log('Request took:' , new Date() - start,'ms'); 逗号间隔输出默认会 有空格在不同字段间 第一个参数中可以出现特殊指定 如下 Specifier Description %s Formats the value as a s ...
Read more »

fs.readFile 跟踪解读

Posted on 2015-12-18   |   In Node
fs.readFile = function(path, options, callback_) { var callback = maybeCallback(arguments[arguments.length - 1]); if (!options || typeof option ...
Read more »

HTTP Header 详解

Posted on 2015-12-18   |   In HTTP
HTTP(HyperTextTransferProtocol)即超文本传输协议,目前网页传输的的通用协议。HTTP协议采用了请求/响应模型,浏览器或其他客户端发出请求,服务器给与响应。就整个网络资源传输而言,包括message-header和message-body两部分。首先传递message- ...
Read more »

http.get()解读

Posted on 2015-12-18   |   In Node
上源码 exports.get = function(options, cb) { var req = exports.request(options, cb); req.end(); return req;}; //get 本质上是简化的 request, 没有body ...
Read more »

Express app.get()

Posted on 2015-12-18   |   In Node
app.get(path, callback [, callback …])Routes HTTP GET requests to the specified path with the specified callback functions. For more information, see ...
Read more »

Bind Method

Posted on 2015-12-18   |   In JS
The following code shows how to use the bind method. // Define the original function.var checkNumericRange = function (value) { if (typeof ...
Read more »
<i class="fa fa-angle-left"></i>1…272829<i class="fa fa-angle-right"></i>
Vincent Guo

Vincent Guo

the blog to remeber all things about code

290 posts
44 categories
103 tags
RSS
github twitter facebook google weibo
Links
  • KunLin
  • Rx Introduction
  • 三哥
  • 元龙
© 2024 Vincent Guo
Powered by Hexo
Theme - NexT.Mist