path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/react/0.11.0-rc1/react-with-addons.js
xubowenjx/cdnjs
/** * React (with addons) v0.11.0-rc1 */ !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.React=e()}...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
loveDstyle/angularExample
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
misc/jquery.js
neeravbm/trial
/*! * jQuery JavaScript Library v1.4.4 * 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....
node_modules/react-icons/md/flare.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdFlare = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m18.4 38.4v-10h3.2v10h-3.2z m-9-10.1l3.6-3.6 2.3 2.3-3.6 3.6z m15.3-1.3l2.3-2.3 3.6 3.6-2.3 2.3z m-4.7-12c2.7 0 5 2.3 5 5s-2.3 5-5 5-5-2.3-5-5 2.3-5 5-5z m8.4 3.4h10v3....
ajax/libs/aui/5.6.5/aui/js/aui-all.js
WebReflection/cdnjs
!function(){"use strict";function a(c,d){p||(p=new o(function(b){b.forEach(function(b){a.init(b.addedNodes),f(b.removedNodes)})}),p.observe(document,{childList:!0,subtree:!0})),d||(d={}),"function"==typeof d&&(d={insert:d}),l(d,a.defaults);var e=m(c,d);d.ready&&n.sheet.insertRule(c+":not(."+d.classname+"),["+c+"]:not(....
ajax/libs/yui/3.10.2/datatable-body/datatable-body.js
GaryChamberlain/cdnjs
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` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
ajax/libs/yui/3.8.0pr2/simpleyui/simpleyui.js
viskin/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 * @main yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI gl...
src/renderer/components/Settings/SettingsAbout.react.js
MrBlenny/museeks
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Button } from 'react-bootstrap'; import ExternalLink from '../Shared/ExternalLink.react'; import lib from '../../lib'; // sth wrong with that, need some check with Webpack const museeksLogoRequire = require('../../../images/log...
examples/js/components/PageNotFound.js
dana2208/react-bootstrap-table
import React from 'react'; class PageNotFound extends React.Component { render() { return ( <div>Page Not Found</div> ); } } export default PageNotFound;
node_modules/react/lib/CallbackQueue.js
harrislabel/personal_website
/** * Copyright 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. * * @providesModu...
src/components/video_list.js
blanck-space/reacTube
import React from 'react'; import VListItem from './list_items'; const VList = (props) => { const listItems = props.vids.map((video)=>{ return <VListItem key={video.etag} video={video} onItemClick={props.onItemClick} /> }); console.log(listItems); return( <ul className="list-group"> <div classNam...
packages/material-ui-icons/src/TrendingFlatRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21.65 11.65l-2.79-2.79c-.32-.32-.86-.1-.86.35V11H4c-.55 0-1 .45-1 1s.45 1 1 1h14v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.19.2-.51.01-.7z" /> , 'TrendingFlatRounded');
docs/src/app/components/pages/components/IconButton/ExampleComplex.js
hwo411/material-ui
import React from 'react'; import FontIcon from 'material-ui/FontIcon'; import IconButton from 'material-ui/IconButton'; import ActionHome from 'material-ui/svg-icons/action/home'; const IconButtonExampleComplex = () => ( <div> <IconButton tooltip="Font Icon"> <FontIcon className="muidocs-icon-action-home"...
src/OverlayMixin.js
jamon/react-bootstrap
import React from 'react'; import CustomPropTypes from './utils/CustomPropTypes'; import domUtils from './utils/domUtils'; export default { propTypes: { container: CustomPropTypes.mountable }, componentWillUnmount() { this._unrenderOverlay(); if (this._overlayTarget) { this.getContainerDOMNode...
src/components/ImgFigure.js
willerfu/gallery-by-react
import React from 'react'; // 图片组件 class ImgFigure extends React.Component { constructor(props) { super(props); this.handleClick = this.handleClick.bind(this); } /** * 图片点击翻转 */ handleClick(e) { // 判断点击的图片是否居中显示 if (this.props.arrange.isCenter) { this.props.inverse(); // 调用翻转函数 }else { this....
src/icons/Search.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class Search extends React.Component { render() { if(this.props.bare) { return <g> <path d="M445,386.7l-84.8-85.9c13.8-24.1,21-50.9,21-77.9c0-87.6-71.2-158.9-158.6-158.9C135.2,64,64,135.3,64,222.9 c0,87.6,71.2,158...
src/pages/containers/Header/Header.js
danielnovy/dapp-poc-starter
import React from 'react' import { IndexLink, Link, browserHistory } from 'react-router' import { connect } from 'react-redux' import { login as loginAction , logout as logoutAction} from '../../modules/auth' import './Header.scss' let input = null const Header = (props) => ( <div> <div className='header hea...
examples/realtime-redux/components/stock-graph-list/index.js
rocjs/roc-package-web-app-react
import React from 'react'; import styles from './style.css'; import StockGraphView from '../stock-graph'; export default class StockGraphList extends React.Component { static propTypes = { graphs: React.PropTypes.object.isRequired }; static defaultProps = { graphs: {} }; render()...
admin/src/components/PopoutListItem.js
davibe/keystone
import blacklist from 'blacklist'; import classnames from 'classnames'; import React from 'react'; var PopoutListItem = React.createClass({ displayName: 'PopoutListItem', propTypes: { icon: React.PropTypes.string, iconHover: React.PropTypes.string, isSelected: React.PropTypes.bool, label: React.PropTypes.str...
src/entypo/Medal.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--Medal'; let EntypoMedal = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M10,10c0.528,0,1.026,0.104,1.504,0.256L5.427,1.141C5.368,1.053,5.27,1,5.164,1H1.608C1.491,1,1.42,1.131,...
Toolbar.js
ganmor/react-native-webbrowser
'use strict'; import React from 'react'; import { View, Image } from 'react-native'; import BaseComponent from './BaseComponent' import Button from './Button' import styles from './styles' class Toolbar extends BaseComponent { constructor(props) { super(props); this.inputText = ''; ...
client/node_modules/uu5g03/dist-node/bricks/nav-bar-nav-item.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import {BaseMixin, ElementaryMixin, ContentMixin} from '../common/common.js'; import Link from './link.js'; import './nav-bar-nav-item.less'; export default React.createClass({ //@@viewOn:mixins mixins: [ BaseMixin, ElementaryMixin, ContentMixin ], //@@viewOff:mixins ...
static/Brython3.1.1-20150328-091302/Lib/jqueryui/jquery-1.11.2.min.js
40223150/w16b_test
/*! jQuery v1.11.2 | (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...
pages/index.js
noriaki/o6ua6
import React from 'react'; const IndexPage = () => ( <div>Hello world.</div> ); export default IndexPage;
packages/icons/src/md/social/PartyMode.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdPartyMode(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M40 10c2.21 0 4 1.79 4 4v24c0 2.21-1.79 4-4 4H8c-2.21 0-4-1.79-4-4V14c0-2.21 1.79-4 4-4h6.34L18 6h12l3.66 4H40zm-16 6c-5.52 0-10 4.48-10 10 0 .69.0...
src/components/validator/validate.js
flftfqwxf/react-redux-starter-kit
/** * Created by leixianhua on 17/2/13. */ import React from 'react' import {rules} from 'react-validation/lib/build/validation.rc' // From v2.10.0 // import { rules, Form, Input, Select, Textarea, Button } from 'react-validation/lib/build/validation.rc' import validator from 'validator'; Object.assign(rules, { /...
files/rxjs/2.5.0/rx.lite.js
ntd/jsdelivr
// 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 }; v...
TGMeituan/Components/Home/Home.js
targetcloud/Meituan
/** * Created by targetcloud on 2016/12/21. */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, TouchableOpacity, TextInput, Image, Platform, ScrollView } from 'react-native'; var Dimensions = require('Dimensions'); var {width, height} = Dime...
src/hocs/withPickMonInfo.js
eunvanz/handpokemon2
import React from 'react' import PropTypes from 'prop-types' import shallowCompare from 'react-addons-shallow-compare' import { connect } from 'react-redux' import { updatePickMonInfo } from 'store/pickMonInfo' export default ComposedComponent => { class withPickMonInfo extends React.Component { shouldComponent...
client/index.js
rompingstalactite/rompingstalactite
import React from 'react'; import ReactDOM from 'react-dom'; import { createStore, applyMiddleware } from 'redux'; import { Provider } from 'react-redux'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import { syncHistoryWithStore, routerMiddleware } from 'react-router-redux'; import App fr...
public/themes/admin/js/jquery-1.7.2.js
miky82/matriculas-bonfire
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
reveal.js/dist/reveal.js
mjsmith037/mjsmith037.github.io
/*! * reveal.js 4.2.1 * https://revealjs.com * MIT licensed * * Copyright (C) 2011-2022 Hakim El Hattab, https://hakim.se */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Reveal...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/site/themes/wso2/libs/zeroclipboard/dist/ZeroClipboard.Core.js
bhathiya/test
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2009-2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.2.0 */ (function(window, undefined) { "use str...
ajax/libs/rxjs/2.2.7/rx.lite.compat.js
mikaelbr/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
src/React/Widgets/AnnotationEditorWidget/ManyScore/index.js
Kitware/paraviewweb
import React from 'react'; import PropTypes from 'prop-types'; import style from 'PVWStyle/ReactWidgets/AnnotationEditorWidget.mcss'; import CollapsibleWidget from '../../CollapsibleWidget'; import ScoreSelector from '../ScoreSelector'; import BGSelector from '../BackgroundScore'; import SelectionEditorWidget from '...
WebFileLibrary/Scripts/jquery-1.10.2.min.js
tazmanrising/fileupload
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
node_modules/react-modal/lib/helpers/ariaAppHider.js
myapos/ClientManagerSpringBoot
var _element = typeof document !== 'undefined' ? document.body : null; function setElement(element) { if (typeof element === 'string') { var el = document.querySelectorAll(element); element = 'length' in el ? el[0] : el; } _element = element || _element; return _element; } function hide(appElement) { ...
pages/404.js
trungtin/mymy
import React, { Component } from 'react'; export default class extends Component { render() { return ( <div> <h1>Not Found</h1> <p>The page you're looking for was not found.</p> </div> ); } }
misc/webgui/src/pages/State.js
ChainsAutomation/chains
import React from 'react'; import PageHeader from '../components/Pageheader'; import StateList from '../containers/Statelist'; export default class State extends React.Component { render() { return ( <div className="ui main container"> <PageHeader name="State" desc="Current state for all servic...
src/main/js/src/main.js
DJCordhose/floreysoft-status
/* @flow */ import React from 'react'; import ReactDOM from 'react-dom'; import {Router, Route, IndexRoute } from 'react-router'; import history from './app-history'; import App from './components/App'; import AdminPage from './components/AdminPage'; import OverviewPage from './components/OverviewPage'; import {si...
src/js/index.js
hardgroi/react-playground
// Packages import React from 'react' import ReactDOM from 'react-dom' // Component import Page from './view/Page.jsx' ReactDOM.render( <Page />, document.getElementById('react') )
js/jqwidgets/demos/react/app/rangeselector/numericscale/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxRangeSelector from '../../../jqwidgets-react/react_jqxrangeselector.js'; class App extends React.Component { render() { return ( <JqxRangeSelector ref='myRangeSelector' width={750} height={10...
Libraries/Image/Image.android.js
onesfreedom/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...
app/components/Case/Filters.js
pacmessica/hackathon-frontend
import React from 'react'; import PropTypes from 'prop-types'; // import { Item as FormItem } from 'app/components/Form/Item'; import styles from './Case.scss'; export class Filters extends React.Component { constructor() { super(); this.state = { description: '', city: '', ...
ajax/libs/rxjs/2.2.7/rx.lite.compat.js
KyleMit/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
ajax/libs/jqwidgets/12.0.2/jqwidgets-react-tsx/jqxform/react_jqxform.umd.js
cdnjs/cdnjs
require('../../jqwidgets/jqxcore'); require('../../jqwidgets/globalization/globalize'); require('../../jqwidgets/jqxdata'); require('../../jqwidgets/jqxinput'); require('../../jqwidgets/jqxpasswordinput'); require('../../jqwidgets/jqxnumberinput'); require('../../jqwidgets/jqxradiobutton'); require('../../jqwidgets/jqx...
examples/simple/index.js
matystl/redux-effect-reducers
import React from 'react'; import { createStore, applyMiddleware, compose } from 'redux'; import { devTools } from 'redux-devtools'; import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react'; import {Provider} from 'react-redux'; import thunk from 'redux-thunk'; import {enableEffects} from '../../src...
ui/src/views/users/Login.js
jcampanell-cablelabs/lora-app-server
import React, { Component } from 'react'; import SessionStore from "../../stores/SessionStore"; class Login extends Component { static contextTypes = { router: React.PropTypes.object.isRequired }; constructor() { super(); this.state = { login: {}, registration: null, }; this.on...
src/modules/home/components/SearchBox.js
paramsinghvc/harp
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import Rx from 'rxjs/Rx'; export default class SearchBox extends Component { constructor(props) { super(props); } componentDidMount() { Rx.Observable.fromEvent(ReactDOM.findDOMNode(this.refs.sb), 'keyup') ...
src/routes/privacy/index.js
jaruesink/ruesinkdds
/** * 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...
node_modules/react/dist/react-with-addons.js
hdngo/skate-life-frontend-test
/** * React (with addons) v0.13.3 */ (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!=="undefine...
ajax/libs/thorax/2.1.3/thorax-combined.min.js
jaywcjlove/cdnjs
(function(e,t){"use strict";function _(e){var t=e.length,n=y.type(e);return y.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||n!=="function"&&(t===0||typeof t=="number"&&t>0&&t-1 in e)}function P(e){var t=D[e]={};return y.each(e.match(w)||[],function(e,n){t[n]=!0}),t}function j(e,n,r,i){if(!y.acceptData(e))return;var ...
react-flux-mui/js/material-ui/src/svg-icons/notification/more.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationMore = (props) => ( <SvgIcon {...props}> <path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.97.89 1.66.89H22c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 13.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5...
src/icons/IosPlusEmpty.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosPlusEmpty extends React.Component { render() { if(this.props.bare) { return <g> <g> <path d="M384,265H264v119h-17V265H128v-17h119V128h17v120h120V265z"></path> </g> </g>; } return <IconBase> <g> <p...
ajax/libs/rxjs/2.2.28/rx.all.js
visualjeff/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 }; v...
Examples/UIExplorer/UIExplorerList.android.js
hengcj/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
ajax/libs/ember-data.js/2.3.0-beta.5/ember-data.prod.js
x112358/cdnjs
(function(){ "use strict"; /*! * @overview Ember Data * @copyright Copyright 2011-2015 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) * @version v2.3.0-beta.5 */ var define, requireModule, require, requirejs; (fun...
ajax/libs/forerunnerdb/1.3.490/fdb-core+views.js
holtkamp/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...
src/svg-icons/action/account-circle.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAccountCircle = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1....
packages/material-ui-icons/lib/AddCircleOutline.js
mbrookes/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
client/app/components/input/index.js
bryanph/Geist
import React from 'react' import classNames from 'classnames' import withProps from 'recompose/withProps' import './styles.scss' export class InputText extends React.Component { static defaultProps = { type: "text", }; constructor(props) { super(props) } render() { cons...
jquery-1.9.1.min.js
gerkinhof/Slideshow
/*! 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...
docs/src/Anchor.js
rapilabs/react-bootstrap
import React from 'react'; const Anchor = React.createClass({ propTypes: { id: React.PropTypes.string }, render() { return ( <a id={this.props.id} href={'#' + this.props.id} className='anchor'> <span className='anchor-icon'>#</span> {this.props.children} </a> ); } }); e...
src/extensions/default/JavaScriptQuickEdit/unittest-files/jquery-ui/tests/unit/tabs/tabs_events.js
NKcentinel/brackets
(function( $ ) { var state = TestHelpers.tabs.state; module( "tabs: events" ); test( "create", function() { expect( 10 ); var element = $( "#tabs1" ), tabs = element.find( "ul li" ), panels = element.children( "div" ); element.tabs({ create: function( event, ui ) { equal( ui.tab.length, 1, "tab length"...
src/renderers/dom/client/utils/__tests__/getNodeForCharacterOffset-test.js
jessebeach/react
/** * 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. * * @emails react-co...
src/Parser/DeathKnight/Unholy/Modules/Features/ScourgeStrikeEfficiency.js
enragednuke/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import Enemies from 'Parser/Core/Modules/Enemies'; import Combatants from 'P...
lib/containers/ModificationIndicator.js
sjliang/sparks
import React from 'react' import {connect} from 'react-redux' const indicatorHidden = { display: 'none', position: 'absolute', bottom: '30px', left: '40px', zIndex: '5', color: '#424242', fontFamily: 'Fira Mono, Inconsolata, monospace', fontSize: '22px', select: 'none' } const ModificationIndicator ...
src/Track.js
devilcius/react-spotify-album-player
'use strict'; import React from 'react'; import PropTypes from 'prop-types'; class Track extends React.Component { static audio; constructor(props) { super(props); this.state = { isPlaying: false }; this.audio = new Audio(); this.getDuration = this.getDurat...
app/components/ding/DingContent/index.js
vkurzweg/aloha
/** * * DingContent * */ import React from 'react'; // import styled from 'styled-components'; import { Image } from 'cloudinary-react'; import Button from './Button'; import { Link } from 'react-router'; function DingContent() { const ding = 'http://res.cloudinary.com/kurzweg/image/upload/v1497827985/ding.jpg'; ...
hoc/wrapPage.js
jebeck/nefelion
import _ from 'lodash'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Transition } from 'react-transition-group'; import { Provider } from 'react-redux'; import Router from 'next/router'; import { Grid, Sidebar } from 'semantic-ui-react'; import styled, { ThemeProvider } from 's...
node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/rx/src/core/linq/observable/amb.js
SenanuFC/Canu
/** * Propagates the observable sequence or Promise that reacts first. * * @example * var = Rx.Observable.amb(xs, ys, zs); * @returns {Observable} An observable sequence that surfaces any of the given sequences, whichever reacted first. */ Observable.amb = function () { var acc = observableN...
renderer/vectors/volume-off.js
wulkano/kap
import React from 'react'; import Svg from './svg'; const VolumeOffIcon = props => ( <Svg {...props}> <path d="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82...
ajax/libs/parsley.js/2.5.0/parsley.js
sashberd/cdnjs
/*! * Parsley.js * Version 2.5.0 - built Wed, Oct 5th 2016, 1:34 pm * http://parsleyjs.org * Guillaume Potier - <guillaume@wisembly.com> * Marc-Andre Lafortune - <petroselinum@marc-andre.ca> * MIT Licensed */ // The source code below is generated by babel as // Parsley is written in ECMAScript 6 // var _slice = Array....
ajax/libs/angular.js/1.0.0rc6/angular-scenario.js
callumacrae/cdnjs
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
examples/counter/containers/App.js
quicksnap/redux
import React, { Component } from 'react'; import CounterApp from './CounterApp'; import { createRedux } from 'redux'; import { Provider } from 'redux/react'; import * as stores from '../stores'; const redux = createRedux(stores); export default class App extends Component { render() { return ( <Provider r...
ajax/libs/jointjs/0.6.4/joint.nobackbone.js
quba/cdnjs
/*! JointJS v0.6.4 - JavaScript diagramming library 2013-10-15 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /*! * jQuery JavaScript Library v1.9.1 * http://jquery...
packages/material-ui-icons/src/DataUsageOutlined.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="M13 2.05v3.03c3.39.49 6 3.39 6 6.92 0 .9-.18 1.75-.48 2.54l2.6 1.53c.56-1.24.88-2.62.88-4.07 0-5.18-3.95-9.45-9-9.95zM12 19c-3.87 0-7-3.13-7-...
ajax/libs/algoliasearch.zendesk-hc/1.0.5/algoliasearch.zendesk-hc.min.js
jdh8/cdnjs
/*! * Algolia Search For Zendesk's Help Center 1.0.5 * https://github.com/algolia/algoliasearch-zendesk * Copyright 2015 Algolia, Inc. and other contributors; Licensed MIT */ !function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b(require("jQuery")):"function"==typeof define&&define.amd?de...
src/components/ContainerDetailsSubheader.react.js
tomasen/kitematic
import _ from 'underscore'; import React from 'react'; import shell from 'shell'; import metrics from '../utils/MetricsUtil'; import ContainerUtil from '../utils/ContainerUtil'; import classNames from 'classnames'; import containerActions from '../actions/ContainerActions'; import dockerMachineUtil from '../utils/Docke...
ajax/libs/jointjs/0.8.0/joint.all.js
KOLANICH/cdnjs
/*! JointJS v0.8.0 - JavaScript diagramming library 2014-01-22 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /*! * jQuery JavaScript Library v1.9.1 * http://jquery...
example/src/components/Stage.js
bfncs/linopress
import React from 'react'; import PropTypes from 'prop-types'; import { StyleSheet, css } from 'aphrodite'; const styles = StyleSheet.create({ container: { overflow: 'hidden', color: '#fff', background: 'teal', padding: '1em', }, }); const Stage = ({ title, description }) => ( <div className={cs...
client/index.js
svolkov92/TextStreams
/** * Client entry point */ import React from 'react'; import { render } from 'react-dom'; import { AppContainer } from 'react-hot-loader'; import App from './App'; import { configureStore } from './store'; // Initialize store const store = configureStore(window.__INITIAL_STATE__); const mountApp = document.getEleme...
node_modules/ajv/dist/regenerator.min.js
brod4910/React-Webpack-Boilerplate
/* regenerator 0.9.7: Source transformer enabling ECMAScript 6 generator functions (yield) in JavaScript-of-today (ES5) */ require=function e(t,r,n){function i(a,o){if(!r[a]){if(!t[a]){var u="function"==typeof require&&require;if(!o&&u)return u(a,!0);if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");thr...
imports/ui/layouts/auth/ModalChangePwd/ModalChangePwd.js
pletcher/cltk_frontend
import React from 'react'; import { Meteor } from 'meteor/meteor'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; // lib import muiTheme from '/imports/lib/muiTheme'; const ModalChangePwd = React.createClass({ propTypes: { lowered: React.PropTypes.bool, closeModal: React.PropTypes.func, }, childCo...
src/routes/routes.js
adorsk/redux-quiz
import React from 'react'; import { IndexRoute, Route } from 'react-router'; import AppContainer from '../containers/AppContainer'; import IndexView from '../views/IndexView'; export default ( <Route path="/" component={AppContainer}> <IndexRoute component={IndexView}/> </Route> );
src/ui/game/GameScreen.js
jkk/shinkgs
// @flow import React, { PureComponent as Component } from "react"; import GameInfo from "./GameInfo"; import GamePlayersInfo from "./GamePlayersInfo"; import GameChat from "./GameChat"; import GameMoreMenu from "./GameMoreMenu"; import GamePlayActions from "./GamePlayActions"; import GameUndoPrompt from "./GameUndoPro...
src/svg-icons/content/mail.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentMail = (props) => ( <SvgIcon {...props}> <path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/> </SvgIcon> ); ContentMail = pure(Conte...
ajax/libs/tabulator/4.6.2/js/tabulator_core.min.js
cdnjs/cdnjs
/* Tabulator v4.6.2 (c) Oliver Folkerd */ "use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};Array.prototype.findIndex||Object.defineProperty(Ar...
src/svg-icons/content/remove.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentRemove = (props) => ( <SvgIcon {...props}> <path d="M19 13H5v-2h14v2z"/> </SvgIcon> ); ContentRemove = pure(ContentRemove); ContentRemove.displayName = 'ContentRemove'; ContentRemove.muiName = 'SvgIcon...
test/lib/index.js
rebem/test-utils
import React from 'react'; import { BEM } from 'rebem'; import assert from 'assert'; import reBEMTestUtils from '../../lib/'; const props = { block: 'block', elem: 'elem', mods: { mod: 'val' }, mix: [ { block: 'block2', elem: 'elem2' } ], tag...
packages/components/src/SubHeaderBar/SubHeaderBar.component.js
Talend/ui
import has from 'lodash/has'; import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { useTranslation } from 'react-i18next'; import I18N_DOMAIN_COMPONENTS from '../constants'; import getDefaultT from '../translate'; import { Action } from '../Actions'; import ActionB...
src/components/RedirectWithStatus.js
zacfukuda/universal-app-react-router
import React from 'react' import { Route, Redirect } from 'react-router-dom' const RedirectWithStatus = ({route}) => ( <Route render={({ staticContext }) => { if (staticContext) staticContext.status = route.status return <Redirect to={route.to}/> }}/> ) export default RedirectWithStatus
ajax/libs/jquery/1.4.4/jquery.min.js
BinaryMuse/cdnjs
/*! * jQuery JavaScript Library v1.4.4 * 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. ...
packages/material-ui-icons/src/ViewListSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" opacity=".87" /><g><path d="M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h12v-4H8v4zm0 5h12v-4H8v4zM8 5v4h12V5H8z" /></g></React.Fragment> , 'ViewListShar...
src/routes/app/routes/dashboard/components/BenchmarkChart.js
ahthamrin/kbri-admin2
import React from 'react'; import ReactEcharts from 'components/ReactECharts'; import CHARTCONFIG from 'constants/ChartConfig'; const radar = {}; radar.options = { legend: { orient: 'vertical', x: 'right', y: 'bottom', data: ['Industry Average', 'Our Company'], textStyle: { color: CHARTCONF...
app/javascript/mastodon/features/notifications/components/setting_toggle.js
rutan/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Toggle from 'react-toggle'; export default class SettingToggle extends React.PureComponent { static propTypes = { prefix: PropTypes.string, settings: ImmutablePropTypes.map.isReq...
docs/src/app/components/pages/components/SelectField/ExampleCustomLabel.js
owencm/material-ui
import React from 'react'; import SelectField from 'material-ui/SelectField'; import MenuItem from 'material-ui/MenuItem'; /** * With a `label` applied to each `MenuItem`, `SelectField` displays a complementary description of the selected item. */ export default class SelectFieldExampleCustomLabel extends React.Comp...
js/jquery-1.11.2.min.js
BillPetti/BillPetti.github.io
/*! jQuery v1.11.2 | (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...
ajax/libs/vue/0.12.4/vue.js
tambien/cdnjs
/** * Vue.js v0.12.4 * (c) 2015 Evan You * Released under the MIT License. */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define(factory); else if(typ...
src/svg-icons/content/remove.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentRemove = (props) => ( <SvgIcon {...props}> <path d="M19 13H5v-2h14v2z"/> </SvgIcon> ); ContentRemove = pure(ContentRemove); ContentRemove.displayName = 'ContentRemove'; export default ContentRemove;