path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
packages/material-ui-icons/src/ThumbDownOutlined.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.3... |
files/yui/3.17.2/datatable-core/datatable-core-coverage.js | garrypolley/jsdelivr | /*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/datatable-core/datatable-core.js']) {
__coverage__['build/datatable-core/datatable-... |
ajax/libs/raven.js/3.23.0/angular,require,vue/raven.js | seogi1004/cdnjs | /*! Raven.js 3.22.2 (1b6187b) | github.com/getsentry/raven-js */
/*
* Includes TraceKit
* https://github.com/getsentry/TraceKit
*
* Copyright 2018 Matt Robenolt and other contributors
* Released under the BSD license
* https://github.com/getsentry/raven-js/blob/master/LICENSE
*
*/
(function (global, factory) ... |
src/examples/hello_world_react/hello_world_react.js | looker/custom_visualizations_v2 | import Hello from './hello'
import React from 'react'
import ReactDOM from 'react-dom'
looker.plugins.visualizations.add({
// Id and Label are legacy properties that no longer have any function besides documenting
// what the visualization used to have. The properties are now set via the manifest
// form within ... |
src/components/icons/playstore.js | mding5692/mding5692.github.io | import React from 'react';
const IconPlayStore = () => (
<svg xmlns="http://www.w3.org/2000/svg" role="img" x="0px" y="0px" viewBox="0 0 512.001 512.001">
<title>Google Play Store</title>
<path
d="M464.252,212.09L99.624,8.07C84.247-1.873,64.754-2.691,48.574,5.967C32.183,14.74,22,31.737,22,50.329v411.34... |
components/time_picker/TimePickerDialog.js | KerenChandran/react-toolbox | import React from 'react';
import ClassNames from 'classnames';
import style from './style';
import time from '../utils/time';
import Clock from './Clock';
import Dialog from '../dialog';
class TimePickerDialog extends React.Component {
static propTypes = {
active: React.PropTypes.bool,
className: React.Prop... |
app/components/Layout/Footer.js | willmendesneto/star-wars-redux-app | import React, { PropTypes } from 'react';
const Footer = ({ children }) => {
return (
<footer>
{ children }
</footer>
);
};
Footer.propTypes = {
children: PropTypes.node
};
export default Footer;
|
examples/counter/containers/Root.js | yz89/redux | import React, { Component } from 'react';
import { Provider } from 'react-redux';
import CounterApp from './CounterApp';
import configureStore from '../store/configureStore';
const store = configureStore();
export default class Root extends Component {
render() {
return (
<Provider store={store}>
... |
src/components/App.js | ethcards/react-redux-starter-kit | import React from 'react'
import { browserHistory, Router } from 'react-router'
import { Provider } from 'react-redux'
import PropTypes from 'prop-types'
class App extends React.Component {
static propTypes = {
store: PropTypes.object.isRequired,
routes: PropTypes.object.isRequired,
}
shouldComponentUpd... |
files/react/0.11.0/react.js | shumes/jsdelivr | /**
* React v0.11.0
*/
!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.React=e()}}(function(){var d... |
app/packs/src/components/elements/GroupFields.js | ComPlat/chemotion_ELN | /* eslint-disable react/forbid-prop-types */
import { AgGridReact } from 'ag-grid-react';
import PropTypes from 'prop-types';
import React from 'react';
import { Button, FormGroup, FormControl } from 'react-bootstrap';
import GenericSubField from '../models/GenericSubField';
import DefinedRenderer from '../generic/Defi... |
app/frontend/index.js | latteware/marble-seed | import React from 'react'
import ReactDOM from 'react-dom'
import Router from './router'
import './styles/index.scss'
const render = (Root) => {
ReactDOM.render(Root, document.getElementById('root'))
}
if (module.hot) {
module.hot.accept('./router.js', function (Root) {
const Router = require('./router')
... |
media/js/jquery.tools.min.js | TheBestCoders/CoreProject | /*
* jQuery Tools 1.2.5 - The missing UI library for the Web
*
* [jquery, toolbox.flashembed, toolbox.history, toolbox.expose, toolbox.mousewheel, tabs, tabs.slideshow, tooltip, tooltip.slide, tooltip.dynamic, scrollable, scrollable.autoscroll, scrollable.navigator, overlay, overlay.apple, dateinput, rangeinput, va... |
src/map.js | lukasmartinelli/postgis-editor | import * as _ from 'lodash';
import randomColor from 'randomcolor';
import React from 'react';
import ReactDOM from 'react-dom';
import turf from 'turf';
import {isGeometry} from './database.js';
import {displayValue} from './helpers.js';
export class Map extends React.Component {
constructor() {
super();
this... |
public/javascripts/jquery-1.7.js | amba178/WebsiteOne | /*! 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... |
packages/mui-icons-material/lib/esm/OutletOutlined.js | oliviertassinari/material-ui | import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 9V8c0-.55-.45-1-1-1s-1 .45-1 1... |
public/docs/api/latest/@stdlib/stats/base/dists/t/median/benchmark_bundle.js | stdlib-js/www | // modules are defined as an array
// [ module function, map of requireuires ]
//
// map of requireuires is short require name -> numeric require
//
// anything defined in a previous bundle is accessed via the
// orig method which is the requireuire for previous bundles
(function outer (modules, cache, entry) {
//... |
app/client/src/components/ImageUploader/ImageUploader.js | uprisecampaigns/uprise-app | import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { connect } from 'react-redux';
import FontIcon from 'material-ui/FontIcon';
import CircularProgress from 'material-ui/CircularProgress';
import Dropzone from 'react-dropzone';
import ReactCrop from 'react-image-crop';
import 'react-i... |
examples/Basic/__tests__/index.android.js | Kureev/react-native-side-menu | import 'react-native';
import React from 'react';
import Index from '../index.android.js';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
const tree = renderer.create(
<Index />
);
});
|
src/Pane.js | siuying/react-split-layout | import React from 'react';
import ReactDOM from 'react-dom';
export default class Pane extends React.Component {
constructor(props, context) {
super(props, context);
this.state = {size: this.props.initialSize};
}
onChange(size) {
this.setSize({size: size})
}
render() {
const style = this.g... |
src/registerServiceWorker.js | zhuber/react-pnotify | // In production, we register a service worker to serve assets from local cache.
// This lets the app load faster on subsequent visits in production, and gives
// it offline capabilities. However, it also means that developers (and users)
// will only see deployed updates on the "N+1" visit to a page, since previously... |
www/files/lib/jquery/1.10.2/jquery.min.js | corpsee/corpsee-com | /*! 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... |
examples/HelloHybrid/__tests__/index.ios.js | Steviey/win-react-navigation | import 'react-native';
import React from 'react';
import Index from '../index.ios.js';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
const tree = renderer.create(
<Index />
);
});
|
ajax/libs/rxjs/2.3.9/rx.all.js | NMastracchio/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false... |
src/svg-icons/hardware/devices-other.js | frnk94/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let HardwareDevicesOther = (props) => (
<SvgIcon {...props}>
<path d="M3 6h18V4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v-2H3V6zm10 6H9v1.78c-.61.55-1 1.33-1 2.22s.39 1.67 1 2.22V20h4v-1.78c.61-.55 1-1.34 1-2.22s-.39-1... |
src/client/story_box.js | beni55/hacker-menu | import React from 'react'
import _ from 'lodash'
import Client from 'electron-rpc/client'
import StoryList from './story_list.js'
import Spinner from './spinner.js'
import Menu from './menu.js'
import StoryType from '../model/story_type'
export default class StoryBox extends React.Component {
constructor (props) {
... |
examples/todomvc/containers/TodoApp.js | brentvatne/redux | import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { Connector } from 'redux/react';
import Header from '../components/Header';
import MainSection from '../components/MainSection';
import * as TodoActions from '../actions/TodoActions';
export default class TodoApp extends Comp... |
tools/bundle.js | deslee/static-isomorphic-starter | /**
* React Starter Kit (http://www.reactstarterkit.com/)
*
* Copyright © 2014-2015 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import webpack from 'webpack';
import task from './lib/task... |
src/client/components/Story/NSFWStoryPreviewMessage.js | busyorg/busy | import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
const NSFWStoryPreviewMessage = ({ onClick }) => (
<div className="Story__warning__message">
<h4>
<FormattedMessage
id="post_preview_hidden_for_nsfw"
defaultMessage="This post previ... |
src/pages/videos/live-coding/index.js | jumpalottahigh/blog.georgi-yanev.com | import React from 'react'
import { Link } from 'gatsby'
import styled from 'styled-components'
import { Fade } from 'react-reveal'
import Layout from '../../../components/structure/layout'
import Video from '../../../components/Video/Video'
const Grid = styled.div`
display: grid;
grid-gap: 30px;
min-width: 380p... |
src/fields/Tags.js | 111StudioKK/react-simpleform | import React from 'react';
import Field from '../main/Field.js';
import TagsInput from 'react-tagsinput';
export default class Tags extends Field {
constructor(props) {
super(props);
this.state.value = [];
}
componentDidMount() {
this.onChange(this.props.value || []);
}
renderField(other) {
... |
app/javascript/mastodon/containers/domain_container.js | hugogameiro/mastodon | import React from 'react';
import { connect } from 'react-redux';
import { blockDomain, unblockDomain } from '../actions/domain_blocks';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import Domain from '../components/domain';
import { openModal } from '../actions/modal';
const messages = d... |
example/webpack.config.js | uhlryk/react-dynamic-number | var webpack = require('webpack');
module.exports = {
entry: {
dynamicNumber: './example/app.jsx'
},
output: {
filename: './example/app.js'
},
module: {
rules: [
{
test: /.jsx?$/,
loader: 'babel-loader',
exclude: /node_modules/,
options: {
presets: ['... |
app/components/paginationIndicator.js | andry-baka/dapur-ngebul-app | import React from 'react';
import {
StyleSheet,
View
} from 'react-native';
import {RkStyleSheet} from 'react-native-ui-kitten';
export class PaginationIndicator extends React.Component {
constructor(props) {
super(props);
}
_renderItem(index, selected) {
let style = [styles.base];
if (selected)... |
client/signup/steps/user/test/index.js | tinkertinker/wp-calypso | import { expect } from 'chai';
import TestUtils from 'react-addons-test-utils' ;
import useMockery from 'test/helpers/use-mockery' ;
import React from 'react';
import ReactDOM from 'react-dom';
import sinon from 'sinon';
import identity from 'lodash/identity';
import useFakeDom from 'test/helpers/use-fake-dom';
des... |
ajax/libs/forerunnerdb/2.0.2/fdb-all.min.js | extend1994/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... |
jsbundle/AwesomeProject/node_modules/react-native/node_modules/react-tools/src/addons/__tests__/ReactFragment-test.js | wangchunling/react-native-for-APICloud | /**
* 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.
*
* @emails react-core
*... |
dashboard/client/src/js/components/modules/EventVariationLineGraph.js | agaralabs/sieve | import React from 'react';
import {ResponsiveContainer, LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend} from 'recharts';
import Loader from './base/Loader';
import Helpers from '../../utils/helpers';
/**
* Renders a Line graph of for control & variations for each goal
*
* @param {Array} graphData
*... |
ajax/libs/react-bootstrap/0.6.2/react-bootstrap.min.js | lobbin/cdnjs | /*! react-bootstrap 2014-03-17 */
!function(a,b){"function"==typeof define&&define.amd?define(["react"],b):a.ReactBootstrap=b(a.React)}(this,function(a){var b,c,d;return function(a){function e(a,b){var c,d,e,f,g,h,i,j,k,l,m=b&&b.split("/"),n=p.map,o=n&&n["*"]||{};if(a&&"."===a.charAt(0)&&b){for(m=m.slice(0,m.length-1),... |
components/Layout/Navigation.js | aleksie/codenames | /**
* React Static Boilerplate
* https://github.com/kriasoft/react-static-boilerplate
*
* Copyright © 2015-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
... |
examples/datatables/project/static/bower_components/react-bootstrap/lib/TabbedArea.js | askerry/pyxley | define(['exports', 'module', 'react', './BootstrapMixin', './utils/ValidComponentChildren', './Nav', './NavItem'], function (exports, module, _react, _BootstrapMixin, _utilsValidComponentChildren, _Nav, _NavItem) {
'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.leng... |
ajax/libs/react-intl/1.1.0-rc-2/react-intl.js | boneskull/cdnjs | (function() {
"use strict";
var $$utils$$hop = Object.prototype.hasOwnProperty;
function $$utils$$extend(obj) {
var sources = Array.prototype.slice.call(arguments, 1),
i, len, source, key;
for (i = 0, len = sources.length; i < len; i += 1) {
source = sources[i];
... |
src/main/resources/META-INF/resources/scripts/custom-scrollbar-plugin/js/minified/jquery-1.11.0.min.js | opencadc/cadc-vosui | /*! 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... |
admin/lib/dashboard/components/DashboardNav.js | synthesis-js/react-synthesis | // DashboardNav.js
import React from 'react';
export default class DashboardNav extends React.Component {
constructor(props) {
super(props);
}
render() {
let activePlugins = this.props.installedPlugins.map((plugin, i) => {
return <li key={i} data-name={plugin.name} className="dashboard-nav-link">{plug... |
pages/api/table-body.js | AndriusBil/material-ui | // @flow
import React from 'react';
import withRoot from 'docs/src/modules/components/withRoot';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import markdown from './table-body.md';
function Page() {
return <MarkdownDocs markdown={markdown} />;
}
export default withRoot(Page);
|
docs/app/Examples/elements/List/ContentVariations/ListExampleFloatedHorizontal.js | mohammed88/Semantic-UI-React | import React from 'react'
import { List } from 'semantic-ui-react'
const ListExampleFloatedHorizontal = () => (
<div>
<List floated='right' horizontal>
<List.Item disabled href='#'>© GitHub, Inc.</List.Item>
<List.Item href='#'>Terms</List.Item>
<List.Item href='#'>Privacy</List.Item>
<Li... |
src/Form.js | transformatika/uspace-sdk-ui | /* */
import React from 'react';
import DropZone from 'react-dropzone';
import Pikaday from 'pikaday';
Object.defineProperty(Number.prototype, 'fileSize', {value: function(a,b,c,d){
return (a=a?[1e3,'k','B']:[1024,'K','iB'],b=Math,c=b.log,d=c(this)/c(a[0])|0,this/b.pow(a[0],d)).toFixed(2)
+''+(d?(a[1]+'MGTPEZY... |
ui/src/components/workflow/WorkflowMetaDetails.js | grfeng/conductor | import React from 'react';
import { Tabs, Tab } from 'react-bootstrap';
import { connect } from 'react-redux';
import { getWorkflowMetaDetails } from '../../actions/WorkflowActions';
import WorkflowMetaDia from './WorkflowMetaDia'
class WorkflowMetaDetails extends React.Component {
constructor(props) {
super(pr... |
stories/decorators/CenterDecorator.js | suranartnc/react-universal-starter-kit | import React from 'react'
const style = {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
height: 'calc(100vh - 16px)'
}
export default (story) => (
<div style={style}>
{story()}
</div>
)
|
client/components/PageSkeleton.js | iiet/iiet-chat | import { Box, Button, ButtonGroup, Skeleton } from '@rocket.chat/fuselage';
import React from 'react';
import Page from './basic/Page';
function PageSkeleton() {
return <Page>
<Page.Header title={<Skeleton width='x320' maxWidth='full' />}>
<ButtonGroup>
<Button
children={<Skeleton width='x80' />}
... |
public/javascripts/src/components/cover.js | JoshuaJiangFD/blog-nodejs | /**
* Created by joy on 2015/6/13.
*/
var React = require("react");
var PageActions = require("../actions/actions");
var cover=React.createClass(
{
displayName:"exports",
getInitialState: function(){
return {}
},
onJumpToQuestion:function(e){
console.log("t... |
frontend2/EyesOnline/index.android.js | csparkresearch/eyes-online | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
Image,
ListView,
StyleSheet,
Text,
View,
} from 'react-native';
var REQUEST_URL = 'https://eyes-online.herokuapp.com/getStaticScripts';
export default ... |
packages/mineral-ui-icons/src/IconPartyMode.js | mineral-ui/mineral-ui | /* @flow */
import React from 'react';
import Icon from 'mineral-ui/Icon';
import type { IconProps } from 'mineral-ui/Icon/types';
/* eslint-disable prettier/prettier */
export default function IconPartyMode(props: IconProps) {
const iconProps = {
rtl: false,
...props
};
return (
<Icon {...iconProp... |
src/components/run.js | mattyao1984/MP_React | require('bootstrap-sass!../../bootstrap-sass.config.js');
var $ = require('jquery');
import React from 'react';
import ReactDOM from 'react-dom';
import Main from './Main';
// Render the main component into the dom
ReactDOM.render(<Main />, document.getElementById('Main'));
|
docs/app/Examples/elements/Step/Types/StepExampleBasic.js | koenvg/Semantic-UI-React | import React from 'react'
import { Step } from 'semantic-ui-react'
const StepExampleBasic = () => (
<Step.Group>
<Step>Shipping</Step>
</Step.Group>
)
export default StepExampleBasic
|
test/components/datepicker/DatePickerCalendarTest.js | ctco/rosemary-ui | import {$} from '../../test_helper';
import React from 'react';
import TestUtils from 'react-dom/test-utils';
import {renderComponent, expect, assert} from '../../test_helper';
import DatePickerCalendar from '../../../src/DatePicker/DatePickerCalendar';
import {format, parse} from '../../../src/util/date-utils';
descr... |
src/icons/IosNavigate.js | fbfeix/react-icons | import React from 'react';
import IconBase from './../components/IconBase/IconBase';
export default class IosNavigate extends React.Component {
render() {
if(this.props.bare) {
return <g>
<g>
<path d="M256,48C141.1,48,48,141.1,48,256c0,114.9,93.1,208,208,208c114.9,0,208-93.1,208-208C464,141.1,370.9,48,256,48z M2... |
actor-apps/app-web/src/app/components/activity/GroupProfileMembers.react.js | mxw0417/actor-platform | import _ from 'lodash';
import React from 'react';
import { PureRenderMixin } from 'react/addons';
import DialogActionCreators from 'actions/DialogActionCreators';
import LoginStore from 'stores/LoginStore';
import AvatarItem from 'components/common/AvatarItem.react';
const GroupProfileMembers = React.createClass(... |
src/layout/index.js | Aus0049/react-component | import React from 'react'
import 'normalize.css'
import 'sass/index.scss'
import 'sass/component.scss'
import ReactCSSTransitionGroup from 'react-addons-css-transition-group'
require('font-awesome/css/font-awesome.css');
class Layout extends React.Component {
render () {
return (
<ReactCSSTran... |
src/GridList/GridListTile.spec.js | dsslimshaddy/material-ui | // @flow
import React from 'react';
import { assert } from 'chai';
import { spy, useFakeTimers } from 'sinon';
import { createShallow, createMount, getClasses } from '../test-utils';
import GridListTile from './GridListTile';
describe('<GridListTile />', () => {
let shallow;
let mount;
let classes;
before(()... |
js/tests/vendor/jquery.min.js | seiyria/dos-strap | /*! 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... |
packages/wix-style-react/src/ContactItemBuilder/ContactItemBuilder.spec.js | wix/wix-style-react | import React from 'react';
import { ContactItem, contactItemBuilder } from './ContactItemBuilder';
import contactItemBuilderDriverFactory from './ContactItemBuilder.driver';
import { contactItemBuilderUniDriverFactory } from './ContactItemBuilder.uni.driver';
import {
createRendererWithDriver,
createRendererWithUni... |
App/Services/ExamplesRegistry.js | jeremy091/robospycat | import React from 'react'
import { Text, View } from 'react-native'
import R from 'ramda'
import { ApplicationStyles } from '../Themes'
import DebugConfig from '../Config/DebugConfig'
let globalComponentExamplesRegistry = []
let globalPluginExamplesRegistry = []
export const addComponentExample = (title, usage = () =>... |
src/Taichi/BlogBundle/Resources/assets/node_modules/postcss/lib/css-syntax-error.js | heavenwoo/blog | '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.defineProp... |
app/containers/HomePage/Loadable.js | mxstbr/react-boilerplate | /**
* Asynchronously loads the component for HomePage
*/
import React from 'react';
import loadable from 'utils/loadable';
import LoadingIndicator from 'components/LoadingIndicator';
export default loadable(() => import('./index'), {
fallback: <LoadingIndicator />,
});
|
src/components/FormSelect.js | LennyBoyatzis/elemental | import blacklist from 'blacklist';
import classNames from 'classnames';
import React from 'react';
import icons from '../icons';
module.exports = React.createClass({
displayName: 'FormSelect',
propTypes: {
alwaysValidate: React.PropTypes.bool,
className: React.PropTypes.string,
disabled: React.PropTypes.bool,
... |
quiver_engine/quiverboard/config/index.js | jakebian/quiver | /* eslint key-spacing:0 spaced-comment:0 */
const path = require('path')
const debug = require('debug')('app:config')
const argv = require('yargs').argv
const ip = require('ip')
debug('Creating default configuration.')
// ========================================================
// Default Configuration
// ============... |
ajax/libs/react-router/1.0.0-beta3/ReactRouter.js | Piicksarn/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["ReactRouter"] = fac... |
src/components/containers/AddCombatantContainer.js | teamNOne/showdown | import React from 'react';
import CombatantActions from '../../actions/CombatantActions';
import FormActions from '../../actions/FormActions';
import FormStore from '../../stores/FormStore';
import AddCombatant from '../combatant/AddCombatant';
import Validator from '../../utilities/FormValidator';
export default cla... |
geonode/contrib/monitoring/frontend/src/components/molecules/max-response-time/index.js | ingenieroariel/geonode | import React from 'react';
import PropTypes from 'prop-types';
import CircularProgress from 'material-ui/CircularProgress';
import HoverPaper from '../../atoms/hover-paper';
import styles from './styles';
class MaxResponseTime extends React.Component {
static propTypes = {
time: PropTypes.number,
}
static ... |
addons/knobs/src/components/__tests__/Array.js | storybooks/react-storybook | import React from 'react';
import { shallow } from 'enzyme';
import ArrayType from '../types/Array';
jest.useFakeTimers();
describe('Array', () => {
it('should subscribe to setKnobs event of channel', () => {
const onChange = jest.fn();
const wrapper = shallow(
<ArrayType
onChange={onChange}
... |
lib/ui/src/libs/withLifecycleDecorator.js | storybooks/react-storybook | import React, { Component } from 'react';
import PropTypes from 'prop-types';
// A small utility to add before/afterEach to stories.
class WithLifecyle extends Component {
constructor(props, ...rest) {
super(props, ...rest);
props.beforeEach();
}
componentWillUnmount() {
const { afterEach } = this.... |
ajax/libs/rxjs/2.3.13/rx.js | OnsenUI/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false... |
app/containers/CatKitDemo/index.js | mhoffman/CatAppBrowser | /*
*
* CatKitDemo
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import _ from 'lodash';
import { MdChevronLeft, MdChevronRight } from 'react-icons/lib/md';
import { isMobileOnly } from 'react-device-detect';
import Helmet from 'react-helmet';
import { ... |
template/js/jquery.js | SSSirdi/bibli | /*! 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... |
examples/forms-material-ui/src/components/Navigation.js | lore/lore-forms | import React from 'react';
import createReactClass from 'create-react-class';
import PropTypes from 'prop-types';
import { withRouter } from 'react-router';
import { Drawer, AppBar, List, ListItem, Divider, Subheader } from 'material-ui';
import { makeSelectable } from 'material-ui/List';
const SelectableList = makeSe... |
app/components/IssueIcon/index.js | stephme/react-specly | import React from 'react';
function IssueIcon(props) {
return (
<svg
height="1em"
width="0.875em"
className={props.className}
>
<path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7S10.14 13.7 7 13.7 1.3 11.14 1.3 8s2.56-5.7 5.7-5.7m0-1.3C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7S10.86 1 7 1z m1 3H6v... |
js/actions/KindAnalysisActions.js | Sable/McLab-Web | import AT from '../constants/AT';
import Dispatcher from '../Dispatcher';
import Immutable from 'immutable';
import OpenFileStore from '../stores/OpenFileStore';
import TerminalActions from './TerminalActions';
import OnLoadActions from './OnLoadActions';
import EditorMarkerActions from './EditorMarkerActions';
import ... |
node_modules/react-bootstrap/es/ModalDialog.js | FoxMessenger/nyt-react | 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/routes/crmaccmanag/Filter.js | vincentdd/crm | import React from 'react'
import PropTypes from 'prop-types'
import moment from 'moment'
import {
FilterItem
} from 'components'
import {
Form,
Button,
Row,
Col,
// DatePicker,
Input,
Cascader,
Switch
} from 'antd'
const Search = Input.Search
// const {
// RangePicker
... |
index.js | PaulsBecks/BasicReact | import React from 'react'
import { render } from 'react-dom'
import App from './modules/App'
import Navbar from './modules/Navbar'
import HomePage from './modules/HomePage'
import { Router, Route, IndexRoute, hashHistory, browserHistory } from 'react-router'
//var PlayerBank = require('./PlayerBank');
//var playerBank ... |
src/components/SetupAssistant/SetupAssistantItem.js | propertybase/react-lds | import React from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';
import { Button } from '../Button';
import { ProgressRing } from '../Progress';
import { MediaObject } from '../MediaObject';
import { SummaryDetail } from '../SummaryDetail';
const SetupAssistantItem = ({
children,
classNa... |
ajax/libs/onsen/1.3.2/js/onsenui.js | magoni/cdnjs | /*! onsenui - v1.3.2 - 2015-05-12 */
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// JavaScript Dynamic Content shim for Windows Store apps
(function () {
if (window.MSApp && M... |
ajax/libs/tinymce/4.1.3/plugins/legacyoutput/plugin.js | iros/cdnjs | /**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*
* This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements, align
* attributes and so... |
app/routes.js | jorgeortega/react-movie-collection | import React from 'react';
import { Route, IndexRoute } from 'react-router';
import App from './components/App';
import MovieCollection from './containers/MovieCollection';
export default (
<Route path="/" component={App}>
<IndexRoute component={MovieCollection} />
</Route>
);
|
src/EventCell.js | manishksmd/react-scheduler-smartdata | import PropTypes from 'prop-types';
import React from 'react';
import cn from 'classnames';
import dates from './utils/dates';
import { accessor, elementType } from './utils/propTypes';
import { accessor as get } from './utils/accessors';
import Img from './img/doctor.png';
import AppointmentBox from './AppointmentBox'... |
packages/material-ui-icons/src/ThreeSixtyOutlined.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12 7C6.48 7 2 9.24 2 12c0 2.24 2.94 4.13 7 4.77V20l4-4-4-4v2.73c-3.15-.56-5-1.9-5-2.73 0-1.06 3.04-3 8-3s8 1.94 8 3c0 .73-1.46 1.89-4 2.53v2.05... |
static/src/js/main.js | pipa/hapi-skeleton | // Deps =========================================
import React from 'react';
import ReactDOM from 'react-dom';
import Validation from 'react-validation';
import Rules from 'validationRules';
import pubsub from './libs/pubsub.js';
import 'whatwg-fetch';
// Adding Custom Rules ==========================
Object.assign(Va... |
ajax/libs/yui/3.2.0/event/event-focus-debug.js | CarlosOhh/cdnjs | YUI.add('event-focus', function(Y) {
/**
* 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,
useActivate = YLang.isFunction(
Y.DOM.create('<p onbeforeactivate="... |
sites/all/modules/contrib/devel/jquery-1.4.4-uncompressed.js | PaddyPatPat/thirstmag | /*!
* jQuery JavaScript Library v1.4.4
* 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/react/0.3.3/react.min.js | itvsai/cdnjs | /**
* React v0.3.3
*
* 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 required by applicabl... |
ajax/libs/angular-ui-select/0.12.0/select.js | emmy41124/cdnjs | /*!
* ui-select
* http://github.com/angular-ui/ui-select
* Version: 0.12.0 - 2015-05-28T07:44:11.360Z
* License: MIT
*/
(function () {
"use strict";
var KEY = {
TAB: 9,
ENTER: 13,
ESC: 27,
SPACE: 32,
LEFT: 37,
UP: 38,
RIGHT: 39,
DOWN: 40,
SHIFT: 16,
CTRL: 17,
ALT: 18... |
src/components/monthpicker/MonthPickerCalendar.js | f0zze/rosemary-ui | import React from 'react';
import ReactDOM from 'react-dom';
import classNames from 'classnames';
import chunk from 'lodash/chunk';
import * as dateUtils from '../../util/date-utils';
import * as dateFormats from '../../util/date-formats';
import {
formatDDMMYYYY,
parseDDMMYYYY
} from '../../util/date-formats... |
src/mixins/style-propable.js | mgibeau/material-ui | const React = require('react');
const ImmutabilityHelper = require('../utils/immutability-helper');
const Styles = require('../utils/styles');
// This mixin isn't necessary and will be removed in v0.11
/**
* @params:
* styles = Current styles.
* props = New style properties that will override the current style.
... |
ajax/libs/forerunnerdb/1.3.532/fdb-core+views.min.js | dannyxx001/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... |
go-betz/src/App.js | FabioFischer/go-betz | import React from 'react';
import './App.css';
import { BrowserRouter as Router, Route } from 'react-router-dom'
import {
AuthenticatedRoute,
AdministrativeRoute
} from './components';
import {
About, Matches, NewMatch, MyBets, Signin, Signup, AddCredits, NewTeam, Home, GiveAdmin, NewRole
} from './views';
co... |
src/containers/LoginSuccess/LoginSuccess.js | hldzlk/wuhao | import React, {Component, PropTypes} from 'react';
import {connect} from 'react-redux';
import * as authActions from 'redux/modules/auth';
@connect(
state => ({user: state.auth.user}),
authActions)
export default
class LoginSuccess extends Component {
static propTypes = {
user: PropTypes.object,
logo... |
docs/src/app/components/pages/components/IconMenu/ExampleControlled.js | ruifortes/material-ui | import React from 'react';
import IconMenu from 'material-ui/IconMenu';
import MenuItem from 'material-ui/MenuItem';
import IconButton from 'material-ui/IconButton';
import RaisedButton from 'material-ui/RaisedButton';
import MoreVertIcon from 'material-ui/svg-icons/navigation/more-vert';
import ContentFilter from 'mat... |
src/svg-icons/image/movie-creation.js | w01fgang/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageMovieCreation = (props) => (
<SvgIcon {...props}>
<path d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"/>
</SvgIcon>
);
ImageMovieCreati... |
node_modules/react-icons/fa/recycle.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const FaRecycle = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m18.7 26.1l-0.4 8.2 0 0.5-9.4-0.6q-0.8-0.1-1.5-0.8t-1-1.4q-0.3-0.6-0.4-1.2t0.1-1.5 0.3-1.2 0.5-1.5 0.4-1.1q1.7 0.2 11.4 0.6z m-8.7-13.1l4 8.5-3.2-2.1q-1.4 1.6-2.5 3.2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.