path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
client/src/entwine/TinyMCE_ssembed.js | silverstripe/silverstripe-asset-admin | /* global tinymce, window */
import jQuery from 'jquery';
import React from 'react';
import ReactDOM from 'react-dom';
import { loadComponent } from 'lib/Injector';
import ShortcodeSerialiser, { sanitiseShortCodeProperties } from 'lib/ShortcodeSerialiser';
import InsertEmbedModal from 'components/InsertEmbedModal/Inser... |
ajax/libs/react-router-bootstrap/0.12.0/ReactRouterBootstrap.min.js | tholu/cdnjs | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-bootstrap/lib/Button"),require("react-bootstrap/lib/MenuItem"),require("react-bootstrap/lib/NavItem")):"function"==typeof define&&define.amd?define(["react","react-bootstrap/lib/Button","react-bootstrap/lib... |
client/extensions/woocommerce/app/settings/shipping/shipping-zone/shipping-zone-location-dialog-settings.js | Automattic/woocommerce-connect-client | /** @format */
/**
* External dependencies
*/
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { localize } from 'i18n-calypso';
/**
* Internal dependencies
*/
import FilteredList from 'woocommerce/components/filtered-list';
import FormCheckbox from 'comp... |
ajax/libs/mediaelement/2.4.3/jquery.js | dlueth/cdnjs | /*!
* jQuery JavaScript Library v1.7
* 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.
*... |
ajax/libs/forerunnerdb/1.3.767/fdb-all.js | dannyxx001/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... |
app/static/src/performer/TestTypeResultForm_modules/NewPcbTestForm.js | vsilent/Vision | import React from 'react';
import FormControl from 'react-bootstrap/lib/FormControl';
import FormGroup from 'react-bootstrap/lib/FormGroup';
import Button from 'react-bootstrap/lib/Button';
import Checkbox from 'react-bootstrap/lib/Checkbox';
import ControlLabel from 'react-bootstrap/lib/ControlLabel';
import {findDOMN... |
ephemerol-react/src/modules/SplashContent.js | Pivotal-Field-Engineering/ephemerol | /*
Copyright (C) 2016-Present Pivotal Software, Inc. All rights reserved.
This program and the accompanying materials are made available under
the terms of the 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 Licen... |
fields/types/email/EmailField.js | davibe/keystone | import Field from '../Field';
import React from 'react';
import { FormInput } from 'elemental';
/*
TODO:
- gravatar
- validate email address
*/
module.exports = Field.create({
displayName: 'EmailField',
renderValue () {
return this.props.value ? (
<FormInput noedit href={'mailto:' + this.props.value}>{this... |
examples/js/cell-edit/demo.js | opensourcegeek/react-bootstrap-table | import React from 'react';
import ClickToEditTable from './click-to-edit-table';
import DbClickToEditTable from './dbclick-to-edit-table';
import BlurToSaveTable from './blur-to-save-table';
import CellEditHookTable from './cell-edit-hook-table';
import NonEditableTable from './non-editable-table';
class Demo extends ... |
scripts/imgur_show_votes_light.user.js | SleepProgger/imgur_userscripts | // ==UserScript==
// @name Imgur_show_votes
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Userscript to show the up/down votes on old design when hovering over the comment score
// @author You
// @match https://imgur.com/gallery/*
// @match https://imgur.com... |
src/components/App.js | MartinP-C/my-site | import React from 'react';
import Interactive from 'react-interactive';
import { Switch, Route } from 'react-router-dom';
import PageNotFound from './PageNotFound';
import '../assets/sass/main.scss';
import Header from './Header';
import Footer from './Footer';
import homePage from '../pages/homePage';
import skillsP... |
app/static/src/diagnostic/EquipmentForm_modules/AditionalEqupmentParameters_modules/TapChangerParams.js | vsilent/Vision | import React from 'react';
import FormControl from 'react-bootstrap/lib/FormControl';
import FormGroup from 'react-bootstrap/lib/FormGroup';
import ControlLabel from 'react-bootstrap/lib/ControlLabel';
import {findDOMNode} from 'react-dom';
import {hashHistory} from 'react-router';
import {Link} from 'react-router';
im... |
ajax/libs/jquery.fancytree/2.6.0/jquery.fancytree-all.min.js | owcc/cdnjs | /*! jQuery Fancytree Plugin - 2.6.0 - 2014-11-29T08:33
* https://github.com/mar10/fancytree
* Copyright (c) 2014 Martin Wendt; Licensed MIT */
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( [ "jquery" ], factory );
} else {
factory( jQuery );
}
}(function( $ ) {
!function... |
packages/material-ui-icons/src/BatteryAlertRounded.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M15.67 4H14V3c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.34 22h7.32c.74 0 1.34-.6 1.34-1.33V5.33C17 ... |
user_guide/_static/jquery.js | ellishidayati/Projectan_PLA | /*! 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/ionic/0.9.18-alpha/js/ionic.js | chrisdavies/cdnjs | /*!
* Copyright 2013 Drifty Co.
* http://drifty.com/
*
* Ionic, v0.9.17
* 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/stateful_group_list/StatefulGroupList.js | thewizardplusplus/vk-group-stats | import React from 'react'
import {ALL_STATES} from '../../common/states'
import StatefulBlock from '../stateful_block/StatefulBlock'
import GroupList from '../group_list/GroupList'
export default class StatefulGroupList extends React.Component {
static propTypes = {
state: React.PropTypes.oneOf(ALL_STATES).isReq... |
ajax/libs/yui/3.7.1/simpleyui/simpleyui.js | TerryMooreII/cdnjs | /**
* The YUI module contains the components required for building the YUI seed
* file. This includes the script loading mechanism, a simple queue, and
* the core utilities for the library.
* @module yui
* @main yui
* @submodule yui-base
*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
The YUI gl... |
examples/shopping-cart/src/components/ProductsContainer.js | ridixcr/nuclear-js | import React from 'react'
import ProductItem from '../../common/components/ProductItem'
import ProductsList from '../../common/components/ProductsList'
import reactor from '../reactor'
import getters from '../getters'
import actions from '../actions'
const ProductItemContainer = React.createClass({
onAddToCartCli... |
src/server.js | HasanSa/hackathon | import Express from 'express';
import React from 'react';
import ReactDOM from 'react-dom/server';
import config from './config';
import favicon from 'serve-favicon';
import compression from 'compression';
import httpProxy from 'http-proxy';
import path from 'path';
import createStore from './redux/create';
import ApiC... |
src/pages/unicas.js | vitorbarbosa19/ziro-online | import React from 'react'
import BrandGallery from '../components/BrandGallery'
export default () => (
<BrandGallery brand='Unicas' />
)
|
src/client/ui/game/canvasBox.js | tnRaro/FrozenWar | import React from 'react';
export default class CanvasBox extends React.Component {
componentDidMount() {
this.props.onLoad(React.findDOMNode(this));
}
shouldComponentUpdate() {
return false;
}
render() {
return <canvas />;
}
}
|
src/decorators/withContext.js | alem0lars/stringerbell | /*
* StringerBell
* Copyright (c) Alessandro Molari (@alem0lars).
*
* This source code is licensed under the Apache Version 2.0 license found in
* the LICENSE.txt file in the root directory of this source tree.
*/
// {{{ Imports.
import React, { PropTypes } from 'react'; // eslint-disable-line no-unused-vars
i... |
universal/containers/root/root.dev.js | hex22a/roland | import React, { Component } from 'react';
import { Router } from 'react-router';
export default class Root extends Component {
render() {
const { routes, history, render, environment } = this.props;
return (
<div>
<Router
history={history}
render={render}
routes={routes}
enviro... |
practice/a03.30/react/app/NewsHeader.js | GBKstc/test | /**
* Created by Administrator on 2017/3/31.
*/
import React from 'react';
import imageLogo from '../img/y18.gif';
import '../css/NewsHeader.css';
export default class NewsItem extends React.Component {
getLogo(){
return (
<div className="newsHeader-logo">
<a href="https://news.ycombinator.com/"><img src=... |
tests/react_modules/es6class-types-callsite.js | claudiopro/flow | /* @flow */
import React from 'react';
import Hello from './es6class-types-module';
import type {Node} from 'react';
type Props = {name: string};
class HelloLocal extends React.Component<Props> {
render(): Node {
return <div>{this.props.name}</div>;
}
}
class Callsite extends React.Component<Props> {
rende... |
ajax/libs/angular.js/1.0.0rc2/angular-scenario.js | NUKnightLab/cdnjs | /** @license
* jQuery JavaScript Library v1.7
* 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 Lic... |
js/webui/src/volume_control.js | hyperblast/beefweb | import React from 'react'
import PropTypes from 'prop-types'
import PlayerModel from './player_model'
import { Button} from './elements'
import { bindHandlers } from './utils'
import ModelBinding from './model_binding';
import { DropdownButton } from './dropdown';
function volumeIcon(isMuted)
{
return isMuted ? 'v... |
newclient/scripts/components/dynamic-icons/checkmark-icon/index.js | kuali/research-coi | /*
The Conflict of Interest (COI) module of Kuali Research
Copyright © 2005-2016 Kuali, Inc.
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
Lic... |
ajax/libs/6to5/1.14.1/browser.js | melvinsembrano/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return... |
client/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/extname/node_modules/underscore.string/test/test_underscore/vendor/jquery.js | miguelmota/ember-demo | /*!
* jQuery JavaScript Library v1.7.2
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
examples/css-modules/app.js | aruberto/react-foundation-components | /* eslint-disable import/no-unresolved */
import React from 'react';
import ReactDOM from 'react-dom';
import '../../lib/_typography.scss';
import { Button } from '../../lib/button';
import { ButtonGroup } from '../../lib/button-group';
import { ButtonGroup as FlexButtonGroup } from '../../lib/button-group-flex';
c... |
mobx-src/bak/Entry.js | xiedidan/smart-territory-demo | import React from 'react'
import ReactDom from 'react-dom'
import App from './App'
ReactDom.render(
<App store={store} />,
document.getElementById('app_container')
)
|
node_modules/react-bootstrap/es/ModalHeader.js | GregSantulli/react-drum-sequencer | 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 ... |
blueocean-material-icons/src/js/components/svg-icons/av/featured-video.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const AvFeaturedVideo = (props) => (
<SvgIcon {...props}>
<path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 9H3V5h9v7z"/>
</SvgIcon>
);
AvFeaturedVideo.displayName = 'AvFeaturedVideo';
AvFeaturedVideo.muiName... |
src/js/components/pc_footer.js | yhx0634/foodshopfront | import React from 'react';
import { Row, Col } from 'antd';
import { Carousel } from 'antd';
import { Card } from 'antd';
import { Menu, Icon, Tabs, message, Form, Input, Button, CheckBox, Modal } from 'antd';
const FormItem = Form.Item;
const SubMenu = Menu.SubMenu;
const TabPane = Tabs.TabPane;
const MenuItemGroup = ... |
ajax/libs/ember-data.js/2.1.0-beta.3/ember-data.js | sufuf3/cdnjs | (function() {
"use strict";
var ember$lib$main$$default = Ember;
var ember$data$lib$adapters$build$url$mixin$$get = Ember.get;
var ember$data$lib$adapters$build$url$mixin$$default = Ember.Mixin.create({
/**
Builds a URL for a given type and optional ID.
By default, it pluralizes ... |
201601react/刘少华/app/index.js | zhufengreact/homework | /**
* @file 第一课作业
* @author liushaohua
* @email fe.liushaohua@gmail.com
*/
'use strict';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './container/App';
import moduleB from './util/moduleA';
let root = document.getElementById('app');
ReactDOM.render( <App />, root );
|
ajax/libs/react-virtualized/6.3.1/react-virtualized.min.js | dlueth/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.ReactVirtualized=t(require("react"),require("react-dom")):e.ReactVirtualized=t(e.React,e.ReactDO... |
node_modules/react-icons/md/remove-circle.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const MdRemoveCircle = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m28.4 21.6v-3.2h-16.8v3.2h16.8z m-8.4-18.2c9.2 0 16.6 7.4 16.6 16.6s-7.4 16.6-16.6 16.6-16.6-7.4-16.6-16.6 7.4-16.6 16.6-16.6z"/></g>
</Icon>
)
export defau... |
src/components/profile.js | camboio/ibis | import React from 'react';
import UserTimeline from './user/user_timeline';
import { connect } from 'react-redux';
import * as actions from '../actions';
class Profile extends React.Component {
componentWillMount(){
this.props.updateTitle('Profile');
}
componentWillUnmount(){
this.props.clearTitl... |
src/App.js | maximgatilin/weathernow | import React, { Component } from 'react';
import styles from './App.css';
import MainContainer from './containers/MainContainer';
import Header from './components/Header/Header';
import Footer from './components/Footer/Footer';
class App extends Component {
render() {
return (
<div className={styles.container}>
... |
ajax/libs/react/0.3.2/JSXTransformer.js | sullivanmatt/cdnjs | /**
* JSXTransformer v0.3.2
*/
(function(e){if("function"==typeof bootstrap)bootstrap("jsxtransformer",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeJSXTransformer=e}else"undefined"!=typeof wi... |
src/frontend/components/NewsPost.js | gbgtech/gbgtechWeb | import React from 'react';
import ReactDOM from 'react-dom';
import { Link } from 'react-router';
import { connect } from 'react-redux';
import moment from 'moment';
import Clock from "./Clock";
import {formatDateTime, formatDateHuman, formatTime } from '../formatter';
import { roles } from '../roles';
const userCan... |
ajax/libs/forerunnerdb/1.3.795/fdb-core+views.js | cdnjs/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/LocalGroceryStore.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.4... |
ajax/libs/angular-google-maps/1.1.9/angular-google-maps.js | chrisdavies/cdnjs | /*! angular-google-maps 1.1.9 2014-07-27
* AngularJS directives for Google Maps
* git: https://github.com/nlaplante/angular-google-maps.git
*/
/*
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this softwa... |
src/svg-icons/action/lock-outline.js | kittyjumbalaya/material-components-web | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionLockOutline = (props) => (
<SvgIcon {...props}>
<path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c... |
docs/app/Examples/elements/List/Variations/ListExampleRelaxed.js | clemensw/stardust | import React from 'react'
import { Image, List } from 'semantic-ui-react'
const ListExampleRelaxed = () => (
<List relaxed>
<List.Item>
<Image avatar src='http://semantic-ui.com/images/avatar/small/daniel.jpg' />
<List.Content>
<List.Header as='a'>Daniel Louise</List.Header>
<List.Des... |
workbench/src/js/index.js | eeyang92/react-flow-webpack-bp | // @flow
import React from 'react'
import { render } from 'react-dom'
import Hello from 'react-flow-webpack-bp'
render(
<Hello />,
window.document.getElementById('app-container')
)
|
questions-with-classifier-ega-war/src/main/webapp/api/doc/lib/jquery-1.8.0.min.js | SidSachdev/questions-with-classifier-ega | /*! jQuery v@1.8.0 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==... |
LadyColtSoccer/src/LadyColtSoccer/wwwroot/lib/jquery-validation/lib/jquery-1.8.3.js | afmorris/LadyColtSoccer.com | /*!
* 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(... |
ajax/libs/vue/2.2.0-beta.1/vue.common.js | Amomo/cdnjs | /*!
* Vue.js v2.2.0-beta.1
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
'use strict';
/* */
/**
* Convert a value to a string that is actually rendered.
*/
function _toString (val) {
return val == null
? ''
: typeof val === 'object'
? JSON.stringify(val, null, 2)
: String... |
ajax/libs/forerunnerdb/1.3.587/fdb-core.min.js | emmy41124/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... |
app/javascript/mastodon/features/notifications/components/grant_permission_button.js | lindwurm/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
export default class GrantPermissionButton extends React.PureComponent {
static propTypes = {
onClick: PropTypes.func.isRequired,
};
render () {
return (
<button className='text-btn colum... |
src/svg-icons/action/lightbulb-outline.js | tan-jerene/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionLightbulbOutline = (props) => (
<SvgIcon {...props}>
<path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1... |
ajax/libs/mediaelement/2.1.7/jquery.js | SaravananRajaraman/cdnjs | /*!
* jQuery JavaScript Library v1.6.1
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
node_modules/react-bootstrap/es/Modal.js | Technaesthetic/ua-tools | import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from 'babel-runtime/helpers/inherits';
import _extends from... |
template/static/scripts/jquery.min.js | darkartur/TSDoc | /*! 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 ... |
information/blendle-frontend-react-source/app/modules/item/components/SignUpRewardDialog/Illustration/index.js | BramscoChill/BlendleParser | import React from 'react';
import PropTypes from 'prop-types';
import CSS from './styles.scss';
const illustrationPath = '/img/illustrations/premium';
const Illustration = ({ name }) => {
const path = `${illustrationPath}/${name}`;
return (
<div className={CSS.illustration}>
<img
src={`${path}@2... |
app/components/GraphScoreRank.js | wilburyang/animeposter | /** @jsx React.DOM */
module.exports = (function() {
var React = require('react'),
d3 = require('d3'),
GraphInteraction = require('./GraphInteraction');
var GraphScoreRank = React.createClass({
getInitialState: function() {
return {
};
},
compone... |
ajax/libs/react-virtualized/8.0.8/react-virtualized.js | Piicksarn/cdnjs | !function(root, factory) {
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("React"), require("React.addons.shallowCompare"), require("ReactDOM")) : "function" == typeof define && define.amd ? define([ "React", "React.addons.shallowCompare", "ReactDOM" ], factory) : "object... |
geonode/contrib/monitoring/frontend/src/components/cels/errors/index.js | kartoza/geonode | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import HoverPaper from '../../atoms/hover-paper';
import actions from '../../organisms/error-list/actions';
import styles from './styles';
const mapStateToProps = (state) => ({
errorList: state.errorList.response,
... |
src/components/UIShell/__tests__/SideNavLinkText-test.js | joshblack/carbon-components-react | /**
* Copyright IBM Corp. 2016, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import { mount } from 'enzyme';
import SideNavLinkText from '../SideNavLinkText';
describe('SideNavLinkText', () ... |
public/main.min.js | chloeleichen/react-starter | !function e(t,n,o){function r(i,s){if(!n[i]){if(!t[i]){var u="function"==typeof require&&require;if(!s&&u)return u(i,!0);if(a)return a(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[i]={exports:{}};t[i][0].call(l.exports,function(e){var n=t[i][1][e];return r(n?n:e)},l,l.ex... |
src/components/card/index.js | vyshkov/kottans | import { h } from 'preact';
import './card.css';
import formatDate from '../../utils/formatDate';
const trimToThouthands = num => (
num > 999 ? `${(num / 1000).toFixed(1)}k`: num
);
const card = props => (
<div className="github-repo-card" onClick={() => props.openDetails(props.repo)}>
<div className="github-repo... |
ajax/libs/redux-form/0.1.1/redux-form.min.js | sashberd/cdnjs | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].expor... |
ajax/libs/core-js/0.3.1/library.js | tambien/cdnjs | /**
* Core.js 0.3.1
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2014 Denis Pushkarev
*/
!function(returnThis, framework, undefined){
'use strict';
/******************************************************************************
* Module : common ... |
jenkins-design-language/src/js/components/material-ui/svg-icons/places/business-center.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const PlacesBusinessCenter = (props) => (
<SvgIcon {...props}>
<path d="M10 16v-1H3.01L3 19c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2v-4h-7v1h-4zm10-9h-4.01V5l-2-2h-4l-2 2v2H4c-1.1 0-2 .9-2 2v3c0 1.11.89 2 2 2h6v-2h4v2h6c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zm-... |
renderer/components/Onboarding/Steps/components/BackupTypeItem.js | LN-Zap/zap-desktop | import React from 'react'
import { RadioCard } from 'components/Form'
import BackupLocal from 'components/Icon/BackupLocal'
import GoogleDrive from 'components/Icon/GoogleDrive'
import Dropbox from 'components/Icon/Dropbox'
const ICONS = {
local: { icon: BackupLocal, width: 80, height: 80 },
dropbox: { icon: Dropb... |
src/svg-icons/communication/dialpad.js | IsenrichO/mui-with-arrows | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationDialpad = (props) => (
<SvgIcon {...props}>
<path d="M12 19c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM6 1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-... |
ajax/libs/bla/0.0.15/bla.js | MisatoTremor/cdnjs | /**
* @module vow
* @author Filatov Dmitry <dfilatov@yandex-team.ru>
* @version 0.4.7
* @license
* Dual licensed under the MIT and GPL licenses:
* * http://www.opensource.org/licenses/mit-license.php
* * http://www.gnu.org/licenses/gpl.html
*/
(function(global) {
var undef,
nextTick = (function() {
... |
ajax/libs/babel-core/4.4.6/browser-polyfill.js | drewfreyling/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/vue-paginate/3.2.2/vue-paginate.js | jdh8/cdnjs | /**
* vue-paginate v3.2.2
* (c) 2016 Taha Shashtari
* @license MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.VuePaginate = factory());
}(this, function () {... |
examples/counter/containers/CounterApp.js | Spacerat/redux | import React, { Component } 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 extend... |
ajax/libs/video.js/5.0.0-28/video.js | emmy41124/cdnjs | /**
* @license
* Video.js 5.0.0-28 <http://videojs.com/>
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
* Available under Apache License Version 2.0
* <https://github.com/videojs/video.js/blob/master/LICENSE>
*
* Includes vtt.js <https://github.com/mozilla/vtt.js>
* Available under Apache License Ve... |
src/components/Footer.js | samuelmad/todo_list_redux | import React from 'react'
import {Link} from 'react-router-dom'
export default (props)=> (
<div>
<Link to='/'>All</Link>
<Link to='/active'>Active</Link>
<Link to='/completed'>Completed</Link>
</div>
)
|
pages/habilidades.js | alonsogodinez/AlamedaWebPageGatsby | import React from 'react'
import {Footer, PanelIntroSkills, PanelSkill} from '../components'
import { prefixLink } from 'gatsby-helpers'
export default class Habilidades extends React.Component {
skills = [
{
title: "Digital Strategy",
description: "Digital strategy is at the heart of our mission a... |
src/index.js | tinyx/auth | import React from 'react';
import ReactDOM from 'react-dom';
import Login from './views/Login';
import Register from './views/Register';
import { Router, Route, browserHistory } from 'react-router'
import './index.css';
ReactDOM.render(
<Router history={browserHistory}>
<Route path="/login" component={Login} />
... |
src/containers/header_jumbotron.js | b0ts/react-redux-sweetlightstudios-website | import React, { Component } from 'react';
import { connect } from 'react-redux'; // glue between react and redux
import { Jumbotron, Image } from 'react-bootstrap';
import NotificationBanner from '../components/notification_banner';
class HeaderJumbotron extends Component {
render() {
const banner = (this.props.art... |
src/containers/NotFound/NotFound.js | BusyginCode/chat | import React from 'react';
const styles = {
messageContainer: {
position: 'absolute',
left: '50%',
top: '50%',
transform: 'translate(-50%, -50%)',
},
message: {
width: 500 + 'px',
margin: 'auto',
textAlign: 'center'
},
};
export default function NotFound() {
return (
<div>
... |
client/src/components/Footer/Footer.js | codefordenver/Circular | import React from 'react';
import { Grid, Col } from 'react-bootstrap';
import { Link } from 'react-router';
const Footer = () => (
<Grid fluid className="footer-container">
<Col xs={12}>
<a href="mailto:jasmin@ecocycle.org">
<p>Questions? Reach out to us!</p>
</a>
<i className="fa fa-c... |
src/components/block/spec.js | casesandberg/react-color | /* global test, jest, expect */
import React from 'react'
import renderer from 'react-test-renderer'
import { mount } from 'enzyme'
import Block from './Block'
import BlockSwatches from './BlockSwatches'
import { Swatch } from '../common'
import* as color from '../../helpers/color'
test('Block renders correctly', ()... |
src/containers/SearchBarContainer.js | wind85/waterandboards | import React from 'react'
import ReactDOM from 'react-dom'
import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import SearchBar from '../components/SearchBar'
import * as Actions from '../actions'
const SearchBarContainer = ({ actions }) => {
const handleSearch = (term, idx) => {
ac... |
packages/core/upload/admin/src/components/EditAssetDialog/RemoveAssetDialog.js | wistityhq/strapi | import React from 'react';
import PropTypes from 'prop-types';
import { ConfirmDialog } from '@strapi/helper-plugin';
import { useRemoveAsset } from '../../hooks/useRemoveAsset';
export const RemoveAssetDialog = ({ onClose, asset }) => {
const { isLoading, removeAsset } = useRemoveAsset(onClose);
const handleConf... |
ajax/libs/jquery.fancytree/2.10.0/jquery.fancytree.min.js | melvinsembrano/cdnjs | /*!
* jquery.fancytree.js
* Dynamic tree view control, with support for lazy loading of branches.
* https://github.com/mar10/fancytree/
*
* Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de)
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.10.0
* @da... |
src/reducers/index.js | cmaart/runpl | import { combineReducers } from 'redux';
import userDataReducer from './userDataReducer';
import workoutsReducer from './workoutsReducer';
import {routerReducer} from 'react-router-redux';
const rootReducer = combineReducers({
user: userDataReducer,
workouts: workoutsReducer,
routing: routerReducer
});
export d... |
src/js/pages/player/WebPlayer.js | barumel/ultritium-radio-player | import React from 'react';
import { PlayerHtml } from '../../components/player/Html';
class WebPlayer extends React.Component {
constructor() {
super();
}
render() {
const playlist = {
_id: '59cdfde361f92a8cc3f69226',
thumb: 'http://www.laut.de/Dendemann/dendemann-161797.jpg'
};
... |
packages/material-ui-icons/src/BatteryAlertOutlined.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="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 4zM13 18h-2v-2h2... |
src/svg-icons/action/line-style.js | manchesergit/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionLineStyle = (props) => (
<SvgIcon {...props}>
<path d="M3 16h5v-2H3v2zm6.5 0h5v-2h-5v2zm6.5 0h5v-2h-5v2zM3 20h2v-2H3v2zm4 0h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM3 12h8v-2H3v2zm10 0h8v-2h... |
ajax/libs/jquery/1.4.1/jquery.js | jrbasso/cdnjs | /*!
* jQuery JavaScript Library v1.4.1
* 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/components/App.js | JoeEcob/Spendy | import React from 'react';
import { Route, Switch } from 'react-router-dom';
import AccessToken from '../containers/AccessToken';
import Accounts from '../containers/Accounts';
import Header from '../containers/Header';
import Error from '../containers/Error';
import Charts from '../containers/Charts';
import NotFound ... |
react/features/filmstrip/components/web/ThumbnailBottomIndicators.js | gpolitis/jitsi-meet | // @flow
import { makeStyles } from '@material-ui/styles';
import React from 'react';
import { useSelector } from 'react-redux';
import { isDisplayNameVisible, isNameReadOnly } from '../../../base/config/functions.any';
import DisplayName from '../../../display-name/components/web/DisplayName';
import { THUMBNAIL_TYP... |
ajax/libs/core-js/0.4.6/core.js | perfect-pixell/cdnjs | /**
* Core.js 0.4.6
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(global, framework, undefined){
'use strict';
/******************************************************************************
* Module : common ... |
ajax/libs/griddle-react/1.0.0-alpha.42/griddle.js | tonytomov/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["Griddle"] = factory... |
ajax/libs/yui/3.10.0/datatable-body/datatable-body-debug.js | bragma/cdnjs | YUI.add('datatable-body', function (Y, NAME) {
/**
View class responsible for rendering the `<tbody>` section of a table. Used as
the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes.
@module datatable
@submodule datatable-body
@since 3.5.0
**/
var Lang = Y.Lang,
isArray = Lang.isA... |
packages/react-devtools-shared/src/constants.js | trueadm/react | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
// Flip this flag to true to enable verbose console debug logging.
export const __DEBUG__ = false;
export const TREE_... |
examples/counter/containers/Root.js | jlongster/redux | import React, { Component } from 'react';
import { Provider } from 'react-redux';
import CounterApp from './CounterApp';
import configureStore from '../store/configureStore';
const store = configureStore();
export default class Root extends Component {
render() {
return (
<Provider store={store}>
... |
docs/app/Examples/elements/Segment/Variations/SegmentExampleColoredInverted.js | clemensw/stardust | import React from 'react'
import { Segment } from 'semantic-ui-react'
const SegmentExampleColoredInverted = () => (
<div>
<Segment inverted color='red'>Red</Segment>
<Segment inverted color='orange'>Orange</Segment>
<Segment inverted color='yellow'>Yellow</Segment>
<Segment inverted color='olive'>Oli... |
src/svg-icons/content/delete-sweep.js | manchesergit/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentDeleteSweep = (props) => (
<SvgIcon {...props}>
<path d="M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3v10zM14 5h-3l-1-1H6L5 5H2v2h12z"/>
</SvgIcon>
);
ContentDeleteSwee... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.