path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
web/javascripts/jquery-ui-1.10.3/tests/jquery-1.9.1.js
Scoms/Iaato
/*! * 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...
ajax/libs/rxjs/2.3.23/rx.lite.extras.js
chrisyip/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, ...
js/pages/logframe/components/title.js
mercycorps/TolaActivity
import React from 'react'; import { inject } from 'mobx-react'; const ExcelButton = inject('filterStore')( ({ filterStore }) => { const clickHandler = filterStore.excelUrl ? () => { window.open(filterStore.excelUrl, '_blank') } : (e) => { e.preventDefault(); }; return ( ...
packages/wix-style-react/src/DropdownLayout/docs/index.story.js
wix/wix-style-react
import React from 'react'; import { header, tabs, tab, description, importExample, title, divider, example, playground, api, testkit, columns, table, } from 'wix-storybook-utils/Sections'; import LinkTo from '@storybook/addon-links/react'; import { storySettings } from '../test/storySettings'...
packages/mcs-lite-ui/src/CopyButton/CopyButton.example.js
MCS-Lite/mcs-lite
import React from 'react'; import { storiesOf } from '@storybook/react'; import { withInfo } from '@storybook/addon-info'; import CopyButton from '.'; storiesOf('CopyButton', module).add( 'API', withInfo({ text: '', inline: true, })(() => <CopyButton text="devieKey">Copy</CopyButton>), );
ajax/libs/react/0.12.0-rc1/react-with-addons.min.js
emmansun/cdnjs
/** * React (with addons) v0.12.0-rc1 * * Copyright 2013-2014, 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 ...
src/App.js
colouroscope/colouroscope
import React from 'react' import ColourCollection from './containers/ColourCollection' import PictureViewer from './containers/PictureViewer' import PictureDropzone from './containers/PictureDropzone' import Substitutions from './containers/Substitutions.js' import ColourPicker from './containers/ColourPicker/index' im...
src/Timer/TimerNewButton.js
PremiseWP/premise-time-track-chrome-extension-node
import React, { Component } from 'react'; import TimerSVG from './TimerSVG'; class TimerNewButton extends Component { constructor(props) { super(props); this.state = { onClick: props.onClick, } } render() { return ( <div> <button className="timer-button timer-new-button" title="New Timer" ...
client/src/__tests__/components/RecipesForm.spec.js
Billmike/More-Recipes
import React from 'react'; import moxios from 'moxios'; import { shallow } from 'enzyme'; import sinon from 'sinon'; import DropZone from 'react-dropzone'; import RecipesForm from '../../components/RecipesForm'; import recipes from '../fixtures/recipes'; describe('<RecipesForm/>', () => { it('Should render the recip...
ajax/libs/angular-google-maps/2.0.11/angular-google-maps.js
amwmedia/cdnjs
/*! angular-google-maps 2.0.11 2014-11-26 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted, ...
ajax/libs/vkui/4.19.0/cjs/components/Counter/Counter.js
cdnjs/cdnjs
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _jsxRuntime = req...
ajax/libs/js-bson/1.0.1/bson.js
jonobr1/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 { var a = factory(); for(var i in a) (typeof exports === 'object' ? exports : roo...
assets/javascripts/kitten/components/structure/cards/vertical-card/test.js
KissKissBankBank/kitten
import React from 'react' import renderer from 'react-test-renderer' import { VerticalCard } from './index' describe('<VerticalCard />', () => { let component describe('by default', () => { beforeEach(() => { component = renderer .create( <VerticalCard title="Custom title" ...
src/js/containers/Custom.js
captDaylight/furniture
import React, { Component } from 'react'; import THREE from 'three'; import { connect } from 'react-redux'; import React3 from 'react-three-renderer'; import OrthoCamera from '../components/OrthoCamera'; import Lights from '../components/Lights'; import Textures from '../components/Textures'; import FloorAndWall from...
ajax/libs/jquery.fancytree/2.5.1-0/jquery.fancytree-all.min.js
voronianski/cdnjs
/*! jQuery Fancytree Plugin - 2.5.0 - 2014-11-23T19:12 * https://github.com/mar10/fancytree * Copyright (c) 2014 Martin Wendt; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { define( [ "jquery" ], factory ); } else { factory( jQuery ); } }(function( $ ) { !function...
ajax/libs/react-bootstrap-table/1.6.2/react-bootstrap-table.min.js
sashberd/cdnjs
!function(Q,F){"object"==typeof exports&&"object"==typeof module?module.exports=F(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],F):"object"==typeof exports?exports.ReactBootstrapTable=F(require("react"),require("react-dom")):Q.ReactBootstrapTable=F(Q.React,Q.R...
billing-ui/src/pages/Test.js
CancerCollaboratory/billing
/* * Copyright 2016(c) The Ontario Institute for Cancer Research. All rights reserved. * * This program and the accompanying materials are made available under the terms of the GNU Public * License v3.0. You should have received a copy of the GNU General Public License along with this * program. If not, see <http:...
definitions/npm/react-native-orientation-locker_v1.x.x/flow_v0.104.x-/test_react-native-orientation-locker.js
splodingsocks/FlowTyped
// @flow import { describe, it } from "flow-typed-test"; import Orientation, { type Orientations } from "react-native-orientation-locker"; it("must return initial Orientations type", () => { var initialOrientation = Orientation.getInitialOrientation(); (initialOrientation: Orientations); }); describe("async m...
packages/reactor-tests/src/tests/SenchaTestHooks.js
markbrocato/extjs-reactor
import React from 'react'; import { Button } from '@extjs/ext-react'; export default function SenchaTestHooks() { return <Button text="Target" itemId="target"/> }
packages/material-ui-icons/src/FormatListBulleted.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let FormatListBulleted = props => <SvgIcon {...props}> <path d="M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 ...
js/jqwidgets/demos/react/app/expander/righttoleftlayout/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxExpander from '../../../jqwidgets-react/react_jqxexpander.js'; class App extends React.Component { render() { return ( <JqxExpander width={350} rtl={true}> <div>Early History of the Internet</div> ...
src/decorators/withViewport.js
sdiaz/react-starter-kit
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; // eslint-disable-line no-unused-vars import EventEmitter from 'eventemitter3'; import { canUseDOM } from '../../node_modules/react/lib/ExecutionEnvironment'; let EE; let viewport = {width: 1366, height:...
app/javascript/mastodon/features/account/components/header.js
imomix/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import emojify from '../../../emoji'; import escapeTextContentForBrowser from 'escape-html'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import IconButton from '../.....
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/rc-calendar/lib/MonthCalendar.js
bhathiya/test
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _createReactClass = require('create-react-class'); var _createReactClass2 = _interopRequireDefault(_createReactClass); var _propTypes = require('prop-type...
__tests__/App.js
RobertoNovelo/SimpleFoodDeliveryApp
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 /> ); });
docs/src/app/components/pages/components/CircularProgress/Page.js
kasra-co/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import circleProgressReadmeText from './README'; import circleProgressCode from ...
src/universalRouter.js
gbezyuk/react-redux-universal-hot-example
import React from 'react'; import Router from 'react-router'; import createRoutes from './views/createRoutes'; import { Provider } from 'react-redux'; const getFetchData = (component={}) => { return component.WrappedComponent ? getFetchData(component.WrappedComponent) : component.fetchData; }; export functi...
ajax/libs/angular-google-maps/1.0.0/angular-google-maps.js
codevinsky/cdnjs
/**! * The MIT License * * Copyright (c) 2010-2013 Google, Inc. http://angularjs.org * * 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 limitati...
node_modules/react-transform-hmr/lib/index.js
vietvd88/developer-crawler
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s...
ajax/libs/angular.js/0.9.17/angular-scenario.js
mrehayden1/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/backbone-react-component/0.8.0-alpha.2/backbone-react-component-min.js
seogi1004/cdnjs
!function(a,b){"function"==typeof define&&define.amd?define(["react","backbone","underscore"],b):"undefined"!=typeof module&&module.exports?module.exports=b(require("react"),require("backbone"),require("underscore")):b(a.React,a.Backbone,a._)}(this,function(a,b,c){"use strict";function d(a,b){b=b||{};var d=b.model,e=b....
features/apimgt/org.wso2.carbon.apimgt.admin.feature/src/main/resources/admin/source/src/app/components/Base/Errors/PageNotfound.js
lakmali/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
ajax/libs/material-ui/5.0.0-alpha.8/es/Tab/Tab.min.js
cdnjs/cdnjs
import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import _extends from"@babel/runtime/helpers/esm/extends";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import withStyles from"../styles/withStyles";import ButtonBase from"../ButtonBa...
src/components/ResizableChart.js
cesine/rickshaw-react-sample
/* globals window */ import React, { Component } from 'react'; import ReactDom from 'react-dom'; import PropTypes from 'prop-types'; import './ResizableChart.css'; const defaultState = { height: 300, width: 500 }; class ResizableChart extends Component { constructor(props) { super(props); this.createChart =...
test/react/PopupMenuItem.spec.js
onap-sdc/sdc-ui
import React from 'react'; import PopupMenuItem from '../../src/react/PopupMenuItem.js'; import PopupMenu from '../../src/react/PopupMenu.js'; import renderer from 'react-test-renderer'; import {mount} from 'enzyme'; describe('PopupMenuItem', () => { test('check selected', () => { const menuItem = renderer.create(...
src/__tests__/OnUpdate.spec.js
pshrmn/rrc
import React from 'react' import { mount } from 'enzyme' import createContext from 'react-router-test-context' import OnUpdate from '../OnUpdate' describe('OnUpdate', () => { describe('call', () => { it('calls the function when the location changes', () => { const context = createContext({ locati...
src/pages/contact.js
marcneander/marcneander.se
import React from 'react'; import styled from 'styled-components'; import { Helmet } from 'react-helmet'; import Container from '../components/Container'; const IconWrap = styled.div` display: inline-block; margin-right: 4px; svg { fill: #fff; height: 16px; vertical-align: -1px; ...
ajax/libs/react/0.8.0/react-with-addons.min.js
nesk/cdnjs
/** * React (with addons) v0.8.0 * * Copyright 2013 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 require...
styleguide/js/vendor/jquery.js
roydanenterprises/pattern-lab-side-nav
/*! 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...
src/svg-icons/wifi.js
und3fined/material-ui
/* eslint-disable */ import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../SvgIcon'; let Wifi = (props) => ( <SvgIcon {...props}> <path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C...
extension/examples/todomvc/components/MainSection.js
gaearon/redux-devtools
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import TodoItem from './TodoItem'; import Footer from './Footer'; import { SHOW_ALL, SHOW_COMPLETED, SHOW_ACTIVE, } from '../constants/TodoFilters'; const TODO_FILTERS = { [SHOW_ALL]: () => true, [SHOW_ACTIVE]: (todo) => !todo.comp...
ajax/libs/analytics.js/1.5.7/analytics.min.js
jaslernl/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
examples/js/cell-edit/blur-to-save-table.js
echaouchna/react-bootstrap-tab
/* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; for (let i = 0; i < quantity; i++) { const id = startId + i; products.push({ id: id, ...
app/components/App/Index.js
khaiphan/react-server-boilerplate
/** * Created by khaip on 12/10/2015. */ import React, { Component } from 'react'; import CSSModules from 'react-css-modules'; let styles = ''; if (process.env.BROWSER) styles = require('./App.css'); const DOM = React.DOM, body = DOM.body, div = DOM.div, script = DOM.script; class App extends Component { rend...
mod/tinymce_pro/vendor/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
amcfarlane1251/ongarde
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements...
src/components/Comment/Comment.spec.js
zanph/board
import React from 'react' import { expect } from 'chai' import { shallow } from 'enzyme' import Comment from './Comment' import styles from './styles.module.css' describe('<Comment />', () => { let wrapper; beforeEach(() => { wrapper = shallow(<Comment author="test" text="some text" />); }); it('has an a...
src/react/components/ComponentList/ComponentList.js
formtools/core
import React, { Component } from 'react'; import Badge from '../ComponentTypeBadge/Badge'; import styles from './ComponentList.scss'; class ComponentList extends Component { getFirstColumn (component) { const { isEditing, i18n, selectedComponents, toggleComponent } = this.props; if (isEditing) {...
app/javascript/pawoo/components/public_tag_link.js
pixiv/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; export default class PublicTagLink extends ImmutablePureComponent { static propTypes = { tag: ImmutablePropTypes.map.isRequired, }; render () { ret...
src/components/UserInfoApp.js
chrishiestand/uc-affect-study
import React, {PropTypes} from 'react'; import TextInput from './TextInput'; import NumberInput from './NumberInput'; import RadioGroup from 'react-radio-group'; import GENDERS from '../constants/Genders.js'; import SEXUAL_ORIENTATIONS from '../constants/SexualOrientations.js'; import RACES from '../constants/Races.js'...
ajax/libs/jquery.fancytree/2.10.2/jquery.fancytree.min.js
dhowe/cdnjs
/*! * jquery.fancytree.js * Dynamic tree view control, with support for lazy loading of branches. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.10.2 * @da...
ajax/libs/ember-data.js/1.0.0-beta.14/ember-data.js
xeodou/cdnjs
(function() { "use strict"; /** @module ember-data */ var ember$data$lib$system$adapter$$get = Ember.get; var ember$data$lib$system$adapter$$errorProps = [ 'description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack' ]; /** ...
src/components/CropperFace/index.js
lapanoid/redux-cropper
import React from 'react'; import PureComponent from 'react-pure-render/component'; import CSSModules from "react-css-modules"; import styles from './styles.module.scss'; class CropperFace extends PureComponent { render() { // const {cropBoxMovable, highlight, movable} = this.props; // if (!cropBoxMovable) { ...
node_modules/react-bootstrap/es/Media.js
caughtclean/but-thats-wrong-blog
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 ...
node_modules/karma/node_modules/core-js/client/shim.js
aimaim200/kensberg
/** * core-js 2.4.0 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2016 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
toe/dist/tile.js
urbit/examples
const _jsxFileName = "/Users/jose/Dropbox/urbit/toe/src/tile/tile.js";import React, { Component } from 'react'; import classnames from 'classnames'; import _ from 'lodash'; import { sigil, reactRenderer } from 'urbit-sigil-js' const Sigil = props => { return ( React.createElement('div', {__self: this, __source: {f...
sites/all/modules/contrib/jquery_update/replace/jquery/1.8/jquery.js
hugronaphor/moon
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
misc/tabledrag.js
petrillek/website
(function ($) { /** * Drag and drop table rows with field manipulation. * * Using the drupal_add_tabledrag() function, any table with weights or parent * relationships may be made into draggable tables. Columns containing a field * may optionally be hidden, providing a better user experience. * * Created tableD...
docs/app/Examples/modules/Rating/Types/RatingExampleClearable.js
ben174/Semantic-UI-React
import React from 'react' import { Rating } from 'semantic-ui-react' const RatingExampleClearable = () => ( <Rating maxRating={5} clearable /> ) export default RatingExampleClearable
src/index.js
flexiform/flexiform-fill-ui
/** * Copyright 2016 ReSys OÜ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
devTools.js
dballance/ng2-redux-todo
import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react'; import React, { Component } from 'react'; import {bind} from 'angular2/core'; let devTools = bind('devTools').toFactory(() => { return { start: (ngRedux) => { startDevTools(ngRedux); } }; }); export default devT...
examples/todomvc/containers/Root.js
phated/redux
import React, { Component } from 'react'; import TodoApp from './TodoApp'; import { createStore, combineReducers } from 'redux'; import { Provider } from 'react-redux'; import rootReducer from '../reducers'; const store = createStore(rootReducer); export default class Root extends Component { render() { return ...
src/SortableItem/index.js
edulan/react-virtual-kanban
import React from 'react'; import { DragSource, DropTarget } from 'react-dnd'; import { getEmptyImage } from 'react-dnd-html5-backend'; import { ROW_TYPE } from '../types'; import * as dragSpec from './dragSpec'; import * as dropSpec from './dropSpec'; import * as propTypes from './propTypes'; import PureComponent fr...
mine-data/src/Info/Info.js
BerlingskeMedia/nyhedsbreveprofil
import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import { Tooltip } from 'reactstrap'; import './Info.scss'; export class Info extends Component { constructor(props) { super(props); this.toggle = this.toggle.bind(this); this.state = { isOpen: false }; ...
src/svg-icons/content/select-all.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentSelectAll = (props) => ( <SvgIcon {...props}> <path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 ...
web/js/jquery.js
bidons/ObjectDatatable
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/svg-icons/maps/beenhere.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsBeenhere = (props) => ( <SvgIcon {...props}> <path d="M19 1H5c-1.1 0-1.99.9-1.99 2L3 15.93c0 .69.35 1.3.88 1.66L12 23l8.11-5.41c.53-.36.88-.97.88-1.66L21 3c0-1.1-.9-2-2-2zm-9 15l-5-5 1.41-1.41L10 13.17l7.59...
Examples/UIExplorer/BorderExample.js
Poplava/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
src/client/components/report.js
adamgruber/mochawesome-report-generator
import React from 'react'; import PropTypes from 'prop-types'; import { Provider, observer } from 'mobx-react'; import { Footer, Loader, Navbar, ReportBody } from 'components'; import { NavMenu } from 'components/nav-menu'; import 'styles/app.global.css'; import MobxDevTool from './mobxDevtool'; const MochawesomeRepor...
test/helpers.js
herojobs/react-bootstrap
import React from 'react'; import { cloneElement } from 'react'; export function shouldWarn(about) { console.warn.called.should.be.true; console.warn.calledWithMatch(about).should.be.true; console.warn.reset(); } /** * Helper for rendering and updating props for plain class Components * since `setProps` is de...
app/routes.js
disolution/molecule
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import { AppContainer } from './containers/App'; import SettingsPage from './containers/SettingsPage'; import ProjectEditPage from './containers/ProjectEditPage'; import ProjectsListPage from './containers/ProjectsListPage'; import ProjectVi...
fields/components/columns/InvalidColumn.js
jacargentina/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var InvalidColumn = React.createClass({ displayName: 'InvalidColumn', propTypes: { col: React.PropTypes.object, }, renderValue () { return ( <ItemsTableVal...
examples/04 Sortable/ListSelection/index.js
nickknw/react-dnd
import React, { Component } from 'react'; import Container from './Container'; import CustomDragLayer from './CustomDragLayer'; import { DragDropContext } from 'react-dnd'; import SupportsTouch from '../../SupportsTouch'; import HTML5Backend from 'react-dnd/modules/backends/HTML5'; import TouchBackend from 'react-dnd/m...
app/main.js
zchen9/DonutTab
import React from 'react'; import ReactDOM from 'react-dom'; import Tab from './components/Tab/Tab.js'; require('./assets/styles/main.scss'); (function main() { $.material.init(); ReactDOM.render(<Tab />, document.getElementById('donutTab')); })();
test/OverlayDeprecationSpec.js
roderickwang/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Position from '../src/Position'; import Transition from '../src/Transition'; import Portal from '../src/Portal'; import { shouldWarn } from './helpers'; describe('Components moved to react-overlays', ()=>{ it('should warn abou...
src/components/regions/ContentRegion.js
WillMayger/CV
import React from 'react'; import PropTypes from 'prop-types'; import Container from '../containers/Container'; import ContentText from '../text/ContentText'; const ContentRegion = props => ( <Container background={props.background}> <div id={props.convert(props.region)} className="content-region module-padding...
docs/src/NProgress.js
jedwards1211/breakout
import React from 'react' import NProgress from 'nprogress' import Router from 'next/router' import { withStyles } from '@material-ui/core/styles' const styles = { '@global': { '#nprogress': { pointerEvents: 'none', }, '#nprogress .bar': { background: (props) => props.color, position: ...
examples/todoMVC/src/components/TodoItem.spec.js
Sly777/React-UI-Debugger
import React from 'react' import TestUtils from 'react-addons-test-utils' import TodoItem from './TodoItem' import TodoTextInput from './TodoTextInput' const setup = ( editing = false ) => { const props = { todo: { id: 0, text: 'Use Redux', completed: false }, editTodo: jest.fn(), d...
ajax/libs/styled-components/5.0.0-beta.8/styled-components.browser.cjs.min.js
joeyparrish/cdnjs
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var reactIs=require("react-is"),Stylis=_interopDefault(require("@emotion/stylis")),_insertRulePlugin=_interopDefault(require("stylis-rule-sheet")),unitless=_interopDefa...
fields/types/email/EmailField.js
stunjiturner/keystone
import Field from '../Field'; import React from 'react'; import { FormInput } from 'elemental'; /* TODO: - gravatar - validate email address */ module.exports = Field.create({ displayName: 'EmailField', renderValue () { return this.props.value ? ( <FormInput noedit href={'mailto:' + this.props.value}>{this...
fields/types/url/UrlColumn.js
benkroeger/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var UrlColumn = React.createClass({ displayName: 'UrlColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue () { va...
src/js/components/Articles/TableRow.js
appdev-academy/appdev.academy-react
import PropTypes from 'prop-types' import React from 'react' import { findDOMNode } from 'react-dom' import { Link } from 'react-router' import { DragSource, DropTarget } from 'react-dnd' import GreenButton from '../Buttons/Green' import OrangeButton from '../Buttons/Orange' import RedButton from '../Buttons/Red' con...
ajax/libs/forerunnerdb/1.3.670/fdb-core+views.min.js
Piicksarn/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...
node_modules/react-bootstrap/src/Popover.js
gitoneman/react-soc
import React from 'react'; import classSet from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const Popover = React.createClass({ mixins: [BootstrapMixin], propTypes: { placement: React.PropTypes.oneOf(['top', 'right', 'bottom', 'left']), positionLeft: React.PropTypes.number, positionTo...
packages/material-ui-icons/src/SettingsEthernet.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M7.77 6.76L6.23 5.48.82 12l5.41 6.52 1.54-1.28L3.42 12l4.35-5.24zM7 13h2v-2H7v2zm10-2h-2v2h2v-2zm-6 2h2v-2h-2v2zm6.77-7.52l-1.54 1.28L20.58 12l-4.35 5.24 1.54 1.28L23.18 12l-5.41-6.52z" /></g> , 'S...
prototypes/visualizer/javascripts/vendor/dat.gui/tests/jquery.js
chrisweb/freeMusic.zone
/*! * jQuery JavaScript Library v1.6.4 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
Qingblog/public/static/dopetrope/js/jquery-1.7.2.min.js
harveyqing/Qingblog
/*! 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...
src/pages/index.js
aravindballa/website2017
import React from 'react'; import { Link, graphql } from 'gatsby'; import { GatsbyImage } from 'gatsby-plugin-image'; import Layout from '../components/Layout'; import SEO from '../components/SEO'; import getLCImage from '../utils/lcImage'; import { getRandomTailwindGradient } from '../utils/getRandomTailwindGradient'...
components/__tests__/Pagination-test.js
hellobrian/carbon-components-react
import React from 'react'; import Icon from '../Icon'; import Pagination from '../Pagination'; import Select from '../Select'; import SelectItem from '../SelectItem'; import { shallow, mount } from 'enzyme'; describe('Pagination', () => { describe('renders as expected', () => { const pagination = shallow( ...
project/src/scenes/Admin/Media/MediaManager/index.js
boldr/boldr
// @flow import React from 'react'; import { graphql } from 'react-apollo'; import universal from 'react-universal-component'; import type { MediaType } from '../../../../types/boldr'; import MEDIA_BY_ID_QUERY from '../gql/mediaById.graphql'; const UniversalMediaManager = universal(import('./MediaManager')); type P...
app/components/LargeWindSection/index.js
j921216063/chenya
import React from 'react'; import styled from 'styled-components'; import { FormattedMessage } from 'react-intl'; import DisplayItem from 'components/DisplayItem'; import Section1 from 'components/Section1'; import Container from 'components/Container'; import H1 from 'components/H1'; import Icon1 from './lw1.png'; imp...
.history/src/components/InstaCelebs/index_20171001005625.js
oded-soffrin/gkm_viewer
import React from 'react'; import { connect } from 'react-redux' import _ from 'lodash' import '../../styles/insta-stats.scss' const imgMap = { d: 'https://instagram.ftlv1-2.fna.fbcdn.net/t51.2885-19/s150x150/18095129_753964814784600_2717222797960019968_a.jpg', e: 'https://instagram.ftlv1-2.fna.fbcdn.net/t51.2885...
src/js/components/icons/base/StandardsFireball.js
odedre/grommet-final
/** * @description StandardsFireball 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.textCol...
test/app/containers/Footer.spec.js
GContaldi/node_chat
import React from 'react'; import { Provider } from 'react-redux'; import { mount } from 'enzyme'; import chai, { expect } from 'chai'; import sinonChai from 'sinon-chai'; import sinon from 'sinon'; import fakeStore from '../../helpers/fakeStore'; import { updateMessage, sendMessage } from '../../../src/app/actions'; ...
app/components/AddRoomModal/index.js
seanng/web-server
import React from 'react'; import { Modal, FormGroup, Form, FormControl, Col, ControlLabel } from 'react-bootstrap'; import Button from '../Button'; import styled from 'styled-components'; import { FormattedMessage } from 'react-intl'; import messages from './messages'; class AddRoomModal extends React.Component { ...
web/components/FlatrisGame/controls/cosmos.decorator.js
skidding/flatris
// @flow import React from 'react'; import { GameContainerMock } from '../../../mocks/GameContainerMock'; export default ({ children }: { children: React$Node }) => ( <GameContainerMock cols={4} rows={4}> {children} </GameContainerMock> );
js/App/Components/SensorDetails/SubViews/SensorDetailsHeaderPoster.js
telldus/telldus-live-mobile-v3
/** * Copyright 2016-present Telldus Technologies AB. * * This file is part of the Telldus Live! app. * * Telldus Live! app is free : 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 *...
packages/react-native-renderer/src/ReactNativeComponent.js
kaushik94/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 * @format */ import type { MeasureInWindowOnSuccessCallback, MeasureLayoutOnSuccessCallback, MeasureOnSuccessCallb...
examples/with-apollo-and-redux-saga/components/Page.js
BlancheXu/test
import React from 'react' import { connect } from 'react-redux' import PageCount from './PageCount' import Clock from './Clock' import Placeholder from './Placeholder' function Page ({ clock, placeholder, linkTo, title }) { return ( <React.Fragment> <h1>{title}</h1> <Clock lastUpdate={clock.lastUpda...
src/native/index.js
pauljz/react-redux-form
import React from 'react'; import Form from '../components/form-component'; import { createFieldClass } from '../components/field-component'; const View = process.env.NODE_ENV !== 'test' ? require('react-native').View : 'div'; const NativeField = createFieldClass({ MapView: props => ({ onRegionChange: prop...
src/js/service/app-auth.js
maxkernw/React-Flux
import React from 'react'; import when from 'when'; import request from 'reqwest'; import $ from 'jquery'; import {LOGIN_URL} from '../constants/app-constants'; import LoginActions from '../actions/app-loginactions.js'; class AuthService { login(email, password) { return this.handleAuth(when(request({ url...