path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
packages/ringcentral-widgets-test/test/LogNotification/LogNotification.spec.js | u9520107/ringcentral-js-widget | import { shallow } from 'enzyme';
import React from 'react';
import callDirections from 'ringcentral-integration/enums/callDirections';
import callResults from 'ringcentral-integration/enums/callResults';
import telephonyStatuses from 'ringcentral-integration/enums/telephonyStatus';
import LogNotification from 'ringcen... |
ajax/libs/yui/2.9.0/yuiloader/yuiloader-debug.js | r3x/cdnjs | /*
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.9.0
*/
/**
* The YAHOO object is the single global object used by YUI Library. It
* contains utility function for setting up namespaces, inheritance, and
* logging. YA... |
packages/react-dom/src/server/ReactPartialRenderer.js | jameszhan/react | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import type {ThreadID} from './ReactThreadIDAllocator';
import type {ReactElement} from 'shared/ReactElementType';
imp... |
ajax/libs/victory/0.5.0/victory.min.js | nolsherry/cdnjs | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.Victory=e(require("react")):t.Victory=e(t.React)}(this,function(__WEBPACK_EXTERNAL_MODULE_156__){return function(t){function e(r)... |
blueocean-material-icons/src/js/components/svg-icons/device/brightness-medium.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const DeviceBrightnessMedium = (props) => (
<SvgIcon {...props}>
<path d="M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6z"/>
</SvgIcon>
);
DeviceBrig... |
examples/js/column/column-width-table.js | prajapati-parth/react-bootstrap-table | /* 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,
... |
blog/static/CACHE/js/a71f295dba09.js | bomba1990/Arquetitek | ;/*! jQuery v1.12.4 | (c) jQuery Foundation | 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 window?window:this,fu... |
docs/src/screens/home/index.js | FormidableLabs/spectacle | import React from 'react';
import content from './_content';
import { Header } from '../../components/header';
import { Footer } from '../../components/footer';
import Features from './features';
import Preview from './preview';
import GetStarted from './get-started';
import MoreOSS from './more-oss';
const Home = () ... |
clients/packages/admin-client/src/mobilizations/widgets/__plugins__/form/components/__form__.js | nossas/bonde-client | import PropTypes from 'prop-types';
import React, { Component } from 'react';
import CountUp from 'react-countup';
import { intlShape } from 'react-intl';
import classnames from 'classnames';
import { Error } from '../../../../../components/form-util';
import { isValidEmail } from '../../../../../utils/validation-help... |
ajax/libs/ember-data.js/2.5.0-beta.1/ember-data.js | menuka94/cdnjs | (function(){
"use strict";
/*!
* @overview Ember Data
* @copyright Copyright 2011-2016 Tilde Inc. and contributors.
* Portions Copyright 2011 LivingSocial Inc.
* @license Licensed under MIT license (see license.js)
* @version 2.5.0-beta.1
*/
var define, requireModule, require, requirejs;
(func... |
react/src/app/screens/Welcome/screens/Login/screens/AdminCreatedAccountCompletion/index.js | JasonKDarby/listopolis | import React from 'react';
import { Form, FormGroup, FormControl, Button, Col, Row } from 'react-bootstrap'
import { observer } from 'mobx-react'
import MobxReactForm from 'mobx-react-form'
import validatorjs from 'validatorjs'
import { hashHistory } from 'react-router'
const plugins = { dvr: validatorjs };
const fie... |
src/svg-icons/av/mic.js | w01fgang/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvMic = (props) => (
<SvgIcon {...props}>
<path d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-... |
node_modules/react-icons/md/gif.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const MdGif = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m31.6 17.5h-5v1.6h3.4v2.5h-3.4v3.4h-2.5v-10h7.5v2.5z m-16.6-2.5c1 0 1.6 0.8 1.6 1.6v0.9h-5.7v5h3.2v-2.5h2.5v3.4c0 0.8-0.6 1.6-1.6 1.6h-5c-1 0-1.6-0.8-1.6-1.6v-6.8c0-0.8 0... |
app/javascript/mastodon/components/setting_text.js | res-ac/mstdn.res.ac | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
export default class SettingText extends React.PureComponent {
static propTypes = {
settings: ImmutablePropTypes.map.isRequired,
settingKey: PropTypes.array.isRequired,
label: PropT... |
ajax/libs/react/0.13.0-beta.2/react.min.js | ColinEberhardt/cdnjs | /**
* React v0.13.0-beta.2
*
* 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 direct... |
ajax/libs/mobx-react/3.0.2/index.js | kiwi89/cdnjs | (function() {
function mrFactory(mobx, React, ReactDOM) {
if (!mobx)
throw new Error("mobx-react requires the MobX package")
if (!React)
throw new Error("mobx-react requires React to be available");
var isDevtoolsEnabled = false;
// WeakMap<Node, Object>;
... |
packages/bonde-admin/src/components/editor-draft-js/index.spec.js | ourcities/rebu-client | /* eslint-disable no-unused-expressions */
import React from 'react'
import { shallow } from 'enzyme'
import { expect } from 'chai'
import EditorDraftJS from './index'
describe('client/components/editor-draft-js/index', () => {
let wrapper
const props = {
handleSave: () => {},
readOnly: false,
value: ... |
ajax/libs/6to5/3.3.4/browser.js | schoren/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... |
src/routes/Home/components/HomeView.js | DaveSpringer/bmg-rap-sheets | import React from 'react'
import { Link } from 'react-router'
import './HomeView.scss'
export const HomeView = () => (
<div className='hidden-print'>
<h4>Welcome!</h4>
<p>
Bruce's Utility Belt is a collection of tools for the Batman Miniature
Game. It is intended to be a resource to help players ... |
docs/src/app/pages/components/Typeahead/ExampleTypeaheadDebounce.js | GetAmbassador/react-ions | import React from 'react'
import Typeahead from 'react-ions/lib/components/Typeahead/Typeahead'
import options from './CountryList'
class ExampleTypeaheadDebounce extends React.Component {
constructor(props) {
super(props)
}
handleSearch = value => {
console.log('Search value: ', value)
return new P... |
generators/app/templates/client/src/components/button.js | tbehrsin/generator-react-native-cross-platform |
import React from 'react';
import {
TouchableOpacity,
View,
StyleSheet,
Text,
TouchableWithoutFeedback
} from 'react-native';
export default class Button extends React.Component {
constructor() {
super();
this.state = {
pressed: false
};
}
onPressIn = () => {
this.setState({ pr... |
app/components/Players.js | DeividasK/click-or-be-clicked | import React from 'react';
import { Player } from './Player';
export default class Players extends React.Component {
render() {
if (this.props.list.length === 0) {
return <div>Sign in to see the list of players available.</div>
}
return (
<div className="list-group">
{ this.props.lis... |
packages/material-ui-icons/src/SchoolRounded.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M5 13.18v2.81c0 .73.4 1.41 1.04 1.76l5 2.73c.6.33 1.32.33 1.92 0l5-2.73c.64-.35 1.04-1.03 1.04-1.76v-2.81l-6.04 3.3c-.6.33-1.32.33-1.92 0L5 1... |
src/svg-icons/action/group-work.js | ruifortes/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionGroupWork = (props) => (
<SvgIcon {...props}>
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5... |
mlflow/server/js/src/experiment-tracking/components/RunView.js | mlflow/mlflow | import React, { Component, createRef } from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage, injectIntl } from 'react-intl';
import { getExperiment, getParams, getRunInfo, getRunTags } from '../reducers/Reducers';
import { connect } from 'react-redux';
import './RunView.css';
import { HtmlTableVi... |
app/components/member/Show.js | fotinakis/buildkite-frontend | import React from 'react';
import PropTypes from 'prop-types';
import Relay from 'react-relay/classic';
import DocumentTitle from 'react-document-title';
import PageHeader from '../shared/PageHeader';
import UserAvatar from '../shared/UserAvatar';
import TabControl from '../shared/TabControl';
import permissions from ... |
src/index.js | KevinPy/Iceberg | import 'normalize.css';
import './assets/styles/main.scss';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './app/components/App/App.jsx';
import NotFound from './app/components/NotFound/NotFound.jsx';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
ReactDOM.ren... |
app/scripts/components/IsLoggedIn/IsLoggedIn.js | toddhb/Time_Card_Viewer | /*
* TimeCard View
* Copyright ©2015 Thomas Nelson, Jacob Nichols, David Opp, Todd Brochu,
Andrew McGown, Sasha Fahrenkopf, Cameron B. White.
*
* This source code is licensed under the MIT license found in the
* LICENSE text file in the root directory of this source tree.
*/
import React from 'react';
import Flux... |
ajax/libs/flocks.js/1.5.0/flocks.js | 2947721120/cdnjs |
/** @jsx React.DOM */
/* jshint node: true, browser: true, newcap: false */
/* eslint max-statements: 0, no-else-return: 0, brace-style: 0 */
/* eslint-env node,browser */
/**
* The Flocks library module. Load this module and use either the
* flocks <tt>flocks.createClass</tt> wrapper or the <tt>flocks plumbing<... |
docs/src/app/components/pages/discover-more/RelatedProjects.js | owencm/material-ui | import React from 'react';
import Title from 'react-title-component';
import MarkdownElement from '../../MarkdownElement';
import relatedProjectsText from './related-projects.md';
const RelatedProjects = () => (
<div>
<Title render={(previousTitle) => `Related Projects - ${previousTitle}`} />
<MarkdownEleme... |
webui/pages/admin/export.js | stiftungswo/izivi_relaunch | import React from 'react';
import { Container } from 'semantic-ui-react';
import App from '../../components/AppContainer';
export default ({ ...rest }) => (
<App {...rest}>
<Container>
<p>DB Export</p>
</Container>
</App>
);
|
ajax/libs/foundation/4.3.1/js/vendor/jquery.min.js | Rich-Harris/cdnjs | !function(a,b){function J(a){var b=a.length,c=u.type(a);return u.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||"function"!==c&&(0===b||"number"==typeof b&&b>0&&b-1 in a)}function L(a){var b=K[a]={};return u.each(a.match(w)||[],function(a,c){b[c]=!0}),b}function O(a,c,d,e){if(u.acceptData(a)){var f,g,h=u.expando,i=a.... |
assets/jqwidgets/demos/react/app/chart/axiscustomoffsets/app.js | juannelisalde/holter | import React from 'react';
import ReactDOM from 'react-dom';
import JqxChart from '../../../jqwidgets-react/react_jqxchart.js';
import JqxButton from '../../../jqwidgets-react/react_jqxbuttons.js';
import JqxInput from '../../../jqwidgets-react/react_jqxinput.js';
import JqxDropDownList from '../../../jqwidgets-react/... |
ajax/libs/analytics.js/2.3.26/analytics.js | AlexisArce/cdnjs | (function outer(modules, cache, entries){
/**
* Global
*/
var global = (function(){ return this; })();
/**
* Require `name`.
*
* @param {String} name
* @param {Boolean} jumped
* @api public
*/
function require(name, jumped){
if (cache[name]) return cache[name].exports;
if (mo... |
frontend/src/components/frame/components/LoginModal/LoginModalPres.js | jf248/scrape-the-plate | import React from 'react';
import { Dialog, DialogContent, Tab, Tabs } from '@material-ui/core';
import { LoginContent, SignupContent } from './components';
function LoginModalPres(props) {
const { isOpen, onClose, tabsValue, onTabChange } = props;
const contents = [LoginContent, SignupContent];
return (
<D... |
public/jspm_packages/npm/material-ui@0.14.4/lib/svg-icons/device/signal-wifi-2-bar.js | nayashooter/ES6_React-Bootstrap | /* */
'use strict';
Object.defineProperty(exports, "__esModule", {value: true});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin');
var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMixi... |
docs/src/app/components/pages/components/DropDownMenu/ExampleLabeled.js | barakmitz/material-ui | import React from 'react';
import DropDownMenu from 'material-ui/DropDownMenu';
import MenuItem from 'material-ui/MenuItem';
export default class DropDownMenuLabeledExample extends React.Component {
constructor(props) {
super(props);
this.state = {value: 2};
}
handleChange = (event, index, value) => th... |
Examples/UIExplorer/ListViewExample.js | wangjiangwen/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,
... |
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js | priyam0074/musicApp | import React from 'react';
import { render } from 'react-dom';
// It's important to not define HelloWorld component right in this file
// because in that case it will do full page reload on change
import HelloWorld from './HelloWorld.jsx';
render(<HelloWorld />, document.getElementById('react-root'));
|
src/ExpandRowHeaderColumn.js | AllenFang/react-bootstrap-table | import React, { Component } from 'react';
import PropTypes from 'prop-types';
class ExpandRowHeaderColumn extends Component {
constructor(props) {
super(props);
this.toggleExpandAllChilds = this.toggleExpandAllChilds.bind(this);
}
toggleExpandAllChilds() {
this.props.toggleExpandAllChilds();
}
... |
src/svg-icons/maps/local-atm.js | kittyjumbalaya/material-components-web | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsLocalAtm = (props) => (
<SvgIcon {...props}>
<path d="M11 17h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4V8h-2V7h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2v1zm9-13H4c-1.11 0-1.99.89-1.99 2L2 1... |
app_learn/src/containers/Tab1/menuDemo.js | liuboshuo/react-native | /**
* Created by liushuo on 17/4/28.
*/
import React, { Component } from 'react';
import {
View,
Text,
Image,
StyleSheet,
ListView,
TouchableOpacity
} from 'react-native';
import NavigationBar from '../../component/navBarCommon'
import back from './../../source/images/icon_back.png'
import * a... |
site/src/pages/Spinner.js | khacluan/elemental | const React = require('react');
const { Button, Col, Container, Row, Spinner, Table } = require('elemental');
const DemoBox = require('../components/DemoBox');
const ExampleSource = require('../components/ExampleSource');
var Buttons = React.createClass({
displayName: 'VIEW_Spinner',
render () {
return (
<Conta... |
ajax/libs/react-chartjs/0.7.3/react-chartjs.min.js | dc-js/cdnjs | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom"),require("Chartjs")):"function"==typeof define&&define.amd?define(["react","react-dom","Chartjs"],e):"object"==typeof exports?exports["react-chartjs"]=e(require("react"),require("react-dom"),require("C... |
src/components/EditForm/Content.js | Apozhidaev/ergonode.com | import React, { Component } from 'react';
import decryptedContent from '../wrappers/decryptedContent';
class Content extends Component {
constructor(props) {
super(props);
const { encrypted, value } = this.props;
this.state = {
value: value || '',
encrypted: !!encrypted,
password: '',
... |
ajax/libs/yui/3.7.3/event-custom-base/event-custom-base-debug.js | nareshs435/cdnjs | YUI.add('event-custom-base', function (Y, NAME) {
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @module event-custom
*/
Y.Env.evt = {
handles: {},
plugins: {}
};
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @mo... |
client/scripts/components/file-upload/index.js | kuali/research-coi | /*
The Conflict of Interest (COI) module of Kuali Research
Copyright © 2005-2016 Kuali, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
Lic... |
node_modules/babel-core/lib/transformation/file/options/removed.js | weatherfordmat/YorViewReactNative | "use strict";
module.exports = {
"auxiliaryComment": {
"message": "Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"
},
"blacklist": {
"message": "Put the specific transforms you want in the `plugins` option"
},
"breakConfig": {
"message": "This is not a necessary option in Babel 6"
},
... |
src/index.js | atilafassina/octolist | import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
ReactDOM.render(
<App />,
document.getElementById('root')
);
|
test/components/Footer/Legal.spec.js | intrepion/sign-up-client-jsonapi-reactjs-foundation | import expect from 'expect';
import React from 'react';
import TestUtils from 'react-addons-test-utils';
import Legal from '../../../components/Footer/Legal';
function setup() {
let props = {
};
let renderer = TestUtils.createRenderer();
renderer.render(<Legal {...props} />);
let output = renderer.getRender... |
docs/src/app/components/pages/components/IconMenu/ExampleSimple.js | hwo411/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 MoreVertIcon from 'material-ui/svg-icons/navigation/more-vert';
/**
* Simple Icon Menus demonstrating some of the layouts possible using the `anc... |
src/react/tabs/large_tabs.js | pivotal-cf/pivotal-ui | import React from 'react';
import PropTypes from 'prop-types';
import Animation from '../mixins/mixins/animation_mixin';
import TabContent from './tab_content';
import TabHeaders from './tab_headers';
import classnames from 'classnames';
import {default as mixin} from '../mixins';
import {FlexCol, Grid} from '../flex-g... |
geonode/contrib/monitoring/frontend/src/components/organisms/alert-list/index.js | kartoza/geonode | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import RaisedButton from 'material-ui/RaisedButton';
import CircularProgress from 'material-ui/CircularProgress';
import SettingsIcon from 'material-ui/svg-icons/action/settings';
import HoverPaper from '../../atoms/ho... |
website/src/data/successStories.js | yangshun/tech-interview-handbook | import React from 'react';
export default [
{
name: 'Erin Teo',
title: 'Front End Engineer, Facebook',
thumbnail: 'https://avatars1.githubusercontent.com/u/5081708?s=460&v=4',
quote: (
<>
Preparing for my first rounds of tech interviews was really daunting - I
wasn't sure what t... |
Tests/Components/FullButtonTest.js | mohammadhendy/DriverApp | import 'react-native'
import React from 'react'
import FullButton from '../../App/Components/FullButton'
import { shallow } from 'enzyme'
import renderer from 'react-test-renderer'
test('FullButton component renders correctly', () => {
const tree = renderer.create(<FullButton onPress={() => {}} text='hi' />).toJSON(... |
docs/src/app/components/pages/components/DropDownMenu/ExampleOpenImmediate.js | w01fgang/material-ui | import React from 'react';
import DropDownMenu from 'material-ui/DropDownMenu';
import MenuItem from 'material-ui/MenuItem';
export default class DropDownMenuOpenImmediateExample extends React.Component {
constructor(props) {
super(props);
this.state = {value: 2};
}
handleChange = (event, index, value)... |
ajax/libs/jquery-handsontable/0.10.2/jquery.handsontable.full.js | bseib/cdnjs | /**
* Handsontable 0.10.2
* Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs
*
* Copyright 2012, Marcin Warpechowski
* Licensed under the MIT license.
* http://handsontable.com/
*
* Date: Thu Jan 23 2014 23:06:23 GMT+0100 (CET)
*/
/*jslin... |
test/specs/collections/Form/Fields-test.js | jamiehill/stardust | import _ from 'lodash'
import React from 'react'
import FormFields from 'src/collections/Form/FormFields'
import FormField from 'src/collections/Form/FormField'
import * as common from 'test/specs/commonTests'
import { numberToWord } from 'src/lib'
describe('Fields', () => {
common.isConformant(FormFields)
common... |
main.js | Pearson-Higher-Ed/notification-component | import React from 'react';
import ReactDOM from 'react-dom';
import NotificationBell from './src/js/NotificationBell';
import NotificationApi from './src/js/NotificationApi';
import './main.scss';
import NotificationContainer from './src/js/NotificationContainer';
import Drawer from '@pearson-components/drawer/main';
i... |
react/dashboard_example/src/routes/dashboardPages/forms/index.js | webmaster444/webmaster444.github.io |
import React from 'react';
import Forms from './forms';
export default {
path: '/forms',
action() {
return <Forms />;
},
};
|
ajax/libs/material-ui/4.11.4/TabScrollButton/TabScrollButton.js | cdnjs/cdnjs | "use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styles = void 0;
var _extends2 = _int... |
Courses/Software Technologies/AspNet MVC/HW/06.SignalR/PingPongGame/Scripts/jquery-1.8.2.js | todorm85/TelerikAcademy | /*!
* jQuery JavaScript Library v1.8.2
* 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: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time)
*/
(function(... |
src/parser/warlock/destruction/modules/features/Checklist/Module.js | FaideWW/WoWAnalyzer | import React from 'react';
import BaseChecklist from 'parser/shared/modules/features/Checklist2/Module';
import CastEfficiency from 'parser/shared/modules/CastEfficiency';
import Combatants from 'parser/shared/modules/Combatants';
import PreparationRuleAnalyzer from 'parser/shared/modules/features/Checklist2/Preparati... |
src/Containers/ListPosts.js | TaylorRayHoward/ReactReduxMessageBoard | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { getPosts, savePost, deletePost } from '../Actions/PostActions';
import { Field, reduxForm, reset } from 'redux-form';
import '../Styles/App.css';
import _ from 'lodash';
import PostCard from '../Components/PostCard';
import { getU... |
docroot/misc/tabledrag.js | anthonysimone/drupal-sandboxtwo | (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... |
component/analysis_module/js/components/ContentSubPageHeader.react.js | dolphin1987318/web-component | /**
* Created by wangxufeng on 2015/8/6.
*/
var React = require('react');
// 内容分段子标题
var ContentSubPageHeader = React.createClass({
render: function() {
var subMenuItem = undefined == this.props.subMenuItem ? "" : this.props.subMenuItem;
var subMenuItemAnnotation = undefined == this.props.subMenu... |
packages/babel/src/traversal/path/lib/hoister.js | pingjiang/babel | import * as react from "../../../transformation/helpers/react";
import * as t from "../../../types";
/**
* [Please add a description.]
*/
var referenceVisitor = {
/**
* [Please add a description.]
*/
ReferencedIdentifier(node, parent, scope, state) {
if (this.isJSXIdentifier() && react.isCompatTag(n... |
node_modules/antd/es/affix/index.js | ZSMingNB/react-news | import _defineProperty from "babel-runtime/helpers/defineProperty";
import _extends from "babel-runtime/helpers/extends";
import _classCallCheck from "babel-runtime/helpers/classCallCheck";
import _createClass from "babel-runtime/helpers/createClass";
import _possibleConstructorReturn from "babel-runtime/helpers/possib... |
ajax/libs/analytics.js/2.2.3/analytics.min.js | hibrahimsafak/cdnjs | (function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n... |
src/svg-icons/action/lock-open.js | ruifortes/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionLockOpen = (props) => (
<SvgIcon {...props}>
<path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 ... |
ajax/libs/react-dom/18.0.0-alpha-2bf2e76d3-20210826/umd/react-dom-server.browser.production.min.js | cdnjs/cdnjs | /** @license React vundefined
* react-dom-server.browser.production.min.js
*
* 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.
*/
(function(){'use strict';(function(H,I){"object"===typeo... |
dist/index.js | aurbano/react-ds | "use strict";Object.defineProperty(exports,"__esModule",{value:true});var _jsx=function(){var REACT_ELEMENT_TYPE=typeof Symbol==="function"&&Symbol.for&&Symbol.for("react.element")||60103;return function createRawReactElement(type,props,key,children){var defaultProps=type&&type.defaultProps;var childrenLength=arguments... |
ajax/libs/forerunnerdb/1.3.33/fdb-core.min.js | amoyeh/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... |
react-router-es6-example/src/Dropdown.js | akhilaantony/React-Stylisted | import React, { Component } from 'react';
var colours = [{
name: "Red",
hex: "#F21B1B"
}, {
name: "Blue",
hex: "#1B66F2"
}, {
name: "Green",
hex: "#07BA16"
}];
class Dropdown extends Component{
constructor(props) {
super(props);
this.state = {
listVisible: false
};
this.select =... |
dist/1.11.0/jquery-deprecated-dimensions.min.js | michael829/jquery-builder | /*! jQuery v1.11.0 -deprecated,-dimensions | (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)}(... |
packages/material-ui-icons/src/SmartphoneRounded.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z" /></React.Fragment>
, 'SmartphoneRounded');
|
src/components/tables/TableRow.js | ProAI/react-essentials | import React from 'react';
import PropTypes from 'prop-types';
import BaseView from '../../utils/rnw-compat/BaseView';
const propTypes = {
children: PropTypes.node.isRequired,
};
const TableRow = React.forwardRef((props, ref) => (
// TODO: Remove pseudo view and add react-native compatible component
<BaseView {... |
docs/src/app/components/pages/components/CircularProgress/Page.js | ichiohta/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/app/pages/About.js | skratchdot/web-audio-api-archive | import React, { Component } from 'react';
import Paper from 'material-ui/Paper';
import { connect } from 'react-redux';
import marked from 'marked';
import readmeContents from '~/README.md';
const readmeHtml = marked(readmeContents);
class About extends Component {
render() {
return (
<div style={{ padding... |
app/wp-content/plugins/woocommerce/assets/js/zeroclipboard/jquery.zeroclipboard.js | Montana-Studio/cosas | /*!
* jquery.zeroclipboard
* Bind to the `beforecopy`, `copy`, `aftercopy`, and `copy-error` events, custom DOM-like events for clipboard injection generated using jQuery's Special Events API and ZeroClipboard's Core module.
* Copyright (c) 2014
* Licensed MIT
* https://github.com/zeroclipboard/jquery.zeroclipboa... |
src/components/Svg/Minimize.js | bibleexchange/be-front-new | import React from 'react';
class Minimize extends React.Component {
render() {
return (
<svg className='minimize' x='0' y='0' viewBox='0 0 489.3 489.3' >
<g>
<path d="M0,12.251v464.7c0,6.8,5.5,12.3,12.3,12.3h224c6.8,0,12.3-5.5,12.3-12.3s-5.5-12.3-12.3-12.3H24.5v-440.2h440.2v210.5
... |
modules/dreamview/frontend/src/components/Navigation/index.js | xiaoxq/apollo | import React from 'react';
import MAP_NAVIGATOR from 'components/Navigation/MapNavigator';
import WS from 'store/websocket';
import { MAP_SIZE } from 'store/dimension';
import loadScriptAsync from 'utils/script_loader';
import WindowResizeControl from 'components/Navigation/WindowResizeControl';
export default class... |
server/sonar-web/src/main/js/app/components/GlobalContainer.js | lbndev/sonarqube | /*
* SonarQube
* Copyright (C) 2009-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... |
react/features/base/react/components/native/TintedView.js | jitsi/jitsi-meet | // @flow
import React, { Component } from 'react';
import { StyleSheet, View } from 'react-native';
import { TINTED_VIEW_DEFAULT } from './styles';
/**
* Base style for the {@code TintedView} component.
*/
const BASE_STYLE = {
...StyleSheet.absoluteFillObject,
alignItems: 'center',
justifyContent: 'cen... |
node_modules/babel-preset-stage-0/node_modules/babel-preset-stage-1/node_modules/babel-plugin-transform-export-extensions/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js | jainamritanshu/the-social | 'use strict';
var LIBRARY = require('./_library')
, global = require('./_global')
, ctx = require('./_ctx')
, classof = require('./_classof')
, $export = require('./_export')
, isObject = require('./_is-object')
, anObject = req... |
ajax/libs/yui/3.17.0/scrollview-base/scrollview-base-debug.js | sufuf3/cdnjs | /*
YUI 3.17.0 (build ce55cc9)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('scrollview-base', function (Y, NAME) {
/**
* The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators
*
* @module scrollview
*... |
sites/all/themes/default/bootstrap/node_modules/yeoman-test/node_modules/rx/dist/rx.lite.extras.compat.js | ph3l1x/realestate | // Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information.
;(function (factory) {
var objectTypes = {
'function': true,
'object': true
};
function checkGlobal(value) {
return (value && value.Object === Object) ? value : null;
}
var freeExports ... |
site/renderPath.js | longlho/react-dnd | import React from 'react';
import IndexPage from './IndexPage';
export default function renderPath(path, props, onRender) {
onRender(
IndexPage.renderToString(props)
);
}
|
ajax/libs/ember-data.js/1.0.0-beta.14.1/ember-data.prod.js | coupang/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'
];
/**
... |
administrator/templates/isis/js/jquery.js | laureduchemin/Site-Tutorat-Informatique2 | /*! jQuery v1.7.1 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 cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde... |
src/bundles/Collaborate/components/ProjectSubmitConfirmation/ProjectSubmitConfirmation.js | AusDTO/dto-digitalmarketplace-frontend | import React from 'react';
import {connect} from 'react-redux';
import Icon from '../../../../shared/Icon';
import './ProjectSubmitConfirmation.css'
class ProjectSubmitConfirmation extends React.Component {
render() {
return (
<section>
<h1 className="au-display-xl"><Icon valu... |
eventkit_cloud/ui/static/ui/app/components/MapTools/InvalidDrawWarning.js | terranodo/eventkit-cloud | import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { withTheme } from '@material-ui/core/styles';
export class InvalidDrawWarning extends Component {
render() {
const { colors } = this.props.theme.eventkit;
const style = {
display: this.props.show ? 'i... |
RNTester/js/RNTesterButton.js | gilesvangruisen/react-native | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
* ... |
packages/react-esc-render-jss/src/utils/renderHtmlLayout.js | TriPSs/react-esc | import React from 'react'
import server from 'react-dom/server'
export default (head, body, css, initialState = {}) => {
return '<!DOCTYPE html>' + (0, server.renderToStaticMarkup)(React.createElement(
'html',
head.htmlAttributes.toComponent(),
React.createElement(
'head',
null,
head.ti... |
ajax/libs/6to5/2.2.0/browser.js | perfect-pixell/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... |
fields/components/DateInput.js | lojack/keystone | import moment from 'moment';
import DayPicker from 'react-day-picker';
import React from 'react';
import Popout from '../../admin/src/components/Popout';
import { FormInput } from 'elemental';
function isSameDay(d1, d2) {
if (!_.isDate(d1)) {
d1 = new Date();
}
if (!_.isDate(d2)) {
d2 = new Date();
}
d1.setHo... |
client/main.js | morepath/morepath_cerebral_todomvc | import 'todomvc-common/base.css'
import 'todomvc-app-css/index.css'
import './styles.css'
import 'file?name=[name].[ext]!./index.html'
import React from 'react'
import ReactDOM from 'react-dom'
import {Container} from 'cerebral-view-react'
import controller from './controller'
import App from './components/App'
Reac... |
files/react/0.14.5/react.min.js | khorep/jsdelivr | /**
* React v0.14.5
*
* 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.
*... |
ajax/libs/ember-data.js/2.4.0-beta.3/ember-data.prod.js | Piicksarn/cdnjs | (function(){
"use strict";
/*!
* @overview Ember Data
* @copyright Copyright 2011-2016 Tilde Inc. and contributors.
* Portions Copyright 2011 LivingSocial Inc.
* @license Licensed under MIT license (see license.js)
* @version 2.4.0-beta.3
*/
var define, requireModule, require, requirejs;
(func... |
app/components/LoadingIndicator/index.js | talal7860/punch-assignment-react | import React from 'react';
import Circle from './Circle';
import Wrapper from './Wrapper';
const LoadingIndicator = () => (
<Wrapper>
<Circle />
<Circle rotate={30} delay={-1.1} />
<Circle rotate={60} delay={-1} />
<Circle rotate={90} delay={-0.9} />
<Circle rotate={120} delay={-0.8} />
<Cir... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.