path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
actor-apps/app-web/src/app/components/modals/Contacts.react.js | damoguyan8844/actor-platform | //
// Deprecated
//
import _ from 'lodash';
import React from 'react';
import { PureRenderMixin } from 'react/addons';
import ContactActionCreators from 'actions/ContactActionCreators';
import DialogActionCreators from 'actions/DialogActionCreators';
import ContactStore from 'stores/ContactStore';
import Modal from... |
js/jquery.js | Sonsuz/sonsuz.github.io | /*! 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... |
application/components/groups/CreateGroupConfirmation.js | buildreactnative/assemblies | import Icon from 'react-native-vector-icons/Ionicons';
import ImagePicker from 'react-native-image-picker';
import NavigationBar from 'react-native-navbar';
import Dropdown, {
Select,
Option,
OptionList
} from 'react-native-selectme';
import React, { Component } from 'react';
import { View, Text, ScrollView, Touc... |
ajax/libs/6to5/2.0.1/browser.js | ruiaraujo/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return... |
ios/versioned-react-native/ABI7_0_0/Libraries/Storage/AsyncStorage.js | jolicloud/exponent | /**
* 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/Thumbnail.js | apisandipas/react-bootstrap | import React from 'react';
import classSet from 'classnames';
import BootstrapMixin from './BootstrapMixin';
import SafeAnchor from './SafeAnchor';
const Thumbnail = React.createClass({
mixins: [BootstrapMixin],
propTypes: {
alt: React.PropTypes.string,
href: React.PropTypes.string,
src: React.PropTyp... |
src/client/components/sign-in/sign-in.js | davesag/base | 'use strict';
import './sign-in.less';
import React from 'react';
import Bootstrap from 'react-bootstrap';
export default React.createClass({
onGoToGoogleSignIn: function(){
window.location = '/auth/connect/google';
},
onGoToFacebookSignIn: function(){
window.location = '/auth/connect/facebook';
},
... |
webapp/app/components/Notifications/Form/Users/AllUsers/index.js | EIP-SAM/SAM-Solution-Node-js | //
// Component all users form notifications
//
import React from 'react';
import { FormGroup, FormControl, ControlLabel } from 'react-bootstrap';
import ButtonPopover from 'components/ButtonPopover';
import Option from 'components/Option';
import NotificationsFormAllUsersSelectAll from 'containers/Notifications/Form/... |
src/index.js | CrashHere/react-frontend | import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import App from './App'
import registerServiceWorker from './registerServiceWorker'
import {Provider} from 'react-redux'
import {createStore, applyMiddleware, compose} from 'redux'
import thunkMiddleware from 'redux-thunk'
import reducers f... |
ajax/libs/backbone.radio/0.4.1/backbone.radio.js | fredericksilva/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('... |
pages/api/table-pagination.js | allanalexandre/material-ui | import 'docs/src/modules/components/bootstrap';
// --- Post bootstrap -----
import React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import markdown from './table-pagination.md';
function Page() {
return <MarkdownDocs markdown={markdown} />;
}
export default Page;
|
src/components/Menu.js | mgaebler/kicknow-client-web | import React from 'react'
import { Link } from 'react-router-dom'
import {
Drawer,
DrawerHeader,
DrawerContent,
DrawerSpacer,
DrawerHeaderContent,
Navigation,
Icon
} from 'react-mdc-web'
import { closeDrawer } from '../modules/navigation/actions'
class Menu extends React.Component {
render() {
retu... |
app/containers/HomeContainer.js | mcmunder/eaternity-react | /* @flow */
import React from 'react'
import * as dataActions from '../store/data/actions'
import * as viewActions from '../store/view/actions'
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import { push } from 'react-router-redux'
import { getVisibleProducts } from '../store/selector... |
src/server.js | btroncone/cx | import Express from 'express';
import React from 'react';
import Location from 'react-router/lib/Location';
import config from './config';
import favicon from 'serve-favicon';
import compression from 'compression';
import httpProxy from 'http-proxy';
import path from 'path';
import createStore from './redux/cre... |
src/index.js | developit/preact-router | import { cloneElement, createElement, Component, toChildArray } from 'preact';
import { exec, prepareVNodeForRanking, assign, pathRankSort } from './util';
let customHistory = null;
const ROUTERS = [];
const subscribers = [];
const EMPTY = {};
function setUrl(url, type='push') {
if (customHistory && customHistory... |
entry_types/scrolled/package/spec/frontend/features/useDarkBackground-spec.js | codevise/pageflow | import {frontend, useDarkBackground} from 'frontend';
import React from 'react';
import {renderEntry, usePageObjects} from 'support/pageObjects';
import '@testing-library/jest-dom/extend-expect'
describe('useDarkBackground', () => {
usePageObjects();
beforeEach(() => {
frontend.contentElementTypes.register(... |
ajax/libs/yui/3.8.1/datatable-body/datatable-body-coverage.js | EragonJ/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... |
src/components/Radial.react.js | chenrui2014/kitematic | import React from 'react';
import classNames from 'classnames';
var Radial = React.createClass({
render: function () {
var percentage;
if ((this.props.progress !== null && this.props.progress !== undefined) && !this.props.spin && !this.props.error) {
percentage = (
<div className="percentage"><... |
node_modules/redux/src/createStore.js | mohammed52/something.pk | import isPlainObject from 'lodash/isPlainObject'
import $$observable from 'symbol-observable'
/**
* These are private action types reserved by Redux.
* For any unknown actions, you must return the current state.
* If the current state is undefined, you must return the initial state.
* Do not reference these action... |
examples/flux-todomvc/js/components/TodoApp.react.js | sahat/flux | /**
* Copyright (c) 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 same directory.
*/
/**
* This compon... |
ajax/libs/react-datepicker/3.1.3/es/index.js | cdnjs/cdnjs | import e from"react";import"prop-types";import t from"classnames";import r from"date-fns/isDate";import n from"date-fns/isValid";import o from"date-fns/format";import a from"date-fns/addMinutes";import s from"date-fns/addHours";import p from"date-fns/addDays";import i from"date-fns/addWeeks";import c from"date-fns/addM... |
src/components/buttons/FlatButton.js | tuckerconnelly/carbon-ui | import React from 'react'
import PropTypes from 'prop-types'
import Uranium from 'uranium'
import {
TouchableRipple,
Body2,
Breakpoints,
connectTheme,
} from '../../index'
/**
* Flat buttons are printed on material. They do not lift, but fill with color
* on press.
*
* ### Examples
*
* import Rea... |
app/modules/navigation/index.js | donofkarma/react-starter | import React from 'react';
import { NavLink } from 'react-router-dom';
import { Nav } from './style';
class Navigation extends React.Component {
render() {
return (
<Nav className={this.props.className}>
<ul>
<li>
<NavLink activeClass... |
node_modules/material-ui/svg-icons/toggle/indeterminate-check-box.js | andrycodestuffs/atom-sync-packages | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
demo/src/models/users/Create.js | shrimpliu/shradmin | import React from 'react';
import { Input } from 'antd';
import { Create, SimpleForm, FormField } from '../../../../src';
export default (props) => (
<Create model="users" {...props}>
<SimpleForm>
<FormField source="name" input={<Input/>} options={{
rules: [{type: "string"}, {required: true}]
... |
javascript/react/myreactapp/src/index.js | yshen4/ICU4C | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
function checkWinner(squares) {
const lines = [
[0, 1, 2],
[3, 4, 5],
[6, 7, 8],
[0, 3, 6],
[0, 4, 8],
[1, 4, 7],
[2, 5, 8],
[2, 4, 6] ];
for (const line of lines) {
const [a, b, c] = line;
i... |
node_modules/create-react-class/index.js | jasonlarue/react-native-flashcards | /**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
'use strict';
var React = require('react');
var factory = require('./factory');
if (typeof React === 'undefined') {
throw Error(
... |
tests/routes/Counter/components/Counter.spec.js | sidkarwal/politicl-wb-app | 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... |
docs/src/app/components/pages/get-started/Examples.js | kittyjumbalaya/material-components-web | import React from 'react';
import Title from 'react-title-component';
import MarkdownElement from '../../MarkdownElement';
import examplesText from './examples.md';
const Examples = () => (
<div>
<Title render={(previousTitle) => `Examples - ${previousTitle}`} />
<MarkdownElement text={examplesText} />
</... |
pootle/static/js/browser/components/TopContributorsTable.js | evernote/zing | /*
* Copyright (C) Pootle contributors.
*
* This file is a part of the Pootle project. It is distributed under the GPL3
* or later license. See the LICENSE file for a copy of the license and the
* AUTHORS file for copyright and authorship information.
*/
import React from 'react';
import Avatar from 'components... |
app/javascript/mastodon/components/status_content.js | foozmeat/mastodon | import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import { isRtl } from '../rtl';
import { FormattedMessage } from 'react-intl';
import Permalink from './permalink';
import classnames from 'classnames';
export default class StatusContent extends ... |
web/components/Toast.js | marsoln/temptation | import React from 'react'
import styles from './Toast.scss'
export default ({ className, message, show }) => (
<div
className={[
styles.container,
'animated',
'fadeIn',
].concat(className).join(' ')}
style={{ display: show ? 'block' : 'none' }}
>
{message}
</div>
)
|
ajax/libs/react-native-web/0.0.0-ec235e734/exports/AppRegistry/renderApplication.js | cdnjs/cdnjs | function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
/... |
assets/js/vendor/jquery-1.11.0.min.js | maxbortone/kivangi | /*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
node_modules/react/dist/react.js | wrleskovec/thoughtcrime | /**
* React v15.4.1
*/
(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}... |
ajax/libs/core-js/0.6.0/core.js | liubo404/cdnjs | /**
* Core.js 0.6.0
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(global, framework, undefined){
'use strict';
/******************************************************************************
* Module : common ... |
admin/src/components/PopoutListHeading.js | wustxing/keystone | import blacklist from 'blacklist';
import classnames from 'classnames';
import React from 'react';
var PopoutListHeading = React.createClass({
displayName: 'PopoutListHeading',
propTypes: {
children: React.PropTypes.node.isRequired,
},
render () {
let className = classnames('PopoutList__heading', this.props.cl... |
test/client/pages/admin/admin-groups/search/actions.js | fahidRM/aqua-couch-test | 'use strict';
const Code = require('code');
const Constants = require('../../../../../../client/pages/admin/admin-groups/search/constants');
const FluxConstant = require('flux-constant');
const Lab = require('lab');
const Proxyquire = require('proxyquire');
const lab = exports.lab = Lab.script();
const stub = {
A... |
src/js/app.js | Elesant/canvas | /**
* React Static Boilerplate
* https://github.com/koistya/react-static-boilerplate
* Copyright (c) Konstantin Tarkus (@koistya) | MIT license
*/
import 'babel/polyfill';
import React from 'react';
import { canUseDOM } from 'react/lib/ExecutionEnvironment'
import Layout from './Layout';
const routes = {}; // Aut... |
packages/react-reconciler/src/__tests__/ReactScope-test.internal.js | cpojer/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.
*
* @emails react-core
*/
'use strict';
let React;
let ReactFeatureFlags;
let ReactDOMServer;
let Scheduler;
describe('ReactScope... |
src/js/containers/app/main-header.js | campinas-front-end/institucional | 'use strict'
import React from 'react'
const MainHeader = () => (
<header className='header' role='banner'>
<a className='logo' href='./' role='logo'>
<img src='img/logotipo-horizontal.svg' />
</a>
<nav className='menu' role='navigation'>
<ul>
<li>
<a
className... |
src/svg-icons/action/assignment-ind.js | lawrence-yu/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionAssignmentInd = (props) => (
<SvgIcon {...props}>
<path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 ... |
ajax/libs/react-redux/0.2.2/redux-react.js | boneskull/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["ReduxReact"] = fact... |
packages/material-ui-icons/src/SpeakerPhoneOutlined.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M7 7.07L8.43 8.5c.91-.91 2.18-1.48 3.57-1.48s2.66.57 3.57 1.48L17 7.07C15.72 5.79 13.95 5 12 5s-3.72.79-5 2.07zM12 1C8.98 1 6.24 2.23 4.25 4.21l1.41 1.41C7.28 4 9.53 3 12 3s4.72 1 6.34 2.62l1.41-1.41C... |
Examples/UIExplorer/TimerExample.js | quyixia/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,
... |
packages/react-form-with-layout/__tests__/index-test.js | blacktangent/react-layout-builder | jest.unmock('react-form-utils');
jest.unmock('react-layout-builder');
jest.unmock('../src');
import 'raf/polyfill';
import React from 'react';
import PropTypes from 'prop-types';
import FormWithLayout from '../src';
import { inputPropsLookup, formSerialize } from 'react-form-utils';
import Enzyme, { mount } from 'enz... |
packages/material-ui-icons/src/CenterFocusStrong.js | cherniavskii/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-7 7H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4z" ... |
docs/client.js | dozoisch/react-bootstrap | import CodeMirror from 'codemirror';
import 'codemirror/addon/runmode/runmode';
import 'codemirror/mode/jsx/jsx';
import React from 'react';
import ReactDOM from 'react-dom';
import {Router, browserHistory} from 'react-router';
import Root from './src/Root';
import routes from './src/Routes';
import 'bootstrap/less/... |
src/main/resources/code/react/Apps/ManageRadars/components/Errors/WarningList.js | artieac/technologyradar | import React from 'react';
import ReactDOM from 'react-dom';
import createReactClass from 'create-react-class';
import { connect } from "react-redux";
import WarningListItem from './ErrorListItem';
class WarningList extends React.Component{
constructor(props){
super(props);
this.state = {
... |
ajax/libs/angular.js/0.9.0/angular-scenario.js | kevinburke/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.
... |
__tests__/BundleItem-test.js | akonwi/bundles | import React from 'react'
import {shallow} from 'enzyme'
jest.mock('../lib/chrome-storage')
import BundleItem from '../src/components/BundleItem'
describe("BundleItem", () => {
const name = 'Foobar Item'
const itemId = 'item-id'
const link = {url: 'foobar.com', title: 'Foobar'}
it("renders a li with the links... |
app/components/Dashicons/Minus.js | WCLDN/WordCamp-Contribution-Wall | const React = require('react');
const IconBase = require('react-icon-base');
export default class Minus extends React.Component {
render() {
return (
<IconBase viewBox='0 0 20 20' {...this.props}>
<path d='M4 9h12v2h-12v-2z'/>
</IconBase>
);
}
}
|
client/src/components/Footer.js | Superfresh/cf-micro-api | import React from 'react';
import FilterLink from '../containers/FilterLink';
const Footer = () => (
<footer className="footer">
<ul className="filters">
<li>
<FilterLink filter="SHOW_ALL"> All</FilterLink>
</li>
<li>
<FilterLink filter="SHOW_ACTIVE">Active</FilterLink>
</... |
stories/Welcome.js | drewdecarme/boilerplate-react-js | import React from 'react';
const styles = {
main: {
margin: 15
, maxWidth: 600
, lineHeight: 1.4
, fontFamily: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif'
}
, logo: { width: 200 }
, link: {
color: '#1474f3'
, textDecoration: 'none'
, borderBottom: '1px s... |
ajax/libs/core-js/0.2.3/library.js | paleozogt/cdnjs | /**
* Core.js 0.2.3
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2014 Denis Pushkarev
*/
!function(returnThis, framework, undefined){
'use strict';
/******************************************************************************
* Module : common ... |
src/components/Plain/Plain.js | karim88/karim88.github.io | import React, { Component } from 'react';
class Plain extends Component {
render() {
return (
<div></div>
);
}
}
export default Plain;
|
test/pods/pod/files/app/route-handlers/async.js | cchamberlain/scripts | // Specify which route handlers should be loaded async.
// the configuration requires this file and adds the
// react-proxy-loader for specified files
module.exports = ["SomePage", "ReadmePage"];
|
ajax/libs/yui/3.10.2/simpleyui/simpleyui-debug.js | the-destro/cdnjs | /**
The YUI module contains the components required for building the YUI seed file.
This includes the script loading mechanism, a simple queue, and the core
utilities for the library.
@module yui
@main yui
@submodule yui-base
**/
/*jshint eqeqeq: false*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
The... |
examples/samples/swiper.js | InnerPeace080/react-native-swiper | import React from 'react'
import { StyleSheet, Text, View, Image } from 'react-native'
import Swiper from '../swiper.dist'
const styles = StyleSheet.create({
wrapper: {
},
slide: {
flex: 1,
justifyContent: 'center',
backgroundColor: 'transparent'
},
slide1: {
flex: 1,
justifyContent: 'c... |
stubo/static/node_modules/react-tools/src/core/ReactUpdateQueue.js | InternationalAirlinesGroup/stubo-app | /**
* Copyright 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule React... |
src/svg-icons/places/golf-course.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let PlacesGolfCourse = (props) => (
<SvgIcon {...props}>
<circle cx="19.5" cy="19.5" r="1.5"/><path d="M17 5.92L9 2v18H7v-1.73c-1.79.35-3 .99-3 1.73 0 1.1 2.69 2 6 2s6-.9 6-2c0-.99-2.16-1.81-5-1.97V8.98l6-3.06z"/>
... |
src/FootprintCategoryHeader/index.js | christianalfoni/ducky-components | import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import styles from './styles.css';
import Wrapper from '../Wrapper';
import Icon from '../Icon';
import Typography from '../Typography';
function FootprintCategoryHeader(props) {
return (
<Wrapper
className=... |
src/js/components/icons/base/Clock.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... |
imports/ui/components/sessions-list.js | gagpmr/app-met | import React from 'react';
import ReactDOM from 'react-dom';
import { Link, browserHistory } from 'react-router';
import { Loading } from './loading.js';
import { widthSixtyFive } from '../../modules/styles.js';
import { removeSession, insertSession } from '/imports/api/sessions/methods.js';
import { Bert } from 'meteo... |
EEG101/src/scenes/connector-02.js | NeuroTechX/eeg-101 | import React, { Component } from "react";
import { Text, View } from "react-native";
import { connect } from "react-redux";
import { MediaQueryStyleSheet } from "react-native-responsive";
import config from "../redux/config";
import LinkButton from "../components/WhiteLinkButton";
import WhiteButton from "../components... |
packages/material-ui-icons/src/CallTwoTone.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M19 17.47c-.88-.07-1.75-.22-2.6-.45l-1.19 1.19c1.2.41 2.48.67 3.8.75v-1.49zM6.54 5h-1.5c.09 1.32.35 2.59.75 3.8l1.2-1.2c-.24-.84-.39-1.71-.45-2.6z" opacity=".3" /><path d="M20 21c.55 0... |
cordova-build-release/platforms/ios/www/application/packages/reactive-dict.js | clinical-meteor/meteor-on-fhir | //////////////////////////////////////////////////////////////////////////
// //
// This is a generated file. You can view the original //
// source in your browser if your browser supports source maps. //
// Source maps are s... |
src/components/slide-footer.js | lucky3mvp/react-demo | import React from 'react'
import {Link, IndexLink} from 'react-router'
export default React.createClass({
render () {
let prevPageUrl = "",
nextPageUrl = "",
index = this.props.index,
isFirst = this.props.first,
isLast = this.props.last,
nUrl = "/slide" + (index + 1),
pUrl = "/slide" + (index - 1)... |
examples/node_modules/react-native/node_modules/react-tools/src/browser/__tests__/ReactWebWorker-test.js | monyxie/react-native-swiper | /**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @emails react-co... |
ajax/libs/zxcvbn/1.0.3/zxcvbn.min.js | MisatoTremor/cdnjs | (function(){var aC,aM,aK,aB,ah,ag,af,ae,ad,ac,ab,t,ap,aL,ao,r,o,m,l,k,i;ab=function(n){var p,q;q=[];for(p in n){q.push(p)}return 0===q.length};ap=function(n,p){return n.push.apply(n,p)};k=function(n,p){var w,u,s,v,q;v=n.split("");q=[];u=0;for(s=v.length;u<s;u++){w=v[u],q.push(p[w]||w)}return q.join("")};r=function(n,p)... |
ajax/libs/fabric.js/3.6.2/fabric.js | cdnjs/cdnjs | /* build: `node build.js modules=ALL exclude=gestures,accessors requirejs minifier=uglifyjs` */
/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
var fabric = fabric || { version: '3.6.2' };
if (typeof exports !== 'undefined') {
exports.fabric = fabric;
}
/* _AMD_START_ */
else if (typeof... |
src/components/add-image-object.js | sballesteros/image-gallery | import React, { Component, PropTypes } from 'react';
import blobUtil from 'blob-util';
import uuid from 'uuid';
export default class AddImageObject extends Component {
handleChange(e) {
// see http://stackoverflow.com/questions/10214947/upload-files-using-input-type-file-field-with-change-event-not-always-firin... |
modules/field_ui/field_ui.js | igorshuvalov/gilawebdev | /**
* @file
* Attaches the behaviors for the Field UI module.
*/
(function($) {
Drupal.behaviors.fieldUIFieldOverview = {
attach: function (context, settings) {
$('table#field-overview', context).once('field-overview', function () {
Drupal.fieldUIFieldOverview.attachUpdateSelects(this, settings);
... |
frontend/CommentBox/CommentBox.js | fdemian/Morpheus | import React from 'react';
import cssModules from 'react-css-modules';
import Styles from './CommentBox.scss';
// Editor
import Editor from '../Editor/Editor';
import EditorStyles from '../Editor/EditorStyles';
import MessageIcon from 'material-ui/svg-icons/communication/chat-bubble-outline';
import FlatButton from '... |
docs/src/app/components/pages/components/RaisedButton/Page.js | ArcanisCz/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 raisedButtonReadmeText from './README';
import raisedButtonExampleSimpleC... |
.cache/commonjs/create-react-context.js | SachaG/sg2017 | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _default = _react.default.createContext;
exports.default = _default; |
src/js/serverRendering.js | suranartnc/js-starter-kit | // Server rendering
import React from 'react';
import { renderToString } from 'react-dom/server'
import { RoutingContext, match } from 'react-router';
import createLocation from 'history/lib/createLocation';
import Helmet from 'react-helmet';
import routes from './shared/routes';
import prefetchComponentData from './sh... |
test/components/CardList.spec.js | mauricius/redux-memory-game | import expect from 'expect'
import React from 'react'
import TestUtils from 'react-addons-test-utils'
import CardList from '../../components/CardList'
import CardListItem from '../../components/CardListItem'
function setup(propOverrides) {
const props = Object.assign({
cards : [
{
... |
YEAR 3/SEM 1/MOBILE/mobile_exam_prep/screens/Experiment/UserProfile/index.js | Zephyrrus/ubb | import React from 'react'
import PropTypes from 'prop-types'
import contactData from './contact.json'
import Profile from './Profile'
const ProfileScreen = () => <Profile {...contactData} />
ProfileScreen.propTypes = {
navigation: PropTypes.object.isRequired,
}
ProfileScreen.navigationOptions = () => ({
title:... |
components/Map.js | VadimDez/roguelike-dungeon-crawler | /**
* Created by Vadym Yatsyuk on 23/02/16
*/
import React from 'react';
import { connect } from 'react-redux';
import Player from './Player';
import Enemy from './../Entities/Enemy';
import Weapon from './../Entities/Weapon';
import Health from './../Entities/Health';
import Teleport from './../Entities/Teleport';... |
component/appState.js | Luyakus/react-native-self-UIExplorer | import React, {Component} from 'react';
import {View, Text, StyleSheet,AppState} from 'react-native';
class AppStateDemo extends Component {
// 默认属性
static defaultProps = {};
// 属性类型
static propTypes = {};
// 构造
constructor(props) {
super(props);
// 初始状态
this.state =... |
docs/app/Examples/modules/Dimmer/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'
const DimmerStatesExamples = () => (
<ExampleSection title='States'>
<ComponentExample
title='Active'
description='A... |
docs/src/app/components/pages/components/AutoComplete/ExampleFilters.js | xmityaz/material-ui | import React from 'react';
import AutoComplete from 'material-ui/AutoComplete';
const colors = [
'Red',
'Orange',
'Yellow',
'Green',
'Blue',
'Purple',
'Black',
'White',
];
const fruit = [
'Apple', 'Apricot', 'Avocado',
'Banana', 'Bilberry', 'Blackberry', 'Blackcurrant', 'Blueberry',
'Boysenberry... |
ajax/libs/6to5/1.13.7/browser.js | CrossEye/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return... |
sites/all/modules/jquery_update/replace/jquery/1.7/jquery.min.js | kylepratuch/kyle-drupal-site | /*! 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... |
content/vue/src/main/content/jcr_root/etc/clientlibs/vue/vendor/vue/dist/vue.js | dherges/aem-sling-contrib | /*!
* Vue.js v1.0.17
* (c) 2016 Evan You
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Vue = factory());
}(this, function () {... |
ajax/libs/angular.js/0.9.14/angular-scenario.js | emmansun/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.
... |
client/node_modules/react-dom/lib/ReactCoroutine.js | UnicornCollege/ucl.itkpd.configurator | /**
* Copyright 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*
*/
'use st... |
ajax/libs/angular-data/0.8.1/angular-data.js | amoyeh/cdnjs | /**
* @author Jason Dobry <jason.dobry@gmail.com>
* @file angular-data.js
* @version 0.8.1 - Homepage <http://angular-data.codetrain.io/>
* @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/>
* @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE>
*
* @overview Data store for Angul... |
src/svg-icons/image/tag-faces.js | skarnecki/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageTagFaces = (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 8zm3.5-9c.... |
src/server.js | miketamis/locationPositioning | /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import 'babel-core/polyfill';
import path from 'path';
import React from 'react';
import ReactDOM from 'react-dom/server';
import Html from './components/Html';
import locationService from './services/locationService';
import feathers from 'feath... |
client/src/components/app.js | uxal/AuthenticationReduxTest | import React, { Component } from 'react';
import Header from './header';
export default class App extends Component {
render() {
return (
<div>
<Header/>
{/*render the other components*/}
{this.props.children}
</div>
);
}
}... |
src/containers/GuestBookContainer.js | blwoosky/DigCSS-Theme-v4-Redesign | import React, { Component } from 'react';
import GuestBook from "./../components/GuestBook";
import { connect } from "react-redux";
import { getGuestBook } from "./../actions";
import { animateScroll } from 'react-scroll';
class GuestBookContainer extends Component {
constructor(props) {
super(props);
... |
src/components/TaskHistory/index.js | bruceli1986/contract-react | import React from 'react'
import formatter from 'utils/formatter.js'
/** 流转历史列表*/
class TaskHistory extends React.Component {
static propTypes = {
history: React.PropTypes.arrayOf(React.PropTypes.shape({
assignee: React.PropTypes.string,
comment: React.PropTypes.string,
taskName: React.PropType... |
src/svg-icons/maps/local-movies.js | lawrence-yu/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsLocalMovies = (props) => (
<SvgIcon {...props}>
<path d="M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z"/>
</Svg... |
test/JumbotronSpec.js | Lucifier129/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import ReactDOM from 'react-dom';
import Jumbotron from '../src/Jumbotron';
describe('Jumbotron', () => {
it('Should output a div with content', () => {
let instance = ReactTestUtils.renderIntoDocument(
<Jumbotron>
<... |
ajax/libs/mediaelement/2.1.4/jquery.js | KyleMit/cdnjs | /*!
* jQuery JavaScript Library v1.5.1rc1
* 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 License... |
Console/app/node_modules/react/lib/createClass.js | RisenEsports/RisenEsports.github.io | /**
* Copyright 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 strict... |
src/index.js | casesandberg/squash | 'use strict';
import React from 'react';
import ReactDOM from 'react-dom';
import 'normalize.css';
import Squash from './components/Squash';
ReactDOM.render(
React.createElement(Squash),
document.getElementById('root')
);
|
node_modules/rc-select/es/Option.js | ZSMingNB/react-news | import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from 'babel-runtime/helpers/inherits';
import React from 'react';
import PropTypes from 'prop-types';
var Option = function (_React$Component) {... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.