path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/static/containers/Home/index.js
qwertypomy/rental
import React from 'react'; import moment from 'moment'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import * as actionCreators from '../../actions/date'; import { CategoryNavigationView, ItemListView, ContactFormView } from '../index'; import { DateRange } from 'react-date-range'...
src/parser/hunter/beastmastery/modules/talents/KillerCobra.js
FaideWW/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import Analyzer from 'parser/core/Analyzer'; import SpellUsable from 'parser/shared/modules/SpellUsable'; import { formatNumber } from 'common/format'; import TalentStatisticBox from 'interface/others/TalentStatisticBox'; import SpellLink from 'common/Spel...
ajax/libs/highmaps/4.2.2/highcharts.src.js
menuka94/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.2.2 (2016-02-04) * * (c) 2009-2016 Torstein Honsi * * License: www.highcharts.com/license */ (function (root, factory) { if (typeof module === 'object' && module.exports) { module.exports = root.documen...
ajax/libs/react-virtualized/7.19.4/react-virtualized.js
extend1994/cdnjs
!function(root, factory) { "object" == typeof exports && "object" == typeof module ? module.exports = factory(require("React"), require("React.addons.shallowCompare"), require("ReactDOM")) : "function" == typeof define && define.amd ? define([ "React", "React.addons.shallowCompare", "ReactDOM" ], factory) : "object...
components/dice-shadow/__tests__/dice-shadow-test.js
ebabel-eu/generic-dice
/* global describe jest it expect */ import React from 'react'; import renderer from 'react-test-renderer'; import DiceShadow from '../dice-shadow'; jest.unmock('../dice-shadow'); describe('DiceShadow', () => { it('exists.', () => { expect(DiceShadow).toBeDefined(); }); it('renders an element that is not...
packages/mui-icons-material/lib/esm/LibraryMusicTwoTone.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M8 16h12V4H8v12zm4.5-6c.57 0 1.08.19 1.5.51V5h4v2h-3v5.5c0 1.38-1.12 2.5-2.5 2.5S10 13.88 10 12.5s1.12-2.5 2.5-2.5z", opacity: ".3" }, "0"), /*#__PURE__*/...
app/routes/index.js
okmttdhr/redux-blog-example
import React from 'react'; import { Route } from 'react-router'; import App from './App'; import SignupRoute from './SignupRoute'; import LoginRoute from './LoginRoute'; import ProfileRoute from './ProfileRoute'; import NotFound from '../components/NotFound'; import redirectBackAfter from '../utils/redirectBackAfter'; ...
tools/kevoree-scripts/browser-tester/src/index.js
kevoree/kevoree-js
import React from 'react'; import ReactDOM from 'react-dom'; import ErrorUI from './components/Error'; import App from './components/App'; const params = decodeURI(window.location.search.substr(1)) .split('&') .reduce((params, value) => { const array = value.split('='); params[array[0]] = array[1]; ret...
ajax/libs/6to5/2.6.2/browser.js
kristoferjoseph/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
examples/shopping-cart/src/index.js
jhwgnu/redux
import React from 'react' import { render } from 'react-dom' import { createStore, applyMiddleware } from 'redux' import { Provider } from 'react-redux' import { createLogger } from 'redux-logger' import thunk from 'redux-thunk' import reducer from './reducers' import { getAllProducts } from './actions' import App from...
src/app/components/resourses/planetsheet/OneItem.js
mazahell/eve-react-app
import React from 'react'; import Helper from './../../../../app/helpers'; import { map } from 'lodash'; const OneItem = props => { const { item, price_input_type, input_prices } = props; const outputValue = Helper.price(item.profit); const percColor = item.profit >= 0 ? 'txt-yellow' : 'profit-minus'; let out...
ajax/libs/x-editable/1.4.4/jquery-editable/js/jquery-editable-poshytip.js
Olical/cdnjs
/*! X-editable - v1.4.4 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to for...
ajax/libs/react-router/0.11.3/react-router.js
ljharb/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define,module,export...
tests/HOC/addSort_test.js
gforge/fixed-data-table-addons
/* eslint "import/no-extraneous-dependencies": ["error", {"devDependencies": true}] */ import React from 'react'; import { describe, it } from 'mocha'; import { Table, Column, Cell } from 'fixed-data-table-2'; import { expect } from 'chai'; import { mount } from 'enzyme'; import { getCtxtTextCell } from '../test_setup'...
src/shared/element-react/dist/npm/es6/src/tag/__test__/Tag_test.js
thundernet8/Elune-WWW
import React from 'react'; import { shallow, mount } from 'enzyme'; import sinon from 'sinon'; import Tag from '../'; describe('Tag test', function () { it('type', function () { var w = mount(React.createElement( Tag, { type: 'primary' }, 'TEST' )); expect(w.childAt(0).hasClass('el-tag...
src/components/Table/Table.testUtils.js
helpscout/blue
/* istanbul ignore file */ import React from 'react' import { createSpec, derived, faker } from '@helpscout/helix' import Truncate from '../Truncate' export const defaultColumns = [ { title: 'Name', columnKey: 'name', width: '25%', }, { title: 'Company', columnKey: 'companyName', width: '...
src/__tests__/containers/ChangeView.js
crudlio/crudl
/* globals jest, require, test, expect, describe, it, beforeEach */ import { Provider } from 'react-redux' import { IntlProvider } from 'react-intl' import React from 'react' import { shallow, mount } from 'enzyme' import configureStore from 'redux-mock-store' import { ChangeView } from '../../containers/ChangeView' i...
src/app/crime/CrimeSummary.js
cityofasheville/simplicity2
import React from 'react'; import { browserHistory } from 'react-router'; import moment from 'moment'; import ButtonGroup from '../../shared/ButtonGroup'; import Button from '../../shared/Button'; import CrimesByAddress from './CrimesByAddress'; import CrimesByStreet from './CrimesByStreet'; import CrimesByNeighborhood...
src/stories/2016-06-11-tenerife-the-land-of-eternal-spring.js
danpersa/remindmetolive-react
import React from 'react'; import PostImage from '../components/story/PostImage'; import TwoPostImages from '../components/story/TwoPostImages'; import StoryPage from '../components/story/StoryPage'; import StoryTextBlock from '../components/story/StoryTextBlock'; import StoryImages from '../components/story/StoryImage...
src/scenes/Layout/components/Footer/Footer.js
czonios/schedule-maker-app
import React from 'react'; import { Grid, Image, Header, Divider } from 'semantic-ui-react'; import './footer.css'; export const Footer = (props) => { return ( <footer> <p> <small> Made by two dudes with Greek-sounding names across the globe from one another...
node_modules/react-bootstrap/es/utils/TransitionEvents.js
WatkinsSoftwareDevelopment/HowardsBarberShop
/** * Copyright 2013-2014, Facebook, Inc. * All rights reserved. * * This file contains a modified version of: * https://github.com/facebook/react/blob/v0.12.0/src/addons/transitions/ReactTransitionEvents.js * * This source code is licensed under the BSD-style license found here: * https://github.com/facebook/r...
src/svg-icons/communication/chat-bubble.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationChatBubble = (props) => ( <SvgIcon {...props}> <path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"/> </SvgIcon> ); CommunicationChatBubble = pure(CommunicationChatBubble)...
ajax/libs/react/0.11.0-rc1/react.min.js
Download/cdnjs
/** * React v0.11.0-rc1 * * Copyright 2013-2014 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
src/components/notification/NotificationBox.js
heifade/quark-ui
/** * Alert Component * @author yanwei */ import React, { PureComponent } from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import uniqueId from 'lodash/uniqueId'; import assign from 'object-assign'; import Notice from './Notice'; import styles f...
files/images/jquery-1.9.1.min.js
SUT-GC/SUT-GC.github.io
/*! 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...
src/svg-icons/editor/border-right.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBorderRight = (props) => ( <SvgIcon {...props}> <path d="M7 21h2v-2H7v2zM3 5h2V3H3v2zm4 0h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2v-2H3v2zm8 0h2v-2h-2v2zm-8-8h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm8 8h2v-2h-2v2zm4-4h...
ajax/libs/rxjs/2.3.19/rx.lite.compat.js
kristoferjoseph/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/analytics.js/1.3.29/analytics.min.js
sahat/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
ajax/libs/react-data-grid/2.0.32/react-data-grid.js
dakshshah96/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
src/components/Loading/index.js
VovanR/test-react-redux-weather
import React from 'react'; const Loading = ({status}) => ( <div className="loading"> <img className="loading__icon" src="apple-touch-icon.png"/> <span className="loading__status"> {status} </span> </div> ); export default Loading;
frontend/src/components/eois/cells/preselectedYourScore.js
unicef/un-partner-portal
import React from 'react'; import R from 'ramda'; import { connect } from 'react-redux'; import { TableCell } from 'material-ui/Table'; import PropTypes from 'prop-types'; import Tooltip from '../../common/portalTooltip'; import SpreadContent from '../../common/spreadContent'; const renderExpandedCell = (data, allCri...
src/containers/foiRequests/FoiRequestsListHeader.js
jfilter/frag-den-staat-app
import { Animated, Easing, TouchableHighlight, View, Text } from 'react-native'; import { Icon } from 'react-native-elements'; import { connect } from 'react-redux'; import Collapsible from 'react-native-collapsible'; import React from 'react'; import { foiRequestsFilterChange } from '../../actions/foiRequests'; impor...
packages/shared/forks/Scheduler.umd.js
empyrical/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 React from 'react'; const ReactInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; const { ...
packages/wix-style-react/src/CloseButton/test/CloseButton.visual.js
wix/wix-style-react
import React from 'react'; import { visualize, story, snap } from 'storybook-snapper'; import CloseButton from '..'; import Help from 'wix-ui-icons-common/Help'; import { getSkinBackground, renderButtonBlock, } from '../../utils/ButtonHelpers'; import { SKINS, SIZES } from '../constants'; const skins = Object.val...
src/common/components/dumb/Footer.js
ThinkingInReact/ThinkingInReact.xyz
import React, { Component } from 'react'; import Links from 'content//FooterLinks.js'; import Author from 'components//static/Author'; class Footer extends Component { static defaultProps = { links: Links } render() { let links = []; this.props.links.map((link, index) => { links.push(<a href={link....
static/ueditor/third-party/jquery-1.10.2.js
mude918/aws_site01
/*! * 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, undef...
examples/real-world/routes.js
chentsulin/redux
import React from 'react' import { Route } from 'react-router' import App from './containers/App' import UserPage from './containers/UserPage' import RepoPage from './containers/RepoPage' export default ( <Route path="/" component={App}> <Route path="/:login/:name" component={RepoPage} /> <Route p...
ajax/libs/yasgui/1.0.13/yasgui.bundled.min.js
sitic/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...
src/js/components/main.js
limardo/Console
import React from 'react'; import Rows from './rows'; class Main extends React.Component { constructor(props) { super(props); this.state = {}; this._onFocus = this._onFocus.bind(this); } componentDidMount() { document.addEventListener('focus', this._onFocus); } co...
doc/api/fulldoc/html/js/jquery.min.js
rup/Tarrax
/*! 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...
frontend/component/TopicEditor.js
sql370/practice-node-project
import React from 'react'; import jQuery from 'jquery'; import {addTopic} from '../lib/client'; import {redirectURL} from '../lib/utils'; import MarkdownEditor from './MarkdownEditor'; export default class TopicEditor extends React.Component{ constructor(props){ super(props); this.state = props.topic || {};...
src/Bookshelf.js
le-du6/BLDMyReadsUdacityReact
import React from 'react'; import Book from './Book'; // stateless intermediary "Book Shelf Category" component const Bookshelf = (props) => ( <div> <div className="bookshelf"> <h2 className="bookshelf-title">{props.shelfTitle}</h2> <div className="bookshelf-books"> <ol c...
src/routes.js
rlgod/code-camp-1
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/app'; import CoursesPage from './components/coursesPage'; export default ( <Route path="/" component={App}> <IndexRoute component={CoursesPage}/> </Route> );
templates/assan-v2.6/e-commerce/sky-form/js/jquery.min.js
pangru/church-omania
/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
AnyDumper/__tests__/index.ios.js
monszdev/anydumper
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
js/components/Header/2.js
alaxa27/Lukeat
import React, { Component } from "react"; import { Container, Header, Title, Content, Button, Icon, Left, Right, Body, Text } from "native-base"; import styles from "./styles"; class Header2 extends Component { // eslint-disable-line render() { return ( <Container style={styles.con...
src/svg-icons/notification/adb.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationAdb = (props) => ( <SvgIcon {...props}> <path d="M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5v4zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14...
jenkins-design-language/src/js/components/material-ui/svg-icons/hardware/keyboard-tab.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const HardwareKeyboardTab = (props) => ( <SvgIcon {...props}> <path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6-6-6-1.41 1.41zM20 6v12h2V6h-2z"/> </SvgIcon> ); HardwareKeyboardTab.displayName = 'HardwareKeyboardTab'; HardwareKeyboardTab...
ajax/libs/forerunnerdb/1.3.708/fdb-core+views.js
froala/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/material-ui-icons/src/PanoramaFishEye.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let PanoramaFishEye = props => <SvgIcon {...props}> <path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 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 8z" /> </SvgIcon>; Pan...
lib/components/header.js
rickycodes/hyper
import React from 'react'; import Component from '../component'; import {decorate, getTabsProps} from '../utils/plugins'; import Tabs_ from './tabs'; const Tabs = decorate(Tabs_, 'Tabs'); export default class Header extends Component { constructor() { super(); this.onChangeIntent = this.onChangeIntent.bi...
Libraries/CustomComponents/Navigator/Navigator.js
jadbox/react-native
/** * Copyright (c) 2013-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. * * Facebook,...
test/app/components/TodoTextInput.spec.js
Guadalsurfers/chrome-extension-bullshitmeter
import { expect } from 'chai'; import sinon from 'sinon'; import React from 'react'; import TestUtils from 'react-addons-test-utils'; import TodoTextInput from '../../../app/components/TodoTextInput'; import style from '../../../app/components/TodoTextInput.css'; function setup(propOverrides) { const props = { o...
packages/arwes/src/ThemeProvider/sandbox.js
romelperez/prhone-ui
import React from 'react'; import createTheme from '../tools/createTheme'; import withStyles from '../tools/withStyles'; import ThemeProvider from './index'; const MyColor = withStyles(theme => ({ root: { width: 300, height: 120, transition: `background-color ${theme.animTime}ms ease-out`, background...
src/components/Capture.js
frankmarineau/partyboard-front
import React from 'react'; import PhotoUpload from './PhotoUpload' import SuccessPrompt from './SuccessPrompt' import Gallery from './Gallery' class Capture extends React.Component { constructor(props) { super(props); this.state = { isModalShown: false }; } render() { return ( <mai...
client/app.js
dmichel76/epics.js
import React from 'react' import ReactDOM from 'react-dom' import TextUpdate from './textUpdate.js' import Led from './led.js' import Tank from './tank.js' import TimePlot from './timeplot.js' import Gauge from './gauge.js' import Heatmap from './heatmap.js' import Button from 'react-bootstrap/lib/Button' import Page...
server/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js
mchernev/barcode-scanner
'use strict'; var LIBRARY = require('./_library'); var global = require('./_global'); var ctx = require('./_ctx'); var classof = require('./_classof'); var $export = require('./_export'); var isObject = require('./_is-object'); var aFunction = require('./_a-function'); var anInstance = require('./_an-instance'); var fo...
ajax/libs/analytics.js/1.3.8/analytics.min.js
gereon/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
app/containers/Css7/slides.js
ledminh/css-pages
import React from 'react'; import styled from 'styled-components'; import {connect} from 'react-redux'; import {createStructuredSelector} from 'reselect'; import {makeSlideData, makeMove} from './selectors'; import {slide} from './actions'; const smoothenMove = ` transition: left .6s, opacity .3s; `; const Frame...
ajax/libs/tagify/3.14.2/react.tagify.min.js
cdnjs/cdnjs
!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.React.tagify=t()}(this,function(){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&...
client/components/add-message/add-message.js
liors/wix-chat
import React from 'react'; import './add-message.scss'; class Message extends React.Component { render() { return ( <div className='message-entry-box'> <textarea name='message' className="add-message" placeholder='Enter a message...' value...
src/svg-icons/action/find-replace.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFindReplace = (props) => ( <SvgIcon {...props}> <path d="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1....
ajax/libs/pouchdb/6.2.1-prerelease/pouchdb.js
tholu/cdnjs
// PouchDB 6.2.1-prerelease // // (c) 2012-2017 Dale Harvey and the PouchDB team // PouchDB may be freely distributed under the Apache license, version 2.0. // For all details and documentation: // http://pouchdb.com (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typ...
src/components/blocks/blockquotecaption.js
brijeshb42/medium-draft
// import './blockquotecaption.scss'; import React from 'react'; import { EditorBlock } from 'draft-js'; export default (props) => ( <cite> <EditorBlock {...props} /> </cite> );
test/containers/Tabs.spec.js
Mobelux/docdown-editor
/* global describe, it, expect */ /* eslint-disable no-unused-expressions */ import React from 'react'; import { mount } from 'enzyme'; import { Map } from 'immutable'; import configureStore from 'redux-mock-store'; import Tabs from '../../app/containers/Tabs'; const mockStore = configureStore([]); function setup() {...
admin/client/components/FlashMessages.js
nickhsine/keystone
import React from 'react'; import { Alert } from 'elemental'; var FlashMessage = React.createClass({ displayName: 'FlashMessage', propTypes: { message: React.PropTypes.oneOfType([ React.PropTypes.object, React.PropTypes.string, ]), type: React.PropTypes.string, }, renderMessage (message) { if (typeof...
ajax/libs/yui/3.9.0/scrollview-base/scrollview-base.js
wormful/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...
examples/react-router/Params.js
gvaldambrini/storybook-router
import React from 'react'; import PropTypes from 'prop-types'; import { storiesOf } from '@storybook/react'; import { Route, Link } from 'react-router-dom'; import StoryRouter from 'storybook-react-router'; const ChildId = ({ match }) => ( <div> <h3>ID: {match.params.id}</h3> </div> ); ChildId.propTypes = {...
packages/wix-style-react/src/Skeleton/Skeleton.js
wix/wix-style-react
import React from 'react'; import PropTypes from 'prop-types'; import { st, classes } from './Skeleton.st.css'; import { dataHooks } from './constants'; import deprecationLog from '../utils/deprecationLog'; /** * Skeleton is a “placeholder” component. * Used for filling up screen usually for when some async operatio...
src/svg-icons/navigation/last-page.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationLastPage = (props) => ( <SvgIcon {...props}> <path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"/> </SvgIcon> ); NavigationLastPage = pure(NavigationLastPage); NavigationLastPage.di...
admin/client/Signin/components/UserInfo.js
joerter/keystone
import React from 'react'; import { Button } from 'elemental'; const UserInfo = function (props) { // Cannot return "null" from stateless components if (!props.user) return <span />; return ( <div className="auth-box__col"> <p>Hi {props.user.name.first},</p> <p>You're already signed in.</p> {/* If the us...
renderer/components/Form/IntegerInput.js
LN-Zap/zap-desktop
/* eslint-disable react/no-multi-comp */ import React from 'react' import PropTypes from 'prop-types' import { compose } from 'redux' import { asField } from 'informed' import * as yup from 'yup' import { withInputValidation } from 'hocs' import { BasicInput } from './Input' // Regex to check for only numeric values. ...
src/Tabs/TabBar.js
tleunen/react-mdl
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; const propTypes = { activeTab: PropTypes.number, className: PropTypes.string, cssPrefix: PropTypes.string.isRequired, onChange: PropTypes.func, }; const defaultProps = { activeTab: 0 }; class TabBa...
ajax/libs/6to5/1.14.11/browser.js
shelsonjava/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
src/SvgIcon/SvgIcon.spec.js
dsslimshaddy/material-ui
// @flow import React from 'react'; import { assert } from 'chai'; import { createShallow, getClasses } from '../test-utils'; import SvgIcon from './SvgIcon'; describe('<SvgIcon />', () => { let shallow; let classes; let path; before(() => { shallow = createShallow({ dive: true }); classes = getClass...
lib/python2.7/site-packages/Django-1.7.1-py2.7.egg/django/contrib/admin/static/admin/js/jquery.js
Maikflow/django_test
/*! * jQuery JavaScript Library v1.9.1 * 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-2-4 */ (function( window, undefined ) { // Can't do t...
TextField/TextField.js
mmellado/airtame-gooey-react
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import warning from 'warning'; /** * TextField component. Renders an input field of type text or password and handles its behavior * * @export * @class TextField * @extends {Component} */ export def...
Libraries/Text/Text.js
Livyli/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...
source/patterns/01-molecules/dropdown/__tests__/dropdown.spec.js
apparena/patterns
/* eslint-env mocha */ import React from 'react'; import {shallow, configure} from 'enzyme'; import Index from '../index'; import Adapter from 'enzyme-adapter-react-16'; configure({adapter: new Adapter()}); test('renders a dropdown', () => { const wrapper = shallow( <Index> <ul className="drop...
src/components/DatePicker.js
Charlie9830/pounder
import React from 'react'; import { DatePicker as MuiDatePicker } from 'material-ui-pickers'; import ArrowLeftIcon from '@material-ui/icons/KeyboardArrowLeft'; import ArrowRightIcon from '@material-ui/icons/KeyboardArrowRight'; const NakedDatePicker = (props) => { return ( <MuiDatePicker ref={props...
ajax/libs/typescript/2.0.6-insiders.20161012/typescript.min.js
dakshshah96/cdnjs
var __extends=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},ts;!function(e){!function(e){e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivi...
misc/tabledrag.js
openrestaurant/restaurant-drops-7
(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...
docs/src/app/components/pages/components/List/ExampleChat.js
spiermar/material-ui
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import Avatar from 'material-ui/Avatar'; import {List, ListItem} from 'material-ui/List'; import Subheader from 'material-ui/Subheader'; import Divider from 'material-ui/Divider'; import CommunicationChatBubble from 'material-ui/svg-icon...
app/js/seed/views/_seedconfirm.js
blockstack/blockstack-portal
import React from 'react' import { ShellScreen, Type, Button, Buttons } from '@blockstack/ui' import PropTypes from 'prop-types' import { Box, Inline, Flex } from '@components/ui/components/primitives' import { Trail, config, animated } from 'react-spring' function getRandomInt(min, max, exclude) { min = Math.ceil(m...
src/html.js
ScrantonHacks/website
import React from 'react'; import PropTypes from 'prop-types'; const BUILD_TIME = new Date().getTime(); // eslint-disable-line no-unused-vars export default class HTML extends React.Component { static propTypes = { body: PropTypes.string, } /* eslint-disable global-require, import/no-webpack-loader-syntax,...
ajax/libs/rxjs/2.3.9/rx.all.compat.js
maruilian11/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
src/components/slider/sliderItem.js
chenchenyuyu/zhihuDaily-react
import React from 'react'; import CYComponent from '../base/index'; class SliderItem extends CYComponent { render() { const { count, item } = this.props; const width = `${(100 / count)}%`; // console.log('width', width); return ( <li className="slider-item" style={{ width }}> <img src={...
fields/types/azurefile/AzureFileColumn.js
Redmart/keystone
import React from 'react'; var AzureFileColumn = React.createClass({ renderValue () { var value = this.props.data.fields[this.props.col.path]; if (!value) return; return <a href={value.url} target="_blank">{value.url}</a>; }, render () { return ( <td className="ItemList__col"> <div className="ItemLis...
ajax/libs/webshim/1.14.4-RC2/dev/shims/moxie/js/moxie.js
BobbieBel/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
ajax/libs/mediaelement/2.1.5/jquery.js
maxklenk/cdnjs
/*! * jQuery JavaScript Library v1.6.1 * 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. ...
_gatsby/src/templates/post.js
YannickDot/yannickdot.github.io
import React from 'react' import Helmet from 'react-helmet' import UserInfo from '../components/UserInfo/UserInfo' import Disqus from '../components/Disqus/Disqus' import PostTags from '../components/PostTags/PostTags' import SocialLinks from '../components/SocialLinks/SocialLinks' import SEO from '../components/SEO/SE...
universal/containers/root/root.dev.js
Amazing-Space-Invader/outline
/** * Created by invader on 06.07.16. */ import React, { Component } from 'react'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; import DevTools from '../devTools'; export default class Root extends Component { render() { const { store, routing } = this....
public/cms/libs/ckeditor/skins/bootstrapck/sample/js/jquery-1.11.0.min.js
faozimipa/kodicms-laravel
!function(o,ea){"object"==typeof module&&"object"==typeof module.exports?module.exports=o.document?ea(o,!0):function(o){if(!o.document)throw Error("jQuery requires a window with a document");return ea(o)}:ea(o)}("undefined"!=typeof window?window:this,function(o,ea){function Ba(a){var b=a.length,d=c.type(a);return"func...
examples/auth-with-shared-root/app.js
rdjpalmer/react-router
import React from 'react' import { render } from 'react-dom' import { browserHistory, Router } from 'react-router' import routes from './config/routes' render(<Router history={browserHistory} routes={routes}/>, document.getElementById('example'))
docs/app/Examples/elements/Button/Variations/ButtonExampleNegative.js
koenvg/Semantic-UI-React
import React from 'react' import { Button } from 'semantic-ui-react' const ButtonExampleNegative = () => ( <div> <Button negative>Negative Button</Button> </div> ) export default ButtonExampleNegative
boxroom/archive/js-remix_2018-04-27/src/main/__modules__/react/react.js
js-works/js-scenery
import remixForReact from '../remix/remixForReact'; import React from 'react'; import hyperscript from 'js-hyperscript/react'; const createContext = React.createContext, createElement = hyperscript, createPortal = React.createPortal, isElement = React.isValidElement, // TODO remix = remixForReact,...
src/js/components/icons/base/Soa.js
codeswan/grommet
import React from 'react'; import Services from './Services'; export default (props) => { console.warn( 'Soa has been renamed to Services.' + ' Plese update your import statement.' ); return <Services {...props} />; };
packages/material-ui-icons/src/NotificationImportantRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 23c1.1 0 1.99-.89 1.99-1.99h-3.98c0 1.1.89 1.99 1.99 1.99zm8.29-4.71L19 17v-6c0-3.35-2.36-6.15-5.5-6.83V3c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v1.17C7.36 4.85 5 7.65 5 11v6l-1.29 1.29c-.63.63-.19 ...
src/app/config/routes.js
AscaL/react-stesss
import React from 'react'; import { Router, Route, IndexRoute, hashHistory } from 'react-router'; import Main from '../components/Main'; import Home from '../components/Home'; import PromptContainer from '../containers/PromptContainer'; import ConfirmBattleContainer from '../containers/ConfirmBattleContainer'; import R...
kitsune/sumo/static/sumo/js/tests/crashidtests.js
Osmose/kitsune
import {default as mochaJsdom, rerequire} from 'mocha-jsdom'; import {expect} from 'chai'; import React from 'react'; import mochaK from './fixtures/mochaK.js'; import mochaJquery from './fixtures/mochaJquery.js'; import mochaGettext from './fixtures/mochaGettext.js'; import mochaMarky from './fixtures/mochaMarky.js';...