07 2015 档案

摘要:[Tool] Chrome内的本地网页,使用XMLHttpRequest读取本地档案问题情景开发Cordova这类以网页内容作为UI的Hybrid APP时,开发人员可以使用IDE的功能将程序布署到手机或是仿真器来侦错。但是以笔者的经验来说,要检视HTML网页元素、观看CSS样式继承,最顺手的开发者... 阅读全文
posted @ 2015-07-30 12:04 Clark159 阅读(2498) 评论(0) 推荐(0) 编辑
摘要:[Android] WebView内的本地网页,使用XMLHttpRequest读取本地档案问题情景在Android里,可以使用WebView来呈现本地或是远程的网页内容。但是在显示本地网页时,如果开发人员在网页里使用了XMLHttpRequest来额外加载本地档案(ex:AngularJS里Rou... 阅读全文
posted @ 2015-07-28 12:13 Clark159 阅读(3551) 评论(0) 推荐(0) 编辑
摘要:[Tool] 取得APP的Store URL Scheme (Android、iOS)前言在企业网站中,如果希望使用URL连结的方式,开启Store APP来下载APP(非网页下载)。开发人员可以将Store的URL Scheme设定为网页内URL链接的目标,后续用户使用手机浏览网站并点击这个URL... 阅读全文
posted @ 2015-07-16 16:07 Clark159 阅读(2783) 评论(1) 推荐(0) 编辑
摘要:[TypeScript] Dictionary范例Playgroundhttp://tinyurl.com/o7czcxoSamplesclass Dictionary { [index: string]: string;}class Test { public run() { ... 阅读全文
posted @ 2015-07-07 15:47 Clark159 阅读(579) 评论(0) 推荐(1) 编辑
摘要:[TypeScript] TypeScript对象转JSON字符串范例Playgroundhttp://tinyurl.com/njbrnrvSamplesclass DataTable { public columns: Array = new Array(); public rows... 阅读全文
posted @ 2015-07-07 14:16 Clark159 阅读(8987) 评论(0) 推荐(0) 编辑
摘要:[TypeScript] JSON对象转TypeScript对象范例Playgroundhttp://tinyurl.com/nv4x9akSamplesclass DataTable { public columns: Array; public rows: Array;}class ... 阅读全文
posted @ 2015-07-07 11:40 Clark159 阅读(14245) 评论(0) 推荐(1) 编辑
摘要:[Tool] 使用Visual Studio Code开发TypeScript注意依照本篇操作步骤实作,就可以在「Windows」、「OS X」操作系统上,使用Visual Studio Code开发TypeScript。前言为了解决JavaScript:缺少面向对象语法、缺少编译期间错误检查...... 阅读全文
posted @ 2015-07-02 02:34 Clark159 阅读(3501) 评论(4) 推荐(5) 编辑

点击右上角即可分享
微信分享提示