04 2015 档案

该文被密码保护。
posted @ 2015-04-25 12:01 菠萝君 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-04-25 11:55 菠萝君 阅读(3) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-04-25 11:10 菠萝君 阅读(4) 评论(0) 推荐(0)
摘要:1 jdk 的安装和环境的配置,自行百度2 npm protractornpm install -g protractor3 npm install protractor的依赖项基于第二步下载到的文件,在命令行里面进入到nodejs ->protractor的目录npm install4 test工... 阅读全文
posted @ 2015-04-25 10:08 菠萝君 阅读(5243) 评论(0) 推荐(0)
摘要:User.js/** * Created by Administrator on 2015/4/22. */var mongodb = require('./db'), BSON = require('mongodb').BSONPure;var User = function (user) ... 阅读全文
posted @ 2015-04-22 23:25 菠萝君 阅读(543) 评论(0) 推荐(0)
摘要:1 npm install -g bower2 如果提示git path 不存在,则需要下载git(区分git和github),添加cmd和bin的路径到系统环境变量的path里面,重启电脑3 bower install bootstrap 阅读全文
posted @ 2015-04-21 22:48 菠萝君 阅读(196) 评论(0) 推荐(0)
摘要:1 基于现在的浏览器还不是对ECMAScript6的支持,现在的做法都是把EC6 compile 成EC5再执行,所以怎么搞呢?`1.1 基于NPM的babel 下载babel。 进入项目去执行转换 $ babel script.js --out-file script-c... 阅读全文
posted @ 2015-04-20 23:42 菠萝君 阅读(4724) 评论(0) 推荐(0)
摘要:1 协议,就是class里面必须遵循的约定。例如@protocol viewControllerDelegate -(void)loadMoreData;@end@interface ViewController ()@property (weak, nonatomic) IBOutlet UITa... 阅读全文
posted @ 2015-04-15 20:00 菠萝君 阅读(165) 评论(0) 推荐(0)
摘要:1accessoryTypetypedef NS_ENUM(NSInteger, UITableViewCellAccessoryType) { UITableViewCellAccessoryNone, // don't show any accessor... 阅读全文
posted @ 2015-04-11 11:28 菠萝君 阅读(173) 评论(0) 推荐(0)
摘要:/** * Created by Administrator on 2015/4/9. */var result;var log = function(result){ console.log(result);};// 1 匹配结尾的数字// 30CAC0040 => 0040// 3SFAD... 阅读全文
posted @ 2015-04-09 23:16 菠萝君 阅读(190) 评论(0) 推荐(0)
摘要://// heroObject.m// herosList//// Created by xin on 15/4/9.// Copyright (c) 2015年 Jackey. All rights reserved.//#import "heroObject.h"@implementat... 阅读全文
posted @ 2015-04-09 22:18 菠萝君 阅读(120) 评论(0) 推荐(0)
摘要:1 tableView 1.1设置组-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{ return self.carGroups.count;} 1.2 设置行-(NSInteger)tableView:(UIT... 阅读全文
posted @ 2015-04-09 20:44 菠萝君 阅读(141) 评论(0) 推荐(0)
摘要:1 delegate 代理@protocol AppInfoViewClassDelegate -(void)appInfoViewDownLoad:(AppInfoViewClass *)appInfoView;@end@property (nonatomic,weak) id delegate;... 阅读全文
posted @ 2015-04-08 22:10 菠萝君 阅读(112) 评论(0) 推荐(0)
摘要:1 UIScrollView 与 delegate的通讯 1.1 用户开始拖拽时,调用scrollViewWillBeginDragging 1.2 具体滚动到某个位置,调用scrollViewDidScroll 1.3 调用scrollViewDidEndDragging:willDecelera... 阅读全文
posted @ 2015-04-07 19:43 菠萝君 阅读(131) 评论(0) 推荐(0)
摘要:1 scrollViewself.scrollView.contentSize = self.imageView.frame.size;//self.scrollView.contentOffset = CGPointMake(0.f, -20.f);//scrollView滚动的位置self.sc... 阅读全文
posted @ 2015-04-04 10:24 菠萝君 阅读(89) 评论(0) 推荐(0)
摘要:1 添加依赖项"mongodb":"1.4.15","express-session": "1.9.1","connect-mongo": "0.4.1","connect-flash": "0.1.1"其中connect-flash是用来记录登陆session消息的(不知道这样说对不对,因为还没仔... 阅读全文
posted @ 2015-04-01 22:02 菠萝君 阅读(388) 评论(0) 推荐(0)
摘要:1 延迟执行函数[self performSelector:@selector( nextQuestion) withObject:nil afterDelay:0.5];2 应用名称国际化(1)项目-》Proje... 阅读全文
posted @ 2015-04-01 20:46 菠萝君 阅读(280) 评论(0) 推荐(0)
摘要:1 作用于提升问题2 函数声明/函数表达式/匿名函数3 单独定于的函数,内部的this指针4 function()和new function()的区别5 html和xhtml的区别等非js的点 == coming soon 阅读全文
posted @ 2015-04-01 09:53 菠萝君 阅读(170) 评论(0) 推荐(0)