Skip to content

Commit a86853a

Browse files
committed
独立出码上掘金精选项目
0 parents  commit a86853a

16 files changed

+3256
-0
lines changed

.eslintrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
globals: {
3+
globalThis: true,
4+
JCode: true,
5+
},
6+
extends: 'eslint-config-sprite',
7+
rules: {
8+
complexity: ['warn', 25],
9+
'no-unused-vars': 'warn',
10+
'no-restricted-globals': 'off',
11+
'max-params': ['warn', 7],
12+
'import/no-anonymous-default-export': 'off',
13+
'no-console': 'warn',
14+
'import/no-named-as-default': 'off',
15+
'import/no-named-as-default-member': 'off',
16+
},
17+
};

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
npm-debug.log*
3+
.nyc_*/
4+
.dir-locals.el
5+
.DS_Store
6+
.test

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
www.jcode.pub

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 稀土掘金
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## JCode精选
2+
3+
http://www.jcode.pub/
4+
5+
在 Docs 文件夹下收录 JCode 精选代码。
6+
7+
添加自己的代码合辑到 JCode 精选,只需要编辑 `./collections/<your_collection_name>.docrc.js` 文件,然后提交 PR 即可。
8+
9+
通过 `http://www.jcode.pub/?<your_collection_name>` 进行访问。

collections/css-doodle.jcoderc.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
export default {
2+
name: 'css-doodle ',
3+
url: 'https://css-doodle.com/',
4+
collection: [
5+
{name: 'grid basic', id: '7091458369474527268', default: true},
6+
{name: 'grid bargraph', id: '7091481048390828063'},
7+
{name: 'colored bricks', id: '7091490625710719013'},
8+
{name: 'use rules', id: '7091492208854958116'},
9+
{name: 'grid pick', id: '7091496648991309837'},
10+
{name: 'pac man', id: '7091538736240197662'},
11+
{name: 'match', id: '7091550226690883592'},
12+
{name: 'multiple', id: '7091559035744288781'},
13+
{name: 'repeat', id: '7091561092790353928'},
14+
{
15+
type: 'folder',
16+
folded: false,
17+
name: 'shaders',
18+
collection: [
19+
{name: 'basic', id: '7091564038525550600'},
20+
{name: 'texture', id: '7091564805760221214'},
21+
{name: 'shapes', id: '7091565854734680077'},
22+
{name: 'gasket', id: '7091663970121023501'},
23+
{name: 'pattern', id: '7091654266359644168'},
24+
{name: 'random', id: '7091590236840394765'},
25+
{name: 'random maze', id: '7091659245552320542'},
26+
{name: 'creation', id: '7091653346285355039'},
27+
{name: 'juila', id: '7091664861834248228'},
28+
{name: 'mist', id: '7091665408968785933'},
29+
{name: 'mist sky', id: '7091658984632877092'},
30+
{name: 'walter drop', id: '7091666456483463205'},
31+
{name: 'cells', id: '7091667901014343687'},
32+
{name: 'flame', id: '7091669983536611365'},
33+
{name: 'loong', id: '7091829952231768077'},
34+
{name: 'fireworks', id: '7091830678479699976'},
35+
],
36+
},
37+
],
38+
};

0 commit comments

Comments
 (0)