path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/aui/5.4.3/aui/js/aui-dependencies.js
extend1994/cdnjs
(function(t,e){function i(t){var e=fe[t]={};return G.each(t.split(ee),function(t,i){e[i]=!0}),e}function n(t,i,n){if(n===e&&1===t.nodeType){var r="data-"+i.replace(me,"-$1").toLowerCase();if(n=t.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:ge.test(n)?G.parseJSON(n)...
app/components/build/CommentsList.js
fotinakis/buildkite-frontend
import React from 'react'; import Relay from 'react-relay/classic'; class CommentsList extends React.PureComponent { render() { return ( <span>Comments</span> ); } } export default Relay.createContainer(CommentsList, { fragments: { viewer: () => Relay.QL` fragment on Viewer { us...
src/components/AddTaskForm.js
mejarc/i-got-time
import React, { Component } from 'react'; // renders a text input, a number input, and a button. // receives an onSubmit function from parent component // sends a call to that function with the form inputs' values // on form submit const AddTaskForm = ({ onSubmit }) => { let input, select; return ( <div> ...
packages/react-error-overlay/src/containers/StackFrame.js
GreenGremlin/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* @flow */ import React, { Component } from 'react'; import CodeBlock from './StackFrameCodeBlock'; import { getPrettyURL } from '../ut...
pootle/static/js/auth/containers/Auth.js
translate/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import { connect } from 'react-...
installer/frontend/trail.js
mxinden/tectonic-installer
import _ from 'lodash'; import React from 'react'; import { Map as ImmutableMap, Set as ImmutableSet } from 'immutable'; import { commitPhases } from './actions'; import { PLATFORM_TYPE, DRY_RUN } from './cluster-config'; import { CertificateAuthority } from './components/certificate-authority'; import { ClusterType ...
src/svg-icons/communication/stay-current-landscape.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationStayCurrentLandscape = (props) => ( <SvgIcon {...props}> <path d="M1.01 7L1 17c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2H3c-1.1 0-1.99.9-1.99 2zM19 7v10H5V7h14z"/> </SvgIcon> ); Communicat...
frontend/test/app/components/ExperimentCardList-test.js
mathjazz/testpilot
import React from 'react'; import { assert, expect } from 'chai'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import ExperimentCardList from '../../../src/app/components/ExperimentCardList'; describe('app/components/ExperimentCardList', () => { let props, subject; beforeEach(() => { props = ...
techCurriculum/ui/solutions/2.5/src/App.js
jennybkim/engineeringessentials
/** * Copyright 2017 Goldman Sachs. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
packages/material-ui-icons/src/SettingsOverscanRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M11.62 5.99L10 8h4l-1.6-2.01c-.2-.25-.58-.25-.78 0zM18 10v4l2.01-1.6c.25-.2.25-.58 0-.78L18 10zM6 10l-2.01 1.62c-.25.2-.25.58 0 .78L6 14v-4zm8 6h-4l1.62 2.01c.2.25.58.25.78 0L14 16zm7-13H3c-1.1 0-2 .9...
app/containers/users/detail.js
DeividasK/my-future-ai
import React from 'react' import { Link } from 'react-router' import { connect } from 'react-redux' import { firebaseConnect, helpers } from 'react-redux-firebase' import { Container, Row, Col, InputGroup, Input, InputGroupButton, Button } from 'reactstrap' import { injectIntl } from 'react-intl' import PrimaryGoalsLi...
ajax/libs/highstock/4.2.7/highstock.src.js
sufuf3/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highstock JS v4.2.7 (2016-09-21) * * (c) 2009-2016 Torstein Honsi * * License: www.highcharts.com/license */ (function (root, factory) { if (typeof module === 'object' && module.exports) { module.exports = root.document...
packages/material-ui-icons/src/TripOriginOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12zm10 6c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6z" /></React.Fragment...
app/components/Faction/index.js
kamil-mrzyglod/AosArmyBuilder
/** * * Faction * */ import React from 'react'; import { FormattedMessage } from 'react-intl'; import messages from './messages'; class Faction extends React.Component { // eslint-disable-line react/prefer-stateless-function constructor(props) { super(props); this.state = { faction: "" } t...
src/app/routes/dashboard/containers/SocialWall.js
backpackcoder/world-in-flames
import React from 'react' import HtmlRender from '../../../components/utils/HtmlRender' const html = require('html-loader?-attrs!./SocialWall.html') export default ()=>(<HtmlRender html={html} />)
src/svg-icons/places/child-care.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesChildCare = (props) => ( <SvgIcon {...props}> <circle cx="14.5" cy="10.5" r="1.25"/><circle cx="9.5" cy="10.5" r="1.25"/><path d="M22.94 12.66c.04-.21.06-.43.06-.66s-.02-.45-.06-.66c-.25-1.51-1.36-2.74-2....
src/svg-icons/maps/local-car-wash.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalCarWash = (props) => ( <SvgIcon {...props}> <path d="M17 5c.83 0 1.5-.67 1.5-1.5 0-1-1.5-2.7-1.5-2.7s-1.5 1.7-1.5 2.7c0 .83.67 1.5 1.5 1.5zm-5 0c.83 0 1.5-.67 1.5-1.5 0-1-1.5-2.7-1.5-2.7s-1.5 1.7-1.5 2...
src/11-Repository Unit of Work/2-Unit of Work/Before/PocoDemo.Web/Scripts/knockout-3.2.0.debug.js
tonysneed/AdvDotNet.Samples
/*! * Knockout JavaScript library v3.2.0 * (c) Steven Sanderson - http://knockoutjs.com/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ (function(){ var DEBUG=true; (function(undefined){ // (0, eval)('this') is a robust way of getting a reference to the global object // For details,...
src/svg-icons/communication/call-merge.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationCallMerge = (props) => ( <SvgIcon {...props}> <path d="M17 20.41L18.41 19 15 15.59 13.59 17 17 20.41zM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8z"/> </SvgIcon> ); CommunicationCallMerge...
lib/Table.js
Imballinst/react-bs-datatable
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
ajax/libs/clappr/0.0.6/clappr.light.js
hpneo/cdnjs
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]...
services/ui/src/components/Breadcrumbs/Problem.js
amazeeio/lagoon
import React from 'react'; import { getLinkData } from 'components/link/Problem'; import Breadcrumb from 'components/Breadcrumbs/Breadcrumb'; const EnvironmentBreadcrumb = ({ header, problemSlug, environmentSlug, projectSlug }) => { const linkData = { urlObject: { pathname: '/problems', ...
app/javascript/mastodon/features/keyboard_shortcuts/index.js
5thfloor/ichiji-social
import React from 'react'; import Column from '../ui/components/column'; import ColumnBackButtonSlim from '../../components/column_back_button_slim'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-co...
core/static/admin/blueprints/form/files/__root__/forms/__name__Form/__name__Form.js
tjcunliffe/hoverfly
import React from 'react' import { reduxForm } from 'redux-form' export const fields = [] const validate = (values) => { const errors = {} return errors } type Props = { handleSubmit: Function, fields: Object, } export class <%= pascalEntityName %> extends React.Component { props: Props; defaultProps = ...
ajax/libs/yui/3.3.0pr4/event/event-min.js
jonobr1/cdnjs
var GLOBAL_ENV=YUI.Env;if(!GLOBAL_ENV._ready){GLOBAL_ENV._ready=function(){GLOBAL_ENV.DOMReady=true;GLOBAL_ENV.remove(YUI.config.doc,"DOMContentLoaded",GLOBAL_ENV._ready);};GLOBAL_ENV.add(YUI.config.doc,"DOMContentLoaded",GLOBAL_ENV._ready);}YUI.add("event-base",function(e){e.publish("domready",{fireOnce:true,async:tru...
ajax/libs/yui/3.7.1/datatable-core/datatable-core.js
AlicanC/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
packages/material-ui-icons/src/LocalFloristRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12 22c4.56 0 8.33-3.4 8.92-7.8.09-.64-.48-1.21-1.12-1.12-4.4.59-7.8 4.36-7.8 8.92zM5.6 10.25c0 1.38 1.12 2.5 2.5 2.5.53 0 1.01-.16 1.42-.44l-.0...
public/js/components/Spinner/index.js
nowordforfree/react-cv
import React from 'react'; import './Spinner.less'; export default () => ( <div className="spin-backdrop"> <img className="spinner" alt="" src="/img/logo.svg" /> </div> );
docs/app/Examples/views/Statistic/Variations/index.js
Rohanhacker/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const Variations = () => ( <ExampleSection title='Variations'> <ComponentExample title='Horizontal Statistic' descri...
webansible-school/webansible-react/static/build/react-dom-server.min.js
mikolajs/javascript-teaching
/** * ReactDOMServer v15.3.1 * * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same d...
sites/default/files/js/simplemenu-d9256fda96c0b8eaa8e20bcfad057096.js
condesan/camino
var simplemenu="\x3cdiv class=\"simplemenu-block\"\x3e\x3cul class=\"menu clear-block\" id=\"simplemenu\"\x3e\x3cli class=\"expanded first\" id=\"simplemenu-li-0\"\x3e\x3ca name=\"menu-id-1\"\x3eDevel module\x3c/a\x3e\x3cul class=\"menu\"0\x3e\x3cli class=\"leaf first\" id=\"simplemenu-li-146\"\x3e\x3ca href=\"/camino/...
test/integration/image-component/default/pages/invalid-src.js
JeromeFitz/next.js
import React from 'react' import Image from 'next/image' const Page = () => { return ( <div> <p>Invalid Source</p> <Image src="https://google.com/test.png" width="10" height="10" /> </div> ) } export default Page
app/components/TopBar.js
cdiezmoran/AlphaStage-2.0
import React from 'react'; import { object } from 'prop-types'; import styles from './TopBar.scss'; const TopBar = ({ history }) => { const handlePrevious = () => { history.goBack(); }; return ( <div className={styles.TopBar}> <button className={styles.PrevButton} onClick={handlePrevious}> ...
tests/layouts/CoreLayout.spec.js
realalexhomer/redux-react-todo
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function renderWithProps (props = {}) { return ...
server/dashboard/js/components/BenchLog.react.js
MrAlone/mzbench
import React from 'react'; import ReactDOM from 'react-dom'; import LogsStore from '../stores/LogsStore'; import MZBenchActions from '../actions/MZBenchActions'; import MZBenchRouter from '../utils/MZBenchRouter'; import BenchLogEntry from './BenchLogEntry.react'; import LoadingSpinner from './LoadingSpinner.react'; c...
src/renderer/index.js
BeatPlus/Protonmail
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { hot } from 'react-hot-loader'; import store from './store'; import App from './containers/App'; import './styles/base.scss'; let AppComponent; if (module.hot) { AppComponent = hot(module)(App); } else { ...
source/client/js/views/filter.js
singggum3b/meteor-gulp-seed
//==================FLUX========================= var Reactor = require("client/js/reactor.js"); var Store = require("client/js/store"); //=========================================== var Button = require("client/js/components/button"); var Field = require("client/js/components/field"); var Filter = React.createClass({...
src/Link.js
lzcmaro/react-ratchet
import React from 'react'; // import ReactDOM from 'react-dom'; import classNames from 'classnames'; import ratchetUtils from './utils/ratchetUtils'; // import Ajax from './utils/ajax'; // import getContainer from './utils/getContainer'; // import ownerDocument from './utils/ownerDocument'; // import {transform} from ...
extensions/amp-timeago/1.0/amp-timeago.js
alanorozco/amphtml
import {isExperimentOn} from '#experiments'; import {AmpPreactBaseElement, setSuperClass} from '#preact/amp-base-element'; import {userAssert} from '#utils/log'; import {BaseElement} from './base-element'; /** @const {string} */ const TAG = 'amp-timeago'; class AmpTimeago extends setSuperClass(BaseElement, AmpPrea...
wp-content/plugins/post-thumbnail-editor/apps/jcrop/js/jquery.min.js
roycocup/enclothed
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc...
ajax/libs/react-cookie/0.1.7/react-cookie.min.js
dominicrico/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
__tests__/index.ios.js
RichHomies/Poof
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
studio/plugins/dashboard-widget-structure-menu/src/components/StructureMenuWidget.js
ajmalafif/ajmalafif.com
import {Link} from 'part:@sanity/base/router' import FolderIcon from 'part:@sanity/base/folder-icon' import FileIcon from 'part:@sanity/base/file-icon' import React from 'react' import styles from './StructureMenuWidget.css' function getIconComponent (item) { if (item.icon) return item.icon if (!item.schemaType) r...
tests/routes/Home/components/HomeView.spec.js
leviluo/oneToone
import React from 'react' import { HomeView } from 'routes/Home/components/HomeView' import { render } from 'enzyme' describe('(View) Home', () => { let _component beforeEach(() => { _component = render(<HomeView />) }) it('Renders a welcome message', () => { const welcome = _component.find('h4') ...
src/containers/Articles/List.js
mcnamee/react-native-starter-app
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import Layout from '../../components/Articles/List'; class ArticlesListContainer extends Component { constructor(props) { super(); // Prioritize (web) page route over last meta value cons...
app/javascript/mastodon/components/avatar_overlay.js
masarakki/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { autoPlayGif } from '../initial_state'; export default class AvatarOverlay extends React.PureComponent { static propTypes = { account: ImmutablePropTypes.map.isRequired, friend:...
examples/huge-apps/routes/Course/routes/Announcements/components/Sidebar.js
moudy/react-router
import React from 'react'; import { Link } from 'react-router'; export default class AnnouncementsSidebar extends React.Component { render () { var announcements = COURSES[this.props.params.courseId].announcements; return ( <div> <h3>Sidebar Assignments</h3> <ul> {announcemen...
fixtures/ssr/server/render.js
jdlehman/react
import React from 'react'; import {renderToString} from 'react-dom/server'; import App from '../src/components/App'; let assets; if (process.env.NODE_ENV === 'development') { // Use the bundle from create-react-app's server in development mode. assets = { 'main.js': '/static/js/bundle.js', 'main.css': '',...
ajax/libs/angular-data/0.10.5/angular-data.js
sullivanmatt/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file angular-data.js * @version 0.10.5 - Homepage <http://angular-data.pseudobry.com/> * @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/> * @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE> * * @overview Data store for Angular.js...
node_modules/socket.io/node_modules/engine.io-client/engine.io.js
PatrickFis/E-Portfolio
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["eio"] = factory(); else root["eio"] = f...
src/routes.js
Malinin88/SaratovJS
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React from 'react'; import Router from 'react-routing/src/Router'; import http from './core/HttpClient'; import App from './components/App'; import ContentPage from './components/ContentPage'; import ContactPage from './components/ContactP...
src/SocketProvider.js
danielfarrell/redux-channels
import React from 'react'; import { Provider } from 'react-redux'; const { Component, PropTypes } = React; const storeShape = PropTypes.shape({ subscribe: PropTypes.func.isRequired, dispatch: PropTypes.func.isRequired, getState: PropTypes.func.isRequired }); export default class SocketProvider extends Component...
ajax/libs/zxcvbn/3.2.0/zxcvbn.js
cdnjs/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.zxcvbn = f()}}...
site/src/pages/native/QuickStart.js
appbaseio/reactivesearch
import React from 'react'; import config from '../../constants/config/learn/native'; import Learn from '../../components/Learn'; import theme from '../../constants/theme/native'; export default () => <Learn config={config} theme={theme} />;
vendor/jquery/jquery.min.js
carolinamlinhares/convite-digital
/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fu...
node_modules/bower/node_modules/inquirer/node_modules/rx/dist/rx.all.js
leonarther16th/eslhunter
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
components/Provider/index.js
shinosakarb/tebukuro-client
// @flow import React from 'react' import type { ComponentType } from 'react' import { Provider } from 'react-redux' import configure from '../../store' const store = configure() type Props = {} const withProvider = (Component: ComponentType<Props>) => { const Wrapper = (props: Props) => ( <Provider store={sto...
fields/types/text/TextFilter.js
stunjiturner/keystone
import React from 'react'; import { FormField, FormInput, FormSelect, SegmentedControl } from 'elemental'; const TOGGLE_OPTIONS = [ { label: 'Matches', value: false }, { label: 'Does NOT Match', value: true }, ]; const MODE_OPTIONS = [ { label: 'Contains', value: 'contains' }, { label: 'Exactly', value: 'exactly...
frontend/src/Settings/Profiles/Metadata/PrimaryTypeItem.js
lidarr/Lidarr
import classNames from 'classnames'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import CheckInput from 'Components/Form/CheckInput'; import styles from './TypeItem.css'; class PrimaryTypeItem extends Component { // // Listeners onAllowedChange = ({ value }) => { const { ...
Gryffindor/app/components/Results.js
Acheron-VAF/Acheron
import React, { Component } from 'react'; export default class Results extends Component { constructor(props) { super(props); this.state = {}; } componentDidMount() { $.ajax({ url: this.props.dataURL, dataType: 'json', cache: false, success: function(data) ...
src/domain/metric/container/Root.js
hellowin/kanca
// @flow import React from 'react'; import { connect } from 'react-redux'; import loc from 'infra/service/location'; import Loading from 'infra/component/Loading'; import MetricRoute from './Route'; export const Route = MetricRoute; const mapStateToProps = state => ({ loggedIn: state.user.loggedIn, posts: state.g...
index.ios.js
mastermel/wwg_battle_tool
import React, { Component } from 'react'; import { AppRegistry } from 'react-native'; import App from './app/App'; export default class wwg_battle_tool extends Component { render() { return ( <App /> ); } } AppRegistry.registerComponent('wwg_battle_tool', () => wwg_battle_tool);
ajax/libs/backbone-react-component/0.6.4/backbone-react-component-min.js
askehansen/cdnjs
"use strict";!function(a,b){if("function"==typeof define&&define.amd)define(["react","backbone","underscore"],b);else if("undefined"!=typeof module&&module.exports){var c=require("react"),d=require("backbone"),e=require("underscore");module.exports=b(c,d,e)}else b(a.React,a.Backbone,a._)}(this,function(a,b,c){function ...
sites/default/files/js/js__bON3AZxVh3GO6COMon74i1HzoraB-OT1f054H8v5oI.js
mouna16/Drupal8
/*! jQuery v2.2.3 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fun...
storybook/config.js
librize/mastodon
import { configure, setAddon } from '@kadira/storybook'; import IntlAddon from 'react-storybook-addon-intl'; import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; import { addLocaleData } from 'react-intl'; import en from 'react-intl/locale-data/en'; import '../app/assets/stylesheets/compone...
src/components/BookCardPage/BookCardPage.js
chengjianhua/book-share
/** * Created by cjh95414 on 2016/5/5. */ import React, { Component } from 'react'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import RaisedButton from 'material-ui/RaisedButton'; import { Link } from 'react-router'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redu...
src/routes.js
8881/react-starter
import React from 'react'; import { Route, Switch } from 'react-router-dom'; import DefaultPage from './containers/default/index'; import Test from './containers/test/index'; import Foo from './containers/foo/index'; const Routes = () => ( <Switch> <Route exact path="/" component={DefaultPage}></Route> <Rou...
L/my-app/src/stories/index.js
imuntil/React
import React from 'react' import { storiesOf } from '@storybook/react' import { action } from '@storybook/addon-actions' import { linkTo } from '@storybook/addon-links' import { Welcome } from '@storybook/react/demo' import Button from '../components/Button' import SearchBar from '../components/SearchBar' storiesOf(...
ajax/libs/ember-data.js/1.0.0-beta.1/ember-data.js
aaqibrasheed/cdnjs
// Version: v1.0.0-beta.1 // Last commit: cafab9d (2013-09-01 00:42:39 -0700) (function() { var define, requireModule; (function() { var registry = {}, seen = {}; define = function(name, deps, callback) { registry[name] = { deps: deps, callback: callback }; }; requireModule = function(name) { if (s...
ajax/libs/jquery/1.11.0-beta3/jquery.min.js
honestree/cdnjs
/*! jQuery v1.11.0-beta3 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}(this,function(a){var ...
src/app.js
suaing49/kitematic
require.main.paths.splice(0, 0, process.env.NODE_PATH); import remote from 'remote'; var Menu = remote.require('menu'); import React from 'react'; import SetupStore from './stores/SetupStore'; import ipc from 'ipc'; import machine from './utils/DockerMachineUtil'; import metrics from './utils/MetricsUtil'; import templ...
app/containers/LandingContainer.js
oeb25/colio
import React from 'react'; import { connect } from 'redux/react'; import Landing from '../components/Landing'; import * as RoomActions from '../actions/RoomActions'; import { bindActionCreators } from 'redux'; @connect(state => ({ room: state.room })) export default class LandingContainer extends React.Component { ...
client/src/pages/Position/index.js
paulvoloschuk/ncms-back
import React, { Component } from 'react' import Header from 'containers/Header' import Wrapper from 'components/Wrapper' import Button from 'components/Button' import HotOpenings from 'containers/HotOpenings' import { Helmet } from 'react-helmet' import { identity } from 'index/constants' import { connect } from 'react...
fixtures/packaging/webpack-alias/dev/config.js
chicoxyzzy/react
var path = require('path'); module.exports = { entry: './input', output: { filename: 'output.js', }, resolve: { root: path.resolve('../../../../build/node_modules'), alias: { react: 'react/umd/react.development', 'react-dom': 'react-dom/umd/react-dom.development', }, }, };
wp-content/plugins/head-cleaner/includes/js/jquery-1.4.2.min.js
quetz-design/wordpress-sample1
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/configs/routes.js
alexandreneves/react-redux-boilerplate
import React from 'react'; import {Route, IndexRoute} from 'react-router'; // COMPONENTS import App from '../containers/App'; import List from '../containers/List'; import ItemDetail from '../containers/ItemDetail'; export default ( <Route path="/" component={App}> <IndexRoute component={List} />, ...
files/react/0.12.0-rc1/JSXTransformer.js
2947721120/cuddly-fibula
/** * JSXTransformer v0.12.0-rc1 */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=...
src/svg-icons/action/thumbs-up-down.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionThumbsUpDown = (props) => ( <SvgIcon {...props}> <path d="M12 6c0-.55-.45-1-1-1H5.82l.66-3.18.02-.23c0-.31-.13-.59-.33-.8L5.38 0 .44 4.94C.17 5.21 0 5.59 0 6v6.5c0 .83.67 1.5 1.5 1.5h6.75c.62 0 1.15-.38 1...
src/components/Feedback/Feedback.js
louisukiri/react-starter-kit
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import withStyles from 'isom...
packages/mineral-ui-icons/src/IconStarHalf.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconStarHalf(props: IconProps) { const iconProps = { rtl: true, ...props }; return ( <Icon {...iconProps}...
src/pages/TodoPage.js
pekkis/react-broilerplate-project
// @flow import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { List } from 'immutable'; type Props = { todos: List<TodoType>, params: { uuid: string, }, }; const TodoPage = (props: Props) => { const { todos, params } = props; const currentTodo = todos.find(todo...
samples/06.recomposing-ui/c.smart-display/src/SpeechInterims.js
billba/botchat
import './SpeechInterims.css'; import { hooks } from 'botframework-webchat'; import React from 'react'; const { useDictateInterims, useSendBoxSpeechInterimsVisible } = hooks; const CustomDictationInterims = () => { const [dictateInterims] = useDictateInterims(); const [speechInterimsVisible] = useSendBoxSpeechIn...
src/svg-icons/content/mail.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentMail = (props) => ( <SvgIcon {...props}> <path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/> </SvgIcon> ); ContentMail = pure(Conte...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Apis/Details/LifeCycle/TransitionStateButton.js
lakmali/carbon-apimgt
import React from 'react' import {Radio} from 'antd' const Button = Radio.Button; const TransitionStateButton = (props) => { return ( <Button value={props.state.targetState}>{props.state.event}</Button> ); }; export default TransitionStateButton
example/components/App.js
idolize/redux-react-router-transitions
import React from 'react'; import { RouteHandler, Link } from 'react-router'; export default class App { handleLoginClick = (e) => { this.props.login(); } handleLogoutClick = (e) => { this.props.logout(); } handleRootClick = (e) => { this.props.transitionToRoot(); } render() { return ...
src/components/framework/checkbox.js
colinmegill/polis-admin-console
/* * Copyright 2012-present, Polis Technology Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights for non-commercial use can be found in the PATENTS file * in the sam...
packages/material-ui-icons/src/LinkedCameraTwoTone.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M20 20H4V8h4.05l1.83-2H15V4H9L7.17 6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9h-2v11zM16 2v1.33c2.58 0 4.66 2.09 4.67 4.66H22C21...
src/svg-icons/notification/confirmation-number.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationConfirmationNumber = (props) => ( <SvgIcon {...props}> <path d="M22 10V6c0-1.11-.9-2-2-2H4c-1.1 0-1.99.89-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2...
ajax/libs/react/0.6.3/react.min.js
ColinEberhardt/cdnjs
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
src/components/VmDetails/cards/NicsCard/index.js
mareklibra/userportal
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { Icon } from 'patternfly-react' import { msg } from '_/intl' import { addVmNic, deleteVmNic, editVmNic } from '_/actions' import { Grid, Row, Col } from '_/components/Grid' import { suggestNicName } from '_/comp...
fields/types/relationship/RelationshipFilter.js
Redmart/keystone
import async from 'async'; import React from 'react'; import xhr from 'xhr'; import { Button, FormField, FormInput, InputGroup, SegmentedControl } from 'elemental'; import PopoutList from '../../../admin/client/components/PopoutList'; const TOGGLE_OPTIONS = [ { label: 'Linked To', value: false }, { label: 'NOT Lin...
src/page/MovieTabPageNow.js
REBOOTERS/BestPracticesRN
/** * Created by Rookie on 2017/8/3. */ import React, {Component} from 'react'; import {View, StyleSheet, Text, ToastAndroid, ActivityIndicator} from 'react-native'; import VerticalListView from "../components/VerticalListView"; import Api from "../util/Api"; import Loading from "../components/widgets/Loading"; ...
startbootstrap-grayscale-gh-pages/vendor/jquery/jquery.js
lucngo/portfolio
/*! * jQuery JavaScript Library v1.12.4 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-05-20T17:17Z */ (function( global, factory ) { if ( typeof module =...
third_party/closure/closure/goog/ui/container.js
ebidel/mdv
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
conference/static/conference/jquery-flot/jquery.js
barrachri/epcon
/*! * jQuery JavaScript Library v1.5.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
packages/generator-fluxible/app/templates/components/Nav.js
localnerve/fluxible
import React from 'react'; import { NavLink } from 'fluxible-router'; class Nav extends React.Component { render() { const selected = this.props.currentRoute; const links = this.props.links; const linkHTML = Object.keys(links).map((name) => { var className = ''; var...
mxcube3/ui/containers/SampleQueueContainer.js
marcus-oscarsson/mxcube3
import React from 'react'; import ReactDOM from 'react-dom'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import CurrentTree from '../components/SampleQueue/CurrentTree'; import TodoTree from '../components/SampleQueue/TodoTree'; import QueueControl from '../components/SampleQueue/...
src/svg-icons/image/filter-drama.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterDrama = (props) => ( <SvgIcon {...props}> <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.61 5.64 5.36 8.04 2.35 8.36 0 10.9 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4...
example/stories/Animated/Animated1.js
lelandrichardson/react-primitives
import React from 'react'; import { make } from '../../StoryManager'; import { View, Text, Animated, Touchable } from '../../../src/index'; make('Animated 1', () => { class Example extends React.Component{ constructor(props) { super(props) this.state = { anim: new Animated.Value(0), ...
app/javascript/mastodon/features/ui/components/follow_requests_nav_link.js
imas/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { fetchFollowRequests } from 'mastodon/actions/accounts'; import { connect } from 'react-redux'; import { NavLink, withRouter } from 'react-router-dom'; import IconWithBadge from 'mastodon/components/icon_with_badge'; import { List as ImmutableList }...