path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
temp.js
SerenityTn/knowledge_map
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { constructor(){ super(); this.state = { user: {firstName: "Serenity", lastName: "Amamou"} } } hello(user){ return "Good morning " + user.firstName + " " + user.lastName;...
lib/shared/routes.js
Josecc/spotify-hipster
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var _reactRouter = require("react-router"); var _react = require("react"); var _react2 = _interopRequireDefault(_react); var _componentsS...
src/templates/blog-post.js
huw/nu
import React from 'react'; import PropTypes from 'prop-types'; import Helmet from 'react-helmet'; import { Link, graphql } from 'gatsby'; import styled from 'styled-components'; import Layout from '../components/layout'; import { rhythm, scale } from '../utils/typography'; import 'katex/dist/katex.min.css'; const D...
src/components/Book.js
karaken12/ysfbc-web
import React from 'react'; import {Link} from "react-router-dom"; function Book(props) { const type = props.type; const meeting = props.meeting; const isCurrent = props.isCurrent; const book = meeting[type]; return ( <section className="book"> {isCurrent && CurrentHeader(type)}...
frontend/components/content-selector/content-selector.js
apostolidhs/wiregoose
import mapValues from 'lodash/mapValues'; import uniqBy from 'lodash/uniqBy'; import keys from 'lodash/keys'; import map from 'lodash/map'; import capitalize from 'lodash/capitalize'; import React from 'react'; import PropTypes from 'prop-types'; import CSSModules from 'react-css-modules'; import Panel from 'react-boot...
src/components/Page.js
weaintplastic/react-sketchapp
/* @flow */ import React from 'react'; import PropTypes from 'prop-types'; const propTypes = { name: PropTypes.string, children: PropTypes.node, }; class Page extends React.Component { static defaultProps = { name: 'Page 1', }; render() { const { name, children } = this.props; const _name = ...
ajax/libs/material-ui/4.12.1/es/Tooltip/Tooltip.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import * as ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { deepmerge, elementA...
src/svg-icons/image/texture.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageTexture = (props) => ( <SvgIcon {...props}> <path d="M19.51 3.08L3.08 19.51c.09.34.27.65.51.9.25.24.56.42.9.51L20.93 4.49c-.19-.69-.73-1.23-1.42-1.41zM11.88 3L3 11.88v2.83L14.71 3h-2.83zM5 3c-1.1 0-2 .9-2 ...
Realization/frontend/czechidm-core/src/components/advanced/ValidationMessage/ValidationMessage.js
bcvsolutions/CzechIdMng
import PropTypes from 'prop-types'; import React from 'react'; import _ from 'lodash'; // import * as Basic from '../../basic'; import DateValue from '../DateValue/DateValue'; /** * Parameters in errors. Contain names of not success policies * @type {String} */ const PASSWORD_POLICIES_NAMES = 'policiesNames'; /** ...
src/server.js
chuntielin/yeoman_react_fullstack
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import 'babel-core/polyfill'; import path from 'path'; import express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import Router from './routes'; import Html from './components/Html'; const server = global....
ajax/libs/forerunnerdb/1.3.350/fdb-all.js
cdnjs/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
packages/linkify-react/src/linkify-react.js
SoapBox/jQuery-linkify
import * as React from 'react'; import { tokenize, Options } from 'linkifyjs'; /** * Given a string, converts to an array of valid React components * (which may include strings) * @param {string} str * @param {any} opts * @returns {React.ReactNodeArray} */ function stringToElements(str, opts) { const tokens = ...
test/components/SidebarLogo.spec.js
datyayu/raji-react
/* eslint no-param-reassign: 0 */ import test from 'ava'; import React from 'react'; import { shallow } from 'enzyme'; import SidebarLogo from '../../client/components/SidebarLogo'; test.beforeEach(t => { t.context.logo = { img: '/assets/logo.svg', text: 'raji', }; }); test('SidebarLogo should use the ...
lens-ui/app/components/AboutComponent.js
sushilmohanty/incubator-lens
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not...
components/TransitionImage/index.js
samuelngs/px
import React, { Component } from 'react'; import { Image, InteractionManager } from 'react-native'; import { SharedView } from 'px/components/Navigation'; export default class TransitionImage extends Component { static defaultProps = { ...Image.defaultProps, name : null, route : null,...
packages/benchmarks/react-inline-styles/client/index.js
A-gambit/CSS-IN-JS-Benchmarks
import ReactDOM from 'react-dom'; import React from 'react'; import App from 'benchmarks-utils'; import Table from './Table'; import './index.html'; ReactDOM.render(<App table={Table} />, document.getElementById('root'));
packages/material-ui-icons/src/SyncProblemTwoTone.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="M3 12c0 2.21.91 4.2 2.36 5.64L3 20h6v-6l-2.24 2.24C5.68 15.15 5 13.66 5 12c0-2.61 1.67-4.83 4-5.65V4.26C5.55 5.15 3 8.27 3 12zm8 5h2v-2h-2v2z...
src/components/CommentSection.js
danielzy95/mechanic-finder
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import styles from './CommentSection.css'; import Comment from './Comment'; import CommentForm from './CommentForm'; const CommentSection = ({ className = '', comments = [], onNewComment = c => {} }) => ( <div className={`${styles.root} ...
ajax/libs/es6-shim/0.19.2/es6-shim.js
thejsj/cdnjs
/*! * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com) * and contributors, MIT License * es6-shim: v0.19.2 * see https://github.com/paulmillr/es6-shim/blob/master/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-...
apps/marketplace/components/Header/DashBoardLink.js
AusDTO/dto-digitalmarketplace-frontend
/* eslint-disable no-nested-ternary */ import React from 'react' import PropTypes from 'prop-types' import { rootPath } from 'marketplace/routes' const DashBoardLink = props => { const { userType, notificationCount } = props return ( <span> {userType === 'buyer' ? ( <a href={`${rootPath}/buyer-da...
files/core-js/0.9.1/library.js
evilangelmd/jsdelivr
/** * Core.js 0.9.1 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******...
ajax/libs/angular-data/1.0.0-beta.1/angular-data.js
sympmarc/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file angular-data.js * @version 1.0.0-beta.1 - Homepage <http://angular-data.pseudobry.com/> * @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/> * @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE> * * @overview Data store for Angu...
docs/tutorial/DO_NOT_TOUCH/01/src/index.js
FWeinb/cerebral
import React from 'react' import {render} from 'react-dom' import {Controller} from 'cerebral' import {Container} from 'cerebral/react' import Devtools from 'cerebral/devtools' import App from './components/App' const controller = Controller({ devtools: Devtools() }) render(( <Container controller={controller}> ...
ajax/libs/jquery/1.9.1/jquery.min.js
rm-hull/cdnjs
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
js/auth/Login.js
BarberHour/barber-hour
import React, { Component } from 'react'; import { View, Text, StyleSheet, Image, TouchableNativeFeedback, TextInput, TouchableOpacity, StatusBar, Linking, Platform } from 'react-native'; import { connect } from 'react-redux'; import {FBLoginManager} from 'react-native-facebook-login'; import t fro...
ajax/libs/react-redux/4.0.1/react-redux.js
sympmarc/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("redux")); else if(typeof define === 'function' && define.amd) define(["react", "redux"], factory); else if(typeof exports === 'object') e...
ajax/libs/forerunnerdb/1.3.812/fdb-core+views.js
dada0423/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
docs/src/app/components/pages/components/RefreshIndicator/ExampleReady.js
kasra-co/material-ui
import React from 'react'; import RefreshIndicator from 'material-ui/RefreshIndicator'; const style = { container: { position: 'relative', }, refresh: { display: 'inline-block', position: 'relative', }, }; const RefreshIndicatorExampleSimple = () => ( <div style={style.container}> <RefreshIn...
test/components/Banners/UpdateMessage.spec.js
CPatchane/cozy-collect
'use strict' /* eslint-env jest */ import React from 'react' import { shallow } from 'enzyme' import { tMock } from '../../jestLib/I18n' import { UpdateMessage } from 'components/Banners/UpdateMessage' describe('UpdateMessage component', () => { it(`Should be render correctly if not blocking update`, () => { ...
client/components/auth/signup.js
raymestalez/vertex
import React, { Component } from 'react'; import { reduxForm } from 'redux-form'; import * as actions from '../../actions'; class Signup extends Component { handleFormSubmit({email, password}) { /* console.log(email, password);*/ // signupUser comes from actions. // it is an action creator that sends an email/p...
src/scripts/mixins/StoreWatchMixin.js
jshack3r/ws-react-starter
import React from 'react'; import AppStore from '../stores/store.js'; // ES2015 doesn't support mixins so we actually use a higher order component (StoreWatchMixin) // This receives a component to wrap and a state callback function as params and returns back a stateless component export default (Component, getStateCa...
app/routes.js
robteix/millie
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import HomePage from './containers/HomePage'; export default ( <Route path="/" component={App}> <IndexRoute component={HomePage} /> </Route> );
client/app/containers/FavoritesPage/index.js
yanhao-li/menu-plus
import React from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router'; import Subheader from 'material-ui/Subheader'; import RestaurantCard from 'components/Card/RestaurantCard'; import Paper from 'material-ui/Paper'; import PropTypes from 'prop-types'; const propTypes = { favorites: ...
ajax/libs/yui/3.14.0/scrollview-base/scrollview-base-debug.js
hpneo/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
src/components/Vehicles.js
mick842/rental-cars-client
import React from 'react'; import Vehicle from "./Vehicle"; function Vehicles(props) { return ( <div className="vehicles"> { props.vehicles.map((vehicle) => { return <Vehicle key={vehicle.id} mark={vehicle.mark} model={vehicle.model} year={vehicle.year} ...
src/components/App.js
TonyHYK/tonyhyk.github.io
import React, { Component } from 'react'; import AboutMe from './AboutMe'; import AboutSite from './AboutSite'; import Work from './Work'; import Contact from './Contact'; import isMobile from 'is-mobile'; //carousel stuff import {Carousel} from 'react-responsive-carousel'; import 'style-loader!react-responsive-carous...
docs/src/app/components/pages/components/Divider/ExampleMenu.js
mmrtnz/material-ui
import React from 'react'; import Divider from 'material-ui/Divider'; import {Menu, MenuItem} from 'material-ui/Menu'; const style = { // Without this, the menu overflows the CodeExample container. float: 'left', }; const DividerExampleMenu = () => ( <Menu desktop={true} style={style}> <MenuItem primaryText...
src/entypo/XingWithCircle.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--XingWithCircle'; let EntypoXingWithCircle = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M10,0.4c-5.302,0-9.6,4.298-9.6,9.6s4.298,9.6,9.6,9.6s9.6-4.298,9.6-9.6S15.302,0.4,10,...
client/src/auth/SignOut.js
flyrightsister/boxcharter
/* * Copyright (c) 2017 Bonnie Schulkin. All Rights Reserved. * * This file is part of BoxCharter. * * BoxCharter 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, ...
src/constants/PayloadSources.js
sdjustin/arena-deck-review
/* * React.js Starter Kit * Copyright (c) 2014 Konstantin Tarkus (@koistya), KriaSoft LLC. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ 'use strict'; var keyMirror = require('react/lib/keyMirror'); var PayloadSources = keyM...
ajax/libs/yui/3.7.3/event-focus/event-focus.js
ram-nadella/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * 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, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
src/public_src/index.js
fedevela/projectccs
'use strict'; var React = require('react'); var ReactDOM = require('react-dom'); var io = require('socket.io-client'); var feathers = require('feathers/client'); var hooks = require('feathers-hooks'); var socketio = require('feathers-socketio/client'); var localstorage = require('feathers-localstorage'); var authentic...
src/__tests__/DropdownToggle.spec.js
reactstrap/reactstrap
import React from 'react'; import { mount } from 'enzyme'; import { DropdownToggle } from '../'; import { DropdownContext } from '../DropdownContext'; describe('DropdownToggle', () => { const setReferenceNode = jest.fn(); let isOpen; let inNavbar; let toggle; beforeEach(() => { isOpen = false; inNav...
src/components/StyledCheckbox.js
OpenCollective/frontend
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { themeGet, fontSize } from 'styled-system'; import { Flex } from '@rebass/grid'; const IconCheckmark = () => { return ( <svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2...
components/ImageGrid/index.js
samuelngs/px
import React, { Component } from 'react'; import { View, Image, ScrollView, TouchableOpacity, TouchableHighlight, StyleSheet, Dimensions, InteractionManager } from 'react-native'; import { LazyloadScrollView, LazyloadView } from 'react-native-lazyload'; import Touchable from 'px/components/Touchable'; import { Shared...
src/documentation/LoginPage/LoginPage.stories.js
wfp/ui
import React from 'react'; import markdown from './README.mdx'; import TextInput from '../../components/TextInput'; import Button from '../../components/Button'; import Modal from '../../components/Modal'; import Link from '../../components/Link'; export default { title: 'Templates/Login', parameters: { compo...
ajax/libs/redux-form/1.0.1/redux.min.js
cdnjs/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.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(r){if(n[r])return n[r].expor...
src/Tooltip.js
yuche/react-bootstrap
/* eslint-disable react/no-multi-comp */ import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import CustomPropTypes from './utils/CustomPropTypes'; const Tooltip = React.createClass({ mixins: [BootstrapMixin], propTypes: { /** * An html id attrib...
node_modules/react-icons/md/contact-phone.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdContactPhone = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m29.8 23.4c-0.4-1.1-0.7-2.2-0.7-3.4s0.3-2.3 0.7-3.4h2.7l2.5-3.2-3.3-3.4c-2.2 1.6-3.8 3.9-4.6 6.6-0.3 1.1-0.5 2.2-0.5 3.4s0.2 2.3 0.5 3.4c0.8 2.6 2.4 5 4.6 6.6l3....
src/client/app.js
laundree/laundree
// @flow import Debug from 'debug' import ReactDOM from 'react-dom' import React from 'react' import { BrowserRouter } from 'react-router-dom' import io from 'socket.io-client' import { createStore } from 'redux' import sdk from './sdk' import App from '../react/App' import ReactGA from 'react-ga' import { redux } fro...
src/docs/apiExamples/Label.js
recharts/recharts.org
import React from 'react'; import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Label, LabelList } from 'recharts'; import { localeGet } from '../../utils/LocaleUtils'; const data = [ { name: 'Page A', uv: 4000, pv: 2400, amt: 2400, }, { name: 'Page B', uv: 3000, pv: 1398, amt: 22...
app/classifier/world-wide-telescope.spec.js
zooniverse/Panoptes-Front-End
import React from 'react'; import assert from 'assert'; import WorldWideTelescope from './world-wide-telescope'; import { shallow } from 'enzyme'; const testSubject = { locations: [{ 'image/jpeg': 'http://www.image.com' }], metadata: {} }; const testProject = { slug: "zooniverse/test-project" }; const incomple...
ajax/libs/angular-google-maps/2.0.7/angular-google-maps.js
mitsuruog/cdnjs
/*! angular-google-maps 2.0.7 2014-11-04 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ (function() { String.prototype.contains = function(value, fromIndex) { return this.indexOf(value, fromIndex) !== -1; }; String.prototype.flare = function(flare)...
src/components/DeleteTaskModalComponent.js
Zcyon/lait
'use strict'; import React from 'react'; require('styles//DeleteTaskModal.css'); let DeleteTaskModalComponent = (props) => ( <div id="modalConfirm" className="modal is-active"> <div className="modal-background" onClick={props.toggleModal}> </div> <div className="modal-content"> <div className="ca...
src/components/AudioPlayer/svg/SpeakerIcon.js
littlewin-wang/mufly
import React from 'react' const SpeakerIcon = props => ( <svg width="5.36px" height="6.23px" viewBox="0 0 5.36 6.23" {...props}> <polygon fill-rule="evenodd" clip-rule="evenodd" fill="#3F413B" points="0.76,2.08 0,2.08 0,4.34 0.76,4.34 2.29,6.23 3.05,6.23 3.05,0 2.29,0 "/> <rect x="3.62" y="1.6" fill-ru...
components/app.js
papettoTV/isyo
import React, { Component } from 'react'; import Main from './main' import Header from './header' export default class App extends Component { constructor(props) { super(props); this.state = { value: null, }; this.state.route = "Main"; } componentDidMount() { console.log("componentDidMount app"); } ...
src/js/CreateStepper/Content/BasicDataForm/CustomHandle.js
ludonow/ludo-beta-react
import React from 'react'; import styled from 'styled-components'; import RcSlider from 'rc-slider'; import RcTooltip from 'rc-tooltip'; import sliderHandleIcon from '../../../../images/slider-handle.png' const { Handle } = RcSlider; const HandleIconWrapper = styled.div` left: -130%; position: relative; ...
src/js/components/pages/reset-password-2/index.js
athill/wimf
import React from 'react'; import { Field, reduxForm} from 'redux-form'; import { Alert, Button, Col, Form, Grid, Panel, Row } from 'react-bootstrap'; import { connect } from 'react-redux'; import { InputField, required, submit, validEmail } from '../../util/form'; import { passwordReset2 } from '../../../modules/user...
view/src/components/ChartCard.js
reliablejs/reliable-master
import React from 'react'; import { Card, Spin } from 'antd'; import './chartCard.less'; class ChartCard extends React.Component { render () { return ( <Card className="chartcard" bodyStyle={{ padding: '20px 24px 8px 24px' }} > { <Spin spinning={this.props.loading}>...
test/specs/views/Card/Card-test.js
aabustamante/Semantic-UI-React
import faker from 'faker' import React from 'react' import { SUI } from 'src/lib' import Card from 'src/views/Card/Card' import CardContent from 'src/views/Card/CardContent' import CardDescription from 'src/views/Card/CardDescription' import CardGroup from 'src/views/Card/CardGroup' import CardHeader from 'src/views/C...
hera/client/src/layouts/CoreLayout/CoreLayout.js
bottydim/detect-credit-card-fraud
import React from 'react'; import Header from '../../components/Header'; import classes from './CoreLayout.scss'; import '../../styles/core.scss'; export const CoreLayout = ({ children }) => ( <div className='container'> <Header /> <div className={classes.mainContainer}> {children} </div> </div...
js/components/about/AboutTab.js
kort/kort-reloaded
import React from 'react'; import { View, Text, StyleSheet, ScrollView, Image } from 'react-native'; import I18n from 'react-native-i18n'; import Config from '../../constants/Config'; const gitHubUrl = Config.KORT_GITHUB; const uservoiceUrl = Config.KORT_USERVOICE; const version = Config.KORT_VERSION; const kortUrl =...
src/routes/register/index.js
brytree/reach
/** * 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 Layout from '../../co...
ajax/libs/jquery.fancytree/2.8.0/jquery.fancytree-all.js
dakshshah96/cdnjs
/*! * jquery.fancytree.js * Dynamic tree view control, with support for lazy loading of branches. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.8.0 * @dat...
src/icons/IosArrowThinUp.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosArrowThinUp extends React.Component { render() { if(this.props.bare) { return <g> <path d="M349.7,189.8c-3.1,3.1-8,3-11.3,0L264,123.4V408c0,4.4-3.6,8-8,8c-4.4,0-8-3.6-8-8V123.4l-74.4,66.3 c-3.4,2.9-8.1,3....
ajax/libs/angular.js/0.9.3/angular-scenario.js
athanclark/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/rxjs/2.3.10/rx.all.js
sinkcup/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...
ajax/libs/intl-tel-input/6.0.2/js/intlTelInput.js
CyrusSUEN/cdnjs
/* International Telephone Input v6.0.2 https://github.com/Bluefieldscom/intl-tel-input.git */ // wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPlugin.js (function(factory) { if (typeof define === "function" && define.amd) { define([ "jquery" ], function($) { factory($, window...
src/shared/components/imageCard/imageCard.js
sethbergman/operationcode_frontend
import React from 'react'; import PropTypes from 'prop-types'; import LinkButton from 'shared/components/linkButton/linkButton'; import styles from './imageCard.css'; const ImageCard = ({ buttonText, cardText, image, link, title }) => ( <div className={styles.imageCard}> <img className={styles.cardImag...
src/components/settlement/header/Header.js
HuZai/react_settlement
/** * Created by zhengHu on 16-10-8. */ import React from 'react'; class Header extends React.Component { constructor(props) { super(props); this.state={data:{test:'test'}}; // this.props.location.state location.state; } text(){ this.context.router.replace( {pathname: '/', query: {...
src/components/vis/CalendarChart.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { Chart } from 'react-google-charts'; import { getBrandDarkColor } from '../../styles/colors'; const CalendarChart = (props) => { const numYears = 3; const height = (((props.cellSize * 7) + 20) * numYears) + 40; // based on how the width renders...
examples/with-koa/src/client.js
jaredpalmer/react-production-starter
import App from './App'; import BrowserRouter from 'react-router-dom/BrowserRouter'; import React from 'react'; import { hydrate } from 'react-dom'; hydrate( <BrowserRouter> <App /> </BrowserRouter>, document.getElementById('root') ); if (module.hot) { module.hot.accept(); }
packages/demos/todomvc/src/components/App/index.js
yusufsafak/cerebral
import React from 'react' import { connect } from 'cerebral/react' import NewTodoForm from '../NewTodo' import TodosList from '../List' import TodosFooter from '../Footer' import computedCounts from '../../computed/counts' export default connect( { counts: computedCounts, }, function App({ counts }) { re...
src/svg-icons/image/image.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageImage = (props) => ( <SvgIcon {...props}> <path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/> </SvgIcon> ); ImageImage = p...
ajax/libs/bootstrap.native/2.0.6/bootstrap-native-v4.js
sufuf3/cdnjs
// Native Javascript for Bootstrap 4 v2.0.6 | © dnp_theme | MIT-License (function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD support: define([], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like: module.exports = factory(); } else...
ajax/libs/antd/3.3.3/antd.min.js
ahocevar/cdnjs
/*! * * antd v3.3.3 * * 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"),require("moment")):"function"==typeof define&&define.amd?define(["react","react-dom","moment"],...
src/client/songs/songlinklazy.react.js
steida/songary
import Component from '../components/component.react'; import React from 'react'; import SongLink from '../songs/songlink.react'; import listenSong from './listensong'; @listenSong export default class SongLinkLazy extends Component { static propTypes = { actions: React.PropTypes.object.isRequired, params: ...
ajax/libs/yui/3.16.0/event-focus/event-focus-debug.js
stefanneculai/cdnjs
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Ev...
docs/app/Examples/elements/Rail/Variations/RailExampleClose.js
clemensw/stardust
import React from 'react' import { Grid, Image, Rail, Segment } from 'semantic-ui-react' const RailExampleClose = () => ( <Grid centered columns={3}> <Grid.Column> <Segment> <Image src='http://semantic-ui.com/images/wireframe/paragraph.png' /> <Rail close position='left'> <Segmen...
node_modules/react-icons/md/adb.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdAdb = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m25 15c0.9 0 1.6-0.7 1.6-1.6s-0.7-1.8-1.6-1.8-1.6 0.8-1.6 1.8 0.7 1.6 1.6 1.6z m-10 0c0.9 0 1.6-0.7 1.6-1.6s-0.7-1.8-1.6-1.8-1.6 0.8-1.6 1.8 0.7 1.6 1.6 1.6z m11.9-7.7c2....
ajax/libs/react/18.0.0-alpha-d174d063d-20210922/cjs/react-jsx-runtime.development.js
cdnjs/cdnjs
/** @license React vundefined * react-jsx-runtime.development.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. */ 'use strict'; if (process.env.NODE_ENV !== "production") { (fu...
src/components/DrawerLayout/index.js
r1cebank/react-native-boilerplate
/* eslint-disable no-return-assign */ /* eslint-disable no-underscore-dangle */ import React from 'react'; import { DrawerLayoutAndroid } from 'react-native'; class F8DrawerLayout extends React.Component { _drawer: ?DrawerLayoutAndroid; constructor(props: any, context: any) { super(props, context); ...
src/Parser/MistweaverMonk/Modules/Spells/EnvelopingMists.js
mwwscott0/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatNumber } from 'common/format'; import Module from 'Parser/Core/Module'; import calculateEffectiveHealing from 'Parser/Core/calculateEffectiveHealing'; import Combatants from 'Parser/Core/Modules/Com...
src/routes/Device/components/Device.js
KozlovDmitriy/Pos.Hierarchy.Net
import React from 'react' import PropTypes from 'prop-types' import Paper from '@material-ui/core/Paper' import Typography from '@material-ui/core/Typography' import { withStyles } from '@material-ui/core/styles' import Table from '@material-ui/core/Table' import TableBody from '@material-ui/core/TableBody' import Tabl...
src/shared-components/NotFoundPage.js
jch254/audio-insights
import React from 'react'; import { Box } from 'reflexbox'; import { PageHeader, Blockquote, Container, } from 'rebass'; import FadeInTransition from './FadeInTransition'; const NotFoundPage = () => ( <FadeInTransition> <Box key="unknown" style={{ flex: '1 0 auto' }}> <Container py={3}> <Pag...
frontend/eyeballing/src/components/inline-style.js
linea-it/dri
import React from 'react'; import Proptypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; const styles = { textBig: { fontSize: '10vw', }, }; class Inline extends React.Component { static propTypes = { classes: Proptypes.object.isRequired, }; render() { const { class...
index.android.js
bestofsong/rn-nav-tab-redux
'use strict' import React from 'react'; import {AppRegistry} from 'react-native'; import App from './app/app' AppRegistry.registerComponent('navExpRedux', () => App)
src/components/app/Help.js
Miroku87/pogo-raids-organizer
import React, { Component } from 'react'; import { Button } from "react-bootstrap"; export default class Help extends Component { render() { return ( <div className="help"></div> ); } }
examples/auth-flow/app.js
BerkeleyTrue/react-router
import React from 'react' import { render, findDOMNode } from 'react-dom' import { Router, Route, Link, History } from 'react-router' import { createHistory, useBasename } from 'history' import auth from './auth' const history = useBasename(createHistory)({ basename: '/auth-flow' }) var App = React.createClass({ ...
svg-icons/image/brightness-3.js
janmarsicek/material-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...
imanhua-muban/js/jquery-1.7.2.min.js
liudih/manhua
/*! 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...
ajax/libs/yui/3.5.1/simpleyui/simpleyui.js
gogoleva/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespac...
react-ui/src/components/game-diff.js
tdfranklin/retrocade
import React, { Component } from 'react'; import Canvas from './helpers/canvas'; import { SetCanvasText, LoadImg } from './helpers/helpers'; import { PongInstructions, SnakeInstructions } from './helpers/instructions'; import GameHome from './game-home'; import ThumbsUp from '../assets/img/thumbs-up.jpg'; class...
frontend/containers/tracks/TrackRowContainer.js
matiasgarcia/tubify
import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { downloadTrack } from '../../actions/tracks'; import TrackRow from '../../components/tracks/TrackRow'; function mapStateToProps(state, ownProps) { return { track: state.tracks[ownProps.id], t...
src/.templates/js/component.js
Astrocoders/astroman
const { stripIndent } = require('common-tags') const chalk = require('chalk') const fs = require('fs') module.exports.args = { name: 'Component name' } module.exports.where = (name) => { if (!fs.existsSync('components')){ fs.mkdirSync('components') return `components/${name}.js` } else { return `compo...
www/js/jquery-1.11.3.min.js
bigeyessolution/FestivalEdesioApp
/*! 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...
www/pages/components/home/ValueProps.js
danielmahon/keystone
import React, { Component } from 'react'; import Container from '../../../components/Container'; import { Col, Row } from '../../../components/Grid'; import { compose } from 'glamor'; import theme from '../../../theme'; import { EntypoLeaf, EntypoShuffle, EntypoImages, EntypoLightBulb, EntypoPencil, EntypoDocume...
examples/react-backbone/js/todos.js
arthurvr/todomvc
/*global Backbone */ var app = app || {}; (function () { 'use strict'; // Todo Collection // --------------- // The collection of todos is backed by *localStorage* instead of a remote // server. var Todos = Backbone.Collection.extend({ // Reference to this collection's model. model: app.Todo, // Save al...
universal_api_project_template/server.js
Mikeysax/mikey
// Server Dependencies import Express from 'express'; import cluster from 'express-cluster'; import fs from 'fs'; import path from 'path'; import React from 'react'; import { renderToString, renderToStaticNodeStream } from 'react-dom/server'; import compression from 'compression'; import serialize from 'serialize-javas...
web/test/components/DataStoreForm_test.js
boundlessgeo/spatialconnect-server
/* global describe, it, before, after */ import React from 'react'; import expect from 'expect'; import { shallow } from 'enzyme'; import { DataStoreForm, validate } from '../../components/DataStoreForm'; import mockDataStores from '../data/mockDataStores'; describe('DataStoreForm', () => { function setup(props = {}...