path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
ajax/libs/primereact/8.1.0/calendar/calendar.cjs.min.js
cdnjs/cdnjs
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),n=require("primereact/button"),a=require("primereact/hooks"),r=require("primereact/inputtext"),l=require("primereact/overlayservice"),o=require("primereact/utils"),i=require("primereact/ripple"),u=requ...
docs/src/components/Demo/EditorWithMentionHashtag/index.js
michalko/draft-wyswig
/* @flow */ import React from 'react'; import { Editor } from 'react-draft-wysiwyg'; import Codemirror from 'react-codemirror'; import sampleEditorContent from '../../../util/sampleEditorContent'; const EditorWithMentionHashtag = () => ( <div className="demo-section"> <h3>8. Editor with mentions and hashtag. Ty...
client/src/components/auth/signup.js
uxal/AuthenticationReduxTest
/** * Created by dragos on 17/01/2017. */ import React, { Component } from 'react'; import { Field, reduxForm } from 'redux-form'; import { connect } from 'react-redux'; import * as actions from '../../actions'; class Signup extends Component { handleFormSubmit(formProps) { //call action creator to sign...
IntegrationTests/LayoutEventsTest.js
jaggs6/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. * * @provides...
packages/material-ui-icons/src/CloudDownloadRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4....
internals/webpack/base.config.js
isogon/isomorphic-redux-plus
require('babel-polyfill'); const path = require('path'); const WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin'); const { url_loader_parser } = WebpackIsomorphicToolsPlugin; const host = (process.env.HOST || 'localhost'); const port = (+process.env.PORT + 1) || 3001; const context = path.resolv...
ajax/libs/yasr/1.1.10/yasr.min.js
sullivanmatt/cdnjs
!function(e){if("object"==typeof exports)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.YASR=e()}}(function(){var e;return function t(e,n,r){function i(a,s){if(!n[a]){if(!e...
src/svg-icons/action/play-for-work.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPlayForWork = (props) => ( <SvgIcon {...props}> <path d="M11 5v5.59H7.5l4.5 4.5 4.5-4.5H13V5h-2zm-5 9c0 3.31 2.69 6 6 6s6-2.69 6-6h-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6z"/> </SvgIcon> ); ActionPlayForWork ...
tests/e2e/components/test-svg/index.js
notonthehighstreet/toga
import React from 'react'; import Svg from '../svg'; import chevron from './assets/chevron.svg'; import './styles.scss'; module.exports = class TestOne extends React.Component { constructor(props) { super(props); this.state = { 'BOOM': false, clicked: false }; this.onMouseOver = this.onM...
packages/mineral-ui-icons/src/IconReplay.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconReplay(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProps}>...
src/server.js
Dengo/bacon-bacon
import Express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import config from './config'; import favicon from 'serve-favicon'; import compression from 'compression'; import httpProxy from 'http-proxy'; import path from 'path'; import createStore from './redux/create'; import ApiC...
docs/app/Examples/elements/Button/States/ButtonExampleDisabled.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Button } from 'semantic-ui-react' const ButtonExampleDisabled = () => ( <Button disabled>Disabled</Button> ) export default ButtonExampleDisabled
ajax/libs/angular.js/0.9.12/angular-scenario.js
carlsednaoui/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. ...
src/chartwrapper/blobs/xaxis-blobs.js
dhounam/component-silver-bullet
import React from 'react'; import Dthree from 'd3'; export default class SilverXaxisBlobs extends React.Component { // PROP TYPES static get propTypes() { return { // Incoming config config: React.PropTypes.object, // Callback after tests onReturnRevisedInnerBox: React.PropTypes.func,...
src/scripts/components/options/RadioGroup.js
arkon/ColourNTP
import React from 'react'; import Option from './Option'; import Radio from './Radio'; export default class RadioGroup extends Option { render() { return this.props.children.map((radio, i) => ( <Radio key={i} label={radio.props.label} tooltip={radio.props.tooltip} value={ra...
src/components/App.js
xavierlefevre/react-hot-redux-firebase-starter
import React, { Component } from 'react'; import {Router} from 'react-router'; import routes from '../routes'; // If you use React Router, make this component // render <Router> with your routes. Currently, // only synchronous routes are hot reloaded, and // you will see a warning from <Router> on every reload. // You...
src/routes.js
wseo88/react-starter-kit
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React from 'react'; import Router from 'react-routing/src/Router'; import http from './core/HttpClient'; import App from './components/App'; import ContentPage from './components/ContentPage'; import ContactPage from './components/ContactP...
test/RRWA-component.spec.js
bsaphier/react-redux-webaudio
import React from 'react'; import TestRenderer from 'react-test-renderer'; import { RRWA, mapState, mapDispatch } from '../src/RRWA-component'; class MockAudioContext { constructor() { this.closed = false; this.currentTime = 0; } close() { this.closed = true; } } describe('RRWA component', () =>...
ajax/libs/react-data-grid/0.12.4/react-data-grid-with-addons.min.js
Piicksarn/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactDataGrid=t(require("react")):e.ReactDataGrid=t(e.React)}(this,function(e){return function(e){function t(s){if(r[s])return r[...
public/script/my/component/ui/tip.js
yuyang041060120/csfz-food-react
import React from 'react'; import $ from 'jquery'; var TipComponent = React.createClass({ render: function () { return ( <div className="alert alert-success ui-tip"> {this.props.content} </div> ) } }); var instant; var timeout; function tip(options...
files/rxjs/2.4.2/rx.lite.extras.compat.js
vuejs/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'unde...
reactjs/demo/2048/app/index.js
ShengChih/saveus
import React from 'react'; import ReactDOM from 'react-dom'; import NumGrid from './components/NumGrid'; class GameContainer extends React.Component { constructor(props) { super(props); this.handleDirection = this.handleDirection.bind(this); this.state = { grids: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,1...
ajax/libs/F2/1.3.3/f2.no-easyXDM.min.js
tonytlwu/cdnjs
/*! F2 - v1.3.3 - 04-07-2014 - See below for copyright and license */ !function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obta...
packages/icons/src/md/action/ViewDay.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdViewDay(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M5 42h38v-6H5v6zm36-26H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h34c1.1 0 2-.9 2-2V18c0-1.1-.9-2-2-2zM5 6v6h38V6H5z" /> </IconBase> ); } export defau...
ajax/libs/forerunnerdb/1.3.490/fdb-core.min.js
pombredanne/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...
lib/components/header.js
StephanieEA/shoot-the-breeze
import React from 'react'; export default class Header extends React.Component { render() { return ( <header> <h1>Shoot the Breeze!</h1> <h2>Welcome {this.props.email}</h2> </header> ); } }
app/components/NotFound.js
eiriklv/redux-blog-example
import styles from './../global.styl'; import React from 'react'; import CSSModules from 'react-css-modules'; @CSSModules(styles) export default class NotFound extends React.Component { render() { return ( <div styleName="wrapper"> <h1>Not Found</h1> </div> ); } }
packages/playground/stories/InputField.story.js
appearhere/bloom
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { withKnobs, boolean, array, select, number } from '@storybook/addon-knobs'; import { CheckboxGroup, InputField, Input, InputRange, RadioGroup, Select, Option, StarRating, ...
src/example/plot/static-hints.js
jameskraus/react-vis
// Copyright (c) 2016 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
webpack/scenes/ModuleStreams/Details/ModuleStreamDetailArtifacts.js
Katello/katello
import React from 'react'; import PropTypes from 'prop-types'; const ModuleStreamDetailArtifacts = ({ artifacts }) => ( <div> <ul> {artifacts.map(({ id, name }) => <li key={id}>{name}</li>)} </ul> </div> ); ModuleStreamDetailArtifacts.propTypes = { artifacts: PropTypes.arrayOf(PropTypes.shape({ ...
src/svg-icons/hardware/tv.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareTv = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z"/> </SvgIcon> ); HardwareTv = pure(Hardwar...
src/client/todos/todo.react.js
sljuka/portfolio-este
import './todo.styl'; import Component from '../components/component.react'; // import Editable from '../components/editable.react'; import React from 'react'; export default class Todo extends Component { static propTypes = { actions: React.PropTypes.object.isRequired, todo: React.PropTypes.object.isRequir...
js/App.js
olegk101/test
import React from 'react' import { Match } from 'react-router' import { Provider } from 'react-redux' import store from './store' import Player from './Player' import Search from './Search' import Info from './Info' import Details from './Details' import preload from '../public/data.json' import Radium, { StyleRoot } f...
ajax/libs/react/0.13.2/react.min.js
blairvanderhoof/cdnjs
/** * React v0.13.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 directory. *...
ajax/libs/vue-chartjs/2.2.0/vue-chartjs.js
seogi1004/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueChartJs=t():e.VueChartJs=t()}(this,function(){return function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={exports:{},id:a,loaded:!1};ret...
node_modules/react-router-dom/es/Link.js
lousanna/sinatrademo
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) { var target = {...
HOLs/HOL-ScalingWindowsAzureWebSites/Source/Assets/AssetsWebSite/AssetsWebSite/Scripts/jquery-1.8.2.min.js
mauricionr/fullstack-training-kit
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d===...
src/components/Sidebar/index.js
joelvoss/react-gmaps
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Wrapper from './Wrapper'; import Autocomplete from 'components/Autocomplete'; /** * This component represents a list of items. */ class Sidebar extends Component { static propTypes = { config: PropTypes.object.isRequired, ...
site/src/TipsPage.js
Fnatte/react-day-picker
import React, { Component } from "react"; class TipsPage extends Component { render() { return ( <div className="Page-Content"> <h4> Localization with moment.js </h4> <p> The package includes an addon to localize the calendar with <a href="http://momentjs.com">m...
app/containers/LanguageProvider/index.js
NathanBWaters/jb_club
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { IntlProvider } from 'reac...
ajax/libs/video.js/5.0.0-19/video.js
samthor/cdnjs
/** * @license * Video.js 5.0.0-19 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Ve...
actor-apps/app-web/src/app/components/sidebar/RecentSection.react.js
jiguoling/actor-platform
import _ from 'lodash'; import React from 'react'; import { Styles, RaisedButton } from 'material-ui'; import ActorTheme from 'constants/ActorTheme'; import DialogActionCreators from 'actions/DialogActionCreators'; import DialogStore from 'stores/DialogStore'; import CreateGroupActionCreators from 'actions/CreateGro...
ajax/libs/foundation/4.2.3/js/vendor/jquery.js
tellnes/cdnjs
/*! * jQuery JavaScript Library v1.10.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-05-30T21:49Z */ (function( window, undefined ) { // ...
src/client/statics/Error404.js
busyorg/busy
import React from 'react'; import PropTypes from 'prop-types'; import Helmet from 'react-helmet'; import { withRouter, Link } from 'react-router-dom'; import { injectIntl, FormattedMessage } from 'react-intl'; import './ErrorPage.less'; const Error404 = ({ intl, staticContext }) => { if (staticContext) { staticC...
ajax/libs/forerunnerdb/1.3.614/fdb-core+views.js
viskin/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...
screens/home/Home.js
keuss/react-router-redux-sandbox
import React from 'react' import {connect} from 'react-redux' import _ from 'lodash' import {fetchAccounts, setSelectedAccount} from './actions' import {AccountDetails, AccountList, BalanceGraph} from './components' class Home extends React.Component { constructor(props){ super(props) this.handleAccountCli...
ajax/libs/react-redux/0.2.2/react-redux.js
maruilian11/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReduxReact"] = fact...
ajax/libs/yui/3.12.0/event-focus/event-focus.js
ppavlov/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() { ...
ajax/libs/yui/3.5.0/event-focus/event-focus-min.js
mojio/cdnjs
YUI.add("event-focus",function(f){var d=f.Event,c=f.Lang,a=c.isString,e=f.Array.indexOf,b=c.isFunction(f.DOM.create('<p onbeforeactivate=";"/>').onbeforeactivate);function g(i,h,k){var j="_"+i+"Notifiers";f.Event.define(i,{_attach:function(m,n,l){if(f.DOM.isWindow(m)){return d._attach([i,function(o){n.fire(o);},m]);}el...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Base/index.js
dewmini/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
third_party/prometheus_ui/base/web/ui/node_modules/reactstrap/es/CustomInput.js
GoogleCloudPlatform/prometheus-engine
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; var _excluded = ["className", "label", "inline", "valid", "invalid", "cssModule", "children", "bsSize", "innerRef", "htmlFor"], _excluded2 = ["type"], _...
src/components/NotebookListItem/NotebookListItemEdit.js
anibali/showoff
import React from 'react'; import _ from 'lodash'; import { connect } from 'react-redux'; import { withStyles } from 'material-ui/styles'; import { ListItem } from 'material-ui/List'; import TextField from 'material-ui/TextField'; import { FormControl } from 'material-ui/Form'; import Button from 'material-ui/Button'; ...
react_version/src/TodoElement/TodoElement.js
MagdalenaChmielewska/todo_list
import React, { Component } from 'react'; import 'bootstrap/dist/css/bootstrap.css'; import './TodoElement.css'; class TodoElement extends Component { constructor(props) { super(props); this.state = { editedTask: "", isEditing: false, taskCompleted: this.props.completed, }; this.r...
src/components/search/quickTags.js
emilmannfeldt/ettkilomjol
import React, { Component } from 'react'; import Chip from '@material-ui/core/Chip'; import PropTypes from 'prop-types'; class QuickTags extends Component { constructor(props) { super(props); this.state = { quickIndexesToSkip: [], }; } componentDidMount() { const randoms = [...Array(80)].m...
src/redux/modules/Board.js
Leviathan5/BeamSoundlyInteractive
import { toastr } from 'react-redux-toastr' import _ from 'lodash' import DevLabUtil from '../utils/DevLabUtil' import { client } from '../utils/Beam' // Constants export const constants = { SHOW_BOARD: 'SHOW_BOARD', EDIT_BOARD: 'EDIT_BOARD', ADD_BUTTON_TO_BOARD: 'ADD_BUTTON_TO_BOARD', UPDATE_GRID: 'UPDATE_GRI...
packages/ringcentral-widgets-docs/src/app/pages/Components/Header/index.js
ringcentral/ringcentral-js-widget
import React from 'react'; import { parse } from 'react-docgen'; import CodeExample from '../../../components/CodeExample'; import ComponentHeader from '../../../components/ComponentHeader'; import PropTypeDescription from '../../../components/PropTypeDescription'; import Demo from './Demo'; // eslint-disable-next-lin...
src/svg-icons/device/battery-charging-full.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryChargingFull = (props) => ( <SvgIcon {...props}> <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4zM11 20v-5.5H...
packages/gatsby-codemods/src/transforms/__testfixtures__/navigate-calls/existing-esm-import.output.js
0x80/gatsby
/* eslint-disable */ import React from 'react'; import { graphql, navigate } from 'gatsby'; export default function Example() { return <button onClick={() => navigate('/sample')}>waddup</button>; } export const pageQuery = graphql` query { allSitePages { prefix } } `;
node_modules/react-bootstrap/es/ButtonToolbar.js
caughtclean/but-thats-wrong-blog
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 ...
docs/src/pages/elements/SlatePage.js
gocreating/react-tocas
import React from 'react'; import DemoPageLayout from '../../utils/DemoPageLayout'; import PlayGround from '../../utils/PlayGround'; import { Slate, } from '../../../../lib'; let SlatePage = () => ( <DemoPageLayout title="Slate"> <h1 className="ts dividing header">Types</h1> <PlayGround title="Slate"...
client/components/settings/index.js
ZeHiro/kresus
import React from 'react'; import { Route, Switch, Redirect } from 'react-router-dom'; import URL from '../../urls'; import BackupParameters from './backup'; import BankAccountsList from './bank-accesses'; import CategoryList from '../categories'; import CustomizationParameters from './customization'; import EmailsPa...
dist/1.10.1/jquery-css-deprecated-effects-offset-wrap.js
eric-seekas/jquery-builder
/*! * jQuery JavaScript Library v1.10.1 -wrap,-css,-effects,-offset,-dimensions,-deprecated * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-06...
src/server/express.js
heracek/este-todomvc
import React from 'react' import compression from 'compression' import express from 'express' // import favicon from 'serve-favicon' import render from './render' export default (config) => { const app = express() app.use(compression()) // app.use(favicon('assets/img/favicon.ico')) // TODO: Move to CDN. ap...
src/svg-icons/editor/format-color-reset.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatColorReset = (props) => ( <SvgIcon {...props}> <path d="M18 14c0-4-6-10.8-6-10.8s-1.33 1.51-2.73 3.52l8.59 8.59c.09-.42.14-.86.14-1.31zm-.88 3.12L12.5 12.5 5.27 5.27 4 6.55l3.32 3.32C6.55 11.32 6 12...
src/svg-icons/action/settings.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettings = (props) => ( <SvgIcon {...props}> <path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l...
client/src/components/shared/seo.js
FreeCodeCampBA/freecodecampba.github.io
import React from 'react' import PropTypes from 'prop-types' import Helmet from 'react-helmet' import { StaticQuery, graphql } from 'gatsby' function SEO({ description, lang, meta, keywords, title }) { return ( <StaticQuery query={detailsQuery} render={data => { const metaDescription = descri...
app/components/head.js
tachyons-css/tachyons-generator
import React from 'react' import Head from 'next/head' import generator from 'tachyons-generator' export default ({ config }) => { const gen = generator(config) const css = `${gen.assembleCss(gen.generate())} ${gen.typeScale()} ${gen.spacing()}` return ( <Head> <title>Tachyons Generator</title> ...
examples/cra-storybook/src/stories/index.js
enjoylife/storybook
import React from 'react'; import EventEmiter from 'eventemitter3'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import WithEvents from '@storybook/addon-events'; import Button from './Button'; import Welcome from '....
src/app/component/SourceCode.react.js
blueberryapps/react-bluekit
import AceEditor from '../atoms/AceEditor.react'; import Component from '../PureRenderComponent.react'; import CopyCode from '../atoms/CopyCode.react'; import font from '../styles/Font'; import Icon from '../atoms/Icon.react'; import {mediaQueries} from '../styles/MediaQueries'; import Radium from 'radium'; import Reac...
src/components/ShareExperience/InterviewStepsForm/Section/index.js
goodjoblife/GoodJobShare
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import subscribeValidation from 'common/subscribeValidation'; import Block from 'common/Block'; import SectionEleContent from '../../common/SectionEleContent'; import { singleSectionOfLength as sectionContentValidator } from '../formCheck';...
lib/jquery/jquery-1.11.2.js
amoskarugaba/moodle
/*! * jQuery JavaScript Library v1.11.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-12-17T15:27Z */ (function( global, factory ) { if ...
examples/todos-flow/src/components/App.js
bvasko/redux
// @flow import React from 'react' import Footer from './Footer' import AddTodo from '../containers/AddTodo' import VisibleTodoList from '../containers/VisibleTodoList' const App = () => ( <div> <AddTodo /> <VisibleTodoList /> <Footer /> </div> ) export default App
client/client.js
GalkinDmitriy/evalotta
import React from 'react'; import ReactDOM from 'react-dom'; import StepGroup from './StepGroup/StepGroup'; import Header from './Header/Header'; const component = ( <div> <Header/> <div className="container" style={{paddingTop: '40px'}}> <div id="offer"> <h1>Разработка React JavaScript библиотек компонент...
common/routes/Services/containers/Services.js
luanlv/minhphat
// /* global $ */ import { provideHooks } from 'redial' import React from 'react' import { connect } from 'react-redux' import { loadData } from '../actions' import Helmet from 'react-helmet' import {Link} from 'react-router' const redial = { fetch: ({ dispatch }) => dispatch(loadData()) } const mapStateToProps = s...
client/Components/Reviews.js
a-deal/dr-oogle
import React, { Component } from 'react'; import { Grid, Row, Col, ListGroup, ListGroupItem } from 'react-bootstrap' import { getAllDentists, getDentistReviews } from '../utils/helpers' import Review from './Review' import Loader from 'react-loader' class Reviews extends Component { constructor(props) { super(props...
src/ShallowWrapper.js
CurtisHumphrey/enzyme
import React from 'react'; import flatten from 'lodash/flatten'; import unique from 'lodash/uniq'; import compact from 'lodash/compact'; import cheerio from 'cheerio'; import { nodeEqual, containsChildrenSubArray, propFromEvent, withSetStateAllowed, propsOfNode, typeOfNode, } from './Utils'; import { debu...
src/components/ActionArea.js
nikgraf/belle
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import actionAreaStyle from '../style/actionArea'; import { omit } from '../utils/helpers'; const actionAreaPropTypes = { activeStyle: PropTypes.object, children: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.node), PropTypes...
ajax/libs/babel-standalone/7.0.0-beta.0/babel.min.js
holtkamp/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Babel=t():e.Babel=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i....
src/component/login/WrapperLogin.js
MijaelWatts/calzaweb
import React, { Component } from 'react'; import cookie from 'react-cookie'; import * as firebase from 'firebase'; import HeaderLogin from './HeaderLogin'; import Login from './Login'; import FooterLogin from './FooterLogin'; import CONSTANTS from '../../config/constants.json'; class WrapperLogin extends Component { ...
web/bundles/ridwansite/js/jquery.js
ridwannaruto/NVS
/*! 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...
app/pages/resume.js
stephencorwin/stephencorwin.me
import React from 'react'; import PropTypes from 'prop-types'; import Resume from '@stephencorwin/resume/export/stephen-corwin_resume.md'; import { pages } from '../../app.config'; import Default from '../components/Layouts/Default'; import MarkdownDocument from '../components/MarkdownDocument'; const { route } = pag...
ajax/libs/elemental/0.5.1/elemental.js
voronianski/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Elemental = f(...
blueocean-material-icons/src/js/components/svg-icons/action/pan-tool.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionPanTool = (props) => ( <SvgIcon {...props}> <path d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 ...
ajax/libs/yasr/2.1.0/yasr.bundled.min.js
dannyxx001/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.YASR=e()}}(function(){var e;return function t(e,n,r){...
src/svg-icons/action/receipt.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionReceipt = (props) => ( <SvgIcon {...props}> <path d="M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-...
ajax/libs/yui/3.14.0/scrollview-base/scrollview-base.js
agraebe/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/svg-icons/image/movie-creation.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageMovieCreation = (props) => ( <SvgIcon {...props}> <path d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"/> </SvgIcon> ); ImageMovieCreati...
ajax/libs/yui/3.9.0/event-focus/event-focus-coverage.js
honestree/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
ajax/libs/rxjs/2.3.3/rx.lite.extras.js
sashberd/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, ...
examples/with-overmind/pages/_app.js
JeromeFitz/next.js
import React from 'react' import App from 'next/app' import { createOvermind, createOvermindSSR, rehydrate } from 'overmind' import { Provider } from 'overmind-react' import { config } from '../overmind' class MyApp extends App { // CLIENT: On initial route // SERVER: On initial route constructor(props) { su...
saga/P/async/src/components/Posts.js
imuntil/React
import React from 'react' import PropTypes from 'prop-types' function Posts({posts}) { return ( <ul> { posts.map((post, i) => <li key={i}>{post.title}</li> ) } </ul> ) } Posts.propTypes = { posts: PropTypes.array.isRequired } export default Posts
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/rc-calendar/es/month/MonthTable.js
bhathiya/test
import _defineProperty from 'babel-runtime/helpers/defineProperty'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-run...
lib/yuilib/3.17.2/datatable-body/datatable-body.js
crazyserver/moodle
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base...
packages/react-art/src/ReactART.js
jzmq/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. */ import React from 'react'; import ReactVersion from 'shared/ReactVersion'; import {LegacyRoot} from 'shared/ReactRootTags'; import...
static/src/bower_components/font-awesome/src/assets/js/jquery-1.10.2.js
cj1240/mycrm
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
demo/containers/buttons.js
nbonamy/react-native-app-components
import React, { Component } from 'react'; import { StyleSheet, Alert, ScrollView, View, Text } from 'react-native'; import { theme, Button, SlideButton } from 'react-native-app-components'; export default class Buttons extends Component { constructor(props) { super(props); } render() { return ( ...
ajax/libs/inferno/1.0.0-beta21/inferno-mobx.min.js
wout/cdnjs
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("./inferno-component"),require("./inferno"),require("./inferno-create-class"),require("./inferno-create-element")):"function"==typeof define&&define.amd?define(["inferno-component","inferno","inferno-create-class","inferno-crea...
admin/client/App/shared/AlertMessages.js
vokal/keystone
import React from 'react'; import { Alert } from '../elemental'; import { upcase } from '../../utils/string'; /** * This renders alerts for API success and error responses. * Error format: { * error: 'validation errors' // The unique error type identifier * detail: { ... } // Optional details specific t...
docs/app/Examples/collections/Table/Variations/TableExampleColumnWidth.js
clemensw/stardust
import React from 'react' import { Table } from 'semantic-ui-react' const TableExampleColumnWidth = () => { return ( <Table> <Table.Header> <Table.Row> <Table.HeaderCell width={10}>Name</Table.HeaderCell> <Table.HeaderCell width='six'>Status</Table.HeaderCell> </Table.Ro...
fancytree/js/jquery.fancytree-custom.min.js
ist-dsi-archive/fenixedu-canvas
/*! jQuery Fancytree Plugin - 2.2.0 - 2014-06-28T17:15 * https://github.com/mar10/fancytree * Copyright (c) 2014 Martin Wendt; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { define( [ "jquery" ], factory ); } else { factory( jQuery ); } }(function( $ ) { !function...