How to use the es6-shim.Object function in es6-shim

To help you get started, we’ve selected a few es6-shim examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ServiceStackApps / typescript-redux / src / TypeScriptRedux / src / deps.tsx View on Github external
/// 

//build bundle with: jspm bundle src/deps deps.lib.js

import * as React from 'react';
import { render } from 'react-dom';
import { createStore } from 'redux';
import { connect } from 'react-redux';
import * as ES6 from 'es6-shim';

import 'jquery';
import 'ss-utils';

var a = ES6.Object.assign({});
var store = createStore((state, action) => state, {});

class Deps extends React.Component {
    render() {
        return <div>Hello, World!</div>;  
    }
}

var DepsRedux = connect((state) =&gt; ({}), (dispatch) =&gt; ({}))(Deps);

const ignore = () =&gt; render(, document.body);
github ServiceStack / Admin / src / ServiceStack.Admin.WebHost / src / deps.tsx View on Github external
/// 

//build bundle with: jspm bundle src/deps deps.lib.js

import * as React from 'react';
import { render } from 'react-dom';
import { createStore } from 'redux';
import { connect } from 'react-redux';
import { Router, Route, Link } from 'react-router';
import * as ES6 from 'es6-shim';

import 'jquery';
import 'ss-utils';

var a = ES6.Object.assign({});
var store = createStore((state, action) =&gt; state, {});

class Deps extends React.Component {
    render() {
        return <div>Hello, World!</div>;
    }
}

var DepsRedux = connect((state) =&gt; ({}), (dispatch) =&gt; ({}))(Deps);

const ignore = () =&gt; render(, document.body);

var ignoreRoute = ();

es6-shim

ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines

MIT
Latest version published 2 years ago

Package Health Score

76 / 100
Full package analysis

Popular es6-shim functions