Created
February 15, 2016 10:30
-
-
Save bhavinkamani/7e4d72b2c8892783bd83 to your computer and use it in GitHub Desktop.
http2 jspm config files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<meta http-equiv="Content-Type" content="application/xhtml+xml"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link href='https://fonts.googleapis.com/css?family=PT+Sans|PT+Sans+Caption' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
html, body { | |
margin: 0 auto; | |
font-family: 'PT Sans', sans-serif; | |
font-size: 16px; | |
} | |
div { | |
box-sizing: border-box; | |
position: relative; | |
display: flex; | |
flex-shrink: 0; | |
margin: 0; | |
padding: 0; | |
} | |
</style> | |
<script src="jspm_packages/system.js"></script> | |
<script src="jspm.browser.js"></script> | |
<script src="jspm.config.js"></script> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script type="text/javascript"> | |
// if (location.origin.match(/10.211.55.9|localhost/)) { | |
// System.trace = true; | |
// console.log("starting hot loader"); | |
// System.import('jspm-hot-reloader').then(function (HotReloader) { | |
// new HotReloader.default(location.host); | |
// }) | |
// } | |
SystemJS.import('jspm_17/main.prd.js'); | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SystemJSz .config({ | |
baseURL: "/", | |
production: true, | |
paths: { | |
"github:*": "jspm_packages/github/*", | |
"npm:*": "jspm_packages/npm/*", | |
"vendor/": "src/vendor/", | |
"jspm_17/": "src/" | |
}, | |
bundles: { | |
// "jspm_17/main.prd.js": [ | |
// "jspm_17/component.js", | |
// "jspm_17/index.css!npm:jspm-loader-css-modules@1.0.1-beta1/index.js", | |
// "jspm_17/main.js", | |
// "npm:jspm-loader-css-modules@1.0.1-beta1.json", | |
// "npm:systemjs-plugin-babel@0.0.2.json", | |
// "npm:systemjs-plugin-babel@0.0.2/babel-helpers/classCallCheck.js", | |
// "npm:systemjs-plugin-babel@0.0.2/babel-helpers/createClass.js", | |
// "npm:systemjs-plugin-babel@0.0.2/babel-helpers/inherits.js", | |
// "npm:systemjs-plugin-babel@0.0.2/babel-helpers/possibleConstructorReturn.js" | |
// ], | |
"jspm_17/vendor/jspm-hot-reloader.js": [ | |
"github:capaj/systemjs-hot-reloader@0.5.6.json", | |
"github:capaj/systemjs-hot-reloader@0.5.6/hot-reloader.js", | |
"github:jspm/nodelibs-process@0.2.0-alpha.json", | |
"github:jspm/nodelibs-process@0.2.0-alpha/process.js", | |
"github:socketio/socket.io-client@1.4.5.json", | |
"github:socketio/socket.io-client@1.4.5/socket.io.js", | |
"npm:debug@2.2.0.json", | |
"npm:debug@2.2.0/browser.js", | |
"npm:debug@2.2.0/debug.js", | |
"npm:ms@0.7.1.json", | |
"npm:ms@0.7.1/index.js", | |
"npm:systemjs-plugin-babel@0.0.2.json", | |
"npm:systemjs-plugin-babel@0.0.2/babel-helpers/classCallCheck.js", | |
"npm:systemjs-plugin-babel@0.0.2/babel-helpers/createClass.js", | |
"npm:systemjs-plugin-babel@0.0.2/babel-helpers/inherits.js", | |
"npm:systemjs-plugin-babel@0.0.2/babel-helpers/possibleConstructorReturn.js", | |
"npm:weakee@1.0.0.json", | |
"npm:weakee@1.0.0/weakee.js" | |
], | |
"vendor/react.js": [ | |
"github:jspm/nodelibs-process@0.2.0-alpha.json", | |
"github:jspm/nodelibs-process@0.2.0-alpha/process.js", | |
"npm:fbjs@0.6.1.json", | |
"npm:fbjs@0.6.1/lib/EventListener.js", | |
"npm:fbjs@0.6.1/lib/ExecutionEnvironment.js", | |
"npm:fbjs@0.6.1/lib/camelize.js", | |
"npm:fbjs@0.6.1/lib/camelizeStyleName.js", | |
"npm:fbjs@0.6.1/lib/containsNode.js", | |
"npm:fbjs@0.6.1/lib/createArrayFromMixed.js", | |
"npm:fbjs@0.6.1/lib/createNodesFromMarkup.js", | |
"npm:fbjs@0.6.1/lib/emptyFunction.js", | |
"npm:fbjs@0.6.1/lib/emptyObject.js", | |
"npm:fbjs@0.6.1/lib/focusNode.js", | |
"npm:fbjs@0.6.1/lib/getActiveElement.js", | |
"npm:fbjs@0.6.1/lib/getMarkupWrap.js", | |
"npm:fbjs@0.6.1/lib/getUnboundedScrollPosition.js", | |
"npm:fbjs@0.6.1/lib/hyphenate.js", | |
"npm:fbjs@0.6.1/lib/hyphenateStyleName.js", | |
"npm:fbjs@0.6.1/lib/invariant.js", | |
"npm:fbjs@0.6.1/lib/isNode.js", | |
"npm:fbjs@0.6.1/lib/isTextNode.js", | |
"npm:fbjs@0.6.1/lib/keyMirror.js", | |
"npm:fbjs@0.6.1/lib/keyOf.js", | |
"npm:fbjs@0.6.1/lib/mapObject.js", | |
"npm:fbjs@0.6.1/lib/memoizeStringOnly.js", | |
"npm:fbjs@0.6.1/lib/shallowEqual.js", | |
"npm:fbjs@0.6.1/lib/toArray.js", | |
"npm:fbjs@0.6.1/lib/warning.js", | |
"npm:react-dom@0.14.7.json", | |
"npm:react-dom@0.14.7/index.js", | |
"npm:react@0.14.7.json", | |
"npm:react@0.14.7/lib/AutoFocusUtils.js", | |
"npm:react@0.14.7/lib/BeforeInputEventPlugin.js", | |
"npm:react@0.14.7/lib/CSSProperty.js", | |
"npm:react@0.14.7/lib/CSSPropertyOperations.js", | |
"npm:react@0.14.7/lib/CallbackQueue.js", | |
"npm:react@0.14.7/lib/ChangeEventPlugin.js", | |
"npm:react@0.14.7/lib/ClientReactRootIndex.js", | |
"npm:react@0.14.7/lib/DOMChildrenOperations.js", | |
"npm:react@0.14.7/lib/DOMProperty.js", | |
"npm:react@0.14.7/lib/DOMPropertyOperations.js", | |
"npm:react@0.14.7/lib/Danger.js", | |
"npm:react@0.14.7/lib/DefaultEventPluginOrder.js", | |
"npm:react@0.14.7/lib/EnterLeaveEventPlugin.js", | |
"npm:react@0.14.7/lib/EventConstants.js", | |
"npm:react@0.14.7/lib/EventPluginHub.js", | |
"npm:react@0.14.7/lib/EventPluginRegistry.js", | |
"npm:react@0.14.7/lib/EventPluginUtils.js", | |
"npm:react@0.14.7/lib/EventPropagators.js", | |
"npm:react@0.14.7/lib/FallbackCompositionState.js", | |
"npm:react@0.14.7/lib/HTMLDOMPropertyConfig.js", | |
"npm:react@0.14.7/lib/LinkedValueUtils.js", | |
"npm:react@0.14.7/lib/Object.assign.js", | |
"npm:react@0.14.7/lib/PooledClass.js", | |
"npm:react@0.14.7/lib/React.js", | |
"npm:react@0.14.7/lib/ReactBrowserComponentMixin.js", | |
"npm:react@0.14.7/lib/ReactBrowserEventEmitter.js", | |
"npm:react@0.14.7/lib/ReactChildReconciler.js", | |
"npm:react@0.14.7/lib/ReactChildren.js", | |
"npm:react@0.14.7/lib/ReactClass.js", | |
"npm:react@0.14.7/lib/ReactComponent.js", | |
"npm:react@0.14.7/lib/ReactComponentBrowserEnvironment.js", | |
"npm:react@0.14.7/lib/ReactComponentEnvironment.js", | |
"npm:react@0.14.7/lib/ReactCompositeComponent.js", | |
"npm:react@0.14.7/lib/ReactCurrentOwner.js", | |
"npm:react@0.14.7/lib/ReactDOM.js", | |
"npm:react@0.14.7/lib/ReactDOMButton.js", | |
"npm:react@0.14.7/lib/ReactDOMComponent.js", | |
"npm:react@0.14.7/lib/ReactDOMFactories.js", | |
"npm:react@0.14.7/lib/ReactDOMFeatureFlags.js", | |
"npm:react@0.14.7/lib/ReactDOMIDOperations.js", | |
"npm:react@0.14.7/lib/ReactDOMInput.js", | |
"npm:react@0.14.7/lib/ReactDOMOption.js", | |
"npm:react@0.14.7/lib/ReactDOMSelect.js", | |
"npm:react@0.14.7/lib/ReactDOMSelection.js", | |
"npm:react@0.14.7/lib/ReactDOMServer.js", | |
"npm:react@0.14.7/lib/ReactDOMTextComponent.js", | |
"npm:react@0.14.7/lib/ReactDOMTextarea.js", | |
"npm:react@0.14.7/lib/ReactDefaultBatchingStrategy.js", | |
"npm:react@0.14.7/lib/ReactDefaultInjection.js", | |
"npm:react@0.14.7/lib/ReactElement.js", | |
"npm:react@0.14.7/lib/ReactElementValidator.js", | |
"npm:react@0.14.7/lib/ReactEmptyComponent.js", | |
"npm:react@0.14.7/lib/ReactEmptyComponentRegistry.js", | |
"npm:react@0.14.7/lib/ReactErrorUtils.js", | |
"npm:react@0.14.7/lib/ReactEventEmitterMixin.js", | |
"npm:react@0.14.7/lib/ReactEventListener.js", | |
"npm:react@0.14.7/lib/ReactInjection.js", | |
"npm:react@0.14.7/lib/ReactInputSelection.js", | |
"npm:react@0.14.7/lib/ReactInstanceHandles.js", | |
"npm:react@0.14.7/lib/ReactInstanceMap.js", | |
"npm:react@0.14.7/lib/ReactIsomorphic.js", | |
"npm:react@0.14.7/lib/ReactMarkupChecksum.js", | |
"npm:react@0.14.7/lib/ReactMount.js", | |
"npm:react@0.14.7/lib/ReactMultiChild.js", | |
"npm:react@0.14.7/lib/ReactMultiChildUpdateTypes.js", | |
"npm:react@0.14.7/lib/ReactNativeComponent.js", | |
"npm:react@0.14.7/lib/ReactNoopUpdateQueue.js", | |
"npm:react@0.14.7/lib/ReactOwner.js", | |
"npm:react@0.14.7/lib/ReactPerf.js", | |
"npm:react@0.14.7/lib/ReactPropTypeLocationNames.js", | |
"npm:react@0.14.7/lib/ReactPropTypeLocations.js", | |
"npm:react@0.14.7/lib/ReactPropTypes.js", | |
"npm:react@0.14.7/lib/ReactReconcileTransaction.js", | |
"npm:react@0.14.7/lib/ReactReconciler.js", | |
"npm:react@0.14.7/lib/ReactRef.js", | |
"npm:react@0.14.7/lib/ReactRootIndex.js", | |
"npm:react@0.14.7/lib/ReactServerBatchingStrategy.js", | |
"npm:react@0.14.7/lib/ReactServerRendering.js", | |
"npm:react@0.14.7/lib/ReactServerRenderingTransaction.js", | |
"npm:react@0.14.7/lib/ReactUpdateQueue.js", | |
"npm:react@0.14.7/lib/ReactUpdates.js", | |
"npm:react@0.14.7/lib/ReactVersion.js", | |
"npm:react@0.14.7/lib/SVGDOMPropertyConfig.js", | |
"npm:react@0.14.7/lib/SelectEventPlugin.js", | |
"npm:react@0.14.7/lib/ServerReactRootIndex.js", | |
"npm:react@0.14.7/lib/SimpleEventPlugin.js", | |
"npm:react@0.14.7/lib/SyntheticClipboardEvent.js", | |
"npm:react@0.14.7/lib/SyntheticCompositionEvent.js", | |
"npm:react@0.14.7/lib/SyntheticDragEvent.js", | |
"npm:react@0.14.7/lib/SyntheticEvent.js", | |
"npm:react@0.14.7/lib/SyntheticFocusEvent.js", | |
"npm:react@0.14.7/lib/SyntheticInputEvent.js", | |
"npm:react@0.14.7/lib/SyntheticKeyboardEvent.js", | |
"npm:react@0.14.7/lib/SyntheticMouseEvent.js", | |
"npm:react@0.14.7/lib/SyntheticTouchEvent.js", | |
"npm:react@0.14.7/lib/SyntheticUIEvent.js", | |
"npm:react@0.14.7/lib/SyntheticWheelEvent.js", | |
"npm:react@0.14.7/lib/Transaction.js", | |
"npm:react@0.14.7/lib/ViewportMetrics.js", | |
"npm:react@0.14.7/lib/accumulateInto.js", | |
"npm:react@0.14.7/lib/adler32.js", | |
"npm:react@0.14.7/lib/canDefineProperty.js", | |
"npm:react@0.14.7/lib/dangerousStyleValue.js", | |
"npm:react@0.14.7/lib/deprecated.js", | |
"npm:react@0.14.7/lib/escapeTextContentForBrowser.js", | |
"npm:react@0.14.7/lib/findDOMNode.js", | |
"npm:react@0.14.7/lib/flattenChildren.js", | |
"npm:react@0.14.7/lib/forEachAccumulated.js", | |
"npm:react@0.14.7/lib/getEventCharCode.js", | |
"npm:react@0.14.7/lib/getEventKey.js", | |
"npm:react@0.14.7/lib/getEventModifierState.js", | |
"npm:react@0.14.7/lib/getEventTarget.js", | |
"npm:react@0.14.7/lib/getIteratorFn.js", | |
"npm:react@0.14.7/lib/getNodeForCharacterOffset.js", | |
"npm:react@0.14.7/lib/getTextContentAccessor.js", | |
"npm:react@0.14.7/lib/instantiateReactComponent.js", | |
"npm:react@0.14.7/lib/isEventSupported.js", | |
"npm:react@0.14.7/lib/isTextInputElement.js", | |
"npm:react@0.14.7/lib/onlyChild.js", | |
"npm:react@0.14.7/lib/quoteAttributeValueForBrowser.js", | |
"npm:react@0.14.7/lib/renderSubtreeIntoContainer.js", | |
"npm:react@0.14.7/lib/setInnerHTML.js", | |
"npm:react@0.14.7/lib/setTextContent.js", | |
"npm:react@0.14.7/lib/shouldUpdateReactComponent.js", | |
"npm:react@0.14.7/lib/traverseAllChildren.js", | |
"npm:react@0.14.7/lib/validateDOMNesting.js", | |
"npm:react@0.14.7/react.js" | |
] | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SystemJS.config({ | |
packageConfigPaths: [ | |
"npm:@*/*.json", | |
"npm:*.json", | |
"github:*/*.json" | |
], | |
globalEvaluationScope: false, | |
transpiler: "none", | |
map: { | |
"css": "npm:jspm-loader-css-modules@1.0.1-beta1", | |
"jspm-hot-reloader": "github:capaj/systemjs-hot-reloader@0.5.6", | |
"react": "npm:react@0.14.7", | |
"react-dom": "npm:react-dom@0.14.7", | |
}, | |
packages: { | |
"jspm_17": { | |
"meta": { | |
"*.js": { | |
"format": "register" | |
} | |
} | |
}, | |
"github:capaj/systemjs-hot-reloader@0.5.6": { | |
"map": { | |
"debug": "npm:debug@2.2.0", | |
"socket.io-client": "github:socketio/socket.io-client@1.4.5", | |
"weakee": "npm:weakee@1.0.0" | |
} | |
}, | |
"github:jspm/nodelibs-buffer@0.2.0-alpha": { | |
"map": { | |
"buffer-browserify": "npm:buffer@4.4.0" | |
} | |
}, | |
"github:jspm/nodelibs-stream@0.2.0-alpha": { | |
"map": { | |
"stream-browserify": "npm:stream-browserify@2.0.1" | |
} | |
}, | |
"npm:babel-code-frame@6.5.0": { | |
"map": { | |
"babel-runtime": "npm:babel-runtime@5.8.35", | |
"chalk": "npm:chalk@1.1.1", | |
"esutils": "npm:esutils@2.0.2", | |
"js-tokens": "npm:js-tokens@1.0.2", | |
"line-numbers": "npm:line-numbers@0.2.0", | |
"repeating": "npm:repeating@1.1.3" | |
} | |
}, | |
"npm:babel-helper-builder-react-jsx@6.5.0": { | |
"map": { | |
"babel-runtime": "npm:babel-runtime@5.8.35", | |
"babel-types": "npm:babel-types@6.5.1", | |
"esutils": "npm:esutils@2.0.2", | |
"lodash": "npm:lodash@3.10.1" | |
} | |
}, | |
"npm:babel-messages@6.5.0": { | |
"map": { | |
"babel-runtime": "npm:babel-runtime@5.8.35" | |
} | |
}, | |
"npm:babel-plugin-syntax-jsx@6.5.0": { | |
"map": { | |
"babel-runtime": "npm:babel-runtime@5.8.35" | |
} | |
}, | |
"npm:babel-plugin-transform-react-jsx@6.5.0": { | |
"map": { | |
"babel-helper-builder-react-jsx": "npm:babel-helper-builder-react-jsx@6.5.0", | |
"babel-plugin-syntax-jsx": "npm:babel-plugin-syntax-jsx@6.5.0", | |
"babel-runtime": "npm:babel-runtime@5.8.35" | |
} | |
}, | |
"npm:babel-traverse@6.5.0": { | |
"map": { | |
"babel-code-frame": "npm:babel-code-frame@6.5.0", | |
"babel-messages": "npm:babel-messages@6.5.0", | |
"babel-runtime": "npm:babel-runtime@5.8.35", | |
"babel-types": "npm:babel-types@6.5.1", | |
"babylon": "npm:babylon@6.5.0", | |
"debug": "npm:debug@2.2.0", | |
"globals": "npm:globals@8.18.0", | |
"invariant": "npm:invariant@2.2.0", | |
"lodash": "npm:lodash@3.10.1", | |
"repeating": "npm:repeating@1.1.3" | |
} | |
}, | |
"npm:babel-types@6.5.1": { | |
"map": { | |
"babel-runtime": "npm:babel-runtime@5.8.35", | |
"babel-traverse": "npm:babel-traverse@6.5.0", | |
"esutils": "npm:esutils@2.0.2", | |
"lodash": "npm:lodash@3.10.1", | |
"to-fast-properties": "npm:to-fast-properties@1.0.1" | |
} | |
}, | |
"npm:babylon@6.5.0": { | |
"map": { | |
"babel-runtime": "npm:babel-runtime@5.8.35" | |
} | |
}, | |
"npm:buffer@4.4.0": { | |
"map": { | |
"base64-js": "npm:base64-js@1.0.4", | |
"ieee754": "npm:ieee754@1.1.6", | |
"isarray": "npm:isarray@1.0.0" | |
} | |
}, | |
"npm:chalk@1.1.1": { | |
"map": { | |
"ansi-styles": "npm:ansi-styles@2.1.0", | |
"escape-string-regexp": "npm:escape-string-regexp@1.0.4", | |
"has-ansi": "npm:has-ansi@2.0.0", | |
"strip-ansi": "npm:strip-ansi@3.0.0", | |
"supports-color": "npm:supports-color@2.0.0" | |
} | |
}, | |
"npm:css-modules-loader-core@1.0.0": { | |
"map": { | |
"icss-replace-symbols": "npm:icss-replace-symbols@1.0.2", | |
"postcss": "npm:postcss@5.0.10", | |
"postcss-modules-extract-imports": "npm:postcss-modules-extract-imports@1.0.0", | |
"postcss-modules-local-by-default": "npm:postcss-modules-local-by-default@1.0.0", | |
"postcss-modules-scope": "npm:postcss-modules-scope@1.0.0", | |
"postcss-modules-values": "npm:postcss-modules-values@1.1.0" | |
} | |
}, | |
"npm:css-selector-tokenizer@0.5.4": { | |
"map": { | |
"cssesc": "npm:cssesc@0.1.0", | |
"fastparse": "npm:fastparse@1.1.1" | |
} | |
}, | |
"npm:debounce@1.0.0": { | |
"map": { | |
"date-now": "npm:date-now@1.0.1" | |
} | |
}, | |
"npm:debug@2.2.0": { | |
"map": { | |
"ms": "npm:ms@0.7.1" | |
} | |
}, | |
"npm:has-ansi@2.0.0": { | |
"map": { | |
"ansi-regex": "npm:ansi-regex@2.0.0" | |
} | |
}, | |
"npm:invariant@2.2.0": { | |
"map": { | |
"loose-envify": "npm:loose-envify@1.1.0" | |
} | |
}, | |
"npm:is-finite@1.0.1": { | |
"map": { | |
"number-is-nan": "npm:number-is-nan@1.0.0" | |
} | |
}, | |
"npm:jspm-loader-css-modules@1.0.1-beta1": { | |
"map": { | |
"jspm-loader-css": "npm:jspm-loader-css@1.0.1-beta1" | |
} | |
}, | |
"npm:jspm-loader-css@1.0.1-beta1": { | |
"map": { | |
"css-modules-loader-core": "npm:css-modules-loader-core@1.0.0", | |
"debounce": "npm:debounce@1.0.0", | |
"path": "npm:path@0.12.7", | |
"toposort": "npm:toposort@0.2.12" | |
} | |
}, | |
"npm:line-numbers@0.2.0": { | |
"map": { | |
"left-pad": "npm:left-pad@0.0.3" | |
} | |
}, | |
"npm:loose-envify@1.1.0": { | |
"map": { | |
"js-tokens": "npm:js-tokens@1.0.2" | |
} | |
}, | |
"npm:path@0.12.7": { | |
"map": { | |
"process": "npm:process@0.11.2", | |
"util": "npm:util@0.10.3" | |
} | |
}, | |
"npm:postcss-modules-extract-imports@1.0.0": { | |
"map": { | |
"postcss": "npm:postcss@5.0.10" | |
} | |
}, | |
"npm:postcss-modules-local-by-default@1.0.0": { | |
"map": { | |
"css-selector-tokenizer": "npm:css-selector-tokenizer@0.5.4", | |
"postcss": "npm:postcss@5.0.10" | |
} | |
}, | |
"npm:postcss-modules-scope@1.0.0": { | |
"map": { | |
"css-selector-tokenizer": "npm:css-selector-tokenizer@0.5.4", | |
"postcss": "npm:postcss@5.0.10" | |
} | |
}, | |
"npm:postcss-modules-values@1.1.0": { | |
"map": { | |
"icss-replace-symbols": "npm:icss-replace-symbols@1.0.2", | |
"postcss": "npm:postcss@5.0.10" | |
} | |
}, | |
"npm:postcss@5.0.10": { | |
"map": { | |
"js-base64": "npm:js-base64@2.1.9", | |
"source-map": "npm:source-map@0.5.3", | |
"supports-color": "npm:supports-color@3.1.2" | |
} | |
}, | |
"npm:react@0.14.7": { | |
"map": { | |
"fbjs": "npm:fbjs@0.6.1" | |
} | |
}, | |
"npm:readable-stream@2.0.5": { | |
"map": { | |
"core-util-is": "npm:core-util-is@1.0.2", | |
"inherits": "npm:inherits@2.0.1", | |
"isarray": "npm:isarray@0.0.1", | |
"process-nextick-args": "npm:process-nextick-args@1.0.6", | |
"string_decoder": "npm:string_decoder@0.10.31", | |
"util-deprecate": "npm:util-deprecate@1.0.2" | |
} | |
}, | |
"npm:repeating@1.1.3": { | |
"map": { | |
"is-finite": "npm:is-finite@1.0.1" | |
} | |
}, | |
"npm:stream-browserify@2.0.1": { | |
"map": { | |
"inherits": "npm:inherits@2.0.1", | |
"readable-stream": "npm:readable-stream@2.0.5" | |
} | |
}, | |
"npm:strip-ansi@3.0.0": { | |
"map": { | |
"ansi-regex": "npm:ansi-regex@2.0.0" | |
} | |
}, | |
"npm:supports-color@3.1.2": { | |
"map": { | |
"has-flag": "npm:has-flag@1.0.0" | |
} | |
}, | |
"npm:util@0.10.3": { | |
"map": { | |
"inherits": "npm:inherits@2.0.1" | |
} | |
} | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.register("npm:systemjs-plugin-babel@0.0.2/babel-helpers/classCallCheck.js", [], function($__export) { | |
"use strict"; | |
return { | |
setters: [], | |
execute: function() { | |
$__export('default', (function(instance, Constructor) { | |
if (!(instance instanceof Constructor)) { | |
throw new TypeError("Cannot call a class as a function"); | |
} | |
})); | |
} | |
}; | |
}); | |
System.register("npm:systemjs-plugin-babel@0.0.2/babel-helpers/createClass.js", [], function($__export) { | |
"use strict"; | |
return { | |
setters: [], | |
execute: function() { | |
$__export('default', (function() { | |
function defineProperties(target, props) { | |
for (var i = 0; i < props.length; i++) { | |
var descriptor = props[i]; | |
descriptor.enumerable = descriptor.enumerable || false; | |
descriptor.configurable = true; | |
if ("value" in descriptor) | |
descriptor.writable = true; | |
Object.defineProperty(target, descriptor.key, descriptor); | |
} | |
} | |
return function(Constructor, protoProps, staticProps) { | |
if (protoProps) | |
defineProperties(Constructor.prototype, protoProps); | |
if (staticProps) | |
defineProperties(Constructor, staticProps); | |
return Constructor; | |
}; | |
})()); | |
} | |
}; | |
}); | |
System.register("npm:systemjs-plugin-babel@0.0.2/babel-helpers/possibleConstructorReturn.js", [], function($__export) { | |
"use strict"; | |
return { | |
setters: [], | |
execute: function() { | |
$__export('default', (function(self, call) { | |
if (!self) { | |
throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
} | |
return call && (typeof call === "object" || typeof call === "function") ? call : self; | |
})); | |
} | |
}; | |
}); | |
System.registerDynamic("npm:systemjs-plugin-babel@0.0.2.json", [], false, function() { | |
return { | |
"main": "plugin-babel.js", | |
"map": { | |
"systemjs-babel-build": { | |
"browser": "./systemjs-babel-browser.js" | |
} | |
}, | |
"meta": { | |
"./plugin-babel.js": { | |
"format": "cjs" | |
} | |
} | |
}; | |
}); | |
System.register("npm:systemjs-plugin-babel@0.0.2/babel-helpers/inherits.js", [], function($__export) { | |
"use strict"; | |
return { | |
setters: [], | |
execute: function() { | |
$__export('default', (function(subClass, superClass) { | |
if (typeof superClass !== "function" && superClass !== null) { | |
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); | |
} | |
subClass.prototype = Object.create(superClass && superClass.prototype, {constructor: { | |
value: subClass, | |
enumerable: false, | |
writable: true, | |
configurable: true | |
}}); | |
if (superClass) | |
Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; | |
})); | |
} | |
}; | |
}); | |
System.registerDynamic("npm:jspm-loader-css-modules@1.0.1-beta1.json", [], false, function() { | |
return { | |
"format": "es6", | |
"main": "index.js", | |
"meta": { | |
"*": { | |
"globals": { | |
"process": "process" | |
} | |
}, | |
"*.json": { | |
"format": "json" | |
} | |
} | |
}; | |
}); | |
System.register("jspm_17/index.css!npm:jspm-loader-css-modules@1.0.1-beta1/index.js", [], function($__export) { | |
"use strict"; | |
return { | |
setters: [], | |
execute: function() { | |
$__export('default', {"about": "_src_index__about"}); | |
} | |
}; | |
}); | |
System.register("jspm_17/component.js", ["npm:systemjs-plugin-babel@0.0.2/babel-helpers/classCallCheck.js", "npm:systemjs-plugin-babel@0.0.2/babel-helpers/createClass.js", "npm:systemjs-plugin-babel@0.0.2/babel-helpers/possibleConstructorReturn.js", "npm:systemjs-plugin-babel@0.0.2/babel-helpers/inherits.js", "react", "./index.css!"], function($__export) { | |
"use strict"; | |
var _classCallCheck, | |
_createClass, | |
_possibleConstructorReturn, | |
_inherits, | |
React, | |
styles, | |
HelloWorld; | |
return { | |
setters: [function($__m) { | |
_classCallCheck = $__m.default; | |
}, function($__m) { | |
_createClass = $__m.default; | |
}, function($__m) { | |
_possibleConstructorReturn = $__m.default; | |
}, function($__m) { | |
_inherits = $__m.default; | |
}, function($__m) { | |
React = $__m.default; | |
}, function($__m) { | |
styles = $__m.default; | |
}], | |
execute: function() { | |
HelloWorld = (function(_React$Component) { | |
_inherits(HelloWorld, _React$Component); | |
function HelloWorld() { | |
_classCallCheck(this, HelloWorld); | |
return _possibleConstructorReturn(this, Object.getPrototypeOf(HelloWorld).apply(this, arguments)); | |
} | |
_createClass(HelloWorld, [{ | |
key: 'render', | |
value: function render() { | |
return React.createElement('h1', {className: styles.about}, 'Hello World'); | |
} | |
}]); | |
return HelloWorld; | |
})(React.Component); | |
$__export("HelloWorld", HelloWorld); | |
} | |
}; | |
}); | |
System.register("jspm_17/main.js", ["react", "react-dom", "jspm_17/component.js"], function($__export) { | |
"use strict"; | |
var React, | |
ReactDOM, | |
HelloWorld, | |
container, | |
component; | |
return { | |
setters: [function($__m) { | |
React = $__m.default; | |
}, function($__m) { | |
ReactDOM = $__m.default; | |
}, function($__m) { | |
HelloWorld = $__m.HelloWorld; | |
}], | |
execute: function() { | |
container = document.getElementById('root'); | |
component = ReactDOM.render(React.createElement(HelloWorld), container); | |
$__export('default', component); | |
} | |
}; | |
}); | |
// Fake file definitions | |
System.register('jspm_17/index.css!npm:jspm-loader-css-modules@1.0.1-beta1/index.js', [], function() { return { setters: [], execute: function() {}}}); | |
// Inject all the css | |
(function(c){if (typeof document == 'undefined') return; var d=document,a='appendChild',i='styleSheet',s=d.createElement('style');s.type='text/css';d.getElementsByTagName('head')[0][a](s);s[i]?s[i].cssText=c:s[a](d.createTextNode(c));}) | |
('._src_index__about {\n color: red;\n}\n'); | |
//# sourceMappingURL=main.prd.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment