Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump url-parse from 1.4.3 to 1.5.10 in /src/vue-protobuf #54

Open
wants to merge 239 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
26d0c9c
drag
fengxianqi Apr 11, 2018
011b324
vedio
fengxianqi Apr 18, 2018
06f4cbf
audio
fengxianqi Apr 18, 2018
509131e
canvas board
fengxianqi Apr 20, 2018
8940140
piechart
fengxianqi Apr 20, 2018
7c10897
init vue-environment
fengxianqi Jul 15, 2018
c090c8b
vue environment prod & test
fengxianqi Jul 15, 2018
dd07042
canvas to dataurl
Jul 24, 2018
8e3e7e7
feat: add binary tree
Jul 27, 2018
cb5386f
feat: px2rem function
Aug 14, 2018
cbd836c
1
Aug 28, 2018
45470da
feat: add angular hero-tutorial
Aug 28, 2018
b4ba393
feat: add ordertraverse
Sep 6, 2018
9aa3699
feat: add national-h5
fengxianqi Oct 14, 2018
688a781
feat: vue-protobufjs finish request lib
Oct 19, 2018
caa7868
Merge branch 'master' of fengxianqi.github.com:fengxianqi/front_end-d…
Oct 19, 2018
6270cd2
feat: finish vue-protobuf
Oct 22, 2018
bec0777
fix: pb rules unify
fengxianqi Oct 24, 2018
b428c3c
pref: add remark
fengxianqi Oct 24, 2018
512700a
fix: add remark
Oct 25, 2018
f4c1667
del: package-lock.json
fengxianqi Oct 26, 2018
5d408a2
feat: finish brinary-tree function
Oct 26, 2018
e8217f1
feat: add audio-test
Nov 14, 2018
2bb9e47
feat: add audio-test.html
Nov 14, 2018
a10ccc7
feat: add test-in-ab test demo
Nov 19, 2018
a9c2d94
feat: add node-protobuf
Dec 7, 2018
c5cbf8d
feat: finish node-protobuf demo
Dec 11, 2018
cb04722
fix: url
Dec 11, 2018
79f8add
Update README.md
fengxianqi Dec 11, 2018
8a51978
pref: readme
fengxianqi Dec 11, 2018
2e7257a
Merge branch 'master' of fengxianqi.github.com:fengxianqi/front_end-d…
Dec 11, 2018
d93d315
pref
Dec 11, 2018
eb614a3
pref: title
Dec 11, 2018
b58b93f
feat: add leetcode 001
fengxianqi Dec 23, 2018
077efed
Merge branch 'master' of github.com:fengxianqi/front_end-demos
fengxianqi Dec 23, 2018
5fa5a6a
feat: add two numadd
Dec 25, 2018
4b7063e
feat: add 003
Dec 28, 2018
494ef1a
feat: add angular hero
Jan 17, 2019
94a818f
docs: fix
Jan 17, 2019
ed34c3f
docs: pref
Jan 17, 2019
9162c57
fix: ignore package-lock.json to fix security alert
Jan 17, 2019
a367321
Update README.md
fengxianqi Jan 22, 2019
e7e9919
feat: leetcode add 004
fengxianqi Jan 27, 2019
c871047
feat: add longest palindromic substring
fengxianqi Feb 13, 2019
e246408
faet: add 007
Mar 21, 2019
dc04c69
feat: add 009
Mar 25, 2019
f515748
feat: init react todo
fengxianqi Mar 25, 2019
16c20a5
feat: add 013
Mar 26, 2019
d6f0c0e
fix: 0099
Mar 26, 2019
c400c91
Merge branch 'master' of fengxianqi.github.com:fengxianqi/front_end-d…
fengxianqi Mar 26, 2019
67fd9ec
feat: add 014
fengxianqi Mar 27, 2019
4b25040
feat: init vue-pwa-demo
Apr 9, 2019
f0c64b0
feat: add react todo demo
Apr 22, 2019
ae3a653
fix: add react todo
Apr 22, 2019
9dcba43
fix: placeholder when list length = 0
Apr 22, 2019
306a6da
feat: add 020
Jun 4, 2019
1b27cb9
feat: add nuxt-test
Aug 2, 2019
de77dcb
fix: nuxt-test finish demo
fengxianqi Aug 2, 2019
f098b17
feat: leecode add 021
Sep 30, 2019
600f957
feat: add leetcode 026
Oct 10, 2019
fbadee4
build(deps): bump eslint-utils from 1.4.0 to 1.4.3 in /src/nuxt-test
dependabot[bot] Oct 29, 2019
f4019a2
Merge pull request #1 from fengxianqi/dependabot/npm_and_yarn/src/nux…
fengxianqi Nov 1, 2019
0bf0cc0
build(deps): bump lodash.mergewith in /src/vue-protobuf
dependabot[bot] Nov 1, 2019
8459351
build(deps): bump axios from 0.18.0 to 0.18.1 in /src/vue-protobuf
dependabot[bot] Nov 1, 2019
1f74440
feat: leetcode add 027
Nov 7, 2019
c20d484
Merge branch 'master' of fengxianqi.github.com:fengxianqi/front_end-d…
Nov 7, 2019
3298c22
feat: leetcode add 028
Nov 8, 2019
e97aabe
fix: kmp
Nov 11, 2019
7f6a7f7
feat: leecode add 035
fengxianqi Jan 11, 2020
9da763e
feat: add koa-loadbalance
fengxianqi Jan 18, 2020
fed77c8
feat: add deploy.sh & add pm2.json
fengxianqi Jan 19, 2020
53ecaf6
fix: koa-loadbalance package.json add deploy script
fengxianqi Jan 19, 2020
0eb11ff
Merge pull request #2 from fengxianqi/dependabot/npm_and_yarn/src/vue…
fengxianqi Mar 3, 2020
9dbf8c8
Merge pull request #6 from fengxianqi/dependabot/npm_and_yarn/src/vue…
fengxianqi Mar 3, 2020
d994970
fix: data-structure
Apr 15, 2020
89bfb50
build(deps): bump websocket-extensions in /src/vue-protobuf
dependabot[bot] Jun 6, 2020
ec3a0c8
build(deps): bump elliptic from 6.4.1 to 6.5.3 in /src/vue-protobuf
dependabot[bot] Jul 30, 2020
ded47fb
build(deps): bump elliptic from 6.5.0 to 6.5.3 in /src/nuxt-test
dependabot[bot] Jul 31, 2020
c9ca3a6
feat: leetcode add 038
Aug 13, 2020
31cf916
fix:更新vue
fengxianqi Aug 15, 2020
731fdae
feat: leecode add 053
Aug 25, 2020
7e87603
fix: 增加思路二
Aug 25, 2020
99747b3
feat: add 058
Aug 27, 2020
32e12b6
feat: leecode add 066
Sep 4, 2020
bd4d28b
build(deps-dev): bump node-sass in /src/vue-protobuf
dependabot[bot] Sep 4, 2020
ad57c27
build(deps-dev): bump node-sass from 4.12.0 to 4.13.1 in /src/nuxt-test
dependabot[bot] Sep 4, 2020
a7565a3
feat: leecode add 067
fengxianqi Sep 5, 2020
0c96a40
feat: add 069
fengxianqi Sep 7, 2020
adf6156
build(deps): bump http-proxy from 1.17.0 to 1.18.1 in /src/vue-protobuf
dependabot[bot] Sep 8, 2020
abd3420
feat: add 070
fengxianqi Sep 8, 2020
badaf73
feat: leecode add 083
fengxianqi Sep 9, 2020
aac0c8c
feat: leecode add 088
fengxianqi Sep 9, 2020
0228691
feat: leecode add 100
fengxianqi Sep 10, 2020
d246505
feat: leetcode add 101
fengxianqi Sep 11, 2020
33b2c50
build(deps): bump node-fetch from 2.6.0 to 2.6.1 in /src/nuxt-test
dependabot[bot] Sep 12, 2020
04cc0fe
feat: leetcode add 104
fengxianqi Sep 13, 2020
af7ed47
feat: add leetcode 107
fengxianqi Sep 15, 2020
8d64af7
feat: leetcode add 108
fengxianqi Sep 16, 2020
a4718a5
feat: leetcode add 110
fengxianqi Sep 18, 2020
e3db01f
feat: add 111
fengxianqi Oct 12, 2020
154ec05
feat: leetcode add 112
fengxianqi Oct 13, 2020
a517c19
feat: leetcode add 118
fengxianqi Oct 14, 2020
a1f6b67
feat: leetcode add 119
fengxianqi Oct 14, 2020
bca5e1e
feat: leetcode add 121
fengxianqi Oct 14, 2020
fcb8c63
feat: leetcode add 122
fengxianqi Oct 15, 2020
42d96be
Merge pull request #21 from fengxianqi/dependabot/npm_and_yarn/src/nu…
fengxianqi Oct 16, 2020
2f37615
build(deps): bump acorn from 6.2.1 to 6.4.2 in /src/nuxt-test
dependabot[bot] Oct 16, 2020
4863046
build(deps): bump lodash from 4.17.15 to 4.17.20 in /src/nuxt-test
dependabot[bot] Oct 16, 2020
0a9c6cb
Merge pull request #23 from fengxianqi/dependabot/npm_and_yarn/src/nu…
fengxianqi Oct 16, 2020
0e0f5f9
Merge pull request #22 from fengxianqi/dependabot/npm_and_yarn/src/nu…
fengxianqi Oct 16, 2020
6a2c7b4
Merge pull request #20 from fengxianqi/dependabot/npm_and_yarn/src/vu…
fengxianqi Oct 16, 2020
3804630
Merge pull request #19 from fengxianqi/dependabot/npm_and_yarn/src/nu…
fengxianqi Oct 16, 2020
17141bf
Merge pull request #18 from fengxianqi/dependabot/npm_and_yarn/src/vu…
fengxianqi Oct 16, 2020
d12cfbd
Merge pull request #16 from fengxianqi/dependabot/npm_and_yarn/src/nu…
fengxianqi Oct 16, 2020
b56f18f
Merge pull request #15 from fengxianqi/dependabot/npm_and_yarn/src/vu…
fengxianqi Oct 16, 2020
d73039d
Merge pull request #12 from fengxianqi/dependabot/npm_and_yarn/src/vu…
fengxianqi Oct 16, 2020
5e7b96a
Merge branch 'master' into develop
Oct 16, 2020
930ace2
feat: leetcode add 125
fengxianqi Oct 16, 2020
a71f2de
feat: leetcode add 136
fengxianqi Oct 18, 2020
65a5234
feat: leetcode add 141
fengxianqi Oct 18, 2020
9c94716
feat: leetcode add 155
fengxianqi Oct 18, 2020
bb06c5b
feat: leetcode add
fengxianqi Oct 19, 2020
b5f2087
feat: leetcode add 167
fengxianqi Oct 24, 2020
24d070f
feat: leetcode add 168
fengxianqi Oct 26, 2020
b974fde
feat: leetcode add 169
fengxianqi Oct 27, 2020
0557cd4
feat: leetcode add 171
fengxianqi Oct 28, 2020
073c3ad
feat: leetcode add 172
fengxianqi Oct 28, 2020
6b2b80d
feat: interview add call&bind
fengxianqi Oct 29, 2020
2be6c38
feat: leetcode add 189
fengxianqi Oct 29, 2020
0a0eb0f
feat: add bing
Oct 30, 2020
796785c
Merge branch 'develop' of fengxianqi.github.com:fengxianqi/front_end-…
fengxianqi Oct 31, 2020
86e6ca7
pref: bind
fengxianqi Nov 1, 2020
e9a3a42
feat: leetcode 189
fengxianqi Nov 1, 2020
62617ae
fix: leetcode 189
fengxianqi Nov 2, 2020
e9472ea
feat: leetcode add 190
fengxianqi Nov 3, 2020
f014903
feat: leetcode add 191
fengxianqi Nov 3, 2020
d83ba62
feat: leetcode add 198
fengxianqi Nov 6, 2020
ccc9143
feat: leetcode add 202
fengxianqi Nov 12, 2020
4e375b2
feat: interview add promise
Nov 13, 2020
ec601e6
Merge branch 'develop' of fengxianqi.github.com:fengxianqi/front_end-…
Nov 13, 2020
63d8d8c
fix: leetcode 202
fengxianqi Nov 13, 2020
bd6091d
feat: leetcode add 203
fengxianqi Nov 14, 2020
6d83925
feat: leetcode add 204
fengxianqi Nov 16, 2020
f212c16
feat: leetcode add 205
fengxianqi Nov 16, 2020
dfd465c
feat: leetcode add 206
fengxianqi Nov 16, 2020
d9fd853
feat: leetcode add 217 & 219
fengxianqi Nov 17, 2020
ce091aa
feat: add promise
Nov 18, 2020
1ea0142
feat: leetcode add 225 & 226
fengxianqi Nov 18, 2020
75b40bd
feat: leetcode add 231
fengxianqi Nov 19, 2020
8414b41
feat: leetcode add 094
fengxianqi Nov 22, 2020
beb6ff4
feat: leetcode add 228
Nov 25, 2020
77cfbb3
feat: leetcode add 232
Nov 30, 2020
b79a165
feat: leetcode add 234
fengxianqi Dec 8, 2020
eb8eb6e
feat: leetcode add 235
fengxianqi Dec 10, 2020
2cec7e3
feat: leetcode add 237
fengxianqi Dec 10, 2020
94b1f96
feat: leetcode add 242
fengxianqi Dec 13, 2020
26f0e28
feat: leetcode add 257
fengxianqi Dec 13, 2020
d0a78bb
feat: leetcode add 258
fengxianqi Dec 20, 2020
bd14b0d
feat: leetcode add 263
fengxianqi Dec 20, 2020
ad6f0c7
feat: leetcode add 268
fengxianqi Dec 26, 2020
49b5cd8
feat: leetcode add 589
fengxianqi Dec 29, 2020
02a8b68
feat: leetcode add 6
fengxianqi Dec 29, 2020
6ba24b0
feat: leetcode add 461
fengxianqi Jan 5, 2021
c63747f
feat: leetcode add 463
fengxianqi Jan 5, 2021
c11a483
feat: leetcode add 297
fengxianqi Jan 11, 2021
34b30bb
feat: leetcode add 179
fengxianqi Jan 18, 2021
2586448
feat: leetcode add 234
Feb 1, 2021
7bc1efd
fix: 二刷234
Feb 1, 2021
3154e3d
feat: leetcode add 324 but not finished
fengxianqi Feb 19, 2021
ba5836f
Merge branch 'develop' of fengxianqi.github.com:fengxianqi/front_end-…
fengxianqi Feb 19, 2021
e91fc32
feat: leetcode add 278
fengxianqi Feb 19, 2021
97b9fcd
feat: leetcode add 283
fengxianqi Feb 21, 2021
2d235ac
feat: curry
fengxianqi Feb 21, 2021
e9ff294
feat: leetcode add 148
fengxianqi Feb 24, 2021
8449220
feat: leetcode add 350
fengxianqi Feb 26, 2021
add4241
feat: interview add new
Mar 1, 2021
4ded46e
feat: leetcode add 328
fengxianqi Mar 1, 2021
506b7c7
feat: leetcode add 678
fengxianqi Mar 6, 2021
f4dd4bc
feat: leetcode add 215
fengxianqi Mar 6, 2021
0556598
feat: leetcode add 1663
fengxianqi Mar 7, 2021
7751b8c
feat: leetcode add 102
fengxianqi Mar 9, 2021
778beaf
feat: leetcode add 36
fengxianqi Mar 10, 2021
7d7bb3a
feat: interview add deepclone & trim
Mar 11, 2021
ae3cd0c
feat: 倒计时精确
Mar 12, 2021
000dd22
fix: 阶梯收费算法
Mar 12, 2021
ccb6a99
fix: deepclone
Mar 12, 2021
035fc81
feat: leetcode add 208
fengxianqi Mar 13, 2021
ac67101
feat: add debounce
Mar 15, 2021
0ee7008
feat: leetcode add 821
fengxianqi Mar 15, 2021
4dab8f6
feat: leetcode add 146
fengxianqi Mar 18, 2021
11ceb8a
feat: leetcode add 173
fengxianqi Mar 20, 2021
515d93e
feat: leetcode add 611
fengxianqi Mar 21, 2021
bf63edd
feat: interview add throttle
Mar 22, 2021
0afc438
feat: leetcode add 659
fengxianqi Mar 22, 2021
852ee76
feat: interview add quick sort
Mar 24, 2021
dfdd1fb
feat: leetcode add 015
fengxianqi Apr 10, 2021
f82c5e8
Merge branch 'develop' of fengxianqi.github.com:fengxianqi/front_end-…
fengxianqi Apr 10, 2021
5d6f064
fix: add remark
fengxianqi Apr 10, 2021
2af08e3
fix: leetcode add 103
fengxianqi Apr 11, 2021
f21d6f6
feat: leetcode add 236
fengxianqi Apr 11, 2021
cb03029
feat: leetcode add 415
fengxianqi Apr 13, 2021
1fe1768
feat: 二刷21
fengxianqi Apr 13, 2021
7d20616
feat: leetcode add 042
fengxianqi Apr 14, 2021
945d1af
feat: leetcode add 199
fengxianqi Apr 14, 2021
56625e6
feat: leetcode add 33
fengxianqi Apr 17, 2021
b4d6cf9
feat: leetcode add 46
fengxianqi Apr 17, 2021
fe87747
feat: leetcode add 200
fengxianqi Apr 19, 2021
05fe183
feat: leetcode add 105
fengxianqi Apr 19, 2021
63d7993
feat: leetcode add 300
fengxianqi Apr 24, 2021
0e2536c
feat: leetcode add 023
Apr 27, 2021
7adc106
feat: 二刷005
fengxianqi Apr 28, 2021
c857ab3
feat: leetcode add 143
fengxianqi Apr 29, 2021
202907a
feat: leetcode add 142
fengxianqi May 2, 2021
31ba242
fix: leetcode add 165 & 54
fengxianqi May 9, 2021
390e32a
feat: leetcode add 62
fengxianqi May 10, 2021
764b44f
feat: 增加并发控制
fengxianqi May 12, 2021
8f8e756
feat: leetcode add 93
fengxianqi May 16, 2021
73b18c8
feat: requestAnimationFrame渲染百万div
May 17, 2021
60e5bab
feat: interview add promise.all
May 25, 2021
1394bfb
feat: leetcode add 19
fengxianqi May 26, 2021
c410f9b
feat: interview promise.race
Jun 2, 2021
1d89ef8
feat: leetcode add 718
fengxianqi Jun 2, 2021
e4630ff
Merge branch 'develop' of fengxianqi.github.com:fengxianqi/front_end-…
fengxianqi Jun 2, 2021
5c8692a
feat: leetcode add 162
fengxianqi Jun 2, 2021
b0d16e3
feat: leetcode add 31
fengxianqi Jun 6, 2021
5c5e19b
feat: interview add 链式调用和延迟运算
Jun 6, 2021
96c29d0
feat: leetcode add 129
fengxianqi Jun 7, 2021
1ac75b4
feat: leetcode add 129
Jun 8, 2021
77e8770
fix: conflict
Jun 8, 2021
99d6a11
fix: 232
fengxianqi Jun 9, 2021
e64c091
feat: interview 增加图片懒加载demo
Jun 10, 2021
173d8e7
fix: throttle
Jun 10, 2021
c89f42d
feat: leetcode add 543
fengxianqi Jun 14, 2021
a24bdc3
feat: 114
fengxianqi Jun 27, 2021
fa540d1
feat: interview 发布订阅模式
Jun 30, 2021
d35d37e
fix: 1
Jun 30, 2021
8294b8c
feat: leetcode add 704
Aug 19, 2021
3a9b1fa
feat: leectcode add 470
Aug 19, 2021
025bbf5
build(deps): bump url-parse from 1.4.3 to 1.5.10 in /src/vue-protobuf
dependabot[bot] Feb 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
63 changes: 62 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,63 @@
# front_end-demos
前端练手项目
前端练手项目,用于记录个人工作学习日常积累的demo。

| Name | Source Code |
|:----:|:-----------:|
| [koa+mysql实现定时邮件发送小网站](http://remind.fengxianqi.com) | |
| [vue-todo-demo项目](http://demo.fengxianqi.com/vue-todo-demo/todo.html) | [code](https://github.com/fengxianqi/front_end-demos/tree/master/src/vue-todo-demo) |
| [react-todo-demo项目](http://demo.fengxianqi.com/react/todo.html) | [code](https://github.com/fengxianqi/front_end-demos/blob/master/src/react/todo.html) |
| [拖拽框实现文件上传](http://demo.fengxianqi.com/drag/index.html) | [code](https://github.com/fengxianqi/front_end-demos/blob/master/src/drag/index.html) |
| [canvas实现一个画板](http://demo.fengxianqi.com/canvas/board.html) | [code](https://github.com/fengxianqi/front_end-demos/blob/master/src/canvas/board.html) |
| [canvas画一个饼状图](http://demo.fengxianqi.com/canvas/piechart.html) | [code](https://github.com/fengxianqi/front_end-demos/blob/master/src/canvas/piechart.html) |
| [vue国庆装逼计划h5活动页面(移动端)](http://demo.fengxianqi.com/national-h5/index.html) | [code](https://github.com/fengxianqi/front_end-demos/tree/master/src/national-h5) |
| Angular英雄教程 | [code](https://github.com/fengxianqi/front_end-demos/tree/master/src/angular-hero) |
| [各种音频格式测试](http://demo.fengxianqi.com/audio/audio-test.html) | |
| [HTML5 Audio标签](http://demo.fengxianqi.com/audio/index.html) | [code](https://github.com/fengxianqi/front_end-demos/blob/master/src/audio/index.html) |
| [HTML5 Video标签](http://demo.fengxianqi.com/video/index.html) | [code](https://github.com/fengxianqi/front_end-demos/blob/master/src/video/index.html) |
| 数据结构-JS操作二叉树 | [code](https://github.com/fengxianqi/front_end-demos/blob/master/src/data-structure/binary-tree.html) |
| Leetcode解题思路 | [code](https://github.com/fengxianqi/front_end-demos/tree/master/src/leetcode) |
| Node使用protobuf | [code](https://github.com/fengxianqi/front_end-demos/tree/master/src/node-protobuf) |
| Vue使用protobuf | [code](https://github.com/fengxianqi/front_end-demos/tree/master/src/vue-protobuf) |
| px2rem | [code](https://github.com/fengxianqi/front_end-demos/tree/master/src/px2rem) |



> 以下几课来源于<a href="https://zhuanlan.zhihu.com/p/22766255" target="_blank">有哪些适合新手练手的前端项目?</a>。自己跟着一步一步写下来,源码放在<a href="https://github.com/fengxianqi/front_end-demos" target="_blank">GitHub上</a>,非常感谢原项目作者。
<a href="http://www.fgm.cc/learn/" target="_blank">原生JavaScript学习,By Ferris</a>
#### 第一课
- <a href="http://demo.fengxianqi.com/lesson1/controll-div/" target="_blank">1.控制div属性</a>
- <a href="http://demo.fengxianqi.com/lesson1/change-theme/" target="_blank">2.网页换肤</a>
- <a href="http://demo.fengxianqi.com/lesson1/function-alert/" target="_blank">3.函数接收参数并弹出</a>
- <a href="http://demo.fengxianqi.com/lesson1/loop-change-color/" target="_blank">4.用循环将三个Div变成红色</a>
- <a href="http://demo.fengxianqi.com/lesson1/mouseover-mouseout/" target="_blank">5.鼠标移入/移出改变样式</a>
- <a href="http://demo.fengxianqi.com/lesson1/warn-box/" target="_blank">6. 记住密码提示框</a>
#### 第二课
- <a href="http://demo.fengxianqi.com/lesson2/input-box/" target="_blank">1.百度输入法</a>
- <a href="http://demo.fengxianqi.com/lesson2/alert-innerhtml/" target="_blank">2.点击Div,显示其innerHTML</a>
- <a href="http://demo.fengxianqi.com/lesson2/array-sum/" target="_blank">3.求出数组中所有数字的和</a>
- <a href="http://demo.fengxianqi.com/lesson2/alert-box/" target="_blank">4.弹出层效果</a>
- <a href="http://demo.fengxianqi.com/lesson2/change-prop/" target="_blank">5.函数传参,改变Div任意属性的值</a>
- <a href="http://demo.fengxianqi.com/lesson2/change-opacity/" target="_blank">6.图片列表:鼠标移入/移出改变图片透明度</a>
- <a href="http://demo.fengxianqi.com/lesson2/select-card/" target="_blank">7.简易选项卡</a>
- <a href="http://demo.fengxianqi.com/lesson2/year-calendar/" target="_blank">8.简易JS年历</a>
- <a href="http://demo.fengxianqi.com/lesson2/show-hide/" target="_blank">9.单一按钮显示/隐藏一播放列表收缩展开</a>
- <a href="http://demo.fengxianqi.com/lesson2/show-sign/" target="_blank">10.提示框效果</a>
- <a href="http://demo.fengxianqi.com/lesson2/change-root/" target="_blank">11.鼠标移过,修改图片路径</a>
- <a href="http://demo.fengxianqi.com/lesson2/check-all/" target="_blank">12. 复选框(checkbox)全选/全不选/返选</a>
#### 第三课
- <a href="http://demo.fengxianqi.com/lesson3/typeof/" target="_blank">1.用typeof查看数据类型</a>
- <a href="http://demo.fengxianqi.com/lesson3/parseint/" target="_blank">2.用parseInt解析数字,并求和</a>
- <a href="http://demo.fengxianqi.com/lesson3/accumulation/" target="_blank">3.累加按钮,自加1</a>
- <a href="http://demo.fengxianqi.com/lesson3/compare/" target="_blank">4.输入两个数字,比较大小</a>
- <a href="http://demo.fengxianqi.com/lesson3/interval-plus/" target="_blank">5.页面加载后累加,自加1</a>
- <a href="http://demo.fengxianqi.com/lesson3/istwonum/" target="_blank">6.判断数字是否为两位数</a>
- <a href="http://demo.fengxianqi.com/lesson3/calculator/" target="_blank">7.网页计算器</a>
- <a href="http://demo.fengxianqi.com/lesson3/clock/" target="_blank">8.网页简易时钟</a>
- <a href="http://demo.fengxianqi.com/lesson3/countdown/" target="_blank">9.倒计时(100秒)</a>
#### 第四课
- <a href="http://demo.fengxianqi.com/lesson4/settimeout/" target="_blank">1.setTimeout应用</a>
- <a href="http://demo.fengxianqi.com/lesson4/lanternslide/" target="_blank">2.自动播放一幻灯片效果</a>
- <a href="http://demo.fengxianqi.com/lesson4/lanternslide/" target="_blank">3.自动改变方向一幻灯片效果</a>
- <a href="http://demo.fengxianqi.com/lesson4/arguments/" target="_blank">4.agruments应用一求出函数参数的总合</a>
- <a href="http://demo.fengxianqi.com/lesson4/cssfunction/" target="_blank">5.css函数一设置/读取对象的属性</a>
- <a href="http://demo.fengxianqi.com/lesson4/highlightinput/" target="_blank">6. 当前输入框高亮显示</a>
13 changes: 13 additions & 0 deletions src/angular-hero/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
40 changes: 40 additions & 0 deletions src/angular-hero/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc

# dependencies
/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db
package-lock.json
27 changes: 27 additions & 0 deletions src/angular-hero/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# AngularTest

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.1.4.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
127 changes: 127 additions & 0 deletions src/angular-hero/angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"angular-test": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/angular-test",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angular-test:build"
},
"configurations": {
"production": {
"browserTarget": "angular-test:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-test:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.css"
],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"angular-test-e2e": {
"root": "e2e/",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular-test:serve"
},
"configurations": {
"production": {
"devServerTarget": "angular-test:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "angular-test"
}
28 changes: 28 additions & 0 deletions src/angular-hero/e2e/protractor.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts

const { SpecReporter } = require('jasmine-spec-reporter');

exports.config = {
allScriptsTimeout: 11000,
specs: [
'./src/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
},
directConnect: true,
baseUrl: 'http://localhost:4200/',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
print: function() {}
},
onPrepare() {
require('ts-node').register({
project: require('path').join(__dirname, './tsconfig.e2e.json')
});
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
}
};
14 changes: 14 additions & 0 deletions src/angular-hero/e2e/src/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { AppPage } from './app.po';

describe('workspace-project App', () => {
let page: AppPage;

beforeEach(() => {
page = new AppPage();
});

it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to angular-test!');
});
});
11 changes: 11 additions & 0 deletions src/angular-hero/e2e/src/app.po.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { browser, by, element } from 'protractor';

export class AppPage {
navigateTo() {
return browser.get('/');
}

getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}
13 changes: 13 additions & 0 deletions src/angular-hero/e2e/tsconfig.e2e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"module": "commonjs",
"target": "es5",
"types": [
"jasmine",
"jasminewd2",
"node"
]
}
}
Loading