path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/server/frontend/render.js
blueberryapps/este
import Helmet from 'react-helmet'; import Html from './Html.react'; import Promise from 'bluebird'; import React from 'react'; import ReactDOMServer from 'react-dom/server'; import config from '../config'; import configureStore from '../../common/configureStore'; import createRoutes from '../../browser/createRoutes'; i...
src/Value.js
OpenGov/react-select
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; class Value extends React.Component { constructor(props) { super(props); this.handleMouseDown = this.handleMouseDown.bind(this); this.onRemove = this.onRemove.bind(this); this.handleTouchEndRemove = this.hand...
src/containers/__tests__/Modal-test.js
nazaninreihani/binary-next-gen
import React from 'react'; import { shallow } from 'enzyme'; import Modal from '../Modal'; describe('<Modal />', () => { it('renders a modal', () => { const wrapper = shallow(<Modal shown />); expect(wrapper.find('AnimatedPopup').length).toEqual(1); }); });
src/components/Pill/Pill.js
propertybase/react-lds
import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import { IconButton } from '../Button'; const Pill = (props) => { const { bare, className, icon, label, onClose, portrait, preventCloseFocus, title, url, ...rest } = props; const ...
packages/material-ui-icons/src/AlarmOn.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 ...
src/routes/study/content/index.js
Skoli-Code/DerangeonsLaChambre
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 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 Content from './Content'...
modules/gui/src/app/home/body/process/recipe/ccdcSlice/ccdcSliceImageLayer.js
openforis/sepal
import {MapAreaLayout} from 'app/home/map/mapAreaLayout' import {VisualizationSelector} from 'app/home/map/imageLayerSource/visualizationSelector' import {additionalVisualizations, getAllVisualizations} from './ccdcSliceRecipe' import {compose} from 'compose' import {getUserDefinedVisualizations} from 'app/home/body/pr...
storybook/config.js
Kyon0000/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...
files/core-js/1.1.0/core.js
osxi/jsdelivr
/** * core-js 1.1.0 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
src/media/js/site/components/confirmButton.js
mozilla/marketplace-submission
import React from 'react'; export default class ConfirmButton extends React.Component { static propTypes = { className: React.PropTypes.string, initialText: React.PropTypes.string.isRequired, confirmText: React.PropTypes.string, isProcessing: React.PropTypes.bool, onClick: React.PropTypes.func.i...
src/scripts/views/homepage.js
TayLang/IronPong
import React from 'react' import ACTIONS from '../actions.js' import STORE from '../store.js' import NavBar from './components/navBar' import Header from './components/header' var HomePage = React.createClass({ render: function(){ return( <div className = 'home-page-wrapper'> <Header /> <NavBar /> <...
App/Platform/StatusBar.ios.js
taskrabbit/ReactNativeSampleApp
import React from 'react'; import { StatusBar } from 'react-native'; var _StatusBar = { setNetworkActive: function(active) { StatusBar.setNetworkActivityIndicatorVisible(active); }, setHidden: function(hidden) { StatusBar.setHidden(hidden); } }; export default _StatusBar;
src/bundle.js
palmg/pwfe-dom
/** * Created by chkui on 2017/6/10. */ 'use strict'; import React from 'react' /** * 页面分片高阶组件。该组件配合`routes`用于实现页面分片。 * @param initComponent * @param getComponent * @return {{new(...[*]): {async: (function(*=)), render: (function()), componentWillMount: (function())}}} */ const bundle = (initComponent, getCompon...
src/react/components/Icons.js
formtools/core
import React from 'react'; export const Github = ({ size, style = {} }) => ( <svg role="img" height={`${size}px`} width={`${size}px`} style={style} viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <title>GitHub icon</title> <path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.1...
admin/client/App/screens/List/components/Filtering/ListFiltersAddForm.js
michaelerobertsjr/keystone
import React from 'react'; import { findDOMNode } from 'react-dom'; import Popout from '../../../../shared/Popout'; import { Filters } from 'FieldTypes'; var ListFiltersAddForm = React.createClass({ propTypes: { field: React.PropTypes.object.isRequired, maxHeight: React.PropTypes.number, onApply: React.PropTyp...
src/routes/UIElement/dropOption/index.js
shaohuawang2015/goldbeans-admin
import React from 'react' import { DropOption } from 'components' import { Table, Row, Col, Card, message } from 'antd' const DropOptionPage = () => <div className="content-inner"> <Row gutter={32}> <Col lg={8} md={12}> <Card title="默认"> <DropOption menuOptions={[{ key: '1', name: '编辑' }, { key: '2...
files/polymer/0.5.0/polymer.js
akkumar/jsdelivr
/** * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be f...
src/svg-icons/editor/merge-type.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorMergeType = (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> ); EditorMergeType = pure(Editor...
ajax/libs/react-instantsearch/4.4.0/Connectors.js
cdnjs/cdnjs
/*! ReactInstantSearch 4.4.0 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) : ...
src/components/directs/single/DirectSingle.js
VGraupera/1on1tracker
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import HeadInfo from './head-info/HeadInfo'; import AdditionalInfo from './additional-info/AdditionalInfo'; import DirectTabs from './tabs/DirectTabs'; const propTypes = { direct: PropTypes.shape({ id: PropTypes.string.isRequired, ...
ajax/libs/highmaps/1.0.3/highmaps.src.js
a8m/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highmaps JS v1.0.3 (2014-07-03) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout, ...
src/components/pages/LoginView.js
yiweimatou/yishenghoutai
import React from 'react' import { Field } from 'redux-form' import { RaisedButton, Paper } from 'material-ui' import TextField from '../ReduxForm/TextField' const styles = { container:{ display:'flex', justifyContent:'center' }, paper:{ height:300, width:500, ...
packages/netlify-cms-widget-text/src/TextControl.js
netlify/netlify-cms
import React from 'react'; import PropTypes from 'prop-types'; import Textarea from 'react-textarea-autosize'; export default class TextControl extends React.Component { static propTypes = { onChange: PropTypes.func.isRequired, forID: PropTypes.string, value: PropTypes.node, classNameWrapper: PropTyp...
src/containers/neatListApp/NeatListApp.js
Endeauvirr/NeatIdeasList
import React from 'react'; import Header from '../../containers/Header/Header'; import Action from '../../components/Action/Action'; import AddOption from '../../components/AddOption/AddOption'; import Options from '../../components/Options/Options'; import OptionModal from '../../components/OptionModal/OptionModal'; ...
app/components/deckBuilder/card/Card.js
BryanIams/foil-client
import React from 'react'; import PropTypes from 'prop-types'; import CardModal from './CardModal'; function Card(props) { return ( <div> <img width="50" src={`http://localhost:60697/api/images/${props.card.number}.jpg`} alt={props.card.title} /> {props.card.title} <CardModal card={props.card} ...
webpack.config.js
ChadLefort/pat-bot
const webpack = require('webpack'); const path = require('path'); const buildPath = path.resolve(__dirname, 'lib/web/public'); const mainPath = path.resolve(__dirname, 'src/web/client/index.tsx'); const config = { entry: [ 'react-hot-loader/patch', 'webpack-hot-middleware/client', 'b...
examples/js/column-filter/text-filter-with-default-value.js
opensourcegeek/react-bootstrap-table
'use strict'; import React from 'react'; import {BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table'; var products = []; function addProducts(quantity) { var startId = products.length; for (var i = 0; i < quantity; i++) { var id = startId + i; products.push({ id: id, ...
courses/building-apps-with-react-and-flux/exercise-5-react-router/app/components/about/about.js
rmartin/experiments
'use strict'; var React = require('react'); var About = React.createClass({ statics: { willTransitionTo: function(transition, params, query, callback){ if(!confirm('Are you sure you want to read a page that\'s this boring?')){ transition.abort(); }else{ ...
fields/types/select/SelectField.js
stunjiturner/keystone
import _ from 'underscore'; import Field from '../Field'; import React from 'react'; import Select from 'react-select'; import { FormInput } from 'elemental'; /** * TODO: * - Remove dependency on underscore * - Custom path support */ module.exports = Field.create({ displayName: 'SelectField', valueChanged (ne...
client/app/components/Backlog/StoryEditFormButtonGroup.js
Zuehlke/poinz
import React from 'react'; import PropTypes from 'prop-types'; import {StyledEditFormButtonGroup} from './_styled'; const StoryEditFormButtonGroup = ({t, onSave, onCancel}) => ( <StyledEditFormButtonGroup className="pure-g "> <div className="pure-u-1-2"> <button type="button" className="pure-button pure-i...
ajax/libs/dio/1.1.2/dio.js
wout/cdnjs
/** * ___ __ __ * ( ( / \ * ) ) )( () ) * (___(__\__/ * * dio.js - a lightweight (~7kb) feature rich Virtual DOM framework * @author Sultan Tarimo <https://github.com/thysultan> * @licence MIT */ (function (root, factory) { 'use strict'; // amd if (typeof define === 'function' && define.amd) { ...
css-modules-demo/demo04/components/App.js
zhangjunhd/react-examples
import React from 'react'; import style from './App.css'; export default () => { return ( <h1 className={style.title}> Hello World </h1> ); };
files/highcharts/4.1.1/highcharts.src.js
PeterDaveHello/jsdelivr
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.1.1 (2015-02-17) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear...
node_modules/react-router/es6/IndexRedirect.js
Win-Myint/ReactChallenge2
import React from 'react'; import warning from './routerWarning'; import invariant from 'invariant'; import Redirect from './Redirect'; import { falsy } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes; var string = _React$PropTypes.string; var object = _React$PropTypes.object; /** * An <IndexRedir...
ajax/libs/yui/3.1.1/event-custom/event-custom-base.js
dbeckwith/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
ajax/libs/core-js/0.4.7/core.js
holtkamp/cdnjs
/** * Core.js 0.4.7 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(global, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
src/components/CompanyDetails/index.js
honeypotio/techmap
import React from 'react'; import PropTypes from 'prop-types'; import { getThemeColor } from '../../utils'; import Content from './Content'; import PaneSubHeader from '../PaneSubHeader'; import Tag from '../Tag'; const CompanyDetails = props => { const { companies } = props.globalStore; const id = props.params.com...
src/Parser/Core/Modules/DamageTaken.js
hasseboulen/WoWAnalyzer
import React from 'react'; import { formatThousands, formatNumber, formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import MAGIC_SCHOOLS from 'common/MAGIC_SCHOOLS'; import Analyzer from 'Parser/Core/Analyzer'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'; import Togg...
packages/contrib/mean-admin/public/assets/lib/zeroclipboard/dist/ZeroClipboard.Core.js
lozthiensu/openpdu
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2009-2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.2.0 */ (function(window, undefined) { "use str...
src/helpers/universalRouter.js
LinInLiao/LinInLiaoLa
import React from 'react'; import Router from 'react-router'; import createRoutes from '../routes'; import {Provider} from 'react-redux'; const getFetchData = (component = {}) => { return component.WrappedComponent ? getFetchData(component.WrappedComponent) : component.fetchData; }; export function createTr...
app/javascript/mastodon/features/notifications/components/notifications_permission_banner.js
masto-donte-com-br/mastodon
import React from 'react'; import Icon from 'mastodon/components/icon'; import Button from 'mastodon/components/button'; import IconButton from 'mastodon/components/icon_button'; import { requestBrowserPermission } from 'mastodon/actions/notifications'; import { changeSetting } from 'mastodon/actions/settings'; import ...
ajax/libs/yui/3.1.0/event-custom/event-custom-debug.js
luigimannoni/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
packages/react-vis/src/plot/series/heatmap-series.js
uber/react-vis
// Copyright (c) 2016 - 2017 Uber Technologies, Inc. // // 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, modify...
webpack/move_to_foreman/components/common/table/components/TableSelectionHeaderCell.js
ares/katello
import React from 'react'; import PropTypes from 'prop-types'; import { Table } from 'patternfly-react'; import { noop } from 'foremanReact/common/helpers'; const TableSelectionHeaderCell = ({ id, label, checked, onChange, ...props }) => ( <Table.SelectionHeading aria-label={label}> <Table.Checkbox id={i...
src/containers/Checkout/Confirmation.js
Hellenic/universal-marketcloud-storefront
import React, { Component } from 'react'; import Helmet from 'react-helmet'; import Subheader from 'material-ui/Subheader'; import { Header, Container, CheckoutSteps } from 'components'; export default class Confirmation extends Component { render() { return ( <div> <Helmet title="Order confirmatio...
node_modules/react-dom/lib/ReactElementSymbol.js
minichicken/KBG_REACT
/** * Copyright 2014-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 directory. * * */ 'use st...
test/helpers/shallowRenderHelper.js
LonelyObserver/gallery-by-react
/** * 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'...
ajax/libs/yui/3.10.0/event-focus/event-focus-min.js
tmorin/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(...
packages/material-ui-icons/src/SpeakerNotesOffRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M1.91 2.36c-.35-.35-.92-.35-1.27 0s-.35.92 0 1.27l1.38 1.38L2 22l4-4h9l5.09 5.09c.35.35.92.35 1.27 0s.35-.92 0-1.27L1.91 2.36zM7 14c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-3c-.55 0-1-.45-1-1...
src/client/components/Story/HiddenStoryPreviewMessage.js
busyorg/busy
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; const HiddenStoryPreviewMessage = ({ onClick }) => ( <div className="Story__warning__message"> <h4> <FormattedMessage id="post_preview_hidden_for_low_ratings" defaultMessage="This p...
packages/material-ui-icons/src/PanToolTwoTone.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M19.5 5.65c-.28 0-.5.22-.5.5V12h-2V3.42c0-.28-.22-.5-.5-.5s-.5.22-.5.5V12h-2V2.51c0-.28-.22-.5-.5-.5s-.5.22-.5.5V12h-2V4.79c0-.28-.22-.5-.5-.5s-.5.23-.5.5v12.87l-5.35-2.83-.51.45 5.86 ...
Js/Backend/Modules/Marketplace/Components/User.js
Webiny/Webiny
import React from 'react'; import Webiny from 'webiny'; import _ from 'lodash'; /** * @i18n.namespace Webiny.Backend.Marketplace.User */ const User = (props) => { if (!props.user) { return null; } const {Gravatar} = props; return ( <div className="user-welcome"> <div cla...
ajax/libs/yui/3.9.0/scrollview-base/scrollview-base-debug.js
LorenzoBoccaccia/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
app/javascript/flavours/glitch/features/ui/components/column_subheading.js
glitch-soc/mastodon
import React from 'react'; import PropTypes from 'prop-types'; const ColumnSubheading = ({ text }) => { return ( <div className='column-subheading'> {text} </div> ); }; ColumnSubheading.propTypes = { text: PropTypes.string.isRequired, }; export default ColumnSubheading;
spec/javascripts/jsx/assignments/OriginalityReportVisibilityPickerSpec.js
venturehive/canvas-lms
/* * Copyright (C) 2017 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas 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, version 3 of the License. * * Canvas is distribut...
packages/material-ui-icons/src/AirportShuttleRounded.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="M22.41 10.41l-4.83-4.83c-.37-.37-.88-.58-1.41-.58H3c-1.1 0-2 .89-2 2v7c0 1.1.9 2 2 2 0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3...
src/scenes/player/components/Controls.js
niekert/soundify
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { prop } from 'styled-tools'; import { Link } from 'react-router-dom'; import SeekBar from './SeekBar'; const Wrapper = styled.div` display: flex; flex: 1; max-width: 1000px; min-width: ...
src/assets/scripts/index.js
SnowShock/Runew0lf
import CSS from './../styles/main.scss'; import React from 'react'; import ReactDOM from 'react-dom'; import { HashRouter } from 'react-router-dom'; import App from './routes/App'; const app = document.getElementById('app'); ReactDOM.render(( <HashRouter> <App /> </HashRouter> ), app) const acc = document.ge...
docs/src/pages/demos/avatars/LetterAvatars.js
AndriusBil/material-ui
// @flow weak import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import Avatar from 'material-ui/Avatar'; import deepOrange from 'material-ui/colors/deepOrange'; import deepPurple from 'material-ui/colors/deepPurple'; const styles = { avatar: { margin...
dist/1.10.1/jquery-css-dimensions-effects-event-alias-wrap.js
michaelBenin/jquery-builder
/*! * jQuery JavaScript Library v1.10.1 -wrap,-css,-event-alias,-effects,-offset,-dimensions * 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-0...
src/screen/Oscilloscope/components/XYPlotGraph.js
wavicles/fossasia-pslab-apps
import React, { Component } from 'react'; import { ResponsiveContainer, Line, LineChart, XAxis, YAxis, CartesianGrid, Label, } from 'recharts'; import { withTheme } from 'styled-components'; import { GraphWrapper } from './Settings.styles'; const electron = window.require('electron'); const { ipcRenderer...
src/pages/sponsors/index.js
ChicagoJS/chicagojs.org
import React from 'react' import { graphql } from 'gatsby' import Layout from '../../components/Layout' import { isValidUrl, getCloudinaryImage } from '../../utils' import './sponsors.css' const getImageUrl = companyName => { return isValidUrl(companyName) ? companyName : getCloudinaryImage(`2018Sponsors/${companyNa...
ajax/libs/highcharts/3.0.2/highcharts.src.js
luislobo/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v3.0.2 (2013-06-05) * * (c) 2009-2013 Torstein Hønsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout...
wp-content/themes/brooklynbean/js/jquery.js
careyestes/brooklynbeans
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
.storybook/includes/file-url.js
KissKissBankBank/kitten
import React from 'react' import { Text, List } from 'kitten' import concat from 'lodash/concat' const GH_PREFIX = 'https://github.com/KissKissBankBank/kitten/blob/master/' export const FileUrl = ({filepath, filenames = 'index.js'}) => { const pathAsArray = filepath.split('/').slice(1, -1) const ghUrl = `${GH_PR...
packages/material-ui-icons/src/SwapHorizOutlined.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="M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z" /></React.Fragment> , 'SwapHorizOutlined');
src/views/NotFound/index.js
aplee29/online-notebook-app-client
import React from 'react'; const NotFound = () => <div> <h2 className="error-alert">The page you are looking for could not be found.</h2> <h3 className="error-alert">Please check your URL.</h3> </div> export default NotFound;
node_modules/babel-preset-es2015/node_modules/babel-plugin-check-es2015-constants/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js
CallumRocks/ReduxSimpleStarter
'use strict'; var LIBRARY = require('./_library'); var global = require('./_global'); var ctx = require('./_ctx'); var classof = require('./_classof'); var $export = require('./_export'); var isObject = require('./_is-object'); var aFunction = require('./_a-function'); var anInstance = require('./_an-instance'); var fo...
src/svg-icons/device/battery-charging-80.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryCharging80 = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V9h4.93L13 7v2h4V5.33C17 4.6 16.4 4 15.67 4z"/><path d="M13 12.5h2L11 20v-5.5H9L11...
public/vendors/bootstrap-wysihtml5/lib/js/jquery-1.7.2.min.js
rehhg/questionnaire
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
js/server/tests/shell/shell-database-mmfiles-noncluster.js
hkernbach/arangodb
/*jshint globalstrict:false, strict:false, unused : false */ /*global fail, assertTrue, assertFalse, assertEqual, assertMatch */ //////////////////////////////////////////////////////////////////////////////// /// @brief test the server-side database interface /// /// @file /// /// DISCLAIMER /// /// Copyright 2010-20...
website/pages/en/users/index.js
jlongster/prettier
"use strict"; const React = require("react"); const { Container } = require("../../../core/CompLibrary.js"); const siteConfig = require(process.cwd() + "/siteConfig.js"); class Users extends React.Component { render() { const showcase = siteConfig.users.map((user, i) => ( <a key={i} href={user.infoLink}>...
src/components/app.js
ravindraranwala/piglatinconverterapp
import React, { Component } from 'react'; import InputBox from '../containers/input_box'; import ConvertedText from '../containers/converted_text'; export default class App extends Component { render() { return ( <div> <InputBox /> <br /> <ConvertedText /> </div> ); } }
php/ui/js/jquery.min.js
wayne798/TeamTalk
/*! 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...
js/components/developer/choose-worker-screen/index.js
justarrived/p2p-client
import React, { Component } from 'react'; import { Form, Content, List } from 'native-base'; import { connect } from 'react-redux'; import { navigate } from '../../../actions/navigation'; import WorkerListItem from './workerListItem'; import JASpinner from '../../common/ja-spinner/JASpinner'; import { requestGetJobUser...
loc_frontend/node_modules/react-router/es6/Redirect.js
marka2g/loc
'use strict'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must e...
tests/routes/Home/components/HomeView.spec.js
dkanas/timelog
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') ...
client/src/containers/NoMatch.js
richb-hanover/reactathon
import React from 'react'; export const NoMatch = () => ( <article> <h3>Not Found</h3> <p>Sorry, the page requested was not found</p> </article> );
src/index.js
kriasoft/react-static-boilerplate
/** * React Starter Kit for Firebase * https://github.com/kriasoft/react-firebase-starter * Copyright (c) 2015-present Kriasoft | MIT License */ import React from 'react'; import ReactDOM from 'react-dom'; import qs from 'query-string'; import { createBrowserHistory } from 'history'; import App from './common/App...
examples/src/components/CustomRender.js
paulmillr/react-select
import React from 'react'; import Select from 'react-select'; import Highlighter from 'react-highlight-words'; var DisabledUpsellOptions = React.createClass({ displayName: 'DisabledUpsellOptions', propTypes: { label: React.PropTypes.string, }, getInitialState () { return {}; }, setValue (value) { this.setS...
local-cli/templates/HelloNavigation/views/welcome/WelcomeText.android.js
farazs/react-native
'use strict'; import React, { Component } from 'react'; import { StyleSheet, Text, View, } from 'react-native'; export default class WelcomeText extends Component { render() { return ( <View style={styles.container}> <Text style={styles.welcome}> Welcome to React Native! </...
node_modules/material-ui/lib/svg-icons/content/gesture.js
aykutyaman/meteor1.3-react-flowrouter-demo
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
examples/js/column-filter/select-filter-with-default-value.js
neelvadgama-hailo/react-bootstrap-table
/* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; const qualityType = { 0: 'good', 1: 'bad', 2: 'unknown' }; function addProducts(quantity) { const startId = products.length; for (let i = 0; i < quantity; i++) ...
src/components/Icons/Stackoverflow.js
akilbekov/blog
import React from 'react'; const Stackoverflow = props => ( <svg width={20} aria-labelledby="simpleicons-stackoverflow-icon" viewBox="0 0 24 24" {...props}> <path d="M18.986 21.865v-6.404h2.134V24H1.844v-8.539h2.13v6.404h15.012zM6.111 19.731H16.85v-2.137H6.111v2.137zm.259-4.852l10.48 2.189.451-2.07-10.478-2.187-...
ajax/libs/react-slick/0.3.4/react-slick.min.js
RobLoach/cdnjs
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.Slider=n(require("react")):t.Slider=n(t.React)}(this,function(t){return function(t){function n(r){if(e[r])return e[r].exports;var...
ajax/libs/yasr/1.1.4/yasr.min.js
pm5/cdnjs
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASR=e()}}(function(){var e;return function t(e,n,r){function i(a,s){if(!n[a]){if(!e...
app/components/elements/TextInput.js
tidepool-org/blip
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { Flex, Box, Text, BoxProps } from 'rebass/styled-components'; import { Label, Input as Base, InputProps } from '@rebass/forms/styled-components'; import cx from 'classnames'; import { Caption } from './FontSt...
src/Components/Playlist.js
aryalprakash/omgyoutube
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { browserHistory, Link } from 'react-router' import {getAllPlaylistVideos, getMoreVideos, getRelatedVideos, getVideoData, getMoreVideosForPlaylist} from '../actions/video.js' import Helmet from "react-helmet"; import {SERVER_URL} fr...
app/containers/JackpotPage/index.js
iFatansyReact/react-boilerplate-imagine
/* * JackpotPage * * 思路: * * [初始] * 123456 * * [第一輪] * 上一次 123456 * 這次 123472 * 相差 123472-123456 = 16 * (上一次的最後一位數6 加上 這次的差 16 結果為 22) * * 移動完成 重置到 2 的位置 * * [第二輪] * 上一次 123472 * 這次 123490 * 相差 123472-123490 = 18 * (上一次的最後一位數2 加上 這次的差 18 結果為 20) * * 移動完成 重置到 0 的位置 * * Lis...
stories/FilePicker/index.js
skyiea/wix-style-react
import React from 'react'; import {storiesOf} from '@storybook/react'; import Markdown from '../utils/Components/Markdown'; import AutoDocs from '../utils/Components/AutoDocs'; import TabbedView from '../utils/Components/TabbedView'; import CodeExample from '../utils/Components/CodeExample'; import FilePickerSource fro...
packages/icons/src/dv/Medium.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function DvMedium(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M6 6h36v36H6V6zm8.59 12.04v10.69a1.23 1.23 0 0 1-.327 1.06l-2.54 3.082v.406h7.204v-.406l-2.54-3.082a1.275 1.275 0 0 1-.35-1.06v-9.245l6.322 13.793h.73...
packages/es-components/src/components/controls/answer-group/AnswerGroup.js
jrios/es-components
import React from 'react'; import PropTypes from 'prop-types'; import styled, { css } from 'styled-components'; import RadioGroup from '../radio-buttons/RadioGroup'; const outlineStyles = css` > label:first-child > div { border-radius: 4px 0 0 4px; } > label:last-child > div { border-left: none; bo...
packages/material-ui-icons/src/CloudQueueOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 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.96zM19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 ...
packages/material-ui-icons/src/LocalAtm.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M11 17h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4V8h-2V7h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2v1zm9-13H4c-1.11 0-1.99.89-1.99...
src/app/components/header/LoggedIn.js
Boluwatifes/andela24
import React from 'react'; import { Link } from 'react-router-dom'; export default class LoggedIn extends React.Component { constructor() { super(); this.logMeOut = this.logMeOut.bind(this); } /** * Handles user logout * @method logMeOut * @param {object} e - Event passed in from the clicked bu...
src/client/pages/notfound.react.js
jaegerpicker/GLDice
import Component from '../components/component.react'; import DocumentTitle from 'react-document-title'; import React from 'react'; import {Link} from 'react-router'; import {msg} from '../intl/store'; class NotFound extends Component { render() { return ( <DocumentTitle title={msg('notFound.title')}> ...
ajax/libs/yui/3.9.1/event-focus/event-focus.js
gswalden/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
src/svg-icons/av/skip-previous.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvSkipPrevious = (props) => ( <SvgIcon {...props}> <path d="M6 6h2v12H6zm3.5 6l8.5 6V6z"/> </SvgIcon> ); AvSkipPrevious = pure(AvSkipPrevious); AvSkipPrevious.displayName = 'AvSkipPrevious'; AvSkipPrevious.mu...
templates/assets/jquery.js
dnaharis/hoda-ui
/*! * jQuery JavaScript Library v1.10.2 * 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-07-03T13:48Z */ (function( window, undefined ) { // ...
src/controls/RouteButton.js
gribnoysup/react-yandex-maps
import React from 'react'; import PropTypes from 'prop-types'; import { withParentContext } from '../Context'; import withYMaps from '../withYMaps'; import { BaseControl } from './BaseControl'; export function RouteButton(props) { return <BaseControl {...props} name="RouteButton" />; } if (process.env.NODE_ENV !=...