path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
client/src/components/AssetDropzone/AssetDropzone.js
silverstripe/silverstripe-asset-admin
/* global FileReader, Image, document, FormData */ import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import i18n from 'i18n'; import DropzoneLib from 'dropzone'; import $ from 'jquery'; import { getFileExtension } from 'lib/DataFormat'; import PropTypes from 'prop-types'; let idCounter = 0; ...
ajax/libs/rxjs/2.4.6/rx.lite.extras.js
tmorin/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'und...
docs/build/0.6e57cfb5.js
piotrwitek/react-redux-typescript-guide
webpackJsonp([0],{409:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n.n(r),o=n(1),s=n.n(o),a=n(113),l=n.n(a),c=n(411),u=(n.n(c),n(412)),d=(n.n(u),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty....
src/components/ScrollPositionHistory.js
mareklibra/userportal
import React from 'react' import PropTypes from 'prop-types' import { loadFromSessionStorage, saveToSessionStorage } from '../storage' /* * NOTE: On a page reload, if the scroll position was quite high (the user scrolled * down quite far), that scroll position will not be available until multiple * pag...
ajax/libs/primereact/6.6.0-rc.1/megamenu/megamenu.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { DomHandler, classNames, Ripple, ObjectUtils } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, ...
ajax/libs/forerunnerdb/1.3.480/fdb-core.min.js
bootcdn/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/esm/components/graphics/icons-next/envelope-icon-next/index.js
KissKissBankBank/kitten
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["color", "title"]; import React from 'react'; import PropTypes from 'prop-types'; export var EnvelopeIconNext = function EnvelopeIconNext(_ref) { var...
App.js
Milk-T/milkt-react-native-starkit
import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; export default class App extends React.Component { render() { return ( <View style={styles.container}> <Text>Open up App.js to start working on your app!</Text> <Text>Changes you make will automatically reload...
src/ButtonToolbar.js
zerkms/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const ButtonToolbar = React.createClass({ mixins: [BootstrapMixin], getDefaultProps() { return { bsClass: 'button-toolbar' }; }, render() { let classes = this.getBsClassSet(); ...
packages/material-ui-icons/src/DirectionsCarOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.85 7h10.29l1.08 3.1...
packages/material-ui-icons/src/OpenInBrowser.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let OpenInBrowser = props => <SvgIcon {...props}> <path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm-7 6l-4 4h3v6h2v-6h3l-4-4z" /> </SvgIcon>; Open...
packages/icons/src/md/maps/BeenHere.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdBeenHere(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M38 2c2.21 0 4 1.79 4 4l-.02 25.87c0 1.38-.7 2.6-1.76 3.32L23.99 46 7.76 35.19A4.011 4.011 0 0 1 6 31.87L6.02 6c0-2.21 1.77-4 3.98-4h28zM20 32l18-18...
src/js/components/icons/base/SocialInstagram.js
odedre/grommet-final
/** * @description SocialInstagram SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor...
packages/react-interactions/events/src/dom/Focus.js
TheBlasfem/react
/** * 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. * * @flow */ import type { ReactDOMResponderEvent, ReactDOMResponderContext, PointerType, } from 'shared/ReactDOMTypes'; impo...
jekyll-admin/src/containers/views/tests/pageedit.spec.js
mparlak/mparlak.github.io
import React from 'react'; import { shallow } from 'enzyme'; import { PageEdit } from '../PageEdit'; import Errors from '../../../components/Errors'; import Button from '../../../components/Button'; import { config, page } from './fixtures'; const defaultProps = { page: page, errors: [], fieldChanged: false, ...
ajax/libs/lightbox2/2.7.3/js/jquery.lightbox.min.js
magoni/cdnjs
/*! * jQuery JavaScript Library v1.11.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2015-04-28T16:19Z */ !function(a,b){"object"==typeof modul...
Libraries/Components/Navigation/NavigatorIOS.ios.js
orenklein/react-native
/** * Copyright (c) 2015-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. * * @provides...
src/svg-icons/action/alarm-on.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAlarmOn = (props) => ( <SvgIcon {...props}> <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.0...
src/calendar/Calendar.js
topcatcreatives/react-date-scroll
import React, { Component } from 'react'; import CalendarHeader from '../calendar-header/CalendarHeader' import CalendarBody from '../calendar-body/CalendarBody' import CalendarFooter from '../calendar-footer/CalendarFooter' import './styles/calendar.css'; class Calendar extends Component { getCalendarClasses() { ...
scripts/index.js
bannik/rsr
import React from 'react'; import App from './App'; React.render(<App />, document.getElementById('root'));
ajax/libs/yui/3.14.0/datatable-core/datatable-core-debug.js
artch/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...
src/member-games.js
FederationOfFathers/ui
import React, { Component } from 'react'; import dpr from './lib/dpr' import LazyLoad from 'react-lazy-load' var gamesCache = {} class Games extends Component { componentWillMount = () => { var data = false if ( typeof gamesCache[this.props.member.ID] !== "undefined" ) { data = gamesCache[this.props.member.ID...
fields/types/geopoint/GeoPointColumn.js
Yaska/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var GeoPointColumn = React.createClass({ displayName: 'GeoPointColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue...
blueocean-dashboard/src/main/js/components/stories/DownstreamRunsStories.js
jenkinsci/blueocean-plugin
/* eslint-disable */ import { storiesOf } from '@kadira/storybook'; import React from 'react'; import {ResultItem} from '@jenkins-cd/design-language'; import { DownstreamRunsView } from '../downstream-runs/DownstreamRunsView'; storiesOf('Downstream Build Links', module) .add('Basic', basic) ; const strings = { ...
test/PanelGroupSpec.js
JimiHFord/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import PanelGroup from '../src/PanelGroup'; import Panel from '../src/Panel'; describe('PanelGroup', function () { it('Should pass bsStyle to Panels', function () { let instance = ReactTestUtils.renderIntoDocument( <PanelGrou...
webpack.config.js
tareq-rar/reduxReact
module.exports = { entry: [ './src/index.js' ], output: { path: __dirname, publicPath: '/', filename: 'bundle.js' }, module: { loaders: [{ exclude: /node_modules/, loader: 'babel', query: { presets: ['react', 'es2015', 'stage-1'] } }] }, resolve: { ...
packages/icons/src/dv/Firefox.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function DvFirefox(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M43.09 19.996c-.056-2.295-.397-4.34-1.029-6.136-.511-1.45-1.179-2.707-2.018-3.816.391 1.534.591 2.727.598 3.595-.76-2.686-4.418-9.317-16.741-7.913 1....
src/components/Feedback/Feedback.js
cineindustria/site
/** * 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...
gulpfile.babel.js
liaodrake/react-jukebox
import gulp from 'gulp'; import browserify from 'browserify'; import source from 'vinyl-source-stream'; import buffer from 'vinyl-buffer'; import eslint from 'gulp-eslint'; import exorcist from 'exorcist'; import browserSync from 'browser-sync'; import watchify from 'watchify'; import babelify from 'babelify'; import u...
packages/netlify-cms-backend-gitlab/src/AuthenticationPage.js
netlify/netlify-cms
import React from 'react'; import PropTypes from 'prop-types'; import styled from '@emotion/styled'; import { NetlifyAuthenticator, ImplicitAuthenticator, PkceAuthenticator, } from 'netlify-cms-lib-auth'; import { AuthenticationPage, Icon } from 'netlify-cms-ui-default'; const LoginButtonIcon = styled(Icon)` m...
client/src/lists/segments/helpers.js
Mailtrain-org/mailtrain
'use strict'; import React from 'react'; import {DateTimePicker, Dropdown, InputField} from "../../lib/form"; import {DateFormat, formatBirthday, formatDate, parseBirthday, parseDate} from '../../../../shared/date'; import {tMark} from "../../lib/i18n"; export function getRuleHelpers(t, fields) { const ruleHelpe...
src/Tabs/ExampleControlled.js
JohnCrash/react-tiku
import React from 'react'; import {Tabs, Tab} from 'material-ui/Tabs'; const styles = { headline: { fontSize: 24, paddingTop: 16, marginBottom: 12, fontWeight: 400, }, }; export default class TabsExampleControlled extends React.Component { constructor(props) { super(props); ...
app/javascript/mastodon/features/home_timeline/index.js
5thfloor/ichiji-social
import React from 'react'; import { connect } from 'react-redux'; import { expandHomeTimeline } from '../../actions/timelines'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader from '../../comp...
ajax/libs/webshim/1.15.3-RC1/dev/shims/es6.js
menuka94/cdnjs
// ES6-shim 0.15.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) // ES6-shim may be freely distributed under the MIT license. // For more details and documentation: // https://github.com/paulmillr/es6-shim/ webshim.register('es6', function($, webshim, window, document, undefined){ 'use strict'; var isCallableW...
src/components/Box/Footer.js
falmar/react-adm-lte
import React from 'react' import PropTypes from 'prop-types' const Footer = ({children}) => { return ( <div className='box-footer'> {children} </div> ) } Footer.propTypes = { children: PropTypes.node } export default Footer
frontend/src/DiscoverMovie/Table/DiscoverMovieTableOptions.js
Radarr/Radarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import FormGroup from 'Components/Form/FormGroup'; import FormInputGroup from 'Components/Form/FormInputGroup'; import FormLabel from 'Components/Form/FormLabel'; import { inputTypes } from 'Helpers/Props'; import translate from 'Utilities/St...
test/specs/collections/Message/MessageItem-test.js
shengnian/shengnian-ui-react
import React from 'react' import MessageItem from 'src/collections/Message/MessageItem' import * as common from 'test/specs/commonTests' describe('MessageItem', () => { common.isConformant(MessageItem) common.implementsCreateMethod(MessageItem) common.rendersChildren(MessageItem) it('renders an li tag', () =>...
saga/seata-saga-statemachine-designer/ggeditor/components/ContextMenu/index.js
seata/seata
import React from 'react'; import { pick } from '@utils'; import Editor from '@components/Base/Editor'; import { CONTEXT_MENU_CONTAINER } from '@common/constants'; import withGGEditorContext from '@common/context/GGEditorContext/withGGEditorContext'; import Menu from './Menu'; class ContextMenu extends React.Component...
blueprints/smart/files/__root__/containers/__name__.js
BrysonPacocha/SportsStats
import React from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' type Props = { } export class <%= pascalEntityName %> extends React.Component { props: Props; render() { return ( <div></div> ) } } const mapStateToProps = (state) => { return {} } const ...
src/index.js
killvung/mysite
import React from 'react'; import { render } from 'react-dom'; import App from './components/App.jsx'; render(<App />, document.getElementById('render-target'));
src/client/components/admin/skills/skill_list.js
mohamedkeid/Eid-Systems
import _ from "lodash"; import React, { Component } from "react"; import { Link } from "react-router-dom"; /** * Component that renders list of skills where each item links to an edit form * @extends Component */ class SkillList extends Component { /** Dispatch redux action to update page status and fetch latest s...
src/native/me/MePage.js
chad099/react-native-boilerplate
// @flow import type { State, User } from '../../common/types'; import React from 'react'; import SignOut from '../auth/SignOut'; import getUserPhotoUrl from '../../common/users/getUserPhotoUrl'; import { Box, Text } from '../../common/components'; import { Image } from 'react-native'; import { Redirect } from 'react-r...
ajax/libs/material-ui/4.9.2/es/FormControl/FormControl.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { isFilled, isAdornedStart } from '../InputBase/utils'; import wi...
front-end/BreakpointsSidebarPane.js
gameclosure/NativeInspector
/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
ajax/libs/yui/3.10.3/datatable-core/datatable-core.js
zimbatm/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...
src/Header/index.js
christianalfoni/ducky-components
import React from 'react'; import PropTypes from 'prop-types'; import styles from './styles.css'; function Header(props) { return ( <div className={styles.wrapper}> <div className={styles.title}>{props.title}</div> {props.subTitle ? <div className={styles.subTitle}>{props.subTitle}<...
src/routes/dashboard/components/user.js
zhangjingge/sse-antd-admin
import React from 'react' import PropTypes from 'prop-types' import { Button } from 'antd' import styles from './user.less' import CountUp from 'react-countup' import { color } from '../../../utils' const countUpProps = { start: 0, duration: 2.75, useEasing: true, useGrouping: true, separator: ',', } functio...
new-lamassu-admin/src/pages/Customers/CustomersList.js
naconner/lamassu-server
import { makeStyles } from '@material-ui/core/styles' import { format } from 'date-fns/fp' import * as R from 'ramda' import React from 'react' import { MainStatus } from 'src/components/Status' import DataTable from 'src/components/tables/DataTable' import { ReactComponent as TxInIcon } from 'src/styling/icons/direct...
ajax/libs/glamor/2.20.1/index.js
seogi1004/cdnjs
(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["Glamor"] = factory(); else root["Glamor...
src/routes/root/routes/Banking/routes/Orders/routes/NewTransferOrder/routes/NewTransferOrderResult/index.js
GKotsovos/WebBanking-Front-End
import { logOut } from 'routes/root/routes/Banking/modules/banking'; import NewTransferOrderResult from './containers/NewTransferOrderResultContainer' import cookie from 'react-cookie' export default (store) => ({ path: '/banking/orders/transfer/new/result', getComponent (nextState, cb) { require.ensure([], (r...
ajax/libs/material-ui/4.11.3-deprecations.1/SwipeableDrawer/SwipeableDrawer.js
cdnjs/cdnjs
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.reset = reset; exports.default = void 0; var _objectWit...
packages/material-ui-icons/src/QuestionAnswerRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M20 6h-1v8c0 .55-.45 1-1 1H6v1c0 1.1.9 2 2 2h10l4 4V8c0-1.1-.9-2-2-2zm-3 5V4c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v13l4-4h9c1.1 0 2-.9 2-2z" /> , 'QuestionAnswerRounded');
src/NavbarHeader.js
mmarcant/react-bootstrap
import classNames from 'classnames'; import React from 'react'; import { prefix } from './utils/bootstrapUtils'; const contextTypes = { $bs_navbar: React.PropTypes.shape({ bsClass: React.PropTypes.string, }), }; class NavbarHeader extends React.Component { render() { const { className, ...props } = thi...
src/svg-icons/action/credit-card.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionCreditCard = (props) => ( <SvgIcon {...props}> <path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"/> </SvgIcon> ); Action...
ajax/libs/yui/3.14.0/scrollview-base/scrollview-base.js
joaojeronimo/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...
ajax/libs/yui/3.14.1/datatable-core/datatable-core.js
ruo91/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...
client/src/components/GridField/GridFieldTable.js
silverstripe/silverstripe-admin
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class GridFieldTable extends Component { /** * Generates the header component. * * Uses the header component passed via the `header` prop if it exists. * Otherwise generates a header from the `data` prop. * * @return obje...
src/svg-icons/notification/tap-and-play.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationTapAndPlay = (props) => ( <SvgIcon {...props}> <path d="M2 16v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0 4v3h3c0-1.66-1.34-3-3-3zm0-8v2c4.97 0 9 4.03 9 9h2c0-6.08-4.92-11-11-11zM17 1.01L7 1c-1.1 0-2...
js/App.js
smartinsantos/FEM-intro-react
import React from 'react' import { Match } from 'react-router' import { Provider } from 'react-redux' import store from './store' import AsyncRoute from './AsyncRoute' import preload from '../public/data.json' if (global) { global.System = { import () {} } } const App = () => { return ( <Provider store={store}...
src/svg-icons/editor/insert-emoticon.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorInsertEmoticon = (props) => ( <SvgIcon {...props}> <path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm...
packages/material-ui-styles/src/StylesProvider/StylesProvider.js
lgollut/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { exactProp } from '@material-ui/utils'; import createGenerateClassName from '../createGenerateClassName'; import { create } from 'jss'; import jssPreset from '../jssPreset'; // Default JSS instance. const jss = create(jssPreset()); // Use a single...
ajax/libs/F2/1.3.3/f2.min.js
WebReflection/cdnjs
/*! F2 - v1.3.3 - 04-07-2014 - See below for copyright and license */ !function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obt...
internals/webpack/webpack.base.babel.js
interra/data-generate
/** * COMMON WEBPACK CONFIGURATION */ const path = require('path'); const webpack = require('webpack'); const fs = require('fs'); const YAML = require('yamljs'); const omit = require('lodash/omit'); // Remove this line once the following warning goes away (it was meant for webpack loader authors not users): // 'Dep...
frontend/app/components/pages/admin/admin-version.js
LINKIWI/linkr
import dottie from 'dottie'; import React from 'react'; import request from 'browser-request'; import InfoTable from '../../info-table'; import context from '../../../util/context'; /** * Information about the server-deployed version of Linkr. */ export default class AdminVersion extends React.Component { constr...
src/js/components/icons/base/VolumeMute.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
docs/src/HomePage.js
andrew-d/react-bootstrap
import React from 'react'; import NavMain from './NavMain'; import PageFooter from './PageFooter'; import Grid from '../../src/Grid'; import Alert from '../../src/Alert'; import Glyphicon from '../../src/Glyphicon'; import Label from '../../src/Label'; export default class HomePage extends React.Component{ render()...
src/miniak-patch-editor/index.js
crosslandwa/chippanfire-site
import React from 'react' import ExternalLink from '../external-link' import PageTemplate from '../PageTemplate' const MiniakPatchEditor = () => ( <PageTemplate> <h1 className="cpf-header">Miniak Patch Editor</h1> <p> <ExternalLink href="https://www.ableton.com/maxforlive">Max For Live</ExternalLink> d...
Samples/Core.JavaScriptCustomization/Core.JavaScriptCustomization.AppWeb/Scripts/jquery-1.9.1.js
vman/PnP
/* NUGET: BEGIN LICENSE TEXT jQuery v1.9.1 Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc...
packages/material-ui-icons/src/HomeRounded.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="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5...
node_modules/material-ui/lib/svg-icons/hardware/keyboard-arrow-left.js
fernando-jascovich/vagrant-manager
'use strict'; var React = require('react'); var PureRenderMixin = require('react-addons-pure-render-mixin'); var SvgIcon = require('../../svg-icon'); var HardwareKeyboardArrowLeft = React.createClass({ displayName: 'HardwareKeyboardArrowLeft', mixins: [PureRenderMixin], render: function render() { return ...
app/components/Form/FieldFile.js
vollmerr/app-hub
import React from 'react'; import PropTypes from 'prop-types'; import Dropzone from 'react-dropzone'; import styled from 'styled-components'; import { DefaultButton, IconButton } from 'office-ui-fabric-react/lib/Button'; import { Label } from 'office-ui-fabric-react/lib/Label'; // import { downloadFile } from 'utils/r...
docs/app/Examples/modules/Checkbox/Types/CheckboxExampleSlider.js
shengnian/shengnian-ui-react
import React from 'react' import { Checkbox } from 'shengnian-ui-react' const CheckboxExampleSlider = () => ( <Checkbox slider /> ) export default CheckboxExampleSlider
ajax/libs/angular.js/0.10.1/angular.js
cgvarela/cdnjs
/** * @license AngularJS v0.10.1 * (c) 2010-2011 AngularJS http://angularjs.org * License: MIT */ 'use strict'; (function(window, document, undefined){ //////////////////////////////////// if (typeof document.getAttribute == $undefined) document.getAttribute = function() {}; /** * @ngdoc function * @name ang...
wrappers/yaml.js
agoldenduck/agoldenduck.github.io
import React from 'react' import yaml from 'js-yaml' import Helmet from 'react-helmet' import { config } from 'config' module.exports = React.createClass({ propTypes () { return { route: React.PropTypes.object, } }, render () { const data = this.props.route.page.data return ( <div> ...
app/components/events/contributions/ContributionListItem.js
alexko13/block-and-frame
import React, { Component } from 'react'; import BringerView from './BringerView.js'; import userHelpers from '../../../utils/userHelpers'; class Contribution extends Component { constructor(props) { super(props); this.state = { userEmail: '', username: '', userLocation: '', isTravel...
public/js/components/navbar.js
gonzochic/inox
import React from 'react'; import Avatar from 'public/js/components/avatar' export default class Navbar extends React.Component { constructor(props) { super(props); } render() { return ( <div id="header" className="sticky clearfix header-md"> <header id="topNav"> <div className="...
fields/components/columns/ArrayColumn.js
geminiyellow/keystone
import React from 'react'; import ItemsTableCell from '../../../admin/src/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/src/components/ItemsTableValue'; var ArrayColumn = React.createClass({ displayName: 'ArrayColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.obje...
src/components/Report/Kind/ExpenseTags.js
ayastreb/money-tracker
import Chartist from 'chartist'; import 'chartist-plugin-tooltips'; import 'chartist-plugin-tooltips/dist/chartist-plugin-tooltip.css'; import 'chartist/dist/chartist.min.css'; import abbreviate from 'number-abbreviate'; import PropTypes from 'prop-types'; import React from 'react'; import ChartistGraph from 'react-cha...
src/components/run.js
heikkipesonen/batmanin-ostoslista
import React from 'react'; import ReactDOM from 'react-dom'; import App from './Main'; // Render the main component into the dom ReactDOM.render(<App />, document.getElementById('app'));
src/scripts/Routes.js
barlas/reactjs-starter-kit-boilerplate
'use strict'; import React from 'react/addons'; import {Router, Route, IndexRoute} from 'react-router'; import CreateBrowserHistory from 'history/lib/createBrowserHistory'; import App from './App'; import HomePage from './pages/HomePage'; import ...
src/components/CourseEditor/NoteEditor/PickNoteForm.js
bibleexchange/be-front-new
import React from 'react'; import Relay from 'react-relay/classic'; import N from '../../NoteTypes'; import GithubForm from './Forms/GithubForm'; import BibleVerseForm from './Forms/BibleVerseForm'; import TextForm from './Forms/TextForm'; import CourseForm from './Forms/CourseForm'; import MarkdownForm from './Forms/M...
React Native/1/__tests__/App.js
hugonasciutti/Exercises
import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <App /> ); });
app/boards/formula-renault-20/components/fixed-number.js
fermio/motorsport-display
import React from 'react'; const FixedNumber = React.createClass({ propTypes: { id: React.PropTypes.string.isRequired, legend: React.PropTypes.string.isRequired, type: React.PropTypes.oneOf(['fieldset', 'div']), precision: React.PropTypes.string, num: React.PropTypes.number,...
app/js/Routes.js
theappbusiness/tab-hq
'use strict'; import React from 'react'; import {Router, Route } from 'react-router'; import createHashHistory from 'history/lib/createHashHistory' const history = createHashHistory({ queryKey: false }) import Api from './utils/Api'; import Login from './components/authentication/Login'; import App from './App'; Api...
docs/app/Examples/collections/Grid/Types/GridExampleDividedVertically.js
koenvg/Semantic-UI-React
import React from 'react' import { Grid, Image } from 'semantic-ui-react' const GridExampleVerticallyDivided = () => ( <Grid divided='vertically'> <Grid.Row columns={2}> <Grid.Column> <Image src='http://semantic-ui.com/images/wireframe/paragraph.png' /> </Grid.Column> <Grid.Column> ...
src/main/scripts/modules/sea-siege/react/views/character.js
twuni/sea-siege
import React from 'react'; import View from '../components/view'; class CharacterView extends View { render() { return <div className={this.classNames}/> } } export default CharacterView;
ajax/libs/inferno-compat/1.3.0-rc.6/inferno-compat.min.js
joeyparrish/cdnjs
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("inferno-component"),require("inferno")):"function"==typeof define&&define.amd?define(["exports","inferno-component","inferno"],n):n(e["inferno-compat"]=e["inferno-compat"]||{},e.Inferno.Component,e.Inferno)}(this,function(e,n,t){"use...
actor-apps/app-web/src/app/index.js
webwlsong/actor-platform
import crosstab from 'crosstab'; import React from 'react'; import Router from 'react-router'; import Raven from 'utils/Raven'; // eslint-disable-line import isMobile from 'utils/isMobile'; import ReactMixin from 'react-mixin'; import Intl from 'intl'; // eslint-disable-line import LocaleData from 'intl/locale-data/j...
web/bundles/mylake/js/jquery-1.6.4.min.js
mu4ddi3/gajdaw-tatras
/*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */ (function(a,b){function cu(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cr(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"...
packages/material-ui-icons/src/SnoozeSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M9 11h3.63L9 15.2V17h6v-2h-3.63L15 10.8V9H9v2zm7.056-7.654l1.282-1.535 4.607 3.85-1.28 1.54zM3.336 7.19l-1.28-1.536L6.662 1.81l1.28 1.536zM12 6c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.14-7-7 3.14-7 7-7m0-2c...
tests/routes/Counter/components/Counter.spec.js
SKing7/react-starter
import React from 'react' import { bindActionCreators } from 'redux' import { Counter } from 'routes/Counter/components/Counter' import { shallow } from 'enzyme' describe('(Component) Counter', () => { let _props, _spies, _wrapper beforeEach(() => { _spies = {} _props = { counter : 5, ...bindA...
packages/material-ui-icons/src/Shuffle.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M10.59 9.17L5.41 4 4 5.41l5.17 5.17 1.42-1.41zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4h-5.5zm.33 9.41l-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2.04 2.04-3.13-3.13z" /></g> , 'Shuffle');
examples/Playground/App.js
timomeh/react-native-material-bottom-navigation
import React from 'react' import { View, StyleSheet, Image } from 'react-native' import BottomNavigation, { IconTab, Badge } from 'react-native-material-bottom-navigation' import Icon from '@expo/vector-icons/MaterialCommunityIcons' export default class App extends React.Component { state = { activeTab: 'gam...
frontend/src/components/PersonTable/PersonTable.js
blalasaadri/TechTalent
import React from 'react'; import { Table } from 'react-bootstrap'; import SkillOverview from 'components/SkillOverview'; import { Link } from 'react-router'; export const PersonTable = function (props) { var trs = props.persons.map((person) => ( <tr key={person.id}> <td> <Link to={`/persons/${pe...
src/index.js
aleen42/sound.js
/*********************************************************************** * _ * _____ _ ____ _ |_| * | _ |/ \ ____ ____ __ ___ / ___\/ \ __ _ ____ _ * | |_| || | / __ \/ _...
node_modules/react-icons/fa/crop.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaCrop = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m13.9 28.6h13.3v-13.3z m-1-1l13.3-13.3h-13.3v13.3z m25.7 1.7v4.3q0 0.3-0.2 0.5t-0.5 0.2h-5v5q0 0.3-0.2 0.5t-0.5 0.2h-4.3q-0.3 0-0.5-0.2t-0.2-0.5v-5h-19.3q-0.3 0-0.5-0.2t...
src/components/Home.js
AvaKathrynShaw/My-React-Material-Dashboard
import React from 'react'; import FullWidthSection from './FullWidthSection' import Widget from './Widget'; import SortPane from './Pane'; class Home extends React.Component { render() { return ( <div> <FullWidthSection useContent={true}> <SortPane /> </FullWidthSection> </div...
node_modules/react-icons/md/trending-down.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdTrendingDown = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m26.6 30l3.9-3.8-8.2-8.2-6.6 6.7-12.3-12.4 2.3-2.3 10 10 6.6-6.6 10.5 10.4 3.8-3.8v10h-10z"/></g> </Icon> ) export default MdTrendingDown
js/src/dapps/registry.js
jesuscript/parity
// Copyright 2015, 2016 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 la...
packages/cf-component-box/test/Box.js
koddsson/cf-ui
import React from 'react'; import { Box } from '../src/index'; import { felaSnapshot } from 'cf-style-provider'; test('should render all props as styles', () => { const snapshot = felaSnapshot( <Box borderWidth={1} borderStyle="solid" borderColor="black" margin="1rem" padding="1rem"...