path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
client/node_modules/uu5g03/dist-node/doc-kit/component.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import Environment from '../environment/environment.js'; import {BaseMixin, ElementaryMixin, SectionMixin} from '../common/common.js'; import {Lsi, Section, Ul, Li, FileViewer, Table, Div} from '../bricks/bricks.js'; import Demo from './demo.js'; import SourceCode from './source-code.js'; im...
examples/real-world/src/common/components/User.js
ioof-holdings/redux-dynamic-reducer
import React from 'react' import PropTypes from 'prop-types' import { Link } from 'react-router' const User = ({ user }) => { const { login, avatarUrl, name } = user return ( <div className="User"> <Link to={`/${login}`}> <img src={avatarUrl} alt={login} width="72" height="72" /> <h3> ...
files/rxjs/2.2.27/rx.lite.extras.js
leebyron/jsdelivr
// 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, 'unde...
src/routes.js
shilu89757/react-redux-universal-hot-example
import React from 'react'; import {Route} from 'react-router'; import { App, Home, Widgets, About, Login, RequireLogin, LoginSuccess, Survey, NotFound, } from 'containers'; export default function(store) { return ( <Route component={App}> <Route path="/" component={Hom...
client-web/client-web/src/components/AddNewProperty.js
ppsari/final
import React from 'react' import axios from 'axios' import Countries from 'countries-cities' import GoogleMapReact from 'google-map-react' import { upload } from '../helpers/upload' import geocoder from 'geocoder' const api = 'https://api.room360.ga/api' let property = {} class AddNewProperty extends React.Component...
src/svg-icons/maps/directions-run.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsDirectionsRun = (props) => ( <SvgIcon {...props}> <path d="M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-3.6 13.9l1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l...
js/jqwidgets/demos/react/app/chart/donutseries/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxChart from '../../../jqwidgets-react/react_jqxchart.js'; class App extends React.Component { render() { let data_source_mobile = { datatype: 'csv', datafields: [ { name: '...
ajax/libs/yui/3.10.3/datatable-body/datatable-body-debug.js
tengyifei/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
mlflow/server/js/src/experiment-tracking/components/NotFoundPage.js
mlflow/mlflow
import React, { Component } from 'react'; class NotFoundPage extends Component { render() { return <div>Resource not found.</div>; } } export default NotFoundPage;
Web/node_modules/react-input-calendar/node_modules/reactify/node_modules/react-tools/src/test/worker.js
AccelNA/timeLogs
/* jshint worker: true */ "use strict"; if (typeof console == 'undefined') { this.console = { error: function(e){ postMessage(JSON.stringify({ type: 'error', message: e.message, stack: e.stack })); }, log: function(message){ postMessage(JSON.stringify({ t...
App/node_modules/react-native/node_modules/babel-plugin-react-transform/test/fixtures/code-ignore/actual.js
Dagers/React-Native-Differential-Updater
import React from 'react'; const First = React.createNotClass({ displayName: 'First' }); class Second extends React.NotComponent {}
app/jsx/gradezilla/default_gradebook/components/LatePoliciesTabPanel.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...
static/src/js/pages/HomePage.js
enginyoyen/blackcrystal
import React from 'react'; import NavMain from '../components/navigation/NavMain'; import PageFooter from '../components/PageFooter'; import PageHeader from '../components/PageHeader'; import { Grid } from 'react-bootstrap'; import { Alert } from 'react-bootstrap'; import { Glyphicon } from 'react-bootstrap'; import {...
js/vendor/jquery-1.10.2.min.js
dhemeier/GruntExample
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
src/svg-icons/communication/call-missed-outgoing.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationCallMissedOutgoing = (props) => ( <SvgIcon {...props}> <path d="M3 8.41l9 9 7-7V15h2V7h-8v2h4.59L12 14.59 4.41 7 3 8.41z"/> </SvgIcon> ); CommunicationCallMissedOutgoing = pure(CommunicationCallM...
test/bench/fixtures/react.js
mysticatea/acorn
/** * React v15.5.4 */ (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}...
mocks/service/github/responses.js
canonical-websites/build.snapcraft.io
import { createHmac } from 'crypto'; import request from 'request'; import React from 'react'; import ReactDOM from 'react-dom/server'; import { makeWebhookSecret, getGitHubRootSecret } from '../../../src/server/handlers/webhook'; import LoginForm from './login-form'; export function okayNewHookCreated(req, res) { ...
client/extensions/woocommerce/app/settings/shipping/shipping-zone/shipping-zone-location-dialog.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { localize } from 'i18n-calypso'; /** * Internal dependencies */ import Dialog from 'components/dialog'; import ShippingZoneLocationDialogCountries from './sh...
app/containers/Account/index.js
audoralc/pyxis
/* * * Account * */ import React from 'react'; import Helmet from 'react-helmet'; export default class Account extends React.PureComponent { render() { return ( <div> <Helmet title="Account" meta={[ { name: 'description', content: 'Description of Account' }]}/> //Remove this line and yo...
src/containers/Uielements/Tree/searchableTree.js
EncontrAR/backoffice
import React, { Component } from 'react'; import Tree from '../../../components/uielements/tree'; import Input from '../../../components/uielements/input'; const TreeNode = Tree.TreeNode; const Search = Input.Search; const x = 3; const y = 2; const z = 1; const gData = []; const generateData = (_level, _preKey, _tns...
ajax/libs/yui/3.7.3/scrollview-base/scrollview-base-coverage.js
tonytlwu/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
server/sonar-web/src/test/js/coding-rules-spec.js
jango2015/sonarqube
/* global describe:false, it:false */ var lib = require('../lib'); describe('Coding Rules App', function () { it('should show alert when there is no available profiles for activation', 2, function (casper, test) { return casper .start(lib.buildUrl('base'), function () { lib.setDefaultViewport(...
client/components/Navbar/index.js
JohannesAnd/SKWebsite
import React from 'react'; import { faBars } from '@fortawesome/free-solid-svg-icons'; import { Nav, Brand, ElementsWrapper, Hamburger } from './elements'; export default function Navbar({ className, children, toggleMenu, menuExpanded, }) { return ( <Nav className={className}> <a href={'/sk'}> ...
ajax/libs/yui/3.10.3/event-focus/event-focus.js
Teino1978-Corp/Teino1978-Corp-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() { ...
packages/material-ui-docs/src/svgIcons/TypeScript.js
lgollut/material-ui
import React from 'react'; import SvgIcon from '@material-ui/core/SvgIcon'; function TypeScript(props) { return ( <SvgIcon {...props}> <path d="M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.8...
src/client/menu.js
uptownhr/hacker-menu
import React from 'react' export default class Menu extends React.Component { handleOnClick (e) { e.preventDefault() this.props.onQuitClick() } render () { var statusText = 'v' + this.props.version var buttonText = 'Quit' if (this.props.status === 'update-available') { statusText += ' ...
ajax/libs/backbone.radio/0.4.1/backbone.radio.js
NameFILIP/cdnjs
// Backbone.Radio v0.4.0 (function(root, factory) { if (typeof define === 'function' && define.amd) { define(['backbone', 'underscore'], function(Backbone, _) { return factory(Backbone, _); }); } else if (typeof exports !== 'undefined') { var Backbone = require('backbone'); var _ = require('...
ajax/libs/yui/3.8.0/datatable-core/datatable-core-debug.js
cbas/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...
components/facebook-React@v0.11.1/src/utils/__tests__/Transaction-test.js
james-huston/learn2reactn00b
/** * Copyright 2013-2014 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
ajax/libs/oboe.js/1.12.2/oboe-browser.js
menuka94/cdnjs
// This file is the concatenation of many js files. // See https://github.com/jimhigson/oboe.js for the raw source (function (window, Object, Array, Error, JSON, undefined ) { // v1.12.1-7-g08a2134 /* Copyright (c) 2013, Jim Higson All rights reserved. Redistribution and use in source and binary forms, with or wi...
app/javascript/mastodon/features/follow_requests/components/account_authorize.js
kazh98/social.arnip.org
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Permalink from '../../../components/permalink'; import Avatar from '../../../components/avatar'; import DisplayName from '../../../components/display_name'; import IconButton from '../../../...
node_modules/react-bootstrap/es/Popover.js
premcool/getmydeal
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
src/scenes/home/press/pressPhotos/pressPhotos.js
miaket/operationcode_frontend
import React from 'react'; import CodeConferencePic from '../../../../images/CodeConferenceLA.jpg'; import RedHatSummitPic from '../../../../images/RedHat-Summit.jpg'; import NodeSummitPic from '../../../../images/Node-Summit.jpg'; import AngelHackBostonPic from '../../../../images/AngelHack-Boston.jpg'; import UtahMee...
packages/material-ui-icons/src/TagFacesOutlined.js
allanalexandre/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="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 ...
client/test/pages/UserEdit.js
CMPUT404F16Project/cmput404-project
import React from 'react'; import { shallow } from 'enzyme'; import assert from 'assert'; import { UserEdit } from '../../src_users/pages/UserEdit'; // unit tests for the UserEdit component describe('UserEdit component', () => { describe('render()', () => { it('should render the add user form', () => { ...
src/js/components/WorldMap.js
odedre/grommet-final
// (C) Copyright 2016 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 KeyboardAccelerators from '../utils/KeyboardAccelerators'; const CLASS_ROOT = CS...
node_modules/react-navigation/src/routers/__tests__/Routers-test.js
gunaangs/Feedonymous
/* @flow */ /* eslint react/no-multi-comp:0 */ import React from 'react'; import StackRouter from '../StackRouter'; import TabRouter from '../TabRouter'; import NavigationActions from '../../NavigationActions'; import addNavigationHelpers from '../../addNavigationHelpers'; const ROUTERS = { TabRouter, StackRout...
src/svg-icons/hardware/memory.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareMemory = (props) => ( <SvgIcon {...props}> <path d="M15 9H9v6h6V9zm-2 4h-2v-2h2v2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 ...
lib/templates/LESSCONT.js
rle-mino/react-generatr
'use babel'; export default (name = 'MyComp', semi = true) => `\ import React from 'react'__S__ import PropTypes from 'prop-types'__S__ import { connect } from 'react-redux'__S__ import { bindActionCreators } from 'redux'__S__ const ${name} = () => ( )__S__ ${name}.propTypes = { }__S__ const mapStateToProps = () ...
assets/scripts/src/components/GameControls.js
jshjohnson/NumberRush
// React import React, { Component } from 'react'; class GameControls extends Component { render() { let { controls } = this.props; return ( <controls> <ul className="header__controls list-unstyled"> { controls.map(function(con...
src/components/todos-list-header.js
spialelo/react-todos
import React from 'react'; class TodosListHeader extends React.Component { render() { return ( <thead> <tr> <th className="">Task</th> <th>Actions</th> </tr> </thead> ); } } export default TodosListHeader;
protofront/src/main/webapp/easyui/jquery.min.js
bbones/proto1
/*! jQuery v1.11.3 | (c) 2005, 2015 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...
newclient/scripts/components/admin/detail-view/approval-confirmation/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...
ajax/libs/react-three-renderer/3.1.1/descriptors/Object/Helper/GridHelperDescriptor.js
cdnjs/cdnjs
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
public/app/components/player/duration-panel.js
feedm3/unhypem
/** * @author Fabian Dietenberger */ 'use strict'; import React from 'react'; import songDispatcher from '../../dispatcher/song-dispatcher'; class DurationLabel extends React.Component { constructor(props) { super(props); this.state = { duration: 0, position: 0 }...
src/components/Feedback/Feedback.js
yask123/ReactPract
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; import styles from './Feedback.css'; import withStyles from '../../decorators/withStyles'; @withStyles(styles) class Feedback extends Component { render() { return ( <div className="Feedback...
app/components/Toggle/index.js
c-dagostino/react-boilerplate-example
/** * * LocaleToggle * */ import React from 'react'; import Select from './Select'; import ToggleOption from '../ToggleOption'; function Toggle(props) { let content = (<option>--</option>); // If we have items, render them if (props.values) { content = props.values.map((value) => ( <ToggleOption key...
src/svg-icons/notification/network-locked.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationNetworkLocked = (props) => ( <SvgIcon {...props}> <path d="M19.5 10c.17 0 .33.03.5.05V1L1 20h13v-3c0-.89.39-1.68 1-2.23v-.27c0-2.48 2.02-4.5 4.5-4.5zm2.5 6v-1.5c0-1.38-1.12-2.5-2.5-2.5S17 13.12 17 1...
src/views/syllabus/Aspect.js
bostontrader/senmaker
// @flow import React from 'react' import LessonNavigator from './LessonNavigator' import {VerbdPanelLevel} from '../../data/dictionary/verbd/VerbdConstants' function Aspect(props:Object):Object { const style:Object = { border: '1px solid black', margin: '5px' } const q:Object = props....
src/Col.js
blue68/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import styleMaps from './styleMaps'; import CustomPropTypes from './utils/CustomPropTypes'; const Col = React.createClass({ propTypes: { /** * The number of columns you wish to span * * for Extra small devices Phones (<768px) * ...
packages/wix-style-react/src/MultiSelectCheckbox/test/TestTabSwitches.js
wix/wix-style-react
import React from 'react'; import { storySettings } from '../docs/storySettings'; import { MultiSelectCheckbox } from 'wix-style-react'; const style = { display: 'inline-block', padding: '0 5px', width: '140px', lineHeight: '22px', }; const options = Array.from(new Array(30), (_, id) => ({ id, value: `Op...
src/components/common/Tab/Tab.js
ndxm/NDReactBoilerplate
import React from 'react'; import Styles from './Tab.css'; import { Link,History } from 'react-router'; var createHistory = History.createHistory; let Tab = React.createClass({ getInitialState(){ return { selectedIndex : -1 } }, componentWillReceiveProps(nextProps){ if(th...
src/components/modals/modal.js
dcporter44/tunefest-frontend
import React, { Component } from 'react'; import { connect } from 'react-redux'; import AlertModal from './alert_modal'; import { closeModal } from '../../actions/modal_actions'; import { MODAL_TYPES } from '../../actions/modal_actions' class Modal extends Component { constructor(props) { super(props); this...
core/test/utils/fixtures/data-generator.js
ddeveloperr/Ghost
var _ = require('lodash'), uuid = require('node-uuid'), globalUtils = require('../../../server/utils'), DataGenerator = {}; /*jshint quotmark:false*/ // jscs:disable validateQuoteMarks, requireCamelCaseOrUpperCaseIdentifiers DataGenerator.Content = { posts: [ { ...
packages/material-ui-icons/src/TitleOutlined.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="M5 4v3h5.5v12h3V7H19V4H5z" /></g></React.Fragment> , 'TitleOutlined');
components/date_picker_all/CalendarDay.js
zooshgroup/react-toolbox-components
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import time from '../utils/time'; class Day extends Component { static propTypes = { day: PropTypes.number, disabled: PropTypes.bool, onClick: PropTypes.func, selectedDate: PropTypes.ins...
packages/react-scripts/fixtures/kitchensink/src/features/env/PublicUrl.js
shrynx/react-super-scripts
/** * 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. */ import Rea...
src/main.js
nestoralonso/recetas-redux
import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import AppShell from './components/AppShell.jsx'; import RecipesPage from './components/recipes/MyRecipesPage.jsx'; im...
docs/src/app/components/pages/components/AutoComplete/ExampleSimple.js
mtsandeep/material-ui
import React from 'react'; import AutoComplete from 'material-ui/AutoComplete'; export default class AutoCompleteExampleSimple extends React.Component { constructor(props) { super(props); this.state = { dataSource: [], }; } handleUpdateInput = (value) => { this.setState({ dataSourc...
ajax/libs/recompose/0.20.1/Recompose.js
honestree/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Recompose"] = facto...
app/components/Home.js
kassyn/me
import React from 'react'; import Featured from './Featured'; import Calendar from './Calendar'; import List from './List'; class Home extends React.Component { render() { return ( <div> <div className="row"> <div className="nine-column"> <Featured /> </div> <div className="three-column...
ajax/libs/forerunnerdb/1.3.754/fdb-legacy.js
tholu/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...
website/server/server.js
gabelevi/relay
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use stric...
chapter-12/isomorphic/src/pages/About.js
mocheng/react-and-redux
import React from 'react'; const About = () => { return ( <div>About</div> ); }; export default About;
src/admin/src/components/controls/forms/form_date.js
jgretz/zen-express
import React from 'react'; import { DateTimeInput } from '../inputs'; export const formDate = (field) => <DateTimeInput key={field.name} name={field.name} label={field.name} mode="date" />;
src/extensions/default/JavaScriptQuickEdit/unittest-files/jquery-ui/tests/unit/accordion/accordion_events.js
Mosoc/brackets
(function( $ ) { var setupTeardown = TestHelpers.accordion.setupTeardown, state = TestHelpers.accordion.state; module( "accordion: events", setupTeardown() ); test( "create", function() { expect( 10 ); var element = $( "#list1" ), headers = element.children( "h3" ), contents = headers.next(); element.accor...
app/javascript/mastodon/components/avatar_composite.js
kirakiratter/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { autoPlayGif } from '../initial_state'; export default class AvatarComposite extends React.PureComponent { static propTypes = { accounts: ImmutablePropTypes.list.isRequired, ani...
node_modules/rc-slider/es/Range.js
prodigalyijun/demo-by-antd
import _defineProperty from 'babel-runtime/helpers/defineProperty'; import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray'; import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createCl...
src/svg-icons/av/sort-by-alpha.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvSortByAlpha = (props) => ( <SvgIcon {...props}> <path d="M14.94 4.66h-4.72l2.36-2.36zm-4.69 14.71h4.66l-2.33 2.33zM6.1 6.27L1.6 17.73h1.84l.92-2.45h5.11l.92 2.45h1.84L7.74 6.27H6.1zm-1.13 7.37l1.94-5.18 1.94 ...
client/layout/drawer/index.js
yeoh-joer/synapse
/** * External Dependencies */ import React from 'react' import PropTypes from 'prop-types' import { Set as ImmutableSet } from 'immutable' import { MDCTemporaryDrawerFoundation } from '@material/drawer/dist/mdc.drawer' /** * Internal Dependencies */ import classNames from 'client/lib/class-names' import './style....
src/components/views/newToLisk/NewToLisk.js
LiskHunt/LiskHunt
import React, { Component } from 'react'; import AnimationsWrapper from '../../animations-wrapper/AnimationsWrapper'; import { goResourcesList, goNewToLisk } from '../../router/routes'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import { bindActionCreators } from 'redux'; import...
examples/todomvc/index.js
chrisvfritz/redux
import 'babel/polyfill'; import React from 'react'; import Root from './containers/Root'; import 'todomvc-app-css/index.css'; React.render( <Root />, document.getElementById('root') );
docs-ui/components/idBadge.stories.js
mvaled/sentry
import React from 'react'; import {storiesOf} from '@storybook/react'; import {withInfo} from '@storybook/addon-info'; import styled from 'react-emotion'; import IdBadge from 'app/components/idBadge'; const Item = styled('div')` padding: 8px; background-color: white; border: 1px dashed #fcfcfc; margin-bottom:...
src/routes/CoinFlip/components/CoinView.js
dontexpectanythingsensible/random-utils
import React from 'react'; import { getRandomInt } from 'services/utils'; import Coin from 'components/Coin'; import Slider from 'components/Slider'; import Ad from 'components/Ad'; export default class CoinView extends React.Component { state = { coins: [], amount: 1 } flip = () => { const coins = ...
src/components/__tests__/horizontal-bar-icon-test.js
ronlobo/building-os-charts
import Component from '../horizontal-bar-icon'; import TestFunctions from './__test-functions__'; import React from 'react'; import RankingBadge from '../ranking-badge'; import SvgImage from '../svg-image'; describe('HorizontalBarIcon', () => { const { renderIntoDocument } = React.addons.TestUtils; TestFunctions....
app/components/pipeline/Teams.js
buildkite/frontend
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import Chooser from 'app/components/shared/Chooser'; import Emojify from 'app/components/shared/Emojify'; const PipelineChooser = styled(Chooser)` margin: -5px; `; class PipelineTeams extends React.Component { ...
docs/app/Examples/elements/Button/Groups/index.js
Rohanhacker/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const ButtonGroupsExamples = () => ( <ExampleSection title='Groups'> <ComponentExample title='Group' description='But...
packages/mui-icons-material/lib/esm/IsoOutlined.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("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-2zM5.5 7.5h2v-2H9v2h2V9H9v2H7.5V9h-2V7.5zM19 19H5L19 5v14zm-2-2v-1.5h-5V17h5z" }),...
webapp/client/scripts/main.js
tfink419/southeast-fl-jews
'use strict'; import React from 'react'; import { Router, Route, Link } from 'react-router'; import history from './utils/History.js'; //location: process.env.NODE_ENV === 'production' ? HashLocation : HistoryLocation, //var router = require('./router'), var routes = require('./routes'), UIActions = require('./a...
js/lib/jquery-1.10.2.min.js
mreinhardt/coursera-enhancement-suite
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
app/main.js
ibjohansen/k5g.no
'use strict'; import React from 'react'; import Router, {Link, Route, DefaultRoute, NotFoundRoute} from 'react-router'; import Home from './pages/home'; import Map from './pages/map'; import Cats from './pages/cats'; require("./styles/normalize.css"); require("./styles/skeleton.css"); require("./styles/app.css"); Re...
ajax/libs/yui/3.11.0/event-custom-base/event-custom-base-coverage.js
joseluisq/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-custom-base/event-custom-base.js']) { __coverage__['build/event-custom-base/event-custom-base.js'] = {"path":"build/event-custom-base/event-custom-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,...
storybook/stories/Welcome/index.js
linonetwo/bluetooth-reader-app
import React from 'react'; import { View, Text } from 'react-native'; export default class Welcome extends React.Component { styles = { wrapper: { flex: 1, padding: 24, justifyContent: 'center', }, header: { fontSize: 18, marginBottom: 18, }, content: { fontSiz...
src/containers/DevTools.js
mitre/ptmatch-frontend
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-w" def...
ajax/libs/forerunnerdb/1.3.459/fdb-legacy.min.js
froala/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...
addons/content-browse/ui/src/main/js/app.js
ligangty/indy
/* * Copyright (C) 2011-2020 Red Hat, Inc. (https://github.com/Commonjava/indy) * * 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 ...
docs/app/Examples/modules/Progress/States/index.js
clemensw/stardust
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import { Message } from 'semantic-ui-react' const ProgressStatesExamples = () => ( <ExampleSection title='States'> <Message info>...
app/components/DeviceMock/index.js
wanbinkimoon/parmigiana
/** * * DeviceMock * */ import React from 'react'; import { FormattedMessage } from 'react-intl'; import messages from './messages'; import { Sosia } from './sosia' import { SvgWrap } from './styles' class DeviceMock extends React.Component { // eslint-disable-line react/prefer-stateless-function render() { ...
assets/jqwidgets/demos/react/app/dragdrop/defaultfunctionality/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDragDrop from '../../../jqwidgets-react/react_jqxdragdrop.js'; import JqxGrid from '../../../jqwidgets-react/react_jqxgrid.js'; class App extends React.Component { constructor(props) { super(props); this.state = { t...
src/Containers/ChartContainer/Chart.js
sirjuan/harmonical-oscillation
import React from 'react'; import { Scatter } from 'react-chartjs-2'; const scatterChart = ({color = 'blue', values = [], keys = {}, title = ''}) => { const data = { datasets: [{ label: `${keys.x} / ${keys.y}`, fill: false, pointBackgroundColor: 'rgba(0, 0, 0, 0)', pointBorderCol...
src/routes/Community/components/CommunityView.js
liuyaoao/omnyiq-sc1-server-render
import React from 'react'; import Helmet from 'react-helmet' import ReactTabBar from '../../../components/ReactTabBar'; import SubNavOption from '../../../components/SubNavOption'; import logoImg from '../assets/logo.png' import menuImg from '../assets/menu.png' import './CommunityView.scss' var CommunityView = React....
src/components/atoms/Caption/index.stories.js
SIB-Colombia/dataportal_v2_frontend
import React from 'react' import { storiesOf } from '@kadira/storybook' import Caption from '.' storiesOf('Caption', module) .add('default', () => ( <Caption>Hello</Caption> )) .add('reverse', () => ( <Caption reverse>Hello</Caption> ))
src/modules/App/Footer/Footer.js
kendallroth/project_hub
//File: /src/modules/App/Footer/Footer.js //Purpose: App Footer presentational component import React from 'react'; import './Footer.css'; const Footer = () => { return ( <div className='app__footer'> &copy; Kendall Roth </div> ); } export default Footer;
azkaban-webserver/src/web/js/jquery/jquery-1.9.1.js
logiclord/azkaban
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
fields/types/markdown/MarkdownColumn.js
webteckie/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var MarkdownColumn = React.createClass({ displayName: 'MarkdownColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue...
src/components/EditorWidgets/Boolean/BooleanControl.js
Aloomaio/netlify-cms
import PropTypes from 'prop-types'; import React from 'react'; import ImmutablePropTypes from "react-immutable-proptypes"; import { isBoolean } from 'lodash'; import { Toggle } from 'UI'; export default class BooleanControl extends React.Component { render() { const { value, field, forID, ...
app/javascript/flavours/glitch/components/admin/Counter.js
im-in-space/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import api from 'flavours/glitch/util/api'; import { FormattedNumber } from 'react-intl'; import { Sparklines, SparklinesCurve } from 'react-sparklines'; import classNames from 'classnames'; import Skeleton from 'flavours/glitch/components/skeleton'; const...
src/ReactBoilerplate/Scripts/containers/ResetPassword/ResetPassword.js
pauldotknopf/react-aspnet-boilerplate
import React, { Component } from 'react'; import { ResetPasswordForm } from 'components'; import { connect } from 'react-redux'; class ResetPassword extends Component { render() { return ( <div> <h2>Reset password</h2> <h4>Reset your password.</h4> <hr /> <ResetPasswordForm ...
src/createSourceFactory.js
randrianov/react-dnd
import invariant from 'invariant'; import isPlainObject from 'lodash/lang/isPlainObject'; const ALLOWED_SPEC_METHODS = ['canDrag', 'beginDrag', 'canDrag', 'isDragging', 'endDrag']; const REQUIRED_SPEC_METHODS = ['beginDrag']; export default function createSourceFactory(spec) { Object.keys(spec).forEach(key => { ...
docs/src/pages/demos/dialogs/AlertDialogSlide.js
Kagami/material-ui
import React from 'react'; import Button from '@material-ui/core/Button'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogContent from '@material-ui/core/DialogContent'; import DialogContentText from '@material-ui/core/DialogContentText'; import D...