target stringlengths 5 300 | feat_repo_name stringlengths 6 76 | text stringlengths 26 1.05M |
|---|---|---|
user_guide/searchindex.js | uc-web/corpapel | Search.setIndex({envversion:42,terms:{file_upload:11,some_librari:132,yellow:[6,136],poorli:96,four:[156,92,57,142,58,132,128,134,131],ofb:83,prefix:[],oldest:134,hate:138,optimize_databas:79,forget:[54,109],whose:32,accur:[0,32,121,158,45,99],aug:96,my_control:[107,117],site_url:[85,102,24,7,32],filename_pi:107,swap:[... |
ajax/libs/rxjs/2.3.4/rx.compat.js | a8m/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... |
client/src/components/Header/components/SignedIn.js | otavioarc/freeCodeCamp | import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'gatsby';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { userSelector } from '../../../redux';
const mapStateToProps = createSelector(userSelector, ({ picture }) => ({
picture
}));
functi... |
packages/mui-icons-material/lib/esm/NightsStaySharp.js | oliviertassinari/material-ui | import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("path", {
d: "M11.1 12.08c-2.33-4.51-.5-8.48.53-10.07C6.27 2.2 1.98 6.59 1.98 12c0 .14.02.28.02.42.62-.27 1.29-.42 2-.42 1.66 0 3.18.83 4.1 2.15 1.67.48 2.9 2.02 2.9 3.85... |
packages/ringcentral-widgets-docs/src/app/pages/Components/TransferPanel/Demo.js | ringcentral/ringcentral-js-widget | import React from 'react';
// eslint-disable-next-line
import TransferPanel from 'ringcentral-widgets/components/TransferPanel';
const props = {};
props.onTransfer = () => null;
props.currentLocale = 'en-US';
props.toggleTransferPanel = () => null;
props.formatPhone = (p) => p;
props.searchContactList = [];
props.sear... |
src/components/Main.js | oxxmossxxo/ReactRouterReduxBoiler | import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { Switch, Route, Router } from 'react-router-dom';
// Maps the state to props, just pass in a React Component
import Home from './pages/Home';
import store, { history } from '../store';
var domIsReady = (fun... |
src/components/RandomCat.js | TheKooxd/cat-analytics-dashboard | import React from 'react';
import err1 from '../static/img/4048.png'
import err2 from '../static/img/4047.jpg'
import err3 from '../static/img/4046.png'
import err4 from '../static/img/4045.jpg'
import err5 from '../static/img/4044.jpg'
import err6 from '../static/img/4043.jpg'
import err7 from '../static/img/4042.jpg'... |
examples/index.js | rhodee/react-tabbed-group | import React from 'react'
import ReactDOM from 'react-dom'
import Root from './Root'
const mountNode = document.querySelector('#main')
ReactDOM.render(<Root />, mountNode)
// Ignore this only for HMR during dev mode
if (module.hot) {
window.React = React
module.hot.accept(() => {
const Root = require('./Root... |
ajax/libs/react-select/1.0.1/react-select.es.js | jdh8/cdnjs | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { findDOMNode } from 'react-dom';
import AutosizeInput from 'react-input-autosize';
import classNames from 'classnames';
function arrowRenderer(_ref) {
var onMouseDown = _ref.onMouseDown;
return React.createElement('span', {
clas... |
src/svg-icons/action/help-outline.js | pradel/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionHelpOutline = (props) => (
<SvgIcon {...props}>
<path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c... |
internals/templates/app.js | yogakurniawan/phone-catalogues | /**
* app.js
*
* This is the entry file for the application, only setup and boilerplate
* code.
*/
// Needed for redux-saga es6 generator support
import 'babel-polyfill';
// Import all the third party stuff
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
impor... |
src/main/resources/static/bower_components/jqwidgets/demos/react/app/switchbutton/defaultfunctionality/app.js | dhawal9035/WebPLP | import React from 'react';
import ReactDOM from 'react-dom';
import JqxSwitchButton from '../../../jqwidgets-react/react_jqxswitchbutton.js';
class App extends React.Component {
constructor(props) {
super(props);
this.state = {
label:
{
'button1': 'New Mail',
... |
ajax/libs/antd-mobile/1.0.0-alpha.18/antd-mobile.min.js | jdh8/cdnjs | /*!
* antd-mobile v1.0.0-alpha.18
*
* Copyright 2015-present, Alipay, Inc.
* All rights reserved.
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof expor... |
theme/edusmart30/pix_core/t/cPanel X - File Manager_files/cpanel-all-min-en.js | jrojas-garrido/moodlelocaldev | //--- start /usr/local/cpanel/base/cjt/compatibility.js ---
/*
# Copyright(c) 2013 cPanel, Inc.
# All rights Reserved.
# copyright@cpanel.net http://cpanel.net
... |
styleguide/index.js | scott-riley/loggins | import React from 'react';
import { Router } from 'react-router';
import { createHashHistory } from 'history';
import routes from './routes';
React.render(
<Router
history={createHashHistory()}
children={routes}
/>,
document.getElementById('outlet'));
|
ajax/libs/js-data/2.0.0-beta.3/js-data-debug.min.js | Olical/cdnjs | /*!
* js-data
* @version 2.0.0-beta.3 - Homepage <http://www.js-data.io/>
* @author Jason Dobry <jason.dobry@gmail.com>
* @copyright (c) 2014-2015 Jason Dobry
* @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE>
*
* @overview Robust framework-agnostic data store.
*/
(function webpackUnivers... |
Public/Static/jquery/plugin/js/jquery-1.10.2.min.js | work4team/jxmb | /*! 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... |
webpack.config.prod.js | 4dinterface/profpruf | var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var ManifestPlugin = require('webpack-manifest-plugin');
var ChunkManifestPlugin = require('chunk-manifest-webpack-plugin');
var cssnext = require('postcss-cssnext');
var postcssFocus = require('postcss-focus');
var postcs... |
examples/macOs/components/radio.js | gabrielbull/react-desktop | import React, { Component } from 'react';
import { View, Radio } from 'react-desktop/macOs';
export default class extends Component {
render() {
return (
<View horizontalAlignment="center" direction="column">
<Radio
label="Check me!"
name="radio1"
onChange={(e)... |
client/src/app/routes/dashboard/components/SocialNetwork.js | zraees/sms-project | import React from 'react'
import FlotChart from '../../../components/graphs/flot/FlotChart'
const statsData = [
{
label: "Twitter",
data: [
[1, 27],
[2, 34],
[3, 51],
[4, 48],
[5, 55],
[6, 65],
[7, 61],
[8, 70],
[9, 65],
[10, 75],
[11, 57],
... |
web/components/shared/GamePanel/PlayerInfo/__fixtures__/player-solo.js | skidding/flatris | // @flow
import React from 'react';
import { getBlankPlayer } from 'shared/reducers/game';
import PlayerInfo from '..';
const user = { id: 'mock', name: 'Treznik' };
const player = {
...getBlankPlayer('mock', user),
score: 355,
lines: 5,
};
export default (
<PlayerInfo
player={player}
wins={null}
... |
misc/tabledrag.js | bikebike/Bike-Bike- | (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... |
gxa/src/main/javascript/bundles/baseline-expression/src/BaselineRouter.js | gxa/atlas | import React from 'react'
import PropTypes from 'prop-types'
import BaselineFacetsTree from './facets-tree/BaselineFacetsTree'
import BaselineHeatmaps from './BaselineHeatmaps'
import UrlManager from './urlManager'
class BaselineRouter extends React.Component {
constructor(props) {
super(props)
const newQ... |
src/icons/LanguageIcon.js | kiloe/ui | import React from 'react';
import Icon from '../Icon';
export default class LanguageIcon extends Icon {
getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M23.99 4C12.94 4 4 12.95 4 24s8.94 20 19.99 20C35.04 44 44 35.05 44 24S35.04 4 23.99 4zm13.85 12h-5.9c-.6... |
pages/_document.js | nvbf/pepper | import React from 'react';
import Document, { Head, Main, NextScript } from 'next/document';
import { ServerStyleSheet } from 'styled-components';
export default class MyDocument extends Document {
render() {
const sheet = new ServerStyleSheet();
const main = sheet.collectStyles(<Main />);
const styleTag... |
client/modules/DangBlog/DangBlogPages.js | tranphong001/BIGVN | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { Modal, Button } from 'react-bootstrap';
import { getCategories, getCities, getDistricts, getWards, getId } from '../App/AppReducer';
import { fetchDistricts, fetchWards, addDistricts, addWards, ... |
Lecture notes/week4_bootstrap_and_responsive_design/wireframe_w_bootstrap/js/tests/vendor/jquery.min.js | brianmacmillan/BMCC-MMP350 | /*! 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... |
docs/app/Examples/collections/Grid/ResponsiveVariations/GridExampleDoubling.js | ben174/Semantic-UI-React | import React from 'react'
import { Grid, Image } from 'semantic-ui-react'
const GridExampleDoubling = () => (
<Grid doubling columns={5}>
<Grid.Column>
<Image src='http://semantic-ui.com/images/wireframe/image.png' />
</Grid.Column>
<Grid.Column>
<Image src='http://semantic-ui.com/images/wire... |
ajax/libs/highcharts/4.1.1/highcharts.src.js | jaywcjlove/cdnjs | // ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v4.1.1 (2015-02-17)
*
* (c) 2009-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear... |
libs/angular.js/1.0.0rc12/angular-scenario.js | itdn120/baiducdnstatic | /*!
* jQuery JavaScript Library v1.7.2
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
src/packages/address-bar/src/PanelSection.js | MikkCZ/pontoon-tools | import React from 'react';
import { PanelListItem } from './PanelListItem';
/**
* React component of a list, using Firefox style for panel menu.
*/
export class PanelSection extends React.Component {
static defaultProps = {
items: [],
};
render() {
return (
<ul className="panel-section panel-sec... |
test/test_helper.js | josephcode773/reactYoutubeViewer | import _$ from 'jquery';
import React from 'react';
import ReactDOM from 'react-dom';
import TestUtils from 'react-addons-test-utils';
import jsdom from 'jsdom';
import chai, { expect } from 'chai';
import chaiJquery from 'chai-jquery';
import { Provider } from 'react-redux';
import { createStore } from 'redux';
import... |
src/components/StylesEditor/StylesEditor.SCOPE.react.js | OpusCapitaBES/js-react-showroom-client | /*
What is a SCOPE file. See documentation here:
https://github.com/OpusCapita/react-showroom-client/blob/master/docs/scope-component.md
*/
import React, { Component } from 'react';
import { showroomScopeDecorator } from '@opuscapita/react-showroom-client';
@showroomScopeDecorator
export default
class StylesEdi... |
blueocean-material-icons/src/js/components/svg-icons/social/domain.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const SocialDomain = (props) => (
<SvgIcon {...props}>
<path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2... |
website/src/components/References.js | plouc/mozaik | import React from 'react'
import styled from 'styled-components'
import Container from './Container'
import media from '../styles/media'
const Root = styled(Container)`
background: ${props => props.theme.contentBackgroundHighlightColor};
border-top: 1px solid ${props => props.theme.borderColor};
border-bo... |
src/routes/home/index.js | tonimoeckel/lap-counter-react | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-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';
import Home from './Home';
i... |
ajax/libs/yasgui/0.0.8/yasgui.min.js | binaek89/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r... |
packages/react-error-overlay/src/components/Footer.js | ro-savage/create-react-app | /**
* Copyright (c) 2015-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.
*/
/* @flow */
import React from 'react';
import { darkGray } from '../styles';
const footerStyle = {
fontFamily: 'sans-serif',
color:... |
app/modules/components/tutorial/tutorial.js | alexmdodge/gridgrind | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import TutorialContent from './tutorial-content';
import './tutorial.scss';
/**
* Application entry point. All resources, modules, and templates
* branch from this point.
*/
export default class Tutorial extends Component {
constructor(... |
react_ui/components/SubjectSelect/DeleteForm.js | chop-dbhi/biorepo-portal | // jscs:disable requireCamelCaseOrUpperCaseIdentifiers
import React from 'react';
import PropTypes from 'prop-types';
import Divider from '@material-ui/core/Divider';
import { connect } from 'react-redux';
import Button from 'react-bootstrap/Button';
import Select from 'react-select';
import PureModal from 'react-pure-... |
EventEmitter.Client/src/components/UserLoader/users.js | Stelmashenko-A/EventEmitter | import React from 'react'
import Select from 'react-select'
import 'react-select/dist/react-select.css'
import axios from 'axios'
const UserLoader = React.createClass({
displayName: 'UserLoader',
propTypes: {
value: React.PropTypes.object,
onChange: React.PropTypes.func
},
getInitialState () {
retu... |
node_modules/react-icons/md/exposure-plus-2.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const MdExposurePlus2 = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m13.4 11.6v6.8h6.6v3.2h-6.6v6.8h-3.4v-6.8h-6.6v-3.2h6.6v-6.8h3.4z m13.3 15.6h9.9v2.8h-14.3v-2.5l6.9-7.6q1.4-1.4 2.4-3.1 0.7-1 0.7-2.2 0-1.2-0.9-2.4-0.8-1-2.3-1-... |
source/component/hintMessage.js | togayther/react-native-cnblogs | import React, { Component } from 'react';
import {
View,
Text
} from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
import { CommonStyles, ComponentStyles, StyleConfig } from '../style';
import PureRenderMixin from 'react-addons-pure-render-mixin';
class HintMessage extends Component {
co... |
src/icons/AndroidGlobe.js | fbfeix/react-icons | import React from 'react';
import IconBase from './../components/IconBase/IconBase';
export default class AndroidGlobe extends React.Component {
render() {
if(this.props.bare) {
return <g>
<path d="M256,48C141.124,48,48,141.125,48,256c0,114.875,93.124,208,208,208c114.875,0,208-93.125,208-208
C464,141.125,370.875... |
src/components/Project.js | GuoYongfeng/react-resume | import React from 'react'
import { Timeline, Modal } from 'antd'
import TimelineItem from './TimelineItem'
import { getGithubRepos } from '../utils/fetchHelper'
export default class Project extends React.Component {
constructor(props) {
super(props)
this.state = {
visible: false,
... |
ajax/libs/backbone-react-component/0.6.1/backbone-react-component-min.js | szimek/cdnjs | "use strict";!function(a,b){if("function"==typeof define&&define.amd)define(["react","backbone","underscore"],b);else if("undefined"!=typeof module&&module.exports){var c=require("react"),d=require("backbone"),e=require("underscore");module.exports=b(c,d,e)}else b(a.React,a.Backbone,a._)}(this,function(a,b,c){function ... |
openex-front/src/private/components/settings/Index.js | Luatix/OpenEx | import React from 'react';
import * as PropTypes from 'prop-types';
import { Route, Switch } from 'react-router-dom';
import Parameters from './Parameters';
import Users from './users/Users';
import Groups from './groups/Groups';
import Tags from './tags/Tags';
import { errorWrapper } from '../../../components/Error';
... |
webpack.config.js | KentShikama/vector-web | var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
module.exports = {
module: {
preLoaders: [
{ test: /\.js$/, loader: "source-map-loader" }
],
loaders: [
{ test: /\.json$/, loader: "json" },
... |
node_modules/material-ui/svg-icons/content/next-week.js | SerendpityZOEY/Solr-Search-React-UI | '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... |
client/modules/ManageBlog/components/Edit/Edit.js | tranphong001/BIGVN | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { FormControl, Button, Modal } from 'react-bootstrap';
import ImageGallery from 'react-image-gallery';
import style from '../../../../../node_modules/react-image-gallery/styles/css/image-gallery.c... |
packages/react-dom/src/server/ReactDOMLegacyServerBrowser.js | yungsters/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 ReactVersion from 'shared/ReactVersion';
import type {ReactNodeList} from 'shared/ReactTypes';
import {
cre... |
src/components/Feedback/Feedback.js | epicallan/akilihub | import React, { Component } from 'react';
import s from './Feedback.scss';
import cx from 'classnames';
import withStyles from '../../decorators/withStyles';
import fetch from '../../core/fetch';
@withStyles(s)
class Feedback extends Component {
findOutMore = async(event) => {
event.preventDefault();
const ... |
ajax/libs/jointjs/0.9.4/joint.all.js | dannyxx001/cdnjs | /*! JointJS v0.9.3 - JavaScript diagramming library 2015-07-23
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* @license
* Lo-Dash 2.4.1 (Custom Build) <http://... |
src/commands/voiceCommands/mememusic.js | melmsie/Dank-Memer | const { GenericVoiceCommand } = require('../../models/')
module.exports = new GenericVoiceCommand({
triggers: ['mememusic', 'memesound', 'shitsound'],
description: 'Meme music? More like bad music',
reaction: '😃',
dir: 'shitsound',
ext: 'opus',
np: true,
skipIfPlaying: true
})
|
src/components/SearchBox/SearchBox.stories.js | austinknight/ui-components | import { action, storiesOf } from "@storybook/react";
import React from "react";
import SearchBox from "./SearchBox";
import * as SearchBoxThemes from "./SearchBoxThemes.js";
import { wrapComponentWithContainerAndTheme, colors } from "../styles";
function renderChapterWithTheme(theme) {
return {
info: `
... |
pages/video.js | sikhote/clairic | import React from 'react';
import List from '../components/List';
export default () => (
<List key="video" title="video" header="Video" source="video" />
);
|
src/components/footer.js | Lokiedu/libertysoil-site | /*
This file is a part of libertysoil.org website
Copyright (C) 2016 Loki Education (Social Enterprise)
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 License, o... |
ajax/libs/react-highcharts/5.0.3/index.js | hanbyul-here/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["Highcharts"] = fact... |
docs/public/static/examples/v35.0.0/contacts.js | exponent/exponent | import React from 'react';
import { View, Text } from 'react-native';
import * as Contacts from 'expo-contacts';
import * as Permissions from 'expo-permissions';
export default class App extends React.Component {
componentDidMount = async () => {
const { status } = await Permissions.askAsync(Permissions.CONTACTS... |
src/Stepper/StepConnector.spec.js | pradel/material-ui | /* eslint-env mocha */
import React from 'react';
import {shallow} from 'enzyme';
import {assert} from 'chai';
import {PlainStepConnector as StepConnector} from './StepConnector';
import getMuiTheme from '../styles/getMuiTheme';
describe('<StepConnector />', () => {
const muiTheme = getMuiTheme();
const themedShal... |
react/src/components/dashboard/walletsMain/walletsMain.js | pbca26/EasyDEX-GUI | import React from 'react';
import { connect } from 'react-redux';
import WalletsMainRender from './walletsMain.render';
import translate from '../../../translate/translate';
import {
triggerToaster,
newUpdateAvailable,
} from '../../../actions/actionCreators';
import { getCoinTitle } from '../../../util/coinHelper'... |
src/client/components/hoc/Order/withOrders.hoc.js | DBCDK/content-first | import React from 'react';
import {connect} from 'react-redux';
export const withOrders = WrappedComponent => {
const Wrapper = class extends React.Component {
render() {
return <WrappedComponent {...this.props} />;
}
};
const mapStateToProps = state => {
return {
orders: state.orderRedu... |
ajax/libs/recompose/0.18.1/Recompose.js | menuka94/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["Recompose"] = facto... |
js/components/loaders/ProgressBar.ios.js | bsusta/NativeBase-KitchenSink |
import React, { Component } from 'react';
import { ProgressViewIOS } from 'react-native';
export default class ProgressBarNB extends Component {
render() {
const getColor = () => {
if (this.props.color) {
return this.props.color;
} else if (this.props.inverse) {
return this.getThem... |
storybook/createStory/index.android.js | Fineighbor/ui-kit | import React from 'react'
import { storiesOf, addDecorator } from '@storybook/react-native'
import CenterView from './CenterView'
addDecorator(getStory =>
<CenterView>
{getStory()}
</CenterView>
)
export default storiesOf
|
server/game/cards/06-CotE/ShiotomeHeroine.js | jeremylarner/ringteki | const DrawCard = require('../../drawcard.js');
const AbilityDsl = require('../../abilitydsl.js');
const { Stages } = require('../../Constants');
class ShiotomeHeroine extends DrawCard {
setupCardAbilities() {
this.reaction({
title: 'Ready this character',
when: {
onM... |
public/js/jquery-1.7.2.min.js | ideapuff/proving | /*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde... |
src/main/webapp/static/jquery-validation/1.11.1/lib/jquery-1.9.0.js | xingguang2013/jeesite | /*!
* jQuery JavaScript Library v1.9.0
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-1-14
*/
(function( window, undefined ) {
"use strict";... |
src/playground/components/playground.js | lystable/redocs | import React from 'react';
import {getDisplayName} from '../../utils/runtime/react';
import {Flex, Block, Inline} from './core';
import {rgb} from 'jsxstyle';
import {escape, map} from 'lodash';
import {withState} from 'recompose';
const TRANSPARENT_BG = 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAA... |
lib/umd/ReactRouter.js | keathley/react-router | (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/modules/Rooms/components/Chat/Messages.js | prjctrft/mantenuto | /* eslint-disable */
import React from 'react';
import { connect } from 'react-redux';
const Messages = (props) => {
const styles = require('./Messages.scss');
const { messages, user, peer } = props;
if (messages.length === 0) {
return <p><em>No messages in your chat history.</em></p>
}
if(!user._id || !... |
src/components/Radial.react.js | sanderboom/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"><... |
react/huge-apps/routes/Grades/components/Grades.js | FeifeiyuM/test-repo | import React from 'react'
class Grades extends React.Component {
render() {
return (
<div>
<h2>Grades</h2>
</div>
)
}
}
module.exports = Grades
|
src/components/PostDetailLayout/PostDetailLayout.js | Ryann10/hci_term | import React from 'react'
import './PostDetailLayout.scss'
import { Link } from 'react-router'
import { Card, CardActions, CardHeader, CardMedia, CardTitle, CardText } from 'material-ui/Card'
import {GridList, GridTile} from 'material-ui/GridList'
import {List, ListItem} from 'material-ui/List'
import Avatar from 'mate... |
src/BreadcrumbItem.js | reactstrap/reactstrap | import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { mapToCssModules, tagPropType } from './utils';
const propTypes = {
tag: tagPropType,
active: PropTypes.bool,
className: PropTypes.string,
cssModule: PropTypes.object,
};
const defaultProps = {
tag: '... |
src/views/BootCard/BootCardSubtitle.js | shengnian/shengnian-ui-react | import React from 'react'
import PropTypes from 'prop-types'
import cx from 'classnames'
import { mapToCssModules } from '../../lib/'
const propTypes = {
tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
className: PropTypes.string,
cssModule: PropTypes.object,
}
const defaultProps = {
tag: 'h6',
... |
node_modules/react-bootstrap/es/NavbarToggle.js | geng890518/editor-ui | 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 ... |
public/js/jquery.min.js | sauron07/riff_point_test | /*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.2.min.map
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b... |
src/app.js | jovey-zheng/react-start-kit | import React from 'react';
import { Provider } from 'react-redux';
import { Router, hashHistory } from 'react-router';
import { syncHistoryWithStore } from 'react-router-redux';
import routes from './routes';
import 'font-awesome/css/font-awesome.css';
import 'antd/dist/antd.min.css';
import configureStore from './st... |
reactNavigation/src/routes/IntroStack.js | pepincho/playground | import React from 'react';
import {
Platform
} from 'react-native';
import {
// StackNavigator,
StackRouter,
// TabRouter,
} from 'react-navigation';
import StartUpScreen from '../screens/StartUpScreen';
import SignInScreen from '../screens/SignInScreen';
import SignUpScreen from '../screens/SignUpScreen';
... |
modules/Link.js | apoco/react-router | import React from 'react';
var { object, string, func } = React.PropTypes;
function isLeftClickEvent(event) {
return event.button === 0;
}
function isModifiedEvent(event) {
return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
}
/**
* <Link> components are used to create an <a> element t... |
public/js/src/components/work-view.js | jiadams/wjf-portfolio | import React from 'react';
import PropTypes from 'prop-types';
import WorksViewNav from './works-view-nav'
export default class ViewWork extends React.Component {
constructor(props) {
super(props);
this.state = {
viewHight: 0,
}
}
com... |
packages/material-ui-icons/src/StayCurrentPortrait.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M17 1.01L7 1c-1.1 0-1.99.9-1.99 2v18c0 1.1.89 2 1.99 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z" /></React.Fragment>
, 'StayCurr... |
react/movie-mojo/src/index.js | leovant/examples | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './components/App';
ReactDOM.render(<App />, document.getElementById('root'));
|
ajax/libs/angular-azure-mobile-service/1.0.2/angular-azure-mobile-service.min.js | sitic/cdnjs | "use strict";angular.module("azure-mobile-service.module",[]).service("Azureservice",function(e){var r="https://<AZURE_APP_NAME>.azure-mobile.net/",n="<AZURE_APP_API_KEY>",o=["google","twitter","facebook","windowsaccount","windowsazureactivedirectory"],t=WindowsAzure.MobileServiceClient,i=new t(r,n),u=function(){sessio... |
test/ButtonGroupSpec.js | insionng/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import ButtonGroup from '../src/ButtonGroup';
import Button from '../src/Button';
import { shouldWarn } from './helpers';
describe('ButtonGroup', function () {
it('Should output a button group', function () {
let instance = ReactTe... |
app/public/javascripts/components/main-page/__registration/__registration.js | yavalvas/react-blog | import React from 'react';
import _ from "lodash";
// import "./registration.css";
import RegistrationMiddleware from "../../../middleware/middleware_registration";
export default class MainPageRegistration extends React.Component {
constructor(p_) {
super(p_);
this.state = {
userModel: ... |
node_modules/react-bootstrap/es/SplitButton.js | cmccandless/SolRFrontEnd | import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from 'babel-runtime/helpers/inherits';
import _extends from... |
src/components/filters/lookup.js | thinktopography/reframe | import PropTypes from 'prop-types'
import React from 'react'
import _ from 'lodash'
class LookupPanel extends React.Component {
static propTypes = {
format: PropTypes.function,
label: PropTypes.string,
multiple: PropTypes.bool,
name: PropTypes.string,
options: PropTypes.array,
results: PropT... |
ajax/libs/react-data-grid/1.0.43/react-data-grid.ui-plugins.min.js | emmy41124/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactDataGrid=t(require("react"),require("react-dom")):e.ReactDataGrid=t(e.React,e.ReactDOM)}(th... |
mobileapp/CustomView.js | tw-spic/charchapoint | import React from 'react';
import {
Linking,
MapView,
Platform,
StyleSheet,
TouchableOpacity,
View,
} from 'react-native';
export default class CustomView extends React.Component {
render() {
if (this.props.currentMessage.location) {
return (
<TouchableOpacity style={[styles.container, ... |
node_modules/react-redux/src/components/connect.js | wisc/spectacle-caching | import { Component, createElement } from 'react'
import storeShape from '../utils/storeShape'
import shallowEqual from '../utils/shallowEqual'
import wrapActionCreators from '../utils/wrapActionCreators'
import warning from '../utils/warning'
import isPlainObject from 'lodash/isPlainObject'
import hoistStatics from 'ho... |
UnitTest/Console/phpMyAdmin-4.3.12/doc/html/_static/jquery.js | TheTypoMaster/SPHERE-Framework | /*!
* jQuery JavaScript Library v1.7.2
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
src/svg-icons/maps/directions-railway.js | lawrence-yu/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsDirectionsRailway = (props) => (
<SvgIcon {...props}>
<path d="M4 15.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h12v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V5c0-3.5-3.58-4-8-4s-8 .5-8 4v10.5zm8 1.5c-1.1 0-2-.9-2-2s.9-2 2... |
services/toast.js | kapone89/MonteOfficeExpo | // import Toast, { DURATION } from 'react-native-easy-toast';
// import React, { Component } from 'react';
import { Toast } from 'native-base';
class ToastService {
show = (msg) => {
Toast.show({ text: msg });
}
}
const toast = new ToastService();
export default toast;
|
examples/src/components/CustomSingleValue.js | katienreed/react-select | import React from 'react';
import Gravatar from 'react-gravatar';
var SingleValue = React.createClass({
propTypes: {
placeholder: React.PropTypes.string,
value: React.PropTypes.object
},
render () {
var obj = this.props.value;
var size = 15;
var gravatarStyle = {
borderRadius: 3,
display: 'inline-bl... |
src/app/components/media-button-share.js | pashist/soundcloud-like-player | import React from 'react';
import {connect} from 'react-redux';
import ReactTooltip from 'react-tooltip';
import {toggleSharePanel} from '../actions'
export default class MediaButtonShare extends React.Component {
componentWillReceiveProps(props){
ReactTooltip.rebuild();
const {isActive, isVisual} ... |
vendor/jquery/jquery.min.js | dennisgon/test | /*! 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... |
app/components/SetupStackController/BonjourScanContainer/BonjourScan/ClockListContainer/ClockList/SectionFooter/index.js | reubn/atomic | import React from 'react'
import {View} from 'react-native'
import {footer} from './styles'
export default () => (
<View style={footer} />
)
|
Libraries/react-native/react-native-interface.js | rollokb/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
*/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.