path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
src/components/footer/Footer.js | RaymondBuckman/Turkey | import React, { Component } from 'react';
export default class Footer extends Component {
render() {
return(
<div>
<div className="footer-1-div">
<div className="container">
<h1 id="yolculuk" className="text-left scrollmagic-header" lang="tr">İyi Yolc... |
node_modules/react-router/es6/IndexRedirect.js | jameswatkins77/React-Blogger-App | 'use strict';
import React from 'react';
import warning from './warning';
import invariant from 'invariant';
import Redirect from './Redirect';
import { falsy } from './PropTypes';
var _React$PropTypes = React.PropTypes;
var string = _React$PropTypes.string;
var object = _React$PropTypes.object;
/**
* An <IndexRedi... |
app/components/LoadingIndicator/index.js | darrellesh/redux-react-boilerplate | import React from 'react';
import Circle from './Circle';
import Wrapper from './Wrapper';
const LoadingIndicator = () => (
<Wrapper>
<Circle />
<Circle rotate={30} delay={-1.1} />
<Circle rotate={60} delay={-1} />
<Circle rotate={90} delay={-0.9} />
<Circle rotate={120} delay={-0.8} />
<Cir... |
src/svg-icons/content/content-paste.js | ichiohta/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentContentPaste = (props) => (
<SvgIcon {...props}>
<path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s... |
parishodh/arthika/public/components/dustjs-linkedin/vendor/jquery.min.js | ebayohblr2014/eBay-Opportunity-Hack-Blr-2014 | /*!
* 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/routes.js | wenjiezhang2013/react_learn | /*! 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... |
ajax/libs/fluentui-react/7.163.0/fluentui-react.min.js | cdnjs/cdnjs | var FluentUIReact=function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symb... |
docs/app/animations/animated-sidebar.js | Sandreu/react-mf-modal | import React from 'react';
/* real
const sidebarStyle = {
display: 'block',
textAlign:'right',
zIndex: 1003,
background: 'white',
padding: 20,
position: 'fixed',
top : 0,
bottom : 0,
width: 350,
};
const textAreaStyle = {
padding: '1.6rem',
height:'60%',
marginBottom: 20,
};
*/
export default... |
src/client/app/panels/export.qgis.panel.js | mapkiwiz/sectorisation | import React from 'react';
import {MenuLink} from './menu.link';
export function ExportQGisPanel(props, context) {
return (
<div className="col-md-4 col-md-offset-8 panel-container">
<h3>
Export vers QGis
<MenuLink />
</h3>
<hr/>
<p className="help-block">Pas encore implém... |
lib/layout/Sider.js | GuoqingXiong/ant-design | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _defineProperty2 = require('babel-runtime/helpers/defineProperty');
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(... |
vendor/jquery/jquery.js | speakvr/speakvr.github.io | /*!
* jQuery JavaScript Library v1.12.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-05-20T17:17Z
*/
(function( global, factory ) {
if ( typeof module =... |
client/src/components/dashboard/Profile/Preferences/Career.js | FCC-Alumni/alumni-network | import { connectScreenSize } from 'react-screen-size';
import { Dropdown } from 'semantic-ui-react';
import FormField from './common/FormField';
import { Container as InnerContainer } from './common/RepoContainer';
import { isEqual } from 'lodash';
import { mapScreenSizeToProps } from '../../../Navbar';
import MessageB... |
ajax/libs/jquery/1.8.1/jquery.min.js | staabm/cdnjs | /*! jQuery v@1.8.1 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=... |
app/root.js | csujedihy/react-native-textgo | import React, { Component } from 'react';
import { createStore, applyMiddleware, combineReducers } from 'redux';
import { Provider } from 'react-redux';
import thunk from 'redux-thunk';
import * as reducers from './Reducers';
import App from './index';
const createStoreWithMiddleware = applyMiddleware(thunk)(createSt... |
pootle/static/js/admin/components/Language/LanguageForm.js | claudep/pootle | /*
* Copyright (C) Pootle contributors.
*
* This file is a part of the Pootle project. It is distributed under the GPL3
* or later license. See the LICENSE file for a copy of the license and the
* AUTHORS file for copyright and authorship information.
*/
import React from 'react';
import FormElement from 'compo... |
htdocs/script/jquery-1.8.2.min.js | BeWelcome/rox.prototypes | /*! 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==... |
test/JumbotronSpec.js | mxc/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import Jumbotron from '../src/Jumbotron';
describe('Jumbotron', () => {
it('Should output a div with content', () => {
let instance = ReactTestUtils.renderIntoDocument(
<Jumbotron>
<strong>Content</strong>
</Jum... |
source/server/routes/apps/authenticate.js | dodekeract/impequid | // import external
import koaRouter from 'koa-router';
import ReactDOM from 'react-dom/server';
import React from 'react';
import crypto from 'crypto';
import _ from 'lodash';
// import internal
import config from '../../config';
import {getUser, deserializePermissionTree, acceptTokenStore, fakeISPData} from '../../... |
src/character/sheet/abilities/VerticalAbilityBlock.js | revuniversal/5e-sheets | import React from 'react';
import styled from 'styled-components';
import AbilityScore from './AbilityScore';
const Container = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 1vw 0 0;
`;
const VerticalAbilityBlock = ({ character, className }) => (... |
src/navigation/index.js | b1alpha/Smoothie-Du-Jour | /**
* App Navigation
*
* React Native Starter App
* https://github.com/mcnamee/react-native-starter-app
*/
import React from 'react';
import { Actions, Scene, ActionConst } from 'react-native-router-flux';
// Consts and Libs
import { AppConfig } from '@constants/';
// Components
import Drawer from '@containers/u... |
react/comments/src/CommentList.js | sabertazimi/st-proj | import React from 'react';
import Comment from './Comment';
export default class CommentList extends React.Component {
render() {
const commentNodes = this.props.data.map(comment => (
<Comment author={comment.author} key={comment.id}>
{comment.text}
</Comment>
... |
node_modules/react-icons/md/open-in-browser.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const MdOpenInBrowser = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m20 16.6l6.6 6.8h-5v10h-3.2v-10h-5z m11.6-10q1.4 0 2.4 1.1t1 2.3v20q0 1.3-1 2.3t-2.4 1.1h-6.6v-3.4h6.6v-16.6h-23.2v16.6h6.6v3.4h-6.6q-1.4 0-2.4-1.1t-1-2.3v-20q0... |
examples/todos/src/components/App.js | gaearon/redux | 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
|
src/components/AdminHomePage.js | oded-soffrin/gkm_viewer | import React from 'react';
import {Link} from 'react-router';
const AdminHomePage = () => {
return (
<div>
<h1>React Slingshot</h1>
<h2>HomePage Menu</h2>
<ol>
<li><Link to="/admin/items">Items</Link></li>
<li><Link to="/admin/gkm">Twitter</Link></li>
<li><Link to="/adm... |
pages/components/site-header.js | LlamaSantos/crackerbox | 'use strict';
import React from 'react';
export default React.createClass({
render() {
return (
<nav className='ui fixed menu inverted navbar'>
<a href='/' className='brand item'>ChattrBox</a>
<a href='/' className='item'>Lorem</a>
<a href='/' className='item'>Ipsum</a>
<a... |
ajax/libs/mobx/2.0.3/mobx.js | ahocevar/cdnjs | var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
registerGlobals();
exports._ = {
quickDiff: quickDiff,
... |
src/components/voting/voting.js | slaweet/lisk-nano | import { TABLE } from 'react-toolbox/lib/identifiers';
import { TableHead, TableCell } from 'react-toolbox/lib/table';
import { tableFactory } from 'react-toolbox/lib/table/Table';
import { themr } from 'react-css-themr';
import React from 'react';
import TableTheme from 'react-toolbox/lib/table/theme.css';
import Wayp... |
src/articles/2018-01-31-1st-Anniversary/TimelineItem.js | sMteX/WoWAnalyzer | import React from 'react';
import PropTypes from 'prop-types';
const TimelineItem = ({ title, date, children }) => (
<div className="panel">
<div className="date">
{date}
</div>
<div className="panel-heading">
<h2>{title}</h2>
</div>
<div className="panel-body">
{children}
<... |
src/pages/likable.js | vitorbarbosa19/ziro-online | import React from 'react'
import BrandGallery from '../components/BrandGallery'
export default () => (
<BrandGallery brand='Likable' />
)
|
blueocean-material-icons/src/js/components/svg-icons/action/shop.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const ActionShop = (props) => (
<SvgIcon {...props}>
<path d="M16 6V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H2v13c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6h-6zm-6-2h4v2h-4V4zM9 18V9l7.5 4L9 18z"/>
</SvgIcon>
);
ActionShop.displayName = 'ActionShop';
... |
ajax/libs/yui/3.3.0pr2/loader/loader.js | jonathantneal/cdnjs | YUI.add('loader-base', function(Y) {
/**
* The YUI loader core
* @module loader
* @submodule loader-base
*/
if (!YUI.Env[Y.version]) {
(function() {
var VERSION = Y.version,
BUILD = '/build/',
ROOT = VERSION + BUILD,
CDN_BASE = Y.Env.base,
GALLERY_VERSI... |
public/assets/js/jquery/jquery.js | vogello/Hot-Torrents | /*! jQuery v1.8.3 jquery.com | jquery.org/license */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===... |
.storybook/components/TooltipSimpleStory.js | hellobrian/carbon-components-react | import React from 'react';
import { storiesOf } from '@storybook/react';
import TooltipSimple from '../../components/TooltipSimple';
storiesOf('TooltipSimple', module)
.addWithInfo(
'default',
`
Tooltips are used to supply additional information to an element when hovering over it. By default,
th... |
examples/src/components/Multiselect.js | serkanozer/react-select | import React from 'react';
import createClass from 'create-react-class';
import PropTypes from 'prop-types';
import Select from 'react-select';
const FLAVOURS = [
{ label: 'Chocolate', value: 'chocolate' },
{ label: 'Vanilla', value: 'vanilla' },
{ label: 'Strawberry', value: 'strawberry' },
{ label: 'Caramel', va... |
src/components/Header/Header.js | peksi/ilmomasiina | import React from 'react';
import { IndexLink } from 'react-router';
import './Header.scss';
export const Header = () => (
<div className="navbar navbar-default">
<div className="container">
<IndexLink to="/" className="navbar-brand">
Athenen ilmomasiina
</IndexLink>
</div>
</div>
);
e... |
ajax/libs/material-ui/5.0.0-alpha.35/legacy/Menu/Menu.min.js | cdnjs/cdnjs | import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import*as React from"react";import{isFragment}from"react-is";import PropTypes from"prop-types";import clsx from"clsx";import{unstable_composeClasses as composeClasses}from"@m... |
app/javascript/mastodon/components/icon_with_badge.js | musashino205/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import Icon from 'mastodon/components/icon';
const formatNumber = num => num > 40 ? '40+' : num;
const IconWithBadge = ({ id, count, issueBadge, className }) => (
<i className='icon-with-badge'>
<Icon id={id} fixedWidth className={className} />
... |
docs/app/Examples/elements/Header/States/HeaderExampleDisabled.js | vageeshb/Semantic-UI-React | import React from 'react'
import { Header } from 'semantic-ui-react'
const HeaderExampleDisabled = () => (
<Header as='h2' disabled>
Disabled Header
</Header>
)
export default HeaderExampleDisabled
|
src/components/sidebar/Sidebar.js | RaymondBuckman/Turkey | import React, { Component } from 'react';
import ReactTooltip from 'react-tooltip';
import crescentstar from '../../img/crescent-star.png';
export default class Sidebar extends Component {
render() {
return(
<div>
<ul id="sidebar">
<li>
<a h... |
ajax/libs/forerunnerdb/1.3.854/fdb-all.min.js | brix/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... |
stories/index.js | mikemoraned/shartan | import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import Shartan from '../src/Shartan';
storiesOf('Shartan', module).add('default, big', () => {
return <Shartan width={400}/>;
}).add('default, small', () => {
return <Shartan width={100... |
web/src/client/with-root.js | HyperSprite/redux-todo-with-auth | import React from 'react';
import PropTypes from 'prop-types';
import { Provider } from 'react-redux';
import { BrowserRouter as Router } from 'react-router-dom';
import { MuiThemeProvider } from '@material-ui/core/styles';
import CssBaseline from '@material-ui/core/CssBaseline';
import store from './store';
import get... |
src/app/Locations.js | cityofasheville/simplicity2 | import React from 'react';
const Locations = () => (
<div className="col-xs-12">
<h1>Locations</h1>
<h2>Map of Locations: way to search for locations and use map to find locations </h2>
<h3>Locations on the map should clickable with a pop-up or panel that
gives some basic details and show a link to t... |
v2/js/ClientApp.js | dn0912/frontentmasters_react_v2 | import React from 'react'
import ReactDOM from 'react-dom'
import MyTitle from './MyTitle'
var div = React.DOM.div
var MyTitleFactory = React.createFactory(MyTitle)
var MyFirstComponent = React.createClass({
render: function () {
return (
div(null,
MyTitleFactory({title: 'props are the best', col... |
app/javascript/mastodon/features/notifications/components/setting_toggle.js | tootcafe/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... |
ajax/libs/react-quill/0.0.1/react-quill.min.js | brix/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("quilljs")):"function"==typeof define&&define.amd?define(["react","quilljs"],t):"object"==typeof exports?exports.ReactQuill=t(require("react"),require("quilljs")):e.ReactQuill=t(e.React,e.Quill)}(this,function(e,t... |
src/widgets/modalChildren/PatientEditModal.js | sussol/mobile | /* eslint-disable react/forbid-prop-types */
import React from 'react';
import { View, StyleSheet } from 'react-native';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import { FormControl } from '../FormControl';
import { PageButton } from '../PageButton';
import { FlexRow } from '../FlexRo... |
ajax/libs/analytics.js/2.3.15/analytics.min.js | kirbyfan64/cdnjs | (function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n... |
src/interface/icons/Armor.js | FaideWW/WoWAnalyzer | import React from 'react';
// https://thenounproject.com/term/armor/52022/
// armor by Jetro Cabau Quirós from the Noun Project
const Icon = ({ ...other }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="10 10 80 80" {...other}>
<path d="M75.25,23C65.75,19.75,59,26.5,59,26.5S56.75,35,50,35s-8.5-8.5-8.5-8.5... |
packages/material-ui-icons/lib/RemoveRounded.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")... |
web/html/syntaxhighlighter/tests/js/jquery-1.4.2.js | iManville/foupa | /*!
* 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.
... |
shlr/www/enyo/js/jquery.ui.js | Tyilo/radare2 | /*! jQuery UI - v1.9.2 - 2012-11-23
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, j... |
pyconuy2012/static/jquery/js/jquery.js | sophilabs/pyconuy-site | /*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde... |
src/main.js | rixley/Warshcloth | // main.js
var React = require('react');
var ReactDOM = require('react-dom');
var Table = require('react-bootstrap/lib/Table');
var Grid = require('react-bootstrap/lib/Grid');
var Col = require('react-bootstrap/lib/Col');
var Row = require('react-bootstrap/lib/Row');
var ListGroup = require('react-bootstrap/lib/ListGro... |
js/components/inputgroup/disabledInput.js | bengaara/simbapp |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { actions } from 'react-native-navigation-redux-helpers';
import { Container, Header, Title, Content, Button, Icon, Text, Body, Left, Right, IconNB, Item, Input } from 'native-base';
import { Actions } from 'react-native-router-flu... |
packages/reactor-kitchensink/src/examples/Charts/3DColumn/3DColumnWithRenderer/3DColumnWithRenderer.js | markbrocato/extjs-reactor | import React, { Component } from 'react';
import { Container } from '@extjs/ext-react';
import { Cartesian } from '@extjs/ext-react-charts';
import ChartToolbar from '../../ChartToolbar';
import { storeData, colors } from './data';
export default class ThreeDColumnWithRenderer extends Component {
store = Ext.crea... |
src/FormControls/Static.js | insionng/react-bootstrap | import React from 'react';
import classNames from 'classnames';
import InputBase from '../InputBase';
import childrenValueValidation from '../utils/childrenValueInputValidation';
class Static extends InputBase {
getValue() {
const {children, value} = this.props;
return children ? children : value;
}
ren... |
modules/RouteUtils.js | carlosmontes/react-router | import React from 'react'
import warning from 'warning'
function isValidChild(object) {
return object == null || React.isValidElement(object)
}
export function isReactChildren(object) {
return isValidChild(object) || (Array.isArray(object) && object.every(isValidChild))
}
function checkPropTypes(componentName, p... |
node_modules/bs-recipes/recipes/webpack.preact-hot-loader/app/js/main.js | quanzhiyuan/myGruntProject | import {h, render} from 'preact';
if (module.hot) {
module.hot.accept('./HelloWorld.jsx', () => requestAnimationFrame(() => {
init();
}));
}
let root;
function init() {
const HellowWorld = require('./HelloWorld.jsx').default;
root = render(<HellowWorld />, document.getElementById('preact-root... |
client/src/app-components/are-you-sure.js | opensupports/opensupports | import React from 'react';
import i18n from 'lib-app/i18n';
import ModalContainer from 'app-components/modal-container';
import Button from 'core-components/button';
import Input from 'core-components/input';
import Loading from 'core-components/loading'
class AreYouSure extends React.Component {
static propType... |
index.android.js | ahonn/v2exRN | import React, { Component } from 'react';
import { AppRegistry } from 'react-native';
import v2exRN from './src/V2App';
AppRegistry.registerComponent('v2exRN', () => v2exRN);
|
actor-apps/app-web/src/app/components/modals/preferences/Session.react.js | lzpfmh/actor-platform | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
import React, { Component } from 'react';
import { Container } from 'flux/utils';
import ReactMixin from 'react-mixin';
import { IntlMixin } from 'react-intl';
import PreferencesActionCreators from 'actions/PreferencesActionCreators';
import PreferencesStore... |
jsdoc-toolkit/templates/OrgaChem-JsDoc2-Template-Bootstrap/static/jquery-1.7.2.min.js | yamanouchitakahiko/sipml5 | /*! 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... |
shims_for_IE.js | mdegoo/angular | // This file is used for internal testing with Karma only, it should not be used in real applications.
// function.name (all IE)
/*! @source http://stackoverflow.com/questions/6903762/function-name-not-supported-in-ie*/
if (!Object.hasOwnProperty('name')) {
Object.defineProperty(Function.prototype, 'name', {
get... |
Hackathon_170108_KingTeam/Hackathon_070108_King_baidumap/script/modules/entitycontrol/views/selectall.js | hotpoor-for-Liwei/LiteOS_Hackathon | /**
* @file 全选当前页entity Reflux View
* @author 崔健 cuijian03@baidu.com 2016.08.20
*/
import React, { Component } from 'react'
import { render } from 'react-dom'
import EntityAction from '../actions/entityAction'
import EntityStore from '../stores/entityStore'
var Selectall = React.createClass({
getInitialState:... |
definitions/npm/react-jss_v6.1.x/test_react-jss_v6.1.x.js | echenley/flow-typed | // @flow
import React from 'react';
import injectSheet, { create } from 'react-jss';
import type { Classes, Sheet } from 'react-jss';
const styles = {
root: {
backgroundColor: 'red',
},
[`@media (min-width: ${10}px)`]: {
root: {
width: 200
}
}
};
type Styles = typeof styles;
type Props = {... |
src/js/components/icons/base/Vulnerability.js | nickjvm/grommet | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import React, { Component, PropTypes } from 'react';
import classnames from 'classnames';
import CSSClassnames from '../../../utils/CSSClassnames';
import Intl from '../../../utils/Intl';
import Props from '../../../utils/Props';
const CLASS_ROOT = ... |
app/js/directives.js | akaWolv/zbierak2.0 | 'use strict';
/* Directives */
angular.module('zbierak.directives', []).
directive('appVersion', ['version', function(version) {
return function(scope, elm, attrs) {
elm.text(version);
};
}])
.directive('zbierakImageSrc', function($timeout) {
return {
restr... |
media/jui/js/jquery.min.js | W1-VeldpausThom/website-ThomVeldpaus.nl- | /*! jQuery v1.11.1 | (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... |
react/dashboard_example/src/routes/error/index.js | webmaster444/webmaster444.github.io | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 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 App from '../../componen... |
desktop/apps/auction2/components/auction_page/index.js | dblock/force | import CommercialFilter from '../commercial_filter'
import WorksByFollowedArtists from '../works_by_followed_artists'
import React from 'react';
import { connect } from 'react-redux'
function AuctionPage({ displayFollowedArtistsRail }) {
return (
<div className='auction2-main-page'>
{ displayFollowedArtist... |
public/js/jquery.min.js | allanufal/Agenda | /*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.2.min.map
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b... |
src/daychooser.js | joshpollard/react-nhl-scoreboard | import React, { Component } from 'react';
import './daychooser.css';
var moment = require('moment');
class DayChooser extends Component {
constructor(props) {
super(props);
// This binding is necessary to make `this` work in the callback
this.viewYesterday = this.viewYesterday.bin... |
app/containers/Realization/PgGallery.js | frascata/vivaifrappi | import React from 'react';
import Gallery from '../../components/Gallery/index';
const S3_BASE_PATH = 'https://s3.eu-central-1.amazonaws.com/vivaifrappi/servizi/realizzazione/pg/';
const S3_TMB_PATH = 'tmb/';
const S3_TMP_POSTFIX = '-300x200-no-upscale';
const S3_FILE_EXT = '.JPG';
const IMAGES = [
'pg_01',
'pg_0... |
src/components/AssetsConfig.js | g8extended/Character-Generator | import React, { Component } from 'react';
import { connect } from 'react-redux';
import map from 'lodash/map';
import fromPairs from 'lodash/fromPairs';
import { changeProfileAssetTypeStyle, changeProfileAssetTypeSortOrder } from '../actions/profile';
import assetsConfig from '../configs/assets';
const getStyle = (ass... |
src/svg-icons/action/account-balance.js | ichiohta/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionAccountBalance = (props) => (
<SvgIcon {...props}>
<path d="M4 10v7h3v-7H4zm6 0v7h3v-7h-3zM2 22h19v-3H2v3zm14-12v7h3v-7h-3zm-4.5-9L2 6v2h19V6l-9.5-5z"/>
</SvgIcon>
);
ActionAccountBalance = pure(ActionA... |
packages/material-ui-icons/src/FormatSizeRounded.js | allanalexandre/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="M9 5.5c0 .83.67 1.5 1.5 1.5H14v10.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V7h3.5c.83 0 1.5-.67 1.5-1.5S21.33 4 20.5 4h-10C9.67 4 9 4.67 9 5.5zM... |
docs/src/app/components/pages/components/TextField/ExampleError.js | mmrtnz/material-ui | import React from 'react';
import TextField from 'material-ui/TextField';
const TextFieldExampleError = () => (
<div>
<TextField
hintText="Hint Text"
errorText="This field is required"
/><br />
<TextField
hintText="Hint Text"
errorText="The error text can be as long as you want, i... |
meteor/imports/ui/components/ChartStyling.js | globeandmail/chart-tool | import React, { Component } from 'react';
import { updateAndSave } from '../../modules/utils';
import { app_settings } from '../../modules/settings';
import Swal from 'sweetalert2';
const interpolations = [
{ format: 'linear', pretty: 'Linear' },
{ format: 'step', pretty: 'Step' },
{ format: 'step-before', prett... |
app/components/Toggle/index.js | AK33M/scalable-react | /**
*
* LocaleToggle
*
*/
import React from 'react';
// import { FormattedMessage } from 'react-intl';
import styles from './styles.css';
import ToggleOption from '../ToggleOption';
function Toggle(props) { // eslint-disable-line react/prefer-stateless-function
let content = (<option>--</option>);
// If we hav... |
media/foundry/4.0/scripts/plupload2.js | BetterBetterBetter/B3App | (function(){
// module factory: start
var moduleFactory = function($) {
// module body: start
var module = this;
var exports = function() {
/**
* mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill
* v1.2.1
*
* Copyright 2013, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www... |
vendor/jquery/jquery.min.js | izawaryu/izawaryu.github.io | /*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fu... |
dac/ui-lib/src/components/Select/Select.spec.js | dremio/dremio-oss | /*
* Copyright (C) 2017-2019 Dremio Corporation
*
* 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 applicable l... |
admin/client/App/screens/Home/components/Section.js | dvdcastro/keystone | import React from 'react';
import getRelatedIconClass from '../utils/getRelatedIconClass';
class Section extends React.Component {
render () {
const iconClass = this.props.icon || getRelatedIconClass(this.props.id);
return (
<div className="dashboard-group" data-section-label={this.props.label}>
<div class... |
src/containers/Asians/Published/Adjudicators/AdjudicatorRoster/index.js | westoncolemanl/tabbr-web | import React from 'react'
import withStyles from 'material-ui/styles/withStyles'
import ResponsivePageHeader from 'components/ResponsivePageHeader'
import Responsive from 'react-responsive'
import LargeAdjudicatorRoster from './LargeAdjudicatorRoster'
import SmallAdjudicatorRoster from './SmallAdjudicatorRoster'
cons... |
src/modules/Repos.js | Peizhong/jsdemo | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { fetchFunctionLocation } from '../actions';
const mapStateToProps = (state) => {
console.log(`map again ??is it reload? ${{ ...state }}`);
return {
fls: state.settings,
};
};
const mapDispatchToProps = dispatch => ({
... |
src/components/internships/LocationRemote/index.js | Menternship/client-web | // @flow
import React from 'react';
import { CardText } from 'ui-kit';
import * as style from './style.pcss';
const Remote = <span className={style.remote}>Remote</span>;
export default class LocationRemote extends React.PureComponent {
render() {
const { location, remote } = this.props.internship;
// if (l... |
ajax/libs/forerunnerdb/1.3.794/fdb-legacy.js | redmunds/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/content/undo.js | lawrence-yu/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentUndo = (props) => (
<SvgIcon {...props}>
<path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/>
</Svg... |
src/universalRouter.js | szhclaye/react-redux-universal-hot-example | import React from 'react';
import Router from 'react-router';
import createRoutes from './views/createRoutes';
import { Provider } from 'react-redux';
const getFetchData = (component = {}) => {
return component.WrappedComponent ?
getFetchData(component.WrappedComponent) :
component.fetchData;
};
export func... |
ajax/libs/jQRangeSlider/5.7.1/jQRangeSlider.js | itvsai/cdnjs | /**
* jQRangeSlider
* A javascript slider selector that supports dates
*
* Copyright (C) Guillaume Gautreau 2012
* Dual licensed under the MIT or GPL Version 2 licenses.
*
*/
(function ($, undefined) {
"use strict";
$.widget("ui.rangeSlider", {
options: {
bounds: {min:0, max:100},
defaultValues: {min... |
ajax/libs/backbone-react-component/0.7.1/backbone-react-component-min.js | lukeapage/cdnjs | "use strict";!function(a,b){if("function"==typeof define&&define.amd)define(["react","backbone","underscore"],b);else if("undefined"!=typeof module&&module.exports){var c=require("react"),d=require("backbone"),e=require("underscore");module.exports=b(c,d,e)}else b(a.React,a.Backbone,a._)}(this,function(a,b,c){function ... |
ajax/libs/ionic/0.9.20-alpha/js/ionic.js | kentcdodds/cdnjs | /*!
* Copyright 2014 Drifty Co.
* http://drifty.com/
*
* Ionic, v0.9.20
* A powerful HTML5 mobile app framework.
* http://ionicframework.com/
*
* By @maxlynch, @helloimben, @adamdbradley <3
*
* Licensed under the MIT license. Please see LICENSE for more information.
*
*/;
// Create namespaces
window.ionic... |
client/src/components/streamsList/listOfStreams.js | AuggieH/GigRTC | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { getActivePerformances } from '../../actions';
import { Link } from 'react-router';
import List from 'material-ui/lib/lists/list';
import ListItem from 'material-ui/lib/lists/list-item';
import Divider from 'material-ui/lib/divide... |
src/components/app.js | RaulEscobarRivas/client | import React, { Component } from 'react';
import Header from './header';
export default class App extends Component {
render() {
return (
<div>
<Header />
{this.props.children}
</div>
);
}
}
|
stories/Description.stories.js | ProteinsWebTeam/interpro7-client | import React from 'react';
import { withKnobs, number } from '@storybook/addon-knobs';
import Description, { DescriptionReadMore } from 'components/Description';
import Provider from './Provider';
import configureStore from './configuedStore.js';
import Literature from 'components/Entry/Literature';
const store = con... |
components/pages/DebugPage.js | phodal-archive/iot-editor | import React from 'react';
import MQTT from '../protocols/mqtt.js';
import CoAP from '../protocols/coap.js';
class DebugPage extends React.Component {
render() {
return (
<div>
<MQTT />
<CoAP />
</div>
);
}
}
export default DebugPage;
|
utilities/warning/has-children-without-display-name-of.js | salesforce/design-system-react | /* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
/* eslint-disable import/no-mutable-exports */
import React from 'react';
// This function will deliver an error message to the browser console when all of the props p... |
dRNDemo/HelloWord/index.android.js | MartinOSix/DemoKit | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
export default class HelloWord extends Component {
render() {
return (
<View style={styles.container... |
src/encoded/static/components/antibody.js | T2DREAM/t2dream-portal | import React from 'react';
import PropTypes from 'prop-types';
import url from 'url';
import _ from 'underscore';
import { auditDecor } from './audit';
import { Panel, PanelBody } from '../libs/bootstrap/panel';
import { collapseIcon } from '../libs/svg-icons';
import * as globals from './globals';
import { Breadcrumbs... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.