摘要: 坐井观天天无边,博览群山山无尖。隔山望海海无涯,开天辟地地三鲜。 阅读全文
posted @ 2016-09-21 11:37 SingleShadow 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 可以运行如下两句命令设置代理,注意代理的地址改为自己实际可用的代理。 阅读全文
posted @ 2016-09-21 11:31 SingleShadow 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 插件cordova官网cordova-plugin-ble-central 1.开启本机蓝牙 ble.enable( function() { console.log("Bluetooth is enabled"); }, function() { console.log("The user did 阅读全文
posted @ 2016-09-13 17:59 SingleShadow 阅读(7131) 评论(0) 推荐(0) 编辑
摘要: 插件需求(上cordova官网下载): com.lampa.startapp cordova-plugin-appavailability cordova-plugin-inappbrowser 代码: 对于iOS和android平台的判断 var u = navigator.userAgent; 阅读全文
posted @ 2016-09-13 17:04 SingleShadow 阅读(1966) 评论(0) 推荐(0) 编辑
摘要: 功能需求:点击按钮后获取input输入框的焦点 获取焦点用jq focus()不成功,因为angular也不推荐,所以网上找了一个在focus封装成指令的方法 指令写法: .directive('myfocus', function($timeout, $parse) { return { link 阅读全文
posted @ 2016-09-13 16:39 SingleShadow 阅读(5610) 评论(7) 推荐(0) 编辑
摘要: npm install -g ionic@1.4.0 原文地址:http://stackoverflow.com/questions/30316994/how-to-install-specific-version-of-ionic-via-npm 阅读全文
posted @ 2016-08-24 10:35 SingleShadow 阅读(1197) 评论(0) 推荐(0) 编辑
摘要: 卸载 npm uninstall -g ionic 更新 npm update -g ionic 阅读全文
posted @ 2016-08-23 17:45 SingleShadow 阅读(1246) 评论(0) 推荐(0) 编辑
摘要: Installing npm packages...Error with start undefinedError Initializing app: There was an error with the spawned command: npminstallThere was an error 阅读全文
posted @ 2016-08-23 17:22 SingleShadow 阅读(1206) 评论(0) 推荐(0) 编辑
摘要: Fixed the problem by installing python version 3.0 and above will do下载Python3.0或以上版本 python官网传送门:https://www.python.org/ 原链接:http://stackoverflow.com/ 阅读全文
posted @ 2016-08-23 15:22 SingleShadow 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 安装提示 npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 大意是: npm警告弃用minimatch@2.0.10:请更新mini 阅读全文
posted @ 2016-08-23 15:00 SingleShadow 阅读(591) 评论(0) 推荐(0) 编辑