HaoJu Zheng

Results 89 comments of HaoJu Zheng

### 封装dojo组件为angular指令,需要注意两点 - 使用同一个指令 - 注意数据的双向绑定 具体可以参考[dojoWidget](https://github.com/hjzheng/angular-dojo/blob/master/js/directives/angularDojoDirective.js)指令

其他资料: [Debugging AngularJS](https://www.ng-book.com/p/Debugging-AngularJS/)

### jquery mobile #### Introduction - jQuery Mobile is a set of jQuery plug-ins and widgets that aim to provide a cross platform API for creating mobile web applications -...

JQuery Mobile Example: https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2014-11-25/jquery_mobile_example/code

Sublime Text MAC 快捷键 shift + cmd + p 打开命令面板 control + ` 控制台 cmd + n 新建标签 cmd + 数字 标签切换 cmd + option + 2 分成两屏 control +...

一份详细的SVG教程 http://tutorials.jenkov.com/svg/index.html

一些Example https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2014-11-5/svg

### http-server 一个简单的零配置http server,用于快速前端开发 #### 使用方法 ``` shell usage: http-server [path] [options] options: -p Port to use [8080] -a Address to use [0.0.0.0] -d Show directory listings [true] -i Display...

#### bower其他命令 `bower init` 创建bower.json文件 `bower install --save` 将安装的依赖包写到bower.json的dependencies中 `bower install --save-dev` 将安装的依赖包写到bower.json的devDependencies中 #### 在.bowerrc配置代理 ``` javascript { "directory" : "components", "proxy": "http:xxxxx:9090", "https-proxy":"http:xxxxx:9090" } ```

#### 关于bower init中的module type http://stackoverflow.com/questions/22674018/bower-init-difference-between-amd-es6-globals-and-node #### bower需要结合grunt等工具一块使用 http://bower.io/docs/tools/