path stringlengths 5 300 | repo_name stringlengths 6 76 | content stringlengths 26 1.05M |
|---|---|---|
app/containers/History/index.js | 54vanya/ru-for-you-front | /*
*
* History
*
*/
import React from 'react';
import { connect } from 'react-redux';
import Helmet from 'react-helmet';
// import { FormattedMessage } from 'react-intl';
// import messages from './messages';
import styled from 'styled-components';
import Page from 'components/Page';
const Bold = styled.span`
... |
node_modules/zone.js/dist/zone.js | juannarvaez/Movie_center_2 | /**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define ==... |
src/components/footer.js | Lokiedu/libertysoil-site | /*
This file is a part of libertysoil.org website
Copyright (C) 2016 Loki Education (Social Enterprise)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, o... |
node_modules/babel/node_modules/babel-core/lib/transformation/transformers/other/react-compat.js | john1jan/ReactNativeSignatureExample | "use strict";
exports.__esModule = true;
exports.manipulateOptions = manipulateOptions;
// istanbul ignore next
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newOb... |
packages/material-ui-icons/src/EventSeatRounded.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M5.5 21c.83 0 1.5-.67 1.5-1.5V18h10v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V17c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v2.5c0 .83.67 1.5 1.5 1.5zM20 10h1c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1h-1c-.55 0-1-.45-1-1... |
examples/react-backbone/node_modules/backbone/backbone.js | peterkokot/todomvc | // Backbone.js 1.1.2
// (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
(function(root, factory) {
// Set up Backbone appropriately for ... |
src/example/plot/grid.js | jameskraus/react-vis | // Copyright (c) 2016 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... |
src/layouts/navigation.js | twitchett/gatsby-uno | import React from 'react'
import Link from 'gatsby-link'
/**
* Generates a list of page links from pages under /src/pages
*/
const Navigation = () => (
<nav className="cover-navigation cover-navigation--primary">
<ul className="navigation">
{/* TODO capture current page */}
<li className="n... |
ajax/libs/yui/3.13.0/event-custom-base/event-custom-base-coverage.js | hippich/cdnjs | if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/event-custom-base/event-custom-base.js']) {
__coverage__['build/event-custom-base/event-custom-base.js'] = {"path":"build/event-custom-base/event-custom-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,... |
ajax/libs/vkui/4.22.0/cssm/components/PullToRefresh/PullToRefresh.min.js | cdnjs/cdnjs | import _extends from"@babel/runtime/helpers/extends";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";import _classCallCheck from"@babel/runtime/helpers/classCallCheck";import _createClass from"@babel/runtime/helpers/createClass";import _assertThisInitialized from"@babel/runtime/help... |
ajax/libs/clappr/0.0.78/clappr.js | wallin/cdnjs | require=(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)... |
node_modules/searchkit/lib/src/components/search/filters/facet-filter/MenuFilter.unit.js | viktorkh/elastickit_express | "use strict";
var _this = this;
var React = require("react");
var enzyme_1 = require("enzyme");
var TestHelpers_1 = require("../../../__test__/TestHelpers");
var MenuFilter_tsx_1 = require("./MenuFilter.tsx");
var core_1 = require("../../../../core");
var ui_1 = require("../../../ui");
var bem = require("bem-cn");
var ... |
src/index.js | act-now/act-now | /* globals document */
import React from 'react';
import ReactDOM from 'react-dom';
import injectTapEventPlugin from 'react-tap-event-plugin';
import Root from './Root';
import './index.css';
// Needed for onTouchTap
// http://stackoverflow.com/a/34015469/988941
injectTapEventPlugin();
ReactDOM.render(
<Root />, //... |
app/routes.js | jhen0409/electron-react-boilerplate | // @flow
import React from 'react';
import { Route, IndexRoute } from 'react-router';
import App from './containers/App';
import HomePage from './containers/HomePage';
import CounterPage from './containers/CounterPage';
export default (
<Route path="/" component={App}>
<IndexRoute component={HomePage} />
<R... |
src/components/nav.js | prodigygod0209/prodigygod0209.github.io |
import Link from 'gatsby-link';
import styled , { injectGlobal, keyframes } from 'styled-components';
import ReactDOM from 'react-dom';
import React from 'react';
import SvgIcon from 'material-ui/SvgIcon';
import {blue500, red500, greenA200} from 'material-ui/styles/colors';
import ActionFlightTakeoff from 'material-u... |
clients/components/FormSelectorNoGutenberg.js | Desertsnowman/Caldera-Forms | import React from 'react';
import PropTypes from 'prop-types';
import { FormGroup,HelpBlock } from 'react-bootstrap';
/**
* Form selector with no dependency on Gutenberg
*
* @since 1.7.0
*
* @param props
* @returns {*}
* @constructor
*/
export const FormSelectorNoGutenberg = (props) => {
const idAttr = pr... |
frontend/test/components/TopicCard/Desc.spec.js | metamaps/metamaps_gen002 | /* global describe, it */
import React from 'react'
import { expect } from 'chai'
import { shallow } from 'enzyme'
import sinon from 'sinon'
import Desc from '../../../src/components/TopicCard/Desc.js'
function render(props) {
return shallow(<Desc {...props} />)
}
function sharedAssertions(wrapper, desc, { descPro... |
EviersLavabos/Lavabos/LeroyMerlin/Vasque à poser basalte Diam.40.6 cm gris anthracite Amelie | Leroy Merlin_fichiers/jquery.js | orlammd/StBH | /*! 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===... |
ajax/libs/reactive-coffee/0.0.3/reactive-coffee.js | svenanders/cdnjs | (function() {
var DepArray, DepCell, DepMgr, Depmap, Ev, MappedDepArray, ObsArray, ObsCell, ObsMap, RawHtml, Recorder, SrcArray, SrcCell, SrcMap, bind, depMgr, ev, events, firstWhere, lagBind, maybe, mkMap, mktag, mkuid, nextUid, nthWhere, popKey, prop, propSet, props, recorder, rx, rxt, setProp, specialAttrs, tag, t... |
.history/src/components/Menu_20170804014134.js | radubrehar/evanghelic.ro | import React from 'react';
import PropTypes from 'prop-types';
import Link from 'gatsby-link';
import { css } from 'glamor';
import Row from './Row';
const mainCls = css({
display: 'flex',
flexFlow: 'row',
paddingTop: 20,
paddingBottom: 20,
borderBottom: '1px solid gray',
justifyContent: 'flex-end',
ma... |
packages/material-ui-icons/src/LocalConvenienceStore.js | cherniavskii/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M19 7V4H5v3H2v13h8v-4h4v4h8V7h-3zm-8 3H9v1h2v1H8V9h2V8H8V7h3v3zm5 2h-1v-2h-2V7h1v2h1V7h1v5z" /></g>
, 'LocalConvenienceStore');
|
react/src/base/inputs/DatePicker.stories.js | sparkdesignsystem/spark-design-system | import React from 'react';
import SprkDatePicker from './SprkDatePicker/SprkDatePicker';
import SprkDatePickerInput from './SprkDatePickerInput/SprkDatePickerInput';
import SprkInputContainer from './SprkInputContainer/SprkInputContainer';
import SprkLabel from './SprkLabel/SprkLabel';
import SprkFieldError from './Spr... |
ajax/libs/alt/0.17.3/alt-with-addons.js | rlugojr/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react/addons"));
else if(typeof define === 'function' && define.amd)
define(["react", "react/addons"], factory);
else if(typeof exports ===... |
files/rxjs/3.0.0/rx.all.js | PeterDaveHello/jsdelivr | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'function': true,
'object': true
};
var
freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && expo... |
djtut2/base/static/js/libs/jquery-1.7.1.js | seslattery/django-sample-app | /*!
* jQuery JavaScript Library v1.7.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.
... |
src/components/game/board/game-piece.js | aautem/aa | import React from 'react';
import PropTypes from 'prop-types';
import * as Animatable from 'react-native-animatable';
import { Text, Dimensions } from 'react-native';
const { width: viewportWidth, height: viewportHeight } = Dimensions.get('window');
// USE VIEWPORT DIMENSIONS IN ANIMATION SETTINGS
const animateDrop =... |
ajax/libs/redux-little-router/11.0.1/redux-little-router.min.js | extend1994/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReduxLittleRouter=t(require("react")):e.ReduxLittleRouter=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])r... |
src/SafeAnchor.js | apisandipas/react-bootstrap | import React from 'react';
import createChainedFunction from './utils/createChainedFunction';
/**
* Note: This is intended as a stop-gap for accessibility concerns that the
* Bootstrap CSS does not address as they have styled anchors and not buttons
* in many cases.
*/
export default class SafeAnchor extends React... |
src/Seguidor/CarouselView/Carousel/CarouselArrows.js | UTNianos/frontend | import React from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
faArrowLeft,
faArrowRight
} from '@fortawesome/fontawesome-free-solid';
import './CarouselArrows.css';
const CarouselArrows = ({ prevFn, nextFn }) => (
<span>
<span className="ArrowLeft">
<FontAwesomeI... |
application/containers/LoginContainer.js | ultimagriever/todo-list-react-native | import React, { Component } from 'react';
import { View, Text, TextInput } from 'react-native';
import Button from 'react-native-button';
import { Styles } from '../styles';
import Fieldset from '../components/Fieldset';
export default class LoginContainer extends Component {
constructor(props) {
super(props);... |
src/components/anchors.js | MarcoPolo/emoji-mart | import React from 'react'
import InlineSVG from 'svg-inline-react'
import * as SVGs from '../svgs'
export default class Anchors extends React.Component {
constructor(props) {
super(props)
var defaultCategory = props.categories[0]
if (defaultCategory.anchor) {
defaultCategory = defaultCategory.anc... |
ajax/libs/rxjs/2.3.2/rx.compat.js | iamJoeTaylor/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... |
client/tests/documentComponents/documentUpdate.spec.js | FlevianK/cp2-document-management-system | import expect from 'expect';
import React from 'react';
import { DocumentUpdate } from '../../src/components/document/DocumentUpdate';
import { shallow } from 'enzyme';
describe('Update document component', () => {
const props = {
params: { documentId: '' },
actions: {
loadDocument: () => Promise.resol... |
public/js/zeto1.0rc.js | xsscode/homsing | /*!
* jQuery JavaScript Library v1.12.3
* 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-04-05T19:16Z
*/
(function( global, factory ) {
if ( typeof module =... |
src/routes/routes.js | the-simian/github-funparty | 'use strict';
import React from 'react';
import { Router, Route, IndexRoute } from 'react-router';
import { createHistory } from 'history';
import Main from './Main.js';
export default function() {
const history = createHistory();
return (
<Router history={ history }>
<Route path="/" compo... |
lib/yuilib/3.17.2/scrollview-base/scrollview-base-debug.js | phuonguit2015/moodle1 | /*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('scrollview-base', function (Y, NAME) {
/**
* The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators
*
* @module scrollview
*... |
react.test.utils.js | LoganBarnett/jolly.js | /*******************************************************************************
The MIT License (MIT)
Copyright (c) 2015 Logan Barnett (logustus@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the... |
src/modules/activity/index.js | 2941972057/flower-react | /**
* Created by dllo on 17/8/23.
*/
import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
ReactDOM.render(
<App />,
document.getElementById('app')
)
|
src/Parser/Mage/Frost/CHANGELOG.js | enragednuke/WoWAnalyzer | import React from 'react';
import { Sharrq, sref } from 'MAINTAINERS';
import Wrapper from 'common/Wrapper';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
export default [
{
date: new Date('2018-01-01'),
changes: <Wrapper>Added a 'Fish for procs' entry to the Checklist, a... |
lib/components/RemixTests/index.js | gmtcreators/atom-solidity | 'use babel'
// Copyright 2018 Etheratom Authors
// This file is part of Etheratom.
// Etheratom is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... |
components/RetweetList.js | stevenctl/tweebot-ui | import React from 'react';
import HashtagList from './HashtagList';
export default class RetweetList extends React.Component{
componentWillMount(){
}
render(){
let heartIcon = <i className="glyphicon glyphicon-retweet"/>;
let heading = <div>{heartIcon} Retweet
... |
client/index.js | polarbearjs/polarbear | import React from 'react';
import ReactDOM from 'react-dom';
import Routes from './Routes';
import createStore from './store/create';
import { Provider } from 'react-redux';
import { browserHistory } from 'react-router';
import { syncHistoryWithStore, routerMiddleware } from 'react-router-redux';
const store = createS... |
src/components/Events.js | RucaLove/GameifyYoSummah | import React from 'react'
import SingleEvent from './SingleEvent'
const Events = ({ events,user
}) => {
return (
<div className="container">
<div className="row">
{events.map((oneevent,i) => <SingleEvent key={ i } oneevent= {oneevent} user={user}/>)}
</div>
</div>
)
}
export default Events
|
src/routes/activity/applyEdit/index.js | DiroKate/SysuhikerCC | import React from 'react';
import { connect } from 'dva';
import PropTypes from 'prop-types';
import { Activity } from '../../../components';
const { ApplyPage } = Activity;
function Edit(props) {
const { activityDetails, activityLeader, loginUser, dispatch } = props;
const applyProps = {
...activityDetails,... |
src/test/components/Form/Form.spec.js | GovWizely/steel-search | import React from 'react';
import { mount } from 'enzyme';
import ConnectedForm from '../../../components/Form/Form';
import test_data from './test_data';
import sinon from 'sinon';
import { reducer as formReducer } from 'redux-form';
import { createStore, combineReducers } from 'redux';
import { Provider } from 'reac... |
web/static/js/layouts/main.js | gtcode/phoenix-trello | import React from 'react';
import { Link } from 'react-router';
export default class MainLayout extends React.Component {
constructor() {
super();
}
render() {
return (
<div>
{this.props.children}
</div>
);
}
}
|
imports/ui/components/molecules/Loading/Loading.js | latotty/meteor-sweeper | import React from 'react';
import PropTypes from 'prop-types';
import styled, { keyframes } from 'styled-components';
const rotate360 = keyframes`
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
`;
const BaseLoading = ({ className }) => (
<svg
className={className}
versi... |
lib/compile-file.js | mizchi/react-jade | 'use strict';
var React = require('react');
var parseFile = require('./parse-file');
module.exports = compileFile;
function compileFile(filename, options) {
return Function('React', parseFile(filename, options))(React);
}
|
src/main/resources/js/components/BusinessValue.js | fnerdrum/hendelse-datomic | import React from 'react';
class BusinessValue extends React.Component {
constructor(props) {
super(props);
}
render() {
let rate = this.props.value;
let style = {
"fontSize": ""+Math.min(Math.round(rate + 10), 30)+"px",
"color": rate >= 30 ? 'red' : 'black'... |
views/main.js | alessandrostone/black-screen | import React from 'react';
import _ from 'lodash';
import Rx from 'rx';
import {TerminalLayout} from './compiled/src/views/TerminalLayout.js';
var keys = {
goUp: event => (event.ctrlKey && event.keyCode === 80) || event.keyCode === 38,
goDown: event => (event.ctrlKey && event.keyCode === 78) || event.keyCode ... |
examples/counter/containers/CounterApp.js | akofman/redux | import React from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'redux/react';
import Counter from '../components/Counter';
import * as CounterActions from '../actions/CounterActions';
@connect(state => ({
counter: state.counter
}))
export default class CounterApp {
render() {
co... |
src/client/assets/js/features/driver/components/Publish/Publish.js | me-box/databox-sdk | import React, { Component } from 'react';
import { Link } from 'react-router';
export default class Publish extends React.Component {
render(){
return <h1> publish </h1>
}
} |
src/eggs/Seleggtor.js | alexcpendleton/pondryhills.com | import React from 'react';
class Seleggtor extends React.Component {
constructor(props) {
super(props);
this.onChange = this.onChange.bind(this);
}
render() {
return (
<div id="seleggtor">
<select onChange={this.onChange}>
{Object.keys(this.props.data).map(this.renderOption)}
... |
js/libs/jquery.min.js | teemujonkkari/blggr | /*! jQuery v1.10.1 */
(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.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S... |
ajax/libs/js-data/2.0.0-beta.2/js-data-debug.min.js | voronianski/cdnjs | /*!
* js-data
* @version 2.0.0-beta.2 - Homepage <http://www.js-data.io/>
* @author Jason Dobry <jason.dobry@gmail.com>
* @copyright (c) 2014-2015 Jason Dobry
* @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE>
*
* @overview Robust framework-agnostic data store.
*/
(function webpackUnivers... |
src/Card/LinkHeader/LinkHeader.spec.js | nirhart/wix-style-react | import React from 'react';
import ReactTestUtils from 'react-addons-test-utils';
import linkHeaderDriverFactory from './LinkHeader.driver';
import {createDriverFactory} from '../../test-common';
import LinkHeader from './LinkHeader';
import {linkHeaderTestkitFactory, textLinkTestkitFactory} from '../../../testkit';
imp... |
examples/loader-sample/webpack.config.js | bloody-ux/module-decompose-loader | const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
module.exports = {
entry: {
'antd-mobile': "./antd-mobile-test",
'lodash': "./lodash-test",
},
output: {
path: path.resolve(__dirname, "dist"),
filename: "[name].js... |
ajax/libs/react-native-web/0.0.0-a55272399/exports/Text/index.js | cdnjs/cdnjs | /**
* Copyright (c) Nicolas Gallagher.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
import * as React from 'react';
import { forwardRef, useContext, useRef } from 'react';
... |
src/media/js/site/containers/login.js | ngokevin/marketplace-content-tools | import React from 'react';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {fxaLoginBegin, login} from '../actions/login';
import {LoginButton} from '../components/login';
export class Login extends React.Component {
static contextTypes = {
store: React.PropTypes.object
... |
public/js/font-awesome/src/3.2.1/assets/js/jquery-1.7.1.min.js | R-a-dio/site | /*! jQuery v1.7.1 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 cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde... |
src/scripts/components/EditableText/__test__/EditableText.js | AbrahamTewa/timeline | /* eslint-env node, jest */
// ============================================================
// Import packages
import React from 'react';
import { mount } from 'enzyme';
import renderer from 'react-test-renderer';
import sinon from 'sinon';
// ============================================================
// Import mod... |
ajax/libs/yui/3.14.1/datatable-body/datatable-body-debug.js | svvitale/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 = ... |
js/webpack/shared.js | pdaian/parity | // Copyright 2015, 2016 Ethcore (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.... |
ajax/libs/yui/3.10.0pr1/datatable-core/datatable-core-debug.js | ematsusaka/cdnjs | YUI.add('datatable-core', function (Y, NAME) {
/**
The core implementation of the `DataTable` and `DataTable.Base` Widgets.
@module datatable
@submodule datatable-core
@since 3.5.0
**/
var INVALID = Y.Attribute.INVALID_VALUE,
Lang = Y.Lang,
isFunction = Lang.isFunction,
isObject = Lang.isO... |
app/javascript/mastodon/features/direct_timeline/components/conversations_list.js | NS-Kazuki/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import ConversationContainer from '../containers/conversation_container';
import ScrollableList from '../../../components/scroll... |
src/Main/Layout/Footer.js | enragednuke/WoWAnalyzer | import React from 'react';
import DiscordButton from '../DiscordButton';
import PatreonButton from '../PatreonButton';
import GithubButton from '../GithubButton';
import './Footer.css';
class Footer extends React.PureComponent {
render() {
return (
<footer>
<div className="container text-center" ... |
packages/material-ui/src/BottomNavigation/BottomNavigation.js | cherniavskii/material-ui | import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import withStyles from '../styles/withStyles';
export const styles = theme => ({
root: {
display: 'flex',
justifyContent: 'center',
height: 56,
backgroundColor: theme.palette.background.paper,
},
});... |
ajax/libs/glamorous/3.13.3/glamorous.umd.tiny.min.js | sashberd/cdnjs | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("glamor")):"function"==typeof define&&define.amd?define(["react","glamor"],t):e.glamorous=t(e.React,e.Glamor)}(this,function(e,t){"use strict";function r(){return(arguments.length>0&&void 0!==arguments[0]?argum... |
ajax/libs/yasr/1.1.7/yasr.min.js | sympmarc/cdnjs | !function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASR=e()}}(function(){var e;return function t(e,n,r){function i(a,s){if(!n[a]){if(!e... |
src/parser/deathknight/blood/modules/talents/Ossuary.js | ronaldpereira/WoWAnalyzer | import React from 'react';
import Analyzer from 'parser/core/Analyzer';
import SPELLS from 'common/SPELLS';
import { formatPercentage } from 'common/format';
import TalentStatisticBox from 'interface/others/TalentStatisticBox';
import STATISTIC_ORDER from 'interface/others/STATISTIC_ORDER';
const OSSUARY_RUNICPOWER_RE... |
packages/mui-icons-material/lib/SportsMartialArtsRounded.js | oliviertassinari/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")... |
ajax/libs/primereact/7.2.0/speeddial/speeddial.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { Button } from 'primereact/button';
import { Ripple } from 'primereact/ripple';
import { DomHandler, classNames, ObjectUtils } from 'primereact/utils';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError... |
src/pages/cluster/detail.js | one-love/frontend | import React from 'react'
import PropTypes from 'prop-types'
import { observer } from 'mobx-react'
// Components
import Button from '@material-ui/core/Button'
import Paper from '@material-ui/core/Paper'
import TextField from '@material-ui/core/TextField'
import Tooltip from '@material-ui/core/Tooltip'
import store fr... |
src/components/Main.js | Steinkuo/gallery-by-react | require('normalize.css/normalize.css');
require('styles/App.scss');
import ImgFigure from './ImgFigure.js';
import ControllerUnit from './ControllerUnit.js';
import React from 'react';
import ReactDOM from 'react-dom' //use ES6
// 获取图片相关的数据
var imageDatas = require('../data/imageDatas.json');
// 利用自执行函数, 将图片名信息转成图片... |
packages/react-scripts/fixtures/kitchensink/src/index.js | dpoineau/create-react-app | /**
* 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.
*/
import Rea... |
jenkins-design-language/src/js/components/material-ui/svg-icons/editor/format-textdirection-r-to-l.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const EditorFormatTextdirectionRToL = (props) => (
<SvgIcon {...props}>
<path d="M10 10v5h2V4h2v11h2V4h2V2h-8C7.79 2 6 3.79 6 6s1.79 4 4 4zm-2 7v-3l-4 4 4 4v-3h12v-2H8z"/>
</SvgIcon>
);
EditorFormatTextdirectionRToL.displayName = 'EditorFormatText... |
node_modules/babel-plugin-react-transform/test/fixtures/code-class-extends-component-with-render-method/expected.js | caughtclean/but-thats-wrong-blog | import _transformLib from 'transform-lib';
const _components = {
Foo: {
displayName: 'Foo'
}
};
const _transformLib2 = _transformLib({
filename: '%FIXTURE_PATH%',
components: _components,
locals: [],
imports: []
});
function _wrapComponent(id) {
return function (Component) {
return _transformLib... |
src/navigation/index.js | XmYellow/react-native-demo | /**
* App Navigation
*
*/
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/ui/DrawerContainer';
// Scenes
import AppLaunch from '@containers/Launch/LaunchCont... |
generators/subgen/templates/src/public/main.js | linuxb/generator-berries | import React from 'react';
import ReactDom from 'react-dom';
import App from './components/App';
ReactDom.render(<App/>, document.getElementById('container'));
|
jenkins-design-language/src/js/components/material-ui/svg-icons/action/label.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const ActionLabel = (props) => (
<SvgIcon {...props}>
<path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"/>
</SvgIcon>
);
ActionLabel.displayName = 'ActionL... |
components/jquery/jquery.js | ppashin/Symfony2Demo | /*!
* jQuery JavaScript Library v1.11.3
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-04-28T16:19Z
*/
(function( global, factory ) {
if ... |
packages/arwes/src/Appear/Appear.js | romelperez/ui | import React from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';
import AnimationComponent from '../Animation';
export default function Appear(props) {
const {
theme,
classes,
Animation,
animation,
animate,
show,
className,
children,
...etc
} = props;... |
ajax/libs/react-native-web/0.14.10/exports/ScrollView/index.js | cdnjs/cdnjs | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbo... |
test/specs/views/Feed/Feed-test.js | jcarbo/stardust | import _ from 'lodash'
import faker from 'faker'
import React from 'react'
import * as common from 'test/specs/commonTests'
import Feed from 'src/views/Feed/Feed'
describe('Feed', () => {
common.hasUIClassName(Feed)
common.isConformant(Feed)
common.propValueOnlyToClassName(Feed, 'size')
common.rendersChildren... |
src/public/components/tab/torrents.js | Lunik/tcloud | import React from 'react'
import classNames from 'classname'
export default class TorrentsTab extends React.Component {
constructor (props) {
super(props)
}
render () {
return (
<div className={classNames('tab', this.props.className)} id={this.props.id}>
<ul className="mdc-list mdc-list--t... |
ajax/libs/forerunnerdb/1.3.462/fdb-legacy.js | Piicksarn/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/BookmarkBorder.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z" />
, 'BookmarkBorder');
|
src/MediaBody.js | apkiernan/react-bootstrap | import classNames from 'classnames';
import React from 'react';
import elementType from 'react-prop-types/lib/elementType';
import { bsClass, getClassSet, splitBsProps } from './utils/bootstrapUtils';
const propTypes = {
componentClass: elementType,
};
const defaultProps = {
componentClass: 'div',
};
class Medi... |
src/lib/indexers.js | pzhine/derribase | /* eslint-disable no-console */
import React from 'react';
import latinize from 'latinize';
import * as JsDiff from 'diff';
import pluralize from 'pluralize';
import { textify, urlify, stemify } from './_helpers';
import junkWords from './junk.js';
export function sourcesFromEntries(entries) {
return Object.keys(en... |
src/pages/villa-fashion.js | vitorbarbosa19/ziro-online | import React from 'react'
import BrandGallery from '../components/BrandGallery'
export default () => (
<BrandGallery brand='Villa Fashion' />
)
|
src/nav/NavigationContainer.js | saketkumar95/zulip-mobile | /* @flow */
import React from 'react';
import { AppState, NetInfo, View } from 'react-native';
import { connect } from 'react-redux';
import boundActions from '../boundActions';
import { getAuth } from '../account/accountSelectors';
import { registerAppActivity } from '../utils/activity';
import { checkCompatibility }... |
web/node_modules/babel-helper-builder-react-jsx/node_modules/core-js/modules/es6.promise.js | Jorginho211/TFG | 'use strict';
var LIBRARY = require('./_library')
, global = require('./_global')
, ctx = require('./_ctx')
, classof = require('./_classof')
, $export = require('./_export')
, isObject = require('./_is-object')
, anObject = req... |
__tests__/index.android.js | rldona/ReactNativeCourseBeeva | import 'react-native';
import React from 'react';
import Index from '../index.android.js';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
const tree = renderer.create(
<Index />
);
});
|
node_modules/react-overlays/lib/Affix.js | chuntielin/Blog_Yeoman_Fullstack | 'use strict';
exports.__esModule = true;
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
function _interopR... |
src/components/Image/Image.js | malinowsky/dataroot_03 | /**
* 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 withStyles from 'isom... |
ajax/libs/react-data-grid/1.0.49/react-data-grid.min.js | emmy41124/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactDataGrid=t(require("react"),require("react-dom")):e.ReactDataGrid=t(e.React,e.ReactDOM)}(th... |
app/config/routes.js | saelili/F3C_Website | import React from 'react'
import { BrowserRouter as Router, Route, Switch, Redirect } from 'react-router-dom'
import {
MainContainer, HomeContainer, ScrollToTopOnMount,
MembersContainer, SlackContainer, CalendarContainer,
SigninContainer,
} from 'containers'
const getRoutes = (store) => (
<Router>
<ScrollT... |
src/pages/user/index.js | uba-templates/template-react-multiple-pages | import React from 'react';
import ReactDOM from 'react-dom';
import Welcome from 'components/Welcome';
import './index.css';
ReactDOM.render(<Welcome title="用户登录" content="欢迎访问本页面" />,
document.querySelector("#app"));
|
4-add-universal/src/view/setting.js | chemoish/react-universal-tutorial | import React, { Component } from 'react';
// NOTE: http://rackt.github.io/redux/docs/recipes/WritingTests.html
export class Setting extends Component {
render() {
return (
<h1>Settings</h1>
);
}
}
export default Setting;
|
src/main/webapp/act/rest/libs/ext-2.0.2/ext-all.js | QinChery/jeesite | /*
* Ext JS Library 2.0.2
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.DomHelper=function(){var L=null;var F=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;var B=/^table|tbody|tr|td$/i;var A=function(T){if(typeof T=="string"){return T... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.