Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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 - 试验性 (尚未标准化)

https://github.com/vikingmute/webpack-react-codes/issues/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

This comment has been minimized.

Copy link
Owner Author

@xyzdata 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

This comment has been minimized.

Copy link
Owner Author

@xyzdata xyzdata commented Jun 30, 2017

@xyzdata

This comment has been minimized.

Copy link
Owner Author

@xyzdata xyzdata commented Jun 30, 2017

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

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

@xyzdata

This comment has been minimized.

Copy link
Owner Author

@xyzdata xyzdata commented Jun 30, 2017

@xyzdata

This comment has been minimized.

@xyzdata

This comment has been minimized.

@xgqfrms-GitHub

This comment has been minimized.

Copy link

@xgqfrms-GitHub 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

This comment has been minimized.

Copy link

@xgqfrms-GitHub xgqfrms-GitHub commented Jun 30, 2017

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

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

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

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

下载“SHISU-KMS.bat”文件

@xgqfrms-GitHub

This comment has been minimized.

Copy link

@xgqfrms-GitHub xgqfrms-GitHub commented Jun 30, 2017

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

@xgqfrms-GitHub

This comment has been minimized.

Copy link

@xgqfrms-GitHub xgqfrms-GitHub commented Jun 30, 2017

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