-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
394 lines (242 loc) · 11.6 KB
/
index.html
File metadata and controls
394 lines (242 loc) · 11.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<!DOCTYPE HTML>
<html lang="zh-tw">
<head>
<meta charset="UTF-8">
<title>microConan</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3, minimum-scale=1">
<meta name="author" content="conan">
<meta name="description" content="好好学习,天天向上">
<link rel="icon" href="/img/favicon.ico">
<link rel="apple-touch-icon" href="/img/pacman.jpg">
<link rel="apple-touch-icon-precomposed" href="/img/pacman.jpg">
<link rel="stylesheet" href="/css/style.css" type="text/css">
</head>
<body>
<header>
<div>
<div id="imglogo">
<a href="/"><img src="/img/logo.svg" alt="microConan" title="microConan"/></a>
</div>
<div id="textlogo">
<h1 class="site-name"><a href="/" title="microConan">microConan</a></h1>
<h2 class="blog-motto"></h2>
</div>
<div class="navbar"><a class="navbutton navmobile" href="#" title="Menu">
</a></div>
<nav class="animated">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/archives">Archives</a></li>
<li>
<form class="search" action="//google.com/search" method="get" accept-charset="utf-8">
<label>Search</label>
<input type="text" id="search" name="q" autocomplete="off" maxlength="20" placeholder="Search" />
<input type="hidden" name="q" value="site:js250.com">
</form>
</li>
</ul>
</nav>
</div>
</header>
<div id="container">
<div id="main">
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/03/03/-How-the-Runs-a/" title="$watch How the $apply Runs a $digest " itemprop="url">
<h1 itemprop="name">$watch How the $apply Runs a $digest </h1>
<p itemprop="description" >$watch How the $apply Runs a $digest
原文:$watch How the $apply Runs a $digest
译者:microConan这里我翻译的不是逐词翻译,是根据我理解的说出来的大概意思,保证不会曲解原意,只会更好理解。
An</p>
<time datetime="2015-03-03T03:19:47.000Z" itemprop="datePublished">3月 3 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/02/16/swig-source/" title="swig 源码解析" itemprop="url">
<h1 itemprop="name">swig 源码解析</h1>
<p itemprop="description" >swig 源码解析
自己看的,写得比较乱。。。。
通过splitter正则将所有模板字符以(\{\{ anyChar \}\} 和 \{\% anyChar \%\} 还有 \{# anyChar #\})为分隔符,分离(split)成一个数组,然后循环处理这些变量(var</p>
<time datetime="2015-02-16T07:12:44.000Z" itemprop="datePublished">2月 16 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/02/15/web数据交互艺术/" title="web数据交互艺术" itemprop="url">
<h1 itemprop="name">web数据交互艺术</h1>
<p itemprop="description" >Web数据交互艺术
课程对象
前端开发人员
一线开发者、web前端编程技术了解者
作者:张楠
大纲
格式
纯文本
xml
json
http连接
缓存
存储
cookie
localStorage/userData(xml存储640)
web sql、indexedDB</p>
<time datetime="2015-02-15T02:32:39.000Z" itemprop="datePublished">2月 15 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/02/15/vce-note/" title="vce-note" itemprop="url">
<h1 itemprop="name">vce-note</h1>
<p itemprop="description" >不能直接修改value值,因为使用逻辑符判断时受影响
不能保存在一个在另外一个名字里面(如下),因为模板里面遍历时会被读取到,而将其设置为enumerable:false,则在部分地方拷贝时(merge、extend)时拷贝不到。。
添加一个影子对象_vceshadow_,而这个</p>
<time datetime="2015-02-15T02:32:39.000Z" itemprop="datePublished">2月 15 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/02/01/nodejs-basic/" title="node.js学习笔记" itemprop="url">
<h1 itemprop="name">node.js学习笔记</h1>
<p itemprop="description" >写在前面
这是我一开始接触nodejs时写evernote里面的笔记,最近把blog迁到hexo上来,顺便加进来,读者看起来可能没有什么逻辑性,请谅解。
异步
node处理异步回调时的异常上形成一种约定,将异常作为第一个实参穿回,如果为空值,则表明异步调用没有异常抛出。se</p>
<time datetime="2015-02-01T05:43:59.000Z" itemprop="datePublished">2月 1 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/02/01/express-framework-source-explain/" title="express源码浅析" itemprop="url">
<h1 itemprop="name">express源码浅析</h1>
<p itemprop="description" >express源码分析
express是什么?
express基于nodejs提供了http服务,通过监听(listen)一个端口,而且提供了根据url或者method来绑定(use)中间件,分级处理一个请求。
express文件夹结构
12345678910111213</p>
<time datetime="2015-02-01T05:26:51.000Z" itemprop="datePublished">2月 1 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/02/01/use-git-for-to-multiple-accounts-switch/" title="git多帐号切换使用" itemprop="url">
<h1 itemprop="name">git多帐号切换使用</h1>
<p itemprop="description" >创建SSH私钥
1234$ cd ~/.ssh$ ssh-keygen -t rsa -C '362819271@qq.com' #这是第二个帐号Generating public/private rsa key pair.Enter file in which to save</p>
<time datetime="2015-02-01T05:04:54.000Z" itemprop="datePublished">2月 1 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/01/31/2014-03-28-git-入门/" title="git入门" itemprop="url">
<h1 itemprop="name">git入门</h1>
<p itemprop="description" >git和svn不同的地方有一个索引的概念,需要把修改点提交到索引,之后在提交索引到仓库。
1、语句设置默认。
git config --global user.name 'conan'
等语句设置默认。 2、建立仓库。
git init
3、添加修改到索引
gi</p>
<time datetime="2015-01-31T07:24:24.000Z" itemprop="datePublished">1月 31 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/01/31/2014-03-28-fis核心/" title="fis核心" itemprop="url">
<h1 itemprop="name">fis核心</h1>
<p itemprop="description" >前言
本文以对fis、甚至对前端无任何了解的人的角度讲解fis这三个字母用来干嘛的。。。
fis用来干嘛?
说专业点是一个前端集成开发环境,官网上的内容我就不赘述了。
说通俗点就是利用nodejs按要求(通过fis-conf.js配置)把开发目录经过一系列处理(例如合并压缩)处</p>
<time datetime="2015-01-31T07:24:24.000Z" itemprop="datePublished">1月 31 2015</time>
</a>
</section>
<section class="post" itemscope itemprop="blogPost">
<a href="/2015/01/31/2014-03-28-基于fis扩展的fis-plus/" title="" itemprop="url">
<h1 itemprop="name"></h1>
<p itemprop="description" >扩展了些什么?
fis-plus也是调用fis模块
fis-plus是添加了一些推荐的文件夹规范和fis配置(fis-conf.js)
也就是fis-plus的一些规范,例如将页面tpl文件(page)发布(release)到template文件夹,将widget下面的js</p>
<time datetime="2015-01-31T07:24:24.000Z" itemprop="datePublished">1月 31 2015</time>
</a>
</section>
<nav id="page-nav" class="clearfix">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/2/">Next »</a>
</nav>
</div>
<div class="openaside"><a class="navbutton" href="#" title="Show Sidebar"></a></div>
<div id="asidepart">
<div class="closeaside"><a class="closebutton" href="#" title="Hide Sidebar"></a></div>
<aside class="clearfix">
<div class="tagslist">
<p class="asidetitle">Tags</p>
<ul class="clearfix">
<li><a href="/tags/express-framework-source-explain/" title="express framework source explain">express framework source explain<sup>1</sup></a></li>
<li><a href="/tags/express-source/" title="express source">express source<sup>0</sup></a></li>
<li><a href="/tags/nodejs-basic/" title="nodejs basic">nodejs basic<sup>1</sup></a></li>
</ul>
</div>
<div class="tagcloudlist">
<p class="asidetitle">Tag Cloud</p>
<div class="tagcloudlist clearfix">
<a href="/tags/express-framework-source-explain/" style="font-size: 20.00px;">express framework source explain</a><a href="/tags/express-source/" style="font-size: 10.00px;">express source</a><a href="/tags/nodejs-basic/" style="font-size: 20.00px;">nodejs basic</a>
</div>
</div>
<div class="archiveslist">
<p class="asidetitle"><a href="/archives">Archives</a></p>
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/03/">March 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/02/">February 2015</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/01/">January 2015</a><span class="archive-list-count">15</span></li></ul>
</div>
</aside>
</div>
</div>
<footer><div id="footer" >
<div class="line">
<span></span>
<div class="author"></div>
</div>
<div class="social-font clearfix">
</div>
<p class="copyright">Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/A-limon/pacman" target="_blank" title="Pacman">Pacman</a> © 2015
<a href="http://js250.com" target="_blank" title="conan">conan</a>
</p>
</div>
</footer>
<script src="/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.navbar').click(function(){
$('header nav').toggleClass('shownav');
});
var myWidth = 0;
function getSize(){
if( typeof( window.innerWidth ) == 'number' ) {
myWidth = window.innerWidth;
} else if( document.documentElement && document.documentElement.clientWidth) {
myWidth = document.documentElement.clientWidth;
};
};
var m = $('#main'),
a = $('#asidepart'),
c = $('.closeaside'),
o = $('.openaside');
$(window).resize(function(){
getSize();
if (myWidth >= 1024) {
$('header nav').removeClass('shownav');
}else
{
m.removeClass('moveMain');
a.css('display', 'block').removeClass('fadeOut');
o.css('display', 'none');
}
});
c.click(function(){
a.addClass('fadeOut').css('display', 'none');
o.css('display', 'block').addClass('fadeIn');
m.addClass('moveMain');
});
o.click(function(){
o.css('display', 'none').removeClass('beforeFadeIn');
a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');
m.removeClass('moveMain');
});
$(window).scroll(function(){
o.css("top",Math.max(80,260-$(this).scrollTop()));
});
});
</script>
</body>
</html>