path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
ajax/libs/yasr/2.3.2/yasr.bundled.min.js | pc035860/cdnjs | !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.YASR=t()}}(function(){var t;return function e(t,n,r){... |
packages/material-ui-icons/src/FiberDvrSharp.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M17.5 10.5h2v1h-2v-1zm-13 0h2v3h-2v-3zM23 3H1v18h22V3zM8 13.5c0 .85-.65 1.5-1.5 1.5H3V9h3.5c.85 0 1.5.65 1.5 1.5v3zm4.62 1.5h-1.5L9.37 9h1.5l1 3... |
js/jquery-1.11.0.js | kls2177/kls2177.github.io | /*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
clients/libs/slate-editor-strikethrough-plugin/src/StrikethroughMark.js | nossas/bonde-client | import React from 'react'
// eslint-disable-next-line react/prop-types
const StrikethroughMark = ({ children }) => (
<del>
{children}
</del>
)
export default StrikethroughMark
|
docs/app/Examples/modules/Accordion/Variations/index.js | Rohanhacker/Semantic-UI-React | import React from 'react'
import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample'
import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection'
const AccordionTypesExamples = () => (
<ExampleSection title='Variations'>
<ComponentExample
title='Fluid'
descriptio... |
ajax/libs/flocks.js/0.15.2/flocks.js | aashish24/cdnjs | /** @jsx React.DOM */
/* jshint node: true, browser: true, newcap: false */
/**
* The Flocks library module.
*
* @module Flocks
* @main Flocks
* @class Flocks
*/
// if it's in a <script> it's defined already
// otherwise assume commonjs
if (typeof React === 'undefined') {
var Reac... |
Libraries/ReactIOS/ReactIOSMount.js | gregRV/rn-property-finder | /**
* 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/javascript/flavours/glitch/features/composer/options/index.js | vahnj/mastodon | // Package imports.
import PropTypes from 'prop-types';
import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import {
FormattedMessage,
defineMessages,
} from 'react-intl';
import spring from 'react-motion/lib/spring';
// Components.
import IconButton from 'flavours/glitch/compo... |
addons/themes/ethereal/layouts/Home.js | rendact/rendact | import React from 'react';
import {Link} from 'react-router';
import PanelBanner from '../includes/PanelBanner';
import PanelFooter from '../includes/PanelFooter';
class Home extends React.Component {
componentDidMount(){
require("../css/main.css")
document.body.className = ""
document.body.addEventList... |
jspm_packages/npm/babel-core@5.8.33/browser.min.js | JHKennedy4/nqr-client | /* */
"format amd";
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.babel=e()}}(function(){var e,t,r... |
examples/immutable-track/app.js | peterox/react-redux-form | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware, compose } from 'redux';
import { fromJS } from 'immutable';
import {
Field,
Control,
Form,
Fieldset,
track,
combineForms,
} from 'react-redux-form/imm... |
node_modules/material-ui/svg-icons/communication/mail-outline.js | lzm854676408/big-demo | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
program/js/editor.js | jparyani/roundcubemail | /**
* Roundcube editor js library
*
* This file is part of the Roundcube Webmail client
*
* @licstart The following is the entire license notice for the
* JavaScript code in this file.
*
* Copyright (c) 2006-2014, The Roundcube Dev Team
*
* The JavaScript code in this page is free software: you can
* redist... |
SSBW/Tareas/Tarea9/restaurantes2/node_modules/react-bootstrap/es/MediaHeading.js | jmanday/Master | import _extends from 'babel-runtime/helpers/extends';
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from ... |
ajax/libs/yui/3.10.3/event-custom-base/event-custom-base-debug.js | jamesarosen/cdnjs | YUI.add('event-custom-base', function (Y, NAME) {
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @module event-custom
*/
Y.Env.evt = {
handles: {},
plugins: {}
};
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @mo... |
src/components/Settings/Speech/Speech.container.js | shayc/cboard | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import debounce from 'lodash/debounce';
import { injectIntl } from 'react-intl';
import {
speak,
cancelSpeech,
changeVoice,
changePitch,
changeRate
} from '../../../providers/SpeechProvider/Sp... |
examples/js/sort/reusable-custom-sort-table.js | opensourcegeek/react-bootstrap-table | 'use strict';
import React from 'react';
import {BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table';
var products = [];
function addProducts(quantity) {
var startId = products.length;
for (var i = 0; i < quantity; i++) {
var id = startId + i;
products.push({
id: id,
name: "Item n... |
client/screens/components/table/Components/FilterableTable.js | francixcoag/trace_packages | import React from 'react';
import Table from './Table.js';
import Header from './Header.js';
import Pager from 'react-pager';
import FilterAndSort from '../Helpers/FilterAndSort.js';
import axios from 'axios';
import isElementInViewport from '../Helpers/isElementInViewport.js';
import moment from '../../../../u... |
src/svg-icons/av/forward-30.js | jacklam718/react-svg-iconx | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvForward30 = (props) => (
<SvgIcon {...props}>
<path d="M9.6 13.5h.4c.2 0 .4-.1.5-.2s.2-.2.2-.4v-.2s-.1-.1-.1-.2-.1-.1-.2-.1h-.5s-.1.1-.2.1-.1.1-.1.2v.2h-1c0-.2 0-.3.1-.5s.2-.3.3-.4.3-.2.4-.2.4-.1.5-.1c.2 0 .4... |
lib/components/Main.js | hilvitzs/weatherly | import React, { Component } from 'react';
import Weatherly from './Weatherly';
// import key from './key.js'
export default class Main extends Component {
render() {
return (
<section>
<h1 className='appTitle'>Weatherly</h1>
<div>
<Weatherly/>
</div>
</section>
... |
docs/src/app/components/pages/components/DropDownMenu/ExampleSimple.js | ngbrown/material-ui | import React from 'react';
import DropDownMenu from 'material-ui/DropDownMenu';
import MenuItem from 'material-ui/MenuItem';
const styles = {
customWidth: {
width: 200,
},
};
export default class DropDownMenuSimpleExample extends React.Component {
constructor(props) {
super(props);
this.state = {va... |
examples/passing-props-to-children/app.js | runlevelsix/react-router | import React from 'react';
import { Router, Route, Link, History } from 'react-router';
var App = React.createClass({
mixins: [ History ],
getInitialState() {
return {
tacos: [
{ name: 'duck confit' },
{ name: 'carne asada' },
{ name: 'shrimp' }
]
};
},
addTaco() {... |
test/ReactPlayer/instanceMethods.js | CookPete/react-player | import React from 'react'
import test from 'ava'
import sinon from 'sinon'
import { configure, shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import ReactPlayer from '../../src/index'
configure({ adapter: new Adapter() })
const COMMON_METHODS = ['getDuration', 'getCurrentTime', 'getSecondsLoade... |
app/components/GateAnimation/index.js | yasserhennawi/yasserhennawi | import React from 'react';
import PropTypes from 'prop-types';
import styled from 'utils/styled-components';
import { StaggeredMotion } from 'react-motion';
import { connect } from 'react-redux';
import colors from 'theme/color';
import { routeIsReady as routeIsReadyAction } from '../../containers/App/actions';
import ... |
ajax/libs/kule.lazy/4.0.18b/js/kule.urbrowser.min.js | cdnjs/cdnjs | "use strict";!function(){var e=document.documentElement,t=navigator.userAgent?navigator.userAgent.toLowerCase():null,a={},o={xs:0,sm:576,md:768,lg:992,xl:1200},s={app:"1password|arora|alienblue|amaya|baidu(boxapp)?((\\.|\\w)+)?|beetalk|checkme|collectd|electron|eve-igb|(fb[a|s]v)|flipboard|frontpage(\\sexpress)?|google... |
packages/cockpit/ui/src/components/TextEditorToolbar.js | iurimatias/embark-framework | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {Button, Nav, NavLink} from 'reactstrap';
import classnames from 'classnames';
import FontAwesomeIcon from 'react-fontawesome';
import AddFileModal from '../components/AddFileModal';
import AddFolderModal from '../components/AddFolder... |
packages/material-ui-icons/src/LocalHospital.js | dsslimshaddy/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let LocalHospital = props =>
<SvgIcon {...props}>
<path d="M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4v4z" />
</SvgIcon>;
LocalHospit... |
app/containers/NotFoundPage/index.js | kossel/react-boilerplate | /**
* NotFoundPage
*
* This is the page we show when the user visits a url that doesn't have a route
*/
import React from 'react';
import { FormattedMessage } from 'react-intl';
import H1 from 'components/H1';
import messages from './messages';
export default function NotFound() {
return (
<article>
... |
ajax/libs/yui/3.10.1/datatable-core/datatable-core-debug.js | rileyjshaw/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/ui/components/__tests__/column-test.js | ikuradon/mastodon | import { render, fireEvent, screen } from '@testing-library/react';
import React from 'react';
import Column from '../column';
describe('<Column />', () => {
describe('<ColumnHeader /> click handler', () => {
it('runs the scroll animation if the column contains scrollable content', () => {
const scrollToMo... |
common/routes/Home/components/Home.js | jhabdas/12roads | import React from 'react'
import { StyleSheet, css } from 'aphrodite'
import data from '../data'
// This is a static page. It uses an array to hold data about the resources
// and maintain DRY
const Home = (props) => (
<div>
<h2 className={css(styles.header)}>About</h2>
<p className={css(styles.lead)}>
... |
ui/js/dfv/src/admin/edit-pod/save-status-message.js | pods-framework/pods | import React from 'react';
import { __ } from '@wordpress/i18n';
import { withSelect } from '@wordpress/data';
import { compose } from '@wordpress/compose';
import { SAVE_STATUSES } from 'dfv/src/store/constants';
export const SaveStatusMessage = ( { saveStatus, saveMessage } ) => {
switch ( saveStatus ) {
case S... |
renderer/components/Login/LoginNotAllowed.js | LN-Zap/zap-desktop | import React from 'react'
import PropTypes from 'prop-types'
import { Flex, Box } from 'rebass/styled-components'
import { FormattedMessage } from 'react-intl'
import Delete from 'components/Icon/Delete'
import { Heading, Text, Card, CenteredContent } from 'components/UI'
import messages from './messages'
const LoginN... |
stories/Calendar.js | intljusticemission/react-big-calendar | import { storiesOf } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import moment from 'moment'
import React from 'react'
import '../src/sass/styles.scss'
import '../src/addons/dragAndDrop/styles.scss'
import demoEvents from '../examples/events'
import createEvents from './helpers/createEve... |
src/charts/base-chart.js | WaldoJeffers/react-dc | import React from 'react'
export default class BaseChart extends React.Component{
render(){
return <div ref={chart => this.chart = chart}></div>
}
}
|
fields/types/textarray/TextArrayFilter.js | benkroeger/keystone | import React from 'react';
import { findDOMNode } from 'react-dom';
import {
FormField,
FormInput,
FormSelect,
} from '../../../admin/client/App/elemental';
const MODE_OPTIONS = [
{ label: 'Contains', value: 'contains' },
{ label: 'Exactly', value: 'exactly' },
{ label: 'Begins with', value: 'beginsWith' },
{ ... |
CoreCRM/wwwroot/js/User.js | holmescn/CoreCRM | webpackJsonp([4],{
/***/ 0:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(580);
/***/ }),
/***/ 11:
/***/ (function(module, exports, __webpack_require__) {
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed ... |
src/index.js | NaNdreas/nilssongames-dragonfly | import React, { Component } from 'react';
import Game from './game';
export default class NilssongamesDragonfly extends Component {
componentDidMount() {
Game.init(document.getElementById('nilssongames-dragonfly'));
}
componentWillUnmount() {
Game.end();
}
render() {
return <div id="nilssongame... |
ajax/libs/babel-core/5.0.3/browser.min.js | stefanneculai/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.babel=e()}}(function(){var e,t,n;return function r(e,t,... |
node_modules/redux-form/es/__tests__/FormSection.spec.js | tausifmuzaffar/bisApp | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, des... |
assets/js/libs/tablesort/jquery-latest.js | househippo/couchbase-admin-plus | /*!
* 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.
... |
vgdb-frontend/src/components/grid/GridLayout.js | mattruston/idb | import React, { Component } from 'react';
import GridItem from './GridItem';
import './GridLayout.css';
/* Multiline flexible column layout for griditems */
class GridLayout extends Component {
static defaultProps = {
aspect: "cover"
};
constructor(props) {
super(props);
}
render(... |
src/components/molecules/extra-course-form.js | raulfdm/cv | import React from 'react';
import { Field } from 'react-final-form';
import styled from 'styled-components';
import PropTypes from 'prop-types';
import FieldSet from 'molecules/fieldset';
import DeleteButton from 'organisms/delete-button';
const ActionControl = styled.p`
display: flex;
`;
const InputField = styled... |
ajax/libs/js-data/0.3.0/js-data.js | abbychau/cdnjs | /**
* @author Jason Dobry <jason.dobry@gmail.com>
* @file js-data.js
* @version 0.2.0 - Homepage <http://www.js-data.io/>
* @copyright (c) 2014 Jason Dobry
* @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE>
*
* @overview Data store.
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof ... |
api/controllers/utils/dbutil.js | molgenis/gene-network | const _ = require('lodash');
const fs = require('fs');
const level = require('level');
const genedesc = require('./genedesc');
const genstats = require('genstats');
const descriptives = genstats.descriptives;
const probability = genstats.probability;
const wilcoxon = genstats.wilcoxon;
const quicksort = require('./quic... |
candle-pwa-demo/src/BluetoothInfo.js | nataliegirard/web-ble | import React from 'react';
const BluetoothInfo = (props) => (
<div>
<h3>Web Bluetooth API</h3>
<ul className="App-info">
<li>Interact with nearby bluetooth devices with a website.</li>
<li>Uses Bluetooth Low Energy (Bluetooth 4) and Generic Attribute Profile (GATT).</li>
<li>Request to connect must be tr... |
examples/huge-apps/routes/Calendar/components/Calendar.js | CivBase/react-router | import React from 'react';
class Calendar extends React.Component {
render () {
var events = [{
id: 0, title: 'essay due'
}];
return (
<div>
<h2>Calendar</h2>
<ul>
{events.map(event => (
<li key={event.id}>{event.title}</li>
))}
</ul>
... |
node_modules/browser-sync/node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js | noudilus/hr-wp-theme | import React from 'react';
// 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';
React.render(<HelloWorld />, document.getElementById('react-root'));
|
react-flux-mui/js/material-ui/src/svg-icons/maps/local-convenience-store.js | pbogdan/react-flux-mui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsLocalConvenienceStore = (props) => (
<SvgIcon {...props}>
<path d="M19 7V4H5v3H2v13h8v-4h4v4h8V7h-3zm-8 3H9v1h2v1H8V9h2V8H8V7h3v3zm5 2h-1v-2h-2V7h1v2h1V7h1v5z"/>
</SvgIcon>
);
MapsLocalConvenienceStore = ... |
templates/beez3/javascript/hide.js | angelrmolina12/joomla-cms | // Angie Radtke 2009 - 2012 thanks to daniel //
/*global window, localStorage, Cookie, altopen, altclose, big, small, rightopen, rightclose, bildauf, bildzu */
function saveIt(name) {
var x = document.getElementById(name).style.display;
if (!x) {
alert('No cookie available');
} else if (localStorage) {
local... |
pootle/static/js/auth/components/SocialSignInForm.js | Yelp/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 { PureRenderMixin } from... |
StudyNotes/ReactNative_/component/scrollimg.js | coderZsq/coderZsq.target.swift | import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
Image
} from 'react-native';
import Swiper from 'react-native-swiper'
var ScrollImg = React.createClass ({
getDefaultProps(){
return {
imgData: []
}
},
render(){
return (
<S... |
ajax/libs/inferno-mobx/4.0.0-2/inferno-mobx.js | jdh8/cdnjs | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('mobx'), require('inferno'), require('inferno-create-class'), require('inferno-create-element'), require('hoist-non-inferno-statics')) :
typeof define === 'function' && define.amd ? define(['exp... |
node_modules/nyc/node_modules/core-js/client/library.js | Jon12COBass/jontaylorsresume | /**
* core-js 2.4.1
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2016 Denis Pushkarev
*/
!function(__e, __g, undefined){
'use strict';
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require f... |
client/react/frontpage/components/WaterFallContent.js | uclaradio/uclaradio | // WaterFallContent.js
// Displays social media content in a ResponsiveWaterfall
import React from 'react';
import Waterfall from './misc/ResponsiveWaterfall';
import isMobile from './misc/isMobile';
import Loader from './Loader';
// styling
import './WaterFallContent.scss';
// API urls
const SocialMediaURL = '/getS... |
packages/react/components/segmented.js | iamxiaoma/Framework7 | import React from 'react';
import Utils from '../utils/utils';
import Mixins from '../utils/mixins';
import __reactComponentSlots from '../runtime-helpers/react-component-slots.js';
import __reactComponentSetProps from '../runtime-helpers/react-component-set-props.js';
class F7Segmented extends React.Component {
con... |
app/components/layout/FacebookSocialButton.js | communicode-source/communicode | import React from 'react';
import { OutboundLink } from 'react-ga';
const FacebookSocialButton = () =>
<OutboundLink eventLabel="Facebook" className="btn btn-social-icon btn-facebook" to="https://facebook.com/communicode.co" target="_blank">
<span className="fa fa-facebook"/>
</OutboundLink>;
export d... |
js/jqwidgets/demos/react/app/validator/defaultfunctionality/app.js | luissancheza/sice | import React from 'react';
import ReactDOM from 'react-dom';
import JqxExpander from '../../../jqwidgets-react/react_jqxexpander.js';
import JqxValidator from '../../../jqwidgets-react/react_jqxvalidator.js';
import JqxInput from '../../../jqwidgets-react/react_jqxinput.js';
import JqxPasswordInput from '../../../jqwi... |
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ClassProperties.js | shrynx/react-super-scripts | /**
* 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... |
packages/benchmarks/cxs/client/index.js | A-gambit/CSS-IN-JS-Benchmarks | import ReactDOM from 'react-dom';
import React from 'react';
import App from 'benchmarks-utils';
import Table from './Table';
import './index.html';
ReactDOM.render(<App table={Table} />, document.getElementById('root'));
|
votrfront/js/LoginPage.js | fmfi-svt/votr |
import React from 'react';
import _ from 'lodash';
import { AboutModal } from './About';
import { Modal, ModalBase } from './layout';
import { AnalyticsMixin, FakeLink } from './router';
var TYPE_NAMES = {
'cosignproxy': 'Cosign (automatické)',
'cosignpassword': 'Cosign (meno a heslo)',
'cosigncookie': 'Cosign... |
frontend/ellcrysjs/src/components/app.js | ellcrys/cocoon | import 'whatwg-fetch';
import Promise from 'promise-polyfill';
import React, { Component } from 'react';
import Canvas from './canvas/Canvas';
if (!window.Promise) {
window.Promise = Promise;
}
class App extends Component {
render() {
return (
<Canvas />
);
}
}
export default App;
|
frontend/ext/packages/sencha-core/src/util/Collection.js | tlaitinen/receipts | /**
* This class manages uniquely keyed objects such as {@link Ext.data.Model records} or
* {@link Ext.Component components}.
*
* ## Keys
*
* Unlike `Ext.util.MixedCollection` this class can only manage objects whose key can be
* extracted from the instance. That is, this class does not support "external" keys. ... |
src/svg-icons/social/mood.js | manchesergit/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let SocialMood = (props) => (
<SvgIcon {...props}>
<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 ... |
src/parser/deathknight/unholy/modules/features/ScourgeStrikeEfficiency.js | FaideWW/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/shared/modules/Enemies';
import StatisticBox, { ... |
src/svg-icons/device/battery-std.js | spiermar/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceBatteryStd = (props) => (
<SvgIcon {...props}>
<path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"/>
</SvgIcon>
);
D... |
20200300-js-spa-react-node-sql/client/src/components/MenuNavbar.js | DamienFremont/blog | import React from 'react';
import { Navbar, Button, NavbarBrand, } from 'reactstrap';
import avatar from 'avatar.png';
import { FormattedMessage } from 'react-intl';
import { isLogin } from 'helpers/auth';
import { Link } from 'react-router-dom';
const MenuNavbar = (props) => {
const renderPublicBar = () => (
... |
vendor/humanmade/coding-standards/node_modules/eslint-plugin-react/lib/rules/wrap-multilines.js | humanmade/hm-coffee-break | /**
* @fileoverview Prevent missing parentheses around multilines JSX
* @author Yannick Croissant
* @deprecated
*/
'use strict';
// ------------------------------------------------------------------------------
// Rule Definition
// ------------------------------------------------------------------------------
va... |
src/server/frontend/Html.react.js | cmsbl/cmsbl-backup | import React, { Component, PropTypes } from 'react';
export default class Html extends Component {
static propTypes = {
appCssFilename: PropTypes.string,
bodyHtml: PropTypes.string.isRequired,
googleAnalyticsId: PropTypes.string.isRequired,
helmet: PropTypes.object.isRequired,
isProduction: Prop... |
implementaciones/custom_native_openerp_module/web/static/lib/jquery/jquery-1.8.3.js | eneldoserrata/marcos_openerp | /*!
* jQuery JavaScript Library v1.8.3
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time)
*/
(function(... |
src/components/Delegate.js | seripap/wedding.seripap.com | import React, { Component } from 'react';
import { Link } from 'react-router';
import DocumentTitle from 'react-document-title';
import Header from './Header';
export default class Delegate extends Component {
constructor(props) {
super(props);
}
render() {
return (
<DocumentTitle title="Amanda ... |
src/component/carousel.js | kinesitherapeute/aqua | import React from 'react';
import {Carousel} from 'react-responsive-carousel';
export default function CarouselAqua(){
return (
<Carousel type="slider" showControls={true} showStatus={true}>
<img src='http://lorempixel.com/400/200' />
<img src='http://lorempixel.com/400/200' />
... |
ajax/libs/handsontable/0.10.0/jquery.handsontable.js | siddii/cdnjs | /**
* Handsontable 0.10.0
* Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs
*
* Copyright 2012, Marcin Warpechowski
* Licensed under the MIT license.
* http://handsontable.com/
*
* Date: Fri Dec 27 2013 17:46:22 GMT+0100 (Central European... |
static/rest_framework/docs/js/jquery-1.10.2.min.js | mercycorps/TolaTables | /*! 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... |
node_modules/lite-server/node_modules/browser-sync/node_modules/socket.io-client/socket.io.js | jmercer25/quickstart | (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(typeof exports === 'object')
exports["io"] = factory();
else
root["io"] = fac... |
js/App/Components/TabViews/SubViews/Device/ShowMoreButton.js | telldus/telldus-live-mobile-v3 | /**
* Copyright 2016-present Telldus Technologies AB.
*
* This file is part of the Telldus Live! app.
*
* Telldus Live! app is free : 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
*... |
packages/material-ui-icons/src/SyncTwoTone.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M.01 0h24v24h-24V0z" /><path d="M12.01 4V1l-4 4 4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46c.78-1.23 1.24-2.69 1.24-4.26 0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69... |
modules/gui/src/app/home/body/process/recipe/remapping/panels/inputImagery/assetSection.js | openforis/sepal | import {AssetInput} from 'widget/assetInput'
import {msg} from 'translate'
import PropTypes from 'prop-types'
import React from 'react'
import style from './inputImage.module.css'
export default class AssetSection extends React.Component {
render() {
const {input, onLoading} = this.props
return (
... |
5.3.1/src/index.js | erikras/redux-form-docs | import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import store from 'redux/store'
import DevTools from './components/DevTools'
import component from './routes'
import Perf from 'react-addons-perf'
import devToolsEnabled from './devToolsEnabled'
const dest = document.ge... |
src/docs/ComponentPage.js | choudlet/ps-react-choudlet | import React from 'react';
import PropTypes from 'prop-types';
import Example from './Example';
import Props from './Props';
const ComponentPage = ({component}) => {
const {name, description, props, examples} = component;
return (
<div className="componentpage">
<h2>{name}</h2>
<p>{description}</p... |
ajax/libs/yui/3.17.1/event-focus/event-focus.js | tambien/cdnjs | /*
YUI 3.17.1 (build 0eb5a52)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('event-focus', function (Y, NAME) {
/**
* Adds bubbling and delegation support to DOM events focus and blur.
*
* @module event
* @submodule event-focus
*/
var Ev... |
src/containers/page2/page2.js | roshanraj/react-redux-starter | import React, { Component } from 'react';
import './messaging.scss';
export default class Messaging extends Component {
render() {
return (
<div>
Messaging
</div>
);
}
}
|
ajax/libs/jqwidgets/14.0.0/jqwidgets-react-tsx/jqxgrid/react_jqxgrid.esm.js | cdnjs/cdnjs | import * as jqxcore from '../../jqwidgets/jqxcore';
import * as jqxdata from '../../jqwidgets/jqxdata';
import * as jqxdataexport from '../../jqwidgets/jqxdata.export';
import * as jqxbuttons from '../../jqwidgets/jqxbuttons';
import * as jqxbuttongroup from '../../jqwidgets/jqxbuttongroup';
import * as jqxscrollbar fr... |
ajax/libs/openlayers/6.0.0-dev.9/PluggableMap.js | cdnjs/cdnjs | var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =... |
test/BootstrapMixinSpec.js | rapilabs/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import BootstrapMixin from '../src/BootstrapMixin';
import styleMaps from '../src/styleMaps';
let Component;
describe('BootstrapMixin', function () {
beforeEach(function() {
Component = React.createClass({
mixins: [Bootstrap... |
docs/components/Demo.js | tianyingchun/docs | import React, { Component } from 'react';
import UI, { Table } from '../../shared/react';
class Demo extends Component {
}
class DemoRender extends Component {
}
class DemoContainer extends Component {
}
class DemoApiTable extends Component {
render () {
return (
<Table bordered>
<thead>
... |
public/admin/build/SysFile.admin.chunk.js | dreamllq/koa-web-framework | webpackJsonp([21],[
/* 0 */,
/* 1 */,
/* 2 */,
/* 3 */,
/* 4 */,
/* 5 */,
/* 6 */,
/* 7 */,
/* 8 */,
/* 9 */,
/* 10 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.warning = undefined;
var _extends2 = __webpack_r... |
ajax/libs/yui/3.7.2/event-focus/event-focus.js | MenZil/cdnjs | YUI.add('event-focus', function (Y, NAME) {
/**
* Adds bubbling and delegation support to DOM events focus and blur.
*
* @module event
* @submodule event-focus
*/
var Event = Y.Event,
YLang = Y.Lang,
isString = YLang.isString,
arrayIndex = Y.Array.indexOf,
useActivate = YLang.isFunction(
... |
src/svg-icons/device/battery-50.js | pomerantsev/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceBattery50 = (props) => (
<SvgIcon {...props}>
<path fillOpacity=".3" d="M17 5.33C17 4.6 16.4 4 15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V13h10V5.33z"/><path d="M7 13v7.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 ... |
ajax/libs/forerunnerdb/1.3.788/fdb-all.js | nolsherry/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... |
ajax/libs/intl-tel-input/8.4.0/js/intlTelInput.js | sashberd/cdnjs | /*
* International Telephone Input v8.4.0
* https://github.com/jackocnr/intl-tel-input.git
* Licensed under the MIT license
*/
// wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js
(function(factory) {
if (typeof define === "function" && define.amd) {
define([ "jquery" ],... |
packages/examples/src/svg/svg.js | diegomura/react-pdf | import React from 'react';
import { Svg, G, Polygon } from '@react-pdf/renderer';
const Tiger = () => (
<Svg style={{ width: 400, height: 400 }}>
<G transform="scale(1) translate(100,10)">
<Polygon
fill="#f2cc99"
points=" 69,18 82,8 99,3 118,5 135,12 149,21 156,13 165,9 177,13 183,28 180,50... |
examples/index.js | JakeDluhy/redux-dialog | import React from 'react';
import { render } from 'react-dom';
import reduxDialog, { dialogReducer, openDialog, closeDialog, closeAllDialogs } from '../src';
import { createStore, combineReducers } from 'redux';
import { Provider } from 'react-redux';
const reducers = {
dialogs: dialogReducer
};
const reducer = com... |
ajax/libs/F2/1.3.1/f2.js | aminghaderi/cdnjs | ;(function(exports) {
if (exports.F2 && !exports.F2_TESTING_MODE) {
return;
}
/*!
JSON.org requires the following notice to accompany json2:
Copyright (c) 2002 JSON.org
http://json.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d... |
docs/src/ComponentsPage.js | zerkms/react-bootstrap | /* eslint react/no-did-mount-set-state: 0 */
import React from 'react';
import Affix from '../../src/Affix';
import Nav from '../../src/Nav';
import SubNav from '../../src/SubNav';
import NavItem from '../../src/NavItem';
import NavMain from './NavMain';
import PageHeader from './PageHeader';
import PropTable from '... |
docs/src/app/components/pages/components/List/ExampleSimple.js | ArcanisCz/material-ui | import React from 'react';
import MobileTearSheet from '../../../MobileTearSheet';
import {List, ListItem} from 'material-ui/List';
import ContentInbox from 'material-ui/svg-icons/content/inbox';
import ActionGrade from 'material-ui/svg-icons/action/grade';
import ContentSend from 'material-ui/svg-icons/content/send';
... |
src/svg-icons/editor/format-underlined.js | igorbt/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let EditorFormatUnderlined = (props) => (
<SvgIcon {...props}>
<path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"/>
</SvgIcon>
);
EditorF... |
src/AppBundle/Resources/static/jsx/app/CourseCategory.js | viszerale-therapie/simple-courses | import React from 'react';
import ReactDOM from 'react-dom';
import tl from '../util/translator';
import DataTable from '../util/DataTable';
import actions from '../util/actions';
import dataDefinition from '../data/CourseCategory';
export default {
init : function(data, meta) {
ReactDOM.render(
<div>
<h1>{... |
src/interface/statistics/components/BoringSpellValue/index.js | ronaldpereira/WoWAnalyzer | /**
* A simple component that shows the spell icon left and a value right.
* Use this only for things that the player certainly should be familiar with, such as their own spells.
* Do NOT use for items or azerite powers.
*/
import React from 'react';
import PropTypes from 'prop-types';
import SpellIcon from 'commo... |
templates/react/src/test/components/SoundTest.js | Jam3/generator-jam3 | import React from 'react';
import audio from '../../util/audio';
const path = process.env.ASSET_PATH + 'sounds/';
const data = {
'button': {
src: `${path}button-sprite.mp3`,
sprite: {
'sprite-rollover': [0, 50],
'sprite-click': [60, 100],
}
},
};
export default class SoundTest extends Rea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.