Backbone.js 高度依赖 underscore.js,轻度依赖jQuery,如有必要可以使用zepto.js来置换jQuery。
Backbone.js主要由下面几大类方法:
- Event
- Model
- Collection
- View
Backbone.js 高度依赖 underscore.js,轻度依赖jQuery,如有必要可以使用zepto.js来置换jQuery。
Backbone.js主要由下面几大类方法:
| $(function(){ | |
| // 处理粘贴板 | |
| ZeroClipboard.config({ | |
| moviePath: "js/ZeroClipboard.swf" | |
| }); | |
| /*var Param = lobby.util.getUrlParams(); | |
| var gameId = Param['gameId']; | |
| var serverId = Param['serverId']; |
| var leaks = function(){ | |
| var myVal = ''; | |
| return function(){ | |
| myval = "leaks value!"; | |
| return myval; | |
| } | |
| } |
| #include <opencv2/core/core.hpp> | |
| #include <opencv2/highgui/highgui.hpp> | |
| int main( int argc ,char ** argv){ | |
| CvCapture * capture = cvCreateFileCapture ("tree.avi"); | |
| if(capture==NULL) | |
| { | |
| printf("视频文件读取失败"); | |
| return 1; |
| #include <opencv2/core/core.hpp> | |
| #include <opencv2/objdetect/objdetect.hpp> | |
| #include <opencv2/highgui/highgui.hpp> | |
| #include <opencv2/imgproc/imgproc.hpp> | |
| #include <iostream> | |
| #include <stdio.h> | |
| using namespace std; | |
| using namespace cv; |
| [Solarized Dark] | |
| text(bold)=839496 | |
| magenta(bold)=6c71c4 | |
| text=839496 | |
| white(bold)=fdf6e3 | |
| green=859900 | |
| red(bold)=cb4b16 | |
| green(bold)=586e75 | |
| black(bold)=073642 | |
| red=dc322f |
| [Solarized Light] | |
| text(bold)=657b83 | |
| magenta(bold)=6c71c4 | |
| text=657b83 | |
| white(bold)=002b36 | |
| green=859900 | |
| red(bold)=cb4b16 | |
| green(bold)=93a1a1 | |
| black(bold)=eee8d5 | |
| red=dc322f |