Skip to content

Instantly share code, notes, and snippets.

@xyzdata
Last active June 30, 2017 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xyzdata/deb9413b3283c0a5f7f1e1b1be1cc2b1 to your computer and use it in GitHub Desktop.
Save xyzdata/deb9413b3283c0a5f7f1e1b1be1cc2b1 to your computer and use it in GitHub Desktop.
ES7 Object Spread Operator

ES7 Object Spread Operator

https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment

https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Functions/Rest_parameters

https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Spread_operator

ES7 Object Spread - 试验性 (尚未标准化)

vikingmute/webpack-react-codes#30

数组是可以用到的,但是对象一直报错!

@gaoxiaopang

https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment

    
// ES7 - 试验性 (尚未标准化)
// Uncaught SyntaxError: Unexpected token ...
({a, b, ...rest} = {a:1, b:2, c:3, d:4});

image

    
({a, b, ...rest} = {a:1, b:2, c:3, d:4});

{a, b, ...rest} = {a:1, b:2, c:3, d:4};

[a, b, c, d] = [1, 2, 3, 4];

[a, b, ...rest] = [1, 2, 3, 4];

[x, y, z, ...rest] = [a, b, c, d];

([x, y, z, ...rest] = [a, b, c, d]);
@xyzdata
Copy link
Author

xyzdata commented Jun 30, 2017

前端架构设计 ,Micah Godbolt ,164 ,2017.05

===================================
链接:http://pan.baidu.com/s/1pLg8YpH
密码:ms4q

http://www.ituring.com.cn/book/1946

Frontend-Architecture-Design-Systems-Sustainable

O'Reilly Media; 1 edition (February 12, 2016)

https://www.amazon.com/Frontend-Architecture-Design-Systems-Sustainable/dp/1491926783/

http://www.jianshu.com/p/92c7cfc55d0a

https://www.zhihu.com/question/26187669

https://item.jd.com/12052766.html

https://github.com/vikingmute/

本书中默认的开发环境是 Node.js 5.0.0,
书中介绍到的几个库的版本分别为React@15.0.1、webpack@1.12.14 及Redux@3.2.1,
其他如未特别说明的则为最新版本。

@xyzdata
Copy link
Author

xyzdata commented Jun 30, 2017

@xyzdata
Copy link
Author

xyzdata commented Jun 30, 2017

使用 Node 爬取英文听力及字幕

https://github.com/lewis617/practical-js/blob/master/rrting.js

@xyzdata
Copy link
Author

xyzdata commented Jun 30, 2017

@xyzdata
Copy link
Author

xyzdata commented Jun 30, 2017

@xgqfrms-GitHub
Copy link

xgqfrms-GitHub commented Jun 30, 2017

Virtual CD-ROM Control Panel

https://www.microsoft.com/en-us/download/details.aspx?id=38780

Version:
2.0.1.1
File Name:
winxpvirtualcdcontrolpanel_21.exe
Date Published:
4/23/2013
File Size:
60 KB

@xgqfrms-GitHub
Copy link

xgqfrms-GitHub commented Jun 30, 2017

上海外国语大学微软正版软件使用说明

为了学校满足教学、科研、管理的需要和落实国家促进知识产权保护政策,
我校采购了微软正版软件(Windows + Office),全校师生可免费使用。

下载(仅校园网内可访问)

http://wx.drupal.shisu.edu.cn/node/129

下载“SHISU-KMS.bat”文件

@xgqfrms-GitHub
Copy link

精灵虚拟光驱 === Daemon Tools Lite

@xgqfrms-GitHub
Copy link

React export & import

export {IndexComponents};

export default IndexComponents;

import {MenuManagement} from './MenuManagement';

import MenuManagement from './MenuManagement';

import React, {Component} from 'react';

import {UserQuery} from './UserQuery';
import {LoginStatistics} from './LoginStatistics';
import {BehaviorAnalysis} from './BehaviorAnalysis';

import {RoleManagement} from './RoleManagement';
import {BindingSettings} from './BindingSettings';
import {LimitSettings} from './LimitSettings';
import {UserRightsSettings} from './UserRightsSettings';
import {UserRestrictions} from './UserRestrictions';
import {RolePermissionSettings} from './RolePermissionSettings';

import {ProductManagement} from './ProductManagement';
import {ModuleManagement} from './ModuleManagement';
import {ClassLibraryManagement} from './ClassLibraryManagement';
import {FunctionalManagement} from './FunctionalManagement';
import {ResourceManagement} from './ResourceManagement';
import {MenuManagement} from './MenuManagement';

class IndexComponents extends Component {
    render() {
        return (
            <div>
                <h1>索引组件 IndexComponents</h1>
                <div>
                    <UserQuery />
                    <LoginStatistics />
                    <BehaviorAnalysis />
                </div>
                <hr/>
                <div>
                    <RoleManagement />
                    <BindingSettings />
                    <LimitSettings />
                    <UserRightsSettings />
                    <UserRestrictions />
                    <RolePermissionSettings />
                </div>
                <hr/>
                <div>
                    <ProductManagement />
                    <ModuleManagement />
                    <ClassLibraryManagement />
                    <FunctionalManagement />
                    <ResourceManagement />
                    <MenuManagement />
                </div>
            </div>
        );
    }
}

export {IndexComponents};
export default IndexComponents;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment