path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
src/server.js | cbellino/roster | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import 'babel-polyfill';
import path from 'path';
import e... |
ajax/libs/reactive-coffee/1.0.0/reactive-coffee.js | jaslernl/cdnjs | (function() {
var DepArray, DepCell, DepMap, DepMgr, Ev, FakeObsCell, FakeSrcCell, IndexedArray, IndexedDepArray, IndexedMappedDepArray, MappedDepArray, ObsArray, ObsCell, ObsMap, ObsMapEntryCell, RawHtml, Recorder, SrcArray, SrcCell, SrcMap, SrcMapEntryCell, asyncBind, bind, depMgr, ev, events, firstWhere, flatten, ... |
app/Pages/SettlementViewNew/DeliverTime/DeliverTimePicker.js | jd-daojia/DaojiaRN | /* @flow */
import React, { Component } from 'react';
import {
View,
Text,
StyleSheet,
Modal,
Picker,
TouchableWithoutFeedback
} from 'react-native';
import {inject} from 'mobx-react/native'
@inject('settle')
export default class DeliverTimePicker extends Component {
constructor (props) {
super(prop... |
src/components/App.js | ben-miller/adddr.io | /**
* adddr (https://www.adddr.io/)
*
* 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 PropTypes from 'prop-types';
const ContextT... |
ui/app/components/HDX.js | hotosm/osm-export-tool2 | import React from "react";
import { ConnectedRouter } from "react-router-redux";
import { Route, Switch } from "react-router-dom";
import HDXExportRegionForm from "./HDXExportRegionForm";
import HDXExportRegionList from "./HDXExportRegionList";
import RequirePermission from "./RequirePermission";
export default ({ hi... |
geonode/contrib/monitoring/frontend/src/components/cels/uptime/index.js | simod/geonode | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import HoverPaper from '../../atoms/hover-paper';
import styles from './styles';
import actions from './actions';
const mapStateToProps = (state) => ({
interval: state.interval.interval,
response: state.geonodeAv... |
Web/node_modules/reactify/node_modules/react-tools/src/core/__tests__/ReactPropTypes-test.js | AccelNA/timeLogs | /**
* Copyright 2013-2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @emails react-co... |
frontend/node_modules/material-ui/svg-icons/action/settings-power.js | goodman001/20170927express | '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... |
packages/material-ui-icons/src/Replay.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z" />
, 'Replay');
|
ajax/libs/react-dom/18.0.0-rc.0-next-419ccc2b1-20220217/umd/react-dom-test-utils.development.min.js | cdnjs/cdnjs | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e=e||self).ReactTestUtils={},e.React,e.ReactDOM)}(this,function(e,s,u){"use strict";var c=s.__SECRET_INTERNALS_DO_NOT_US... |
src/components/VehicleAddForm.js | mick842/rental-cars-client | import React from 'react';
import InputMask from 'react-input-mask';
import { Card, CardText, TextField, RaisedButton, Divider, DatePicker, SelectField, MenuItem } from 'material-ui';
const VehicleAddForm = ({
onSubmit,
onChange,
handleImageLoad,
onMaterialFieldChange, //?
errors,
vehicle
}) => (
<Ca... |
ajax/libs/material-ui/5.0.0-alpha.21/TableHead/TableHead.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import Tablelvl2Cont... |
components/Header/Avatar/Icon.js | YongYuH/Ludo | // @flow
import React from 'react';
import styled from 'styled-components';
import withEither from '../../../hocs/withEither';
const authenticatedUserAvatar = '/static/authenticated-user-avatar.svg';
const unAuthenticatedUserAvatar = '/static/unauthenticated-user-avatar.png';
const AvatarIconWrapper = styled.div`
i... |
frontend/test/app/reducers/newsletter-form-test.js | 6a68/idea-town | import React from 'react';
import { expect } from 'chai';
import sinon from 'sinon';
import { newsletterFormSetEmail as setEmail,
newsletterFormSetPrivacy as setPrivacy,
newsletterFormSetSubmitting as setSubmitting,
newsletterFormSetFailed as setFailed,
newsletterFormSetSucceeded as... |
assets/jqwidgets/demos/react/app/grid/bindingtojsonstring/app.js | juannelisalde/holter | import React from 'react';
import ReactDOM from 'react-dom';
import JqxGrid from '../../../jqwidgets-react/react_jqxgrid.js';
class App extends React.Component {
render() {
let data = '[{ "CompanyName": "Alfreds Futterkiste", "ContactName": "Maria Anders", "ContactTitle": "Sales Representative", "Address... |
client/components/ui/modal/content.js | bnjbvr/kresus | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { actions } from '../../../store';
const ModalContent = connect(
null,
dispatch => {
return {
handleClose() {
actions.hideModal(dispatch);
}
};
... |
src/components/styler/borderEditor/index.js | abbr/ShowPreper | import React from 'react'
import 'spectrum-colorpicker'
import 'spectrum-colorpicker/spectrum.css'
import DropdownList from 'react-widgets/lib/DropdownList'
import './index.less'
export default class extends React.Component {
componentDidMount() {
super.componentDidMount && super.componentDidMount()
$('#sp-bo... |
tests/specs/unit/components/CallCharges.spec.js | hyphenbash/customer-bill | 'use strict';
import chai, { expect } from 'chai';
import spies from 'chai-spies';
import React from 'react';
import TestUtils from 'react-addons-test-utils';
import jsdomReact from '../../../config/jsdomReact';
import CallCharges from '../../../../app/js/components/CallCharges';
describe('<Components>', () => {
... |
client/src/client-only-routes/ShowSettings.js | HKuz/FreeCodeCamp | import React from 'react';
import PropTypes from 'prop-types';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { Grid, Button } from '@freecodecamp/react-bootstrap';
import Helmet from 'react-helmet';
import { apiLocation } from '../.... |
src/components/Header/Header.js | swhite24/react-starter-kit | /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React, { Component } from 'react';
import styles from './Header.css';
import withStyles from '../../decorators/withStyles';
import Link from '../Link';
import Navigation from '../Navigation';
@withStyles(styles)
class Header extends Compo... |
src/client.js | fiTTrail/fiTTrail | /**
* THIS IS THE ENTRY POINT FOR THE CLIENT, JUST LIKE server.js IS THE ENTRY POINT FOR THE SERVER.
*/
import 'babel/polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import createHistory from 'history/lib/createBrowserHistory';
import useScroll from 'scroll-behavior/lib/useStandardScroll';
imp... |
app/pages/editPage.js | shiyunjie/scs | /**
* Created by shiyunjie on 16/12/6.
*/
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
TextInput,
ActivityIndicator,
ActivityIndicatorIOS,
ProgressBarAndroid,
Platform,
NativeAppEventEmitter,
TouchableOpacity,
ScrollView,
Alert,
} from 'rea... |
webapp/app/components/Restore/Filters/TypeUser/index.js | EIP-SAM/SAM-Solution-Node-js | //
// Radio button type user filters page restore
//
import React from 'react';
import { ControlLabel, FormGroup, Col } from 'react-bootstrap';
import RadioGroup from 'components/RadioGroup';
import styles from 'components/Restore/Filters/styles.css';
/* eslint-disable react/prefer-stateless-function */
export defaul... |
lib/weltmeister/jquery-1.7.1.min.js | KevinTaron/Grits-Evasion | /*! 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... |
client/src/containers/MNISTVisualView.js | scandalouswool/rally | /*
MNIST MACHINE LEARNING VISUALIZATION
*/
import React, { Component } from 'react';
import { connect } from 'react-redux';
import _ from 'lodash';
const Synaptic = require('synaptic');
const Network = Synaptic.Network;
class MNISTVisualView extends Component {
constructor(props) {
super(props);
this.char... |
js/components/commentList/styles.js | acbde45/bookRead |
const React = require('react-native');
const { StyleSheet,Dimensions } = React;
const deviceWidth = Dimensions.get('window').width;
export default {
comment: {
paddingLeft: 15,
paddingRight: 15,
paddingTop: 15,
paddingBottom: 15,
fontSize: 18
}
};
|
app/javascript/mastodon/features/hashtag_timeline/components/column_settings.js | yukimochi/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import Toggle from 'react-toggle';
import AsyncSelect from 'react-select/async';
import { NonceProvider } from 'react-sele... |
src/views/pages/projects/projects-page.js | Metaburn/doocrate | import React, { Component } from 'react';
import { List } from 'immutable';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { projectActions } from 'src/projects';
import { I18n } from 'react-i18next';
import { getAuth } from 'src/auth';
import './projects-page.css';
export class P... |
ajax/libs/yui/3.7.0/event-focus/event-focus-coverage.js | x112358/cdnjs | if (typeof _yuitest_coverage == "undefined"){
_yuitest_coverage = {};
_yuitest_coverline = function(src, line){
var coverage = _yuitest_coverage[src];
if (!coverage.lines[line]){
coverage.calledLines++;
}
coverage.lines[line]++;
};
_yuitest_coverfunc = functio... |
src/icons/IosTrash.js | fbfeix/react-icons | import React from 'react';
import IconBase from './../components/IconBase/IconBase';
export default class IosTrash extends React.Component {
render() {
if(this.props.bare) {
return <g>
<g>
<path d="M320,113V93.3c0-16.2-13.1-29.3-29.3-29.3h-69.5C205.1,64,192,77.1,192,93.3V113h-80v15h21.1l23.6,290.7
c0,16.2,13.1... |
lib/task-tracker-view.js | akalajzi/atom-task-tracker | 'use babel';
import React from 'react';
import ReactDOM from 'react-dom';
import Container from './components/Container';
import taskStore from './task-store';
import * as actions from './actions';
import * as util from './util';
class TaskTrackerView {
constructor(loadedState) {
if (loadedState) {
thi... |
sbApp/Android_views/tabView.js | clearLoveKang/react_native_demo | /**
* Created by DELL on 2017/6/28.
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Image,
Text,
View,
BackAndroid,
ToastAndroid
} from 'react-native';
import TabNavigator from 'react-native-tab-navigator';
import Icon from 'react-native-vector-icons/Ionicon... |
projects/test-empeek/src/components/Comment.js | hodovanyuk/hodovanyuk.github.io | import React, { Component } from 'react';
class Comment extends Component {
render() {
return (
<div className="comment-wrapper">
<div className="avatar-wrapper">
<div className="avatar"></div>
</div>
<div className="comment-t... |
src/svg-icons/action/find-in-page.js | mmrtnz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionFindInPage = (props) => (
<SvgIcon {...props}>
<path d="M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5... |
app/scripts/lib/views/popup/view-mode-switch.js | io-monad/novelous-extension | import React, { PropTypes } from "react";
import classNames from "classnames";
import { translate } from "@io-monad/chrome-util";
import Icon from "../common/icon";
const viewModes = [
{ name: "dashboard", title: translate("viewModeDashboard"), icon: "tachometer" },
{ name: "events", title: translate("viewModeEven... |
src/app/layout/layout_dashboard/layout_dashboard.spec.js | Drathal/react-playground | import React from 'react'
import { shallow } from 'enzyme'
import { Provider } from 'react-intl-redux'
import configureStore from 'redux-mock-store'
import LayoutDashboard from './layout_dashboard'
const store = configureStore()({ intl: { locale: 'en' } })
describe('container <LayoutDashboard />', () => {
it('can r... |
test/containers/CounterPage.spec.js | riccardopiola/LeagueFlash | import { expect } from 'chai';
import React from 'react';
import { mount } from 'enzyme';
import { Provider } from 'react-redux';
import CounterPage from '../../app/containers/CounterPage';
import configureStore from '../../app/store/configureStore';
function setup(initialState) {
const store = configureStore(initi... |
src/app/CheckInInstructions.js | cityofasheville/coa-converse | import React from 'react';
import Collapsible from 'react-collapsible';
const CheckInInstructions = () => (
<div className="form-group">
<Collapsible trigger="Click here for your Check-in Reminder">
<div>
<p>
The purpose of the check-in is to provide an opportunity for regular conversatio... |
src/common/components/Chart.js | caljrimmer/financial-redux-app | import React, { Component } from 'react';
import ChartD3 from '../../utils/chart';
class Chart extends Component {
constructor(props){
super(props);
}
componentDidMount () {
this.chart = new ChartD3(this.refs.chart.getDOMNode());
}
render() {
return (
<div className="col s12 m12">
... |
src/app/modules/Network/components/dialogs/EditProxyDialog.js | toxzilla/app | import React from 'react';
import {connect} from 'cerebral-view-react';
import {Content} from './../../../../common/UserInterface';
import {Dialog} from './../../../Dialog';
import ProxyForm from './../forms/ProxyForm';
export default connect({
dialogName: 'dialog.name',
id: 'dialog.data.id'
}, class EditProxyDi... |
Example/__tests__/index.android.js | magicismight/react-native-advanced-webview | 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 />
);
});
|
ajax/libs/react-data-grid/1.0.59/react-data-grid.ui-plugins.min.js | BenjaminVanRyseghem/cdnjs | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports.ReactDataGrid=e(require("react"),require("react-dom")):t.ReactDataGrid=e(t.React,t.ReactDOM)}(th... |
site/renderPath.js | numso/react-dnd | import React from 'react';
import IndexPage from './IndexPage';
export default function renderPath(path, props, onRender) {
onRender(
IndexPage.renderToString(props)
);
}
|
src/error/index.js | crosslandwa/chippanfire-site | import React from 'react'
import PageTemplate from '../PageTemplate'
const Error = props => (
<PageTemplate>
<h1 className="cpf-header">Not Found</h1>
<p>Oh no! What you're looking for is not here. Maybe you followed an old link.</p>
<p>Try using the navigation above to find what you were after...</p>
... |
client/page/redirects/columns/group.js | johngodley/redirection | /**
* External dependencies
*/
import React from 'react';
/**
* Internal dependencies
*/
import Badge from 'wp-plugin-components/badge';
function GroupColumnn( props ) {
const { row, group } = props;
const foundGroup = group.rows.find( ( found ) => found.id === row.group_id );
if ( foundGroup ) {
return (
... |
__tests__/Style-17.js | buildbreakdo/style-it | import React from 'react';
import { findDOMNode, render } from 'react-dom';
import TestUtils from 'react-addons-test-utils';
const removeNewlines = (string) => (string.replace(/(\r\n|\n|\r)/gm, ''))
import Style from '../src/index.js';
class Item extends React.Component {
render() {
return Style.it(`
l... |
ajax/libs/jQuery-Validation-Engine/2.6.2/jquery-1.8.2.min.js | kitcambridge/cdnjs | /*! jQuery v1.8.2 jquery.com | jquery.org/license */
(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==... |
ajax/libs/forerunnerdb/1.3.628/fdb-core.js | kiwi89/cdnjs | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
src/components/preferences/HashtagList.js | jmporchet/bravakin-client | import React from 'react';
import { connect } from 'react-redux';
import { addHashtag } from '../../actions';
import HashtagForm from './HashtagForm'
import { ListGroup, ListGroupItem } from 'reactstrap';
class HashtagList extends React.Component {
renderHashtags () {
return this.props.hashtags.map((el, index... |
_html/front/dashboard/assets/global/plugins/fancybox/lib/jquery-1.10.1.min.js | Bizdesire/iAdwisor-dev | /*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.1.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.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b... |
packages/material-ui-icons/src/GTranslateRounded.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="M20 5h-9.12L10 2H4c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h7l1 3h8c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zM7.17 14.59c-2.25 0-4.09-1.83-4.09-4.09s1.83-4.09... |
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js | wilsonwp/servidor | 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'));
|
client2/src/components/whiteboard/whiteboard.js | frolicking-ampersand/Board | import React, { Component } from 'react';
import axios from 'axios';
import CanvasDraw from './canvasdraw';
import Gallery from './gallery';
import WhiteboardNav from './whiteboard_nav';
import Webcams from './../webcams/webcam-bar';
import PickColor from './colorbox';
import PickBackground from './bgcolorbox';
import ... |
src/mui/layout/Layout.js | matteolc/admin-on-rest | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import autoprefixer from 'material-ui/utils/autoprefixer';
import CircularPro... |
src/client/app/components/pages/login/index.js | LINKIWI/apache-auth | import {browserHistory} from 'react-router';
import Duo from 'react-duo-web';
import Fingerprint from 'fingerprintjs2';
import Helmet from 'react-helmet';
import LoadingHOC from 'react-loading-hoc';
import Lock from 'react-icons/lib/md/lock-outline';
import React from 'react';
import request from 'browser-request';
imp... |
ajax/libs/yui/3.9.0/event-custom-base/event-custom-base-coverage.js | jamesarosen/cdnjs | if (typeof _yuitest_coverage == "undefined"){
_yuitest_coverage = {};
_yuitest_coverline = function(src, line){
var coverage = _yuitest_coverage[src];
if (!coverage.lines[line]){
coverage.calledLines++;
}
coverage.lines[line]++;
};
_yuitest_coverfunc = functio... |
src/components/Report.js | joelhelbling/spending-report | import React from 'react'
import { Link } from 'react-router'
import { ListGroup, ListGroupItem, Button } from 'react-bootstrap'
import humanize from 'humanize-number'
import LineItem from './LineItem'
import LineItemForm from './LineItemForm'
class Report extends React.Component {
renderLineItem = (report, lineItem... |
assets/jquery-1.11.2.min.js | pbystrup/otto-network-setup | /*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
src/components/DiscussionInput/DiscussionInput.js | nambawan/g-old | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import withStyles from 'isomorphic-style-loader/withStyles';
import MarkdownIt from 'markdown-it';
import { defineMessages, FormattedMessage } from 'react-intl';
// import Calendar from '../Calendar';
import { createD... |
demo/GetBoundingLineRectsDemo.js | rameshvk/j0 | 'use strict';
require('./GetBoundingLineRectsDemo.less');
import BaseComponent from '../ux/BaseComponent.js';
import React from 'react';
import ReactDOM from 'react-dom';
import Demo from './Demo';
import DemoDescription from './DemoDescription.js';
import Movable from '../ux/Movable.js';
import MovableModel from '..... |
tomcat/js/jquery-1.4.2.min.js | 24eme/CIVA | /*!
* 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.
... |
node_modules/jquery-timepicker/test/visuals/i43/js/vendor/jquery-1.10.1.min.js | dilawar/ncbs-hippo | /*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.1.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.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b... |
docs/src/app/components/pages/components/Divider/Page.js | w01fgang/material-ui | import React from 'react';
import Title from 'react-title-component';
import CodeExample from '../../../CodeExample';
import PropTypeDescription from '../../../PropTypeDescription';
import MarkdownElement from '../../../MarkdownElement';
import dividerReadmeText from './README';
import DividerExampleForm from './Exam... |
imports/plugins/core/graphql/server/resolvers/xforms/catalogProduct.js | aeyde/reaction | import { namespaces } from "@reactioncommerce/reaction-graphql-utils";
import { encodeProductOpaqueId } from "./product";
import { assocInternalId, assocOpaqueId, decodeOpaqueIdForNamespace, encodeOpaqueId } from "./id";
export const assocCatalogProductInternalId = assocInternalId(namespaces.CatalogProduct);
export co... |
debugger/cerebral-debugger/src/components/Debugger/index.js | idream3/cerebral | import './styles.css'
import React from 'react'
import {connect} from 'cerebral/react'
import Toolbar from './Toolbar'
import Signals from './Signals'
import Components from './Components'
import Model from './Model'
export default connect({
currentPage: 'debugger.currentPage',
settings: 'debugger.settings',
mu... |
src/components/Recommendations/Recommendations.js | rangle/bridge-events-map-app | import React from 'react';
export default function Recommendations(props) {
return (
<p>{props.amount} {props.amount === 1 ? 'person recommends' : 'people recommend'} this event.</p>
);
}
Recommendations.propTypes = {
amount: React.PropTypes.number,
};
|
webclient/src/index.js | jadiego/bloom | import React from 'react';
import ReactDOM from 'react-dom';
//css
import 'semantic-ui-css/semantic.min.css';
import './index.css';
//app
import App from './components/App';
//redux
import { Provider } from 'react-redux';
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
... |
client/src/components/Draftail/decorators/TooltipEntity.js | jnns/wagtail | import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { Icon } from 'draftail';
import Tooltip from '../Tooltip/Tooltip';
import Portal from '../../Portal/Portal';
const shortenLabel = (label) => {
let shortened = label;
if (shortened.length > 25) {
shortened = `${shortened.slic... |
index.js | iamdustan/redux-devtools-ui | /** @flow */
import React, {Component, PropTypes} from 'react';
import Popout from 'react-popout';
import {
DevTools,
DebugPanel,
LogMonitor
} from 'redux-devtools/lib/react';
const DockIcon = ({
width = 16,
height = 16,
color = 'rgb(79, 90, 101)'
}) => (
<svg width={width} height={height} viewBox={`0 0... |
sites/all/themes/matlock/bootstrap/js/tests/vendor/jquery.js | foxydot/uclaw | /*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery.min.map
*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return... |
components/watch/WatchFace.js | zhiyuanMA/ReactNativeShowcase | import React, { Component } from 'react';
import { StyleSheet, View, Text } from 'react-native';
import PropTypes from 'prop-types';
import Utils from '../utils';
export default class WatchFace extends Component {
static propTypes = {
sectionTime: PropTypes.string.isRequired,
totalTime: PropTypes.... |
packages/material-ui-icons/src/AirplanemodeActiveSharp.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z" /></g></React.Fragmen... |
public/components/home/Home.js | justinsrd/indulge | import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import NavBar from '../navbar/NavBar';
import List from '../list/List';
import Map from '../map/Map';
class Home extends Component {
constructor(props) {
super(props);
this.state = {
showList: false,
currentLocation: undefine... |
src/containers/Admin/Campaigns/new/index.js | EncontrAR/backoffice | import React from 'react';
import LayoutWrapper from '../../../../components/utility/layoutWrapper';
import Box from '../../../../components/utility/box';
import { message, Input, Button, Col, Row, DatePicker } from 'antd';
import moment from 'moment-timezone';
import SelectMP from './selectMissingPerson';
import { Lin... |
src/svg-icons/content/redo.js | matthewoates/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentRedo = (props) => (
<SvgIcon {...props}>
<path d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/>
</Sv... |
wp-content/plugins/woocommerce/assets/js/zeroclipboard/jquery.zeroclipboard.js | Admiraal/WP | /*!
* jquery.zeroclipboard
* Bind to the `beforecopy`, `copy`, `aftercopy`, and `copy-error` events, custom DOM-like events for clipboard injection generated using jQuery's Special Events API and ZeroClipboard's Core module.
* Copyright (c) 2014
* Licensed MIT
* https://github.com/zeroclipboard/jquery.zeroclipboa... |
node_modules/debug/src/browser.js | komun-community/akrostis | /**
* This is the web browser implementation of `debug()`.
*
* Expose `debug()` as the module.
*/
exports = module.exports = require('./debug');
exports.log = log;
exports.formatArgs = formatArgs;
exports.save = save;
exports.load = load;
exports.useColors = useColors;
exports.storage = 'undefined' != typeof chrom... |
ajax/libs/babel-core/4.5.5/browser.js | brix/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.babel=e()}}(function(){var define,module,exports;retu... |
packages/react/src/components/TextInput/ControlledPasswordInput.js | carbon-design-system/carbon-components | import React from 'react';
import classNames from 'classnames';
import PropTypes from 'prop-types';
import { settings } from 'carbon-components';
import { View16, ViewOff16, WarningFilled16 } from '@carbon/icons-react';
import { textInputProps } from './util';
import { warning } from '../../internal/warning';
const { ... |
examples/async/index.js | csaden/redux | import 'babel-core/polyfill';
import React from 'react';
import { Provider } from 'react-redux';
import App from './containers/App';
import configureStore from './store/configureStore';
const store = configureStore();
React.render(
<Provider store={store}>
{() => <App />}
</Provider>,
document.getElementByI... |
ajax/libs/6to5/2.7.4/browser-polyfill.js | ram-nadella/cdnjs | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
src/components/header/ResizeAndColorToneManage.js | numb86/image-editor | // @flow
import React from 'react';
import ClassNames from 'classnames';
import {invertNegaPosi, applyGrayScale} from '../../editImageDataPixel';
import {resizeImageData} from '../../imageData';
type Props = {
imageData: ImageData,
updateImageData: ImageData => void,
};
type State = {
resizeRatio: string,
er... |
AndroidUI/Widgets/WebView/WebView File域同源策略绕过漏洞浅析 _ DroidSec.cn_files/comment_a.js | desword/HackAndroid4Fun | /*
* jQuery JavaScript Library v1.5.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/Popup/__tests__/Popup.js | abdurrahmanekr/react-chat-elements | import React, { Component } from 'react';
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import Popup from '../Popup';
describe('Popup component', () => {
it('should render without issues', () => {
const component = shallow(<Popup show={true}/>);
expect(component.length).toBe(1);
... |
src/components/NotebookListItem/index.js | anibali/showoff | import React from 'react';
import _ from 'lodash';
import { assocIn, merge } from 'icepick';
import { connect } from 'react-redux';
import NotebookListItemView from './NotebookListItemView';
import NotebookListItemEdit from './NotebookListItemEdit';
import complexActionCreators from '../../redux/complexActionCreators'... |
src/App/Navigation/__tests__/Navigation.container-test.js | NativeForms/framework-src | import React from 'react';
import { mount } from 'enzyme';
// app
import NavigationContainer from '../Navigation.container';
describe('components <NavigationContainer />', () => {
const consoleError = global.console.error;
beforeEach(() => {
global.console.error = jest.fn();
});
it('should render correct... |
lib/yuilib/3.17.2/datatable-core/datatable-core-debug.js | rlorenzo/moodle | /*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('datatable-core', function (Y, NAME) {
/**
The core implementation of the `DataTable` and `DataTable.Base` Widgets.
@module datatable
@submodule datatable-core
@sinc... |
js/controls/AttributionControl.js | mekto/brouter-online | import React from 'react';
import Control from './Control';
class AttributionComponent extends React.Component {
state = { layerAttributions: [] }
componentDidMount() {
this.props.map.on('layerchange', ::this.updateLayerAttributions);
}
updateLayerAttributions(e) {
this.setState({
layerAttribu... |
FrontEnd/src/base/bread-crumb/bread-crumb.js | liu599/BlogUpgrade | import React from 'react';
class BreadCrumb extends React.Component {
render(){
return();
}
}
export default BreadCrumb;
|
src/main.js | k2data/svg-react-playground | // @flow
import React from 'react'
import ReactDOM from 'react-dom'
import createStore from './store/createStore'
import { AppContainer as HotContainer } from 'react-hot-loader'
import AppContainer from './containers/AppContainer'
import 'isomorphic-fetch'
import 'url-search-params-polyfill'
// =======================... |
public/js/components/notifications/Notification.react.js | TRomesh/Coupley | import React from 'react';
import ListItem from 'material-ui/lib/lists/list-item';
import Divider from 'material-ui/lib/divider';
import Avatar from 'material-ui/lib/avatar';
import Colors from 'material-ui/lib/styles/colors';
import IconButton from 'material-ui/lib/icon-button';
import MoreVertIcon from 'material-ui/l... |
src/routes/home/index.js | Gtallant/my-life-organizer | import React from 'react';
import Home from './Home';
export const path = '/';
export const action = async (state) => {
state.context.onSetTitle('My Life Organizer');
return <Home />;
};
|
ajax/libs/react-instantsearch/4.0.7/Connectors.min.js | jdh8/cdnjs | /*! ReactInstantSearch 4.0.7 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */
!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.Connectors=t(require("reac... |
src/app/components/localSignupForm.js | benigeri/soapee-ui | import React from 'react';
import LocalAuthenticationForm from 'components/localAuthenticationForm';
import ValidateSignupFields from 'services/validateSignupFields';
import authActions from 'actions/auth';
export default React.createClass( {
getInitialState() {
return {
errors: {}
};... |
Libraries/Components/Slider/Slider.js | pandiaraj44/react-native | /**
* 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.
*
* @format
* @flow strict-local
*/
import * as React from 'react';
import Platform from '../../Utilities/Platform';
import Slider... |
website/app/containers/App/index.js | mattroid/WildWest | /**
*
* App.react.js
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*/
import React from 'react';
import Helmet from 'react-helmet';
import styled from 'styled-components';
import Header from 'components/Header';... |
ajax/libs/yui/3.7.2/datatable-body/datatable-body.js | sevypannella/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... |
files/videojs/5.9.1/video.js | ezekutor/jsdelivr | /**
* @license
* Video.js 5.9.1 <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 Versi... |
examples/md/index.js | FormidableLabs/spectacle | import React from 'react';
import { render } from 'react-dom';
import {
Box,
Deck,
FlexBox,
FullScreen,
Progress,
MarkdownSlideSet
} from 'spectacle';
// SPECTACLE_CLI_MD_START
import mdContent from './slides.md';
// SPECTACLE_CLI_MD_END
// SPECTACLE_CLI_THEME_START
const theme = {};
// SPECTACLE_CLI_THE... |
Realization/frontend/czechidm-core/src/components/advanced/AuthorizationPolicyInfo/AuthorizationPolicyInfo.js | bcvsolutions/CzechIdMng | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
//
import * as Basic from '../../basic';
import * as Utils from '../../../utils';
import { AuthorizationPolicyManager, SecurityManager } from '../../../redux';
import AbstractEntityInfo from '../EntityInfo/AbstractEnti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.