target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
src/scenes/home/families/facts/facts.js
tskuse/operationcode_frontend
import React from 'react'; import styles from './facts.css'; import family3 from '../../../../images/Family-3.jpg'; const Facts = () => ( <div className={styles.facts}> <div className={styles.factsList}> <div className={styles.factsHeading}> <h5>The Facts</h5> </div> <ul> <li cl...
wp-content/plugins/civicrm/civicrm/packages/kcfinder/cache/base.js
glocalcoop/activist-network
/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ ;!function(d,c){"object"==typeof module&&"object"==typeof module.exports?module.exports=d.document?c(d,!0):function(b){if(!b.document){throw new Error("jQuery requires a window with a document")}return c(b)}:c(d)}("undefined"!=typeof wi...
src/svg-icons/image/timer-10.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageTimer10 = (props) => ( <SvgIcon {...props}> <path d="M0 7.72V9.4l3-1V18h2V6h-.25L0 7.72zm23.78 6.65c-.14-.28-.35-.53-.63-.74-.28-.21-.61-.39-1.01-.53s-.85-.27-1.35-.38c-.35-.07-.64-.15-.87-.23-.23-.08-.41-...
ajax/libs/foundation/4.2.3/js/vendor/jquery.js
iamso/cdnjs
/*! * jQuery JavaScript Library v1.10.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-05-30T21:49Z */ (function( window, undefined ) { // ...
ajax/libs/styled-components/4.0.0-beta.4/styled-components.js
cdnjs/cdnjs
var styled = (function (React) { 'use strict'; var React__default = 'default' in React ? React['default'] : React; function unwrapExports (x) { return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; } function createCommonjsModule(fn, module) { return module = { e...
admin/src/phase/LoadingPhase.js
zentrope/webl
// // Copyright (c) 2017 Keith Irwin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation, either version 3 of the License, // or (at your option) any later version. // // This program is distri...
test/components/Footer/Legal.spec.js
intrepion/sign-up-client-jsonapi-reactjs-foundation
import expect from 'expect'; import React from 'react'; import TestUtils from 'react-addons-test-utils'; import Legal from '../../../components/Footer/Legal'; function setup() { let props = { }; let renderer = TestUtils.createRenderer(); renderer.render(<Legal {...props} />); let output = renderer.getRender...
src/components/common/top-menu.js
AvaKathrynShaw/My-React-Material-Dashboard
import React from 'react'; import IconMenu from 'material-ui/IconMenu'; import MenuItem from 'material-ui/MenuItem'; import IconButton from 'material-ui/IconButton/IconButton'; import MoreVertIcon from 'material-ui/svg-icons/navigation/more-vert'; import {blue500, red500, greenA200, white, deepOrange300} from 'material...
ajax/libs/ngOfficeUiFabric/0.12.2/ngOfficeUiFabric.min.js
dakshshah96/cdnjs
/*! * ngOfficeUIFabric * http://ngofficeuifabric.com * Angular 1.x directives for Microsoft's Office UI Fabric * https://angularjs.org & https://dev.office.com/fabric * v0.12.2 */ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("angular"));else if("function"==typeof de...
src/svg-icons/notification/confirmation-number.js
ngbrown/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...
demos/sliders/demos/disabled.js
isogon/styled-mdl-website
import React from 'react' import { Slider } from 'styled-mdl' const demo = () => <Slider min={0} max={100} defaultValue={60} disabled /> const caption = 'Disabled' const code = '<Slider min={0} max={100} defaultValue={60} disabled />' export default { demo, caption, code }
test/helpers/shallowRenderHelper.js
jiebianng/react-gallery
/** * Function to get the shallow output for a given component * As we are using phantom.js, we also need to include the fn.proto.bind shim! * * @see http://simonsmith.io/unit-testing-react-components-without-a-dom/ * @author somonsmith */ import React from 'react'; import TestUtils from 'react-addons-test-utils'...
Libraries/CustomComponents/ListView/ListView.js
ljhsai/react-native
/** * Copyright (c) 2015, Facebook, Inc. All rights reserved. * * Facebook, Inc. ("Facebook") owns all right, title and interest, including * all intellectual property and other proprietary rights, in and to the React * Native CustomComponents software (the "Software"). Subject to your * compliance with these t...
client/analytics/components/partials/indicators/AssetStatusHistoryBar/AssetStatusHistoryBar.js
Haaarp/geo
import React from 'react'; import Label from 'konux/common/components/Label'; import FormWrap from 'konux/common/components/FormWrap'; import Title from 'konux/common/components/Title'; import StatusListContainer from './StatusListContainer'; import { translate } from 'react-i18next'; class AssetStatusHistoryBar exte...
src/pages/plugins.js
getinsomnia/website
import React from 'react'; import { graphql } from 'gatsby'; import InfiniteScroll from 'react-infinite-scroll-component'; import Plugin from '../lib/plugin'; import SocialCards from '../components/social-cards'; import iconPluginDefault from '../assets/icons/plugins-default-icon.svg'; function Header() { // We use ...
packages/material-ui-icons/src/Looks5Rounded.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="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 6h-3v2h2c1.1 0 2 .9 2 2v2c0 1.11-.9 2-2 2h-3c-.55 0-1-.45-1-1...
examples/star-wars/js/app.js
almasakchabayev/relay
/** * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNES...
src/parser/deathknight/blood/modules/features/DeathStrikeTiming.js
sMteX/WoWAnalyzer
import React from 'react'; import SelfHealTimingGraph from 'parser/shared/modules/features/SelfHealTimingGraph'; import SPELLS from 'common/SPELLS'; class DeathStrikeTiming extends SelfHealTimingGraph { constructor(...args) { super(...args); this.selfHealSpell = SPELLS.DEATH_STRIKE_HEAL; this.tabTitle ...
packages/views/shared/components/Errors/NotFound/index.js
isbasex/blog-engine
import React from 'react' import { Route } from 'react-router-dom' const Status = ({ code, children }) => ( <Route render={({ staticContext }) => { if (staticContext) staticContext.status = code return children }} /> ) const NotFound = () => ( <Status code={404}> <div className="main-con...
src/Songrow.js
rweekers/voornameninliedjes-frontend
import React, { Component } from 'react'; import { Link } from "react-router-dom"; import './Songrow.css'; class Songrow extends Component { render() { const song = this.props; return ( <div className="Songrow"> <Link to={'/song/' + song.id}><p>{song.artist} - {song.title}</p></Link>{' '} ...
src/index.js
TodayTix/tt-react-calendar
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; import fp from 'lodash/fp'; import moment from 'moment'; import { day as dayType } from './proptypes'; import CalendarDayHeaders from './day-headers'; import CalendarMonth from './month'; /** * Turns a moment instance into a seri...
app/javascript/mastodon/components/display_name.js
ebihara99999/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import escapeTextContentForBrowser from 'escape-html'; import emojify from '../emoji'; class DisplayName extends React.PureComponent { static propTypes = { account: ImmutablePropTypes.map.isRequired, }; render () { c...
mlflow/server/js/src/model-registry/components/CompareModelVersionsPage.js
mlflow/mlflow
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import qs from 'qs'; import { connect } from 'react-redux'; import { getRunApi } from '../../experiment-tracking/actions'; import { getUUID } from '../../common/utils/ActionUtils'; import { getRegisteredModelApi, getModelVersionApi, get...
jest-preprocessor.js
hirokai/MicroManagerViewer
var ReactTools = require('react-tools'); module.exports = { process: function(src) { return ReactTools.transform(src,{harmony:true}); } };
src/components/receiptUpload/ReceiptUpload.js
lukebelliveau/aclu-matchers
import React from 'react'; import ACLUCloudWok from './ACLUCloudwok'; import Instructions from './Instructions'; export default () => ( <div> <Instructions/> <ACLUCloudWok /> </div> );
ajax/libs/forerunnerdb/1.3.773/fdb-legacy.js
him2him2/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...
docs/src/modules/components/HomeUsers.js
kybarg/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { useSelector } from 'react-redux'; import { withStyles } from '@material-ui/core/styles'; import NoSsr from '@material-ui/core/NoSsr'; import Divider from '@material-ui/core/Divider'; import Grid from '@material-ui/core/Grid'; import Container from ...
Console/app/node_modules/antd/lib/progress/progress.js
RisenEsports/RisenEsports.github.io
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_define...
node_modules/core-js/modules/es6.promise.js
hellarafa/ART405-REPFINDER-Project2
'use strict'; var LIBRARY = require('./_library') , global = require('./_global') , ctx = require('./_ctx') , classof = require('./_classof') , $export = require('./_export') , isObject = require('./_is-object') , aFunction = req...
src/components/Blocks/withAlignment.js
markdyousef/zen-editor
// @flow import React, { Component } from 'react'; import styled from 'styled-components'; import BoldIcon from '../../icons/image'; import ActionIcon from '../ActionIcon'; type DefaultProps = {}; type Props = { children?: Object }; type State = { inFocus: bool, style: ?Object, alignment: ?string }; ...
ajax/libs/jquery.fancytree/2.7.0/jquery.fancytree-all.js
idleberg/cdnjs
/*! * jquery.fancytree.js * Dynamic tree view control, with support for lazy loading of branches. * https://github.com/mar10/fancytree/ * * Copyright (c) 2006-2014, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.7.0 * @dat...
examples/TopicsExample.js
ornl-sava/vis-react-components
import React from 'react' import { NavLink } from 'react-router-dom' import TopicsChart from '../src/premade/TopicsChart' import StoryViewerExample from './StoryViewerExample' // import {fakePrefixes, fakeData} from '../examples/data/for-hci/hciFakeData' // import {prefixes, topData, aList} from '../examples/data/for...
app/components/DateRange/index.js
prudhvisays/newsb
import 'rc-calendar/assets/index.css'; import React from 'react'; import Calendar from 'rc-calendar'; import DatePicker from 'rc-calendar/lib/Picker'; import zhCN from 'rc-calendar/lib/locale/zh_CN'; import enUS from 'rc-calendar/lib/locale/en_US'; import RangeCalendar from 'rc-calendar/lib/RangeCalendar'; import momen...
react/features/mobile/external-api/functions.js
jitsi/jitsi-meet
// @flow import { NativeModules } from 'react-native'; import { getAppProp } from '../../base/app'; /** * Sends a specific event to the native counterpart of the External API. Native * apps may listen to such events via the mechanisms provided by the (native) * mobile Jitsi Meet SDK. * * @param {Object} store -...
src/components/Accordion/Accordion-test.js
joshblack/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import Accordion from '../Accordion'; import AccordionSkeleton from '../Accordion/Accordion.Skeleton'; import Skel...
ajax/libs/jquery/1.4.0/jquery.min.js
ZaValera/cdnjs
/*! * jQuery JavaScript Library v1.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://docs.jquery.com/License * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL License...
Examples/UIExplorer/UIExplorerApp.android.js
eliagrady/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
test/example2/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/jquery-1.7.1.js
pepoviola/cartero
/*! * jQuery JavaScript Library v1.7.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...
src/pages/index.js
jsonnull/jsonnull.com
import React from 'react' import Link from 'next/link' import Image from 'next/image' import clsx from 'clsx' import { Heading, Page, Wrapper } from '../components' import { Spacer } from '../components/Spacer.tsx' import { ProjectGrid } from '../components/ProjectGrid' import { Button } from '../components/Button' imp...
Docker/KlusterKiteMonitoring/klusterkite-web/src/components/PackageForm/PackagesForm.js
KlusterKite/KlusterKite
import React from 'react'; import isEqual from 'lodash/isEqual'; import Form from '../Form/Form'; import PackagesMultiSelector from '../PackageSelector/PackagesMultiSelector'; export default class PackagesForm extends React.Component { // eslint-disable-line react/prefer-stateless-function constructor(props) { ...
ajax/libs/highmaps/1.0.4/highmaps.src.js
sufuf3/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highmaps JS v1.0.4 (2014-09-02) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clearTi...
dist/1.8.1/jquery-css-dimensions.js
michael829/jquery-builder
/*! * jQuery JavaScript Library v1.8.1 -css,-effects,-offset,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Sun Sep 23 2012 10:59:53 GMT-0700 (PDT...
frontend/src/Components/HeartRating.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React from 'react'; import Icon from 'Components/Icon'; import { icons } from 'Helpers/Props'; import styles from './HeartRating.css'; function HeartRating({ rating, iconSize }) { return ( <span> <Icon className={styles.heart} name={icons.HEART} ...
examples/js/pagination/demo.js
dana2208/react-bootstrap-table
/* eslint max-len: 0 */ import React from 'react'; import DefaultPaginationTable from './default-pagination-table'; import CustomPaginationTable from './custom-pagination-table'; import PaginationHookTable from './pagination-hook-table'; class Demo extends React.Component { render() { return ( <div> ...
src/svg-icons/content/remove-circle.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentRemoveCircle = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"/> </SvgIcon> ); ContentRemoveCircle = pure(ContentRemoveCir...
src/components/layout/AppLayout.js
GustavoKatel/franz
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { observer, PropTypes as MobxPropTypes } from 'mobx-react'; import { defineMessages, intlShape } from 'react-intl'; import { TitleBar } from 'electron-react-titlebar'; import InfoBar from '../ui/InfoBar'; import { Component as DelayAp...
5eShapedCompanion/4.4.1/5eShapedCompanion.js
mcstalker/roll20-api-scripts
var ShapedScripts = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ ...
src/components/log.js
LaserWeb/lw.controller
import React from 'react'; import ReactDOM from 'react-dom'; // level STD, INFO, WARN, DANGER, SUCCESS const CommandHistory_ICON = ['terminal', 'info-circle', 'exclamation-triangle', 'exclamation-circle', 'check-circle']; const CommandHistory_CLASS = ['default', 'info', 'warning', 'danger', 'success']; function creat...
src/scripts/models.js
TxsAdamWest/etsyReact
import React from 'react' import ReactDOM from 'react-dom' import Backbone from 'backbone' //Step 1 - Load dependencies jQuery, Underscore, Backbone. //Step 2 - Define Router and routes. //Step 3 - Connect to api for 1st time via collection. //Step 4 - Render Home View. // console.log("Hello world!") export cons...
frontend/src/Settings/Notifications/Notifications/AddNotificationModal.js
Radarr/Radarr
import PropTypes from 'prop-types'; import React from 'react'; import Modal from 'Components/Modal/Modal'; import AddNotificationModalContentConnector from './AddNotificationModalContentConnector'; function AddNotificationModal({ isOpen, onModalClose, ...otherProps }) { return ( <Modal isOpen={isOpen} ...
ajax/libs/vue/0.12.7/vue.js
gokuale/cdnjs
/** * Vue.js v0.12.7 * (c) 2015 Evan You * Released under the MIT License. */ (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(typ...
src/Console.js
sgnh/react-console-wrapper
import React from 'react'; const { array, string, bool, shape } = React.PropTypes; const Console = (props) => { if (props.assert.assertion) { console.assert(props.assert.assertion, props.assert.message); } if (props.clear) { console.clear(); } if (props.count) { console.count(props.count); }...
ajax/libs/flocks.js/0.16.18/flocks.js
fredericksilva/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /* eslint max-statements: 0, no-else-return: 0, brace-style: 0 */ /* eslint-env node,browser */ /** * The Flocks library module. * * @module Flocks * @main Flocks * @class Flocks */ // if it's in a <script> it's defined already ...
stubo/static/node_modules/react-tools/src/browser/server/ReactServerRenderingTransaction.js
Stub-O-Matic-BA/stubo-app
/** * Copyright 2014-2015, 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 directory. * * @providesModule ...
src/components/Page/Panel/index.js
ascrutae/sky-walking-ui
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
newclient/scripts/components/admin/disclosure-filter-by-type/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Lic...
src/components/views/elements/LanguageDropdown.js
aperezdc/matrix-react-sdk
/* Copyright 2017 Marcel Radzio (MTRNord) Copyright 2017 Vector Creations Ltd. 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 app...
src/index.js
Aikk/gallery-by-react
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/Main'; // Render the main component into the dom ReactDOM.render(<App />, document.getElementById('app'));
test/helpers/shallowRenderHelper.js
Wobugaosuni/galleryByReact
/** * Function to get the shallow output for a given component * As we are using phantom.js, we also need to include the fn.proto.bind shim! * * @see http://simonsmith.io/unit-testing-react-components-without-a-dom/ * @author somonsmith */ import React from 'react'; import TestUtils from 'react-addons-test-utils'...
react-flux-mui/js/material-ui/src/svg-icons/device/battery-unknown.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryUnknown = (props) => ( <SvgIcon {...props}> <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4zm-2.72 13.95h-1.9...
src/components/TopNav.js
Hylozoic/hylo-redux
import React from 'react' import A, { IndexA } from './A' import Icon from './Icon' import Dropdown from './Dropdown' import { filter } from 'lodash/fp' import { throttle, times } from 'lodash' import { leftNavWidth, leftNavEasing, menuButtonWidth } from './LeftNav' import NavMenuButton from './NavMenuButton' import { ...
ajax/libs/clappr/0.0.63/clappr.js
iskitz/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);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)...
ajax/libs/react-table/2.2.1/react-table.js
him2him2/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.reactTable = f...
examples/Portal.js
BespokeInsights/react-overlays
import React from 'react'; import Button from 'react-bootstrap/lib/Button'; import Portal from 'react-overlays/Portal'; class PortalExample extends React.Component { constructor(...args){ super(...args); this.state = { show: false }; this.show = ()=> this.setState({ show: true }); } render() { ...
mobx-src/components/Login.js
xiedidan/smart-territory-demo
import React from 'react' import {observer} from 'mobx-react' import _ from 'lodash' import * as THREE from 'three' import {Form, Input, Icon, Checkbox, Button, Row, Col} from 'antd' import constants from '../utilities/constants' const FormItem = Form.Item @observer class Login extends React.Component { ...
examples/async/index.js
CuthbertJungle/redux
import 'babel-core/polyfill'; import React from 'react'; import Root from './containers/Root'; React.render( <Root />, document.getElementById('root') );
src/server.js
shalomeir/snippod-starter-demo-app-front
import Express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import config from './config'; import favicon from 'serve-favicon'; import compression from 'compression'; import httpProxy from 'http-proxy'; import path from 'path'; import createStore from './store/create'; import ApiC...
src/index.js
nnecec/anteact
/* eslint-disable import/default */ import React from 'react'; import {render} from 'react-dom'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; import routes from './routes'; import configureStore from './store/configureStore'; require('./favicon.ico'); // Tell webpack t...
examples/auth-with-shared-root/components/PageOne.js
stshort/react-router
import React from 'react' const PageOne = React.createClass({ render() { return <h2>Page One!</h2> } }) module.exports = PageOne
frontend/app_v2/src/common/icons/About.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' /** * @summary About * @component * * @param {object} props * * @returns {node} jsx markup */ function About({ styling }) { return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" className={styling}> <circle cx={50.00006} cy...
ajax/libs/onsen/1.2.2/js/onsenui.min.js
sufuf3/cdnjs
/*! onsenui - v1.2.2 - 2015-02-26 */ function FastClick(layer){"use strict";function bind(method,context){return function(){return method.apply(context,arguments)}}var oldOnClick;this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this...
ki1st-xtqb/src/main/webapp/front/app/components/App.js
chosenki/chosenki-2016
import React from 'react' import Footer from './Footer' import AddTodo from '../containers/AddTodo' import VisibleTodoList from '../containers/VisibleTodoList' const App = () => ( <div> <AddTodo /> <VisibleTodoList /> <Footer /> </div> ) export default App
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
vvlladimir/mbd
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
src/components/Boulder.js
kyledavid/rock-genius
import PropTypes from 'prop-types' import React from 'react' import BoulderRoute from './BoulderRoute' import boulderImg from '../img/boulders/the-pearl/pearl.jpg' const Boulder = props => { return props.routeInfo.routeName ? ( <div id="boulder-container"> <img src={boulderImg} alt="the-pearl" /> <Bo...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/material-ui/svg-icons/action/important-devices.js
bhathiya/test
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
examples/with-react-intl/components/Nav.js
giacomorebonato/next.js
import React from 'react' import {FormattedMessage} from 'react-intl' import Link from 'next/link' export default () => ( <nav> <li> <Link href='/'> <a><FormattedMessage id='nav.home' defaultMessage='Home' /></a> </Link> </li> <li> <Link href='/about'> <a><FormattedMessa...
admin/client/components/CreateForm.js
efernandesng/keystone
import React from 'react'; import Fields from '../fields'; import InvalidFieldType from './InvalidFieldType'; import { Alert, Button, Form, Modal } from 'elemental'; var CreateForm = React.createClass({ displayName: 'CreateForm', propTypes: { err: React.PropTypes.object, isOpen: React.PropTypes.bool, list: R...
client/index.js
VaRt-io/V-aRt
import './stylesheets/index.scss'; import React from 'react'; import ReactDOM from 'react-dom'; import {Provider} from 'react-redux'; import store from './store'; import {BrowserRouter as Router} from 'react-router-dom'; import Main from './components/main'; ReactDOM.render( <Provider store={store} > <Route...
3-namespace/button.js
aruberto/styling-react-components
import React from 'react'; import cx from 'classnames'; const Button = ({ error, ...restProps }) => ( <button {...restProps} className={cx( 'my-namespace-button', { 'my-namespace-button-error': error } )} /> ); Button.propTypes = { error: React.PropTypes.bool, }; export default Button;
ajax/libs/js-data/1.4.1/js-data.js
iamso/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file dist/js-data.js * @version 1.4.1 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefined"!=ty...
fields/types/geopoint/GeoPointField.js
lastjune/keystone
import Field from '../Field'; import React from 'react'; import { FormRow, FormField, FormInput } from 'elemental'; module.exports = Field.create({ displayName: 'GeopointField', focusTargetRef: 'lat', valueChanged (which, event) { this.props.value[which] = event.target.value; this.props.onChange({ path: t...
src/svg-icons/notification/power.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationPower = (props) => ( <SvgIcon {...props}> <path d="M16.01 7L16 3h-2v4h-4V3H8v4h-.01C7 6.99 6 7.99 6 8.99v5.49L9.5 18v3h5v-3l3.5-3.51v-5.5c0-1-1-2-1.99-1.99z"/> </SvgIcon> ); NotificationPower = pu...
app/containers/chat/ChatPage.js
MichaelMure/Arbore
// @flow import { connect } from 'react-redux' import type { Store } from 'utils/types' import ChatPage from 'components/chat/ChatPage' import * as ui from 'actions/ui' import { Page } from 'models/UiState' const mapStateToProps = (state: Store) => ({ contacts: state.contactList, }) const mapDispatchToProps = dispa...
src/browser/auth/SignInError.js
skallet/este
// @flow import type { State } from '../../common/types'; import React from 'react'; import errorMessages from '../../common/auth/errorMessages'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { firebaseMessages } from '../../common/lib/redux-firebase'; import { Message, ...
StatelessForm.js
kristian-puccio/react-native-stateless-form
import React from 'react'; import { Platform, Component, PropTypes, ScrollView, View, StyleSheet, } from 'react-native'; let styles; export default class StatelessForm extends Component { componentDidMount() { this.willFocusInput = false; } childrenWithProps() { let nextInput = null; let inputCount = ...
docs/docsite/_static/jquery.js
gptech/ansible
/*! * 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. ...
ajax/libs/react-dom/16.8.6/cjs/react-dom-unstable-fire.profiling.min.js
joeyparrish/cdnjs
/** @license React v16.8.6 * react-dom-unstable-fire.profiling.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* Modernizr 3.0.0pre (Custom Build) | MIT */ 'use strict';...
src/shared/Article/Article.js
kashisau/enroute
/** * Home.js * */ import React from 'react'; import ArticleHero from '../ArticleHero/ArticleHero'; import classnames from 'classnames'; import './Home.scss'; class Article extends React.Component { constructor(props) { super(props); this.state = { active: false, act...
wp-includes/js/jquery/jquery.js
dzochowski89/WPRampUp
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | 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 wind...
node_modules/react-bootstrap/es/Modal.js
lucketta/got-quote-generator
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import _extends from...
go-betz/src/views/add-credits/index.js
FabioFischer/go-betz
import React from 'react'; import { TextField } from 'material-ui'; import { AuthenticatedButton } from './../../components'; import { wallet, ls } from './../../services'; class AddCredits extends React.Component { state = { value: '' }; handleOnChange = (e, newValue) => this.setState({ value: newValue ...
src/parser/shared/modules/DeathTracker.js
fyruna/WoWAnalyzer
import React from 'react'; import {Link} from 'react-router-dom'; import { formatNumber, formatPercentage } from 'common/format'; import Analyzer from 'parser/core/Analyzer'; import makeAnalyzerUrl from 'interface/common/makeAnalyzerUrl'; const WIPE_MAX_DEAD_TIME = 15 * 1000; // 15sec const debug = false; // Log whe...
ajax/libs/antd/1.4.1/antd.min.js
hare1039/cdnjs
/*! * antd v1.4.1 * * Copyright 2015-present, Alipay, Inc. * All rights reserved. */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.antd=...
website/src/pages/index.js
Pop-Code/keystone
import React, { Component } from 'react'; import Helmet from 'react-helmet'; import Hero from './components/home/Hero'; import ValueProps from './components/home/ValueProps'; import CommunityResponse from './components/home/CommunityResponse'; import AdminInterface from './components/home/AdminInterface'; import Value...
src/components/collection/types/Attack.js
chaoticbackup/chaoticbackup.github.io
import { observer, inject } from 'mobx-react'; import React from 'react'; import { FlavorText, Rarity, Unique, Name, ElementIcon, Ability, AttackIcon } from '../../Snippets'; import API from '../../SpreadsheetData'; import { Thumbnail } from './helpers'; @inject((stores, props, context) => props) @observer export def...
app/containers/NotFoundPage/index.js
hukid/yung
/** * NotFoundPage * * This is the page we show when the user visits a url that doesn't have a route * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot * reloading is not a necessity for you then you can refactor it...
packages/material-ui-icons/src/SignalWifi2BarTwoTone.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 fillOpacity=".3" d="M23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7L12 21.5 23.64 7z" /><path d="M4.79 12.52L12 21.5l7.21-8.99C18.85 12.24...
index.ios.js
aksharora/ReactNativeDemoBasic
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, } from 'react-native'; import BaseComponent from './src/BaseComponent'; export default class ReactDemoProject extends Component { render() { return ( <B...
packages/mineral-ui-icons/src/IconExposureNeg1.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 IconExposureNeg1(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconP...
DoD/ui/src/VirtualSchemaControl.js
mitdbg/aurum-datadiscovery
import React, { Component } from 'react'; function ButtonPanel(props) { const addRow = props.add_row; const removeRow = props.remove_row; const addColumn = props.add_column; const removeColumn = props.remove_column; const findView = props.find_view; return ( <div> <div className="row"> <div ...