path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
Contrib.SignalR.SignalRMessageBus/Chat1/Scripts/jquery-1.6.4.js | Teleopti/signalr-signalr-messagebus | /*!
* jQuery JavaScript Library v1.6.4
* 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/js/lib/jquery-1.8.0.js | TheThirdOne/piskel | /*!
* jQuery JavaScript Library v1.8.0
* 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: Thu Aug 09 2012 16:24:48 GMT-0400 (Eastern Daylight Time)
*/
(function(... |
ajax/libs/angular.js/0.9.2/angular-scenario.min.js | ZDroid/cdnjs | /*!
* 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.
... |
app/javascript/mastodon/features/direct_timeline/components/conversation.js | dwango/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import StatusContainer from '../../../containers/status_container';
export default class Conversation extends ImmutablePureComp... |
client/src/auth/SignUp.js | flyrightsister/boxcharter | /*
* Copyright (c) 2017 Bonnie Schulkin. All Rights Reserved.
*
* This file is part of BoxCharter.
*
* BoxCharter is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, either version 3 of the License, ... |
ajax/libs/yasgui/1.1.4/yasgui.min.js | BobbieBel/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;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r... |
files/react/0.10.0/JSXTransformer.js | cedricbousmanne/jsdelivr | /**
* JSXTransformer v0.10.0
*/
!function(e){if("object"==typeof exports)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.JSXTransformer=e()}}(function(){var define,module,... |
ajax/libs/forerunnerdb/1.3.717/fdb-core.min.js | honestree/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... |
src/EventCard.js | Samuron/WaveHustle | import React from 'react';
import firebase from 'firebase';
import { Card, CardActions, CardHeader, CardMedia, CardTitle, CardText } from 'material-ui/Card';
import RaisedButton from 'material-ui/RaisedButton';
import Dialog from 'material-ui/Dialog';
import Avatar from 'material-ui/Avatar';
import { List, ListItem } f... |
src/onemin-writing/ChildQues4.js | mrinalkrishnanm/Sld | import React from 'react';
import Navbar from '../Navbar';
import Modal from 'react-modal';
import { browserHistory } from "react-router";
import _ from 'lodash';
class ChildQues4 extends React.Component{
constructor(){
super();
this.state={
counter: 10,
visibility: "o-0",
... |
internals/templates/containers/HomePage/Component.js | akash6190/apollo-starter | /*
* HomePage
*
* This is the first thing users see of our App, at the '/' route
*
* NOTE: while this component should technically be a stateless functional
* component (SFC), hot reloading does not currently support SFCs. If hot
* reloading is not a necessity for you then you can refactor it and remove
* the l... |
app/javascript/mastodon/features/compose/components/compose_form.js | mhffdq/mastodon | import React from 'react';
import CharacterCounter from './character_counter';
import Button from '../../../components/button';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import ReplyIndicatorContainer from '../containers/reply_indicator_container';
import Autosugges... |
src/components/tests/Character.spec.js | laurazenc/react-marvel-comics | import React from 'react';
import {shallow} from 'enzyme';
import {Character} from './../';
describe('<Character />', () => {
const character = {
thumbnail: {
path: '',
url: ''
},
name: 'Spider-man'
};
it('Should render the character\'s name', () => {
const wrapper = shallow(<Charac... |
src/icons/SearchIcon.js | SemaiCZE/perf-data-visualizer | import React from 'react';
import Icon from 'react-fontawesome';
const SearchIcon = props => <Icon {...props} name="search" />;
export default SearchIcon;
|
src/components/header.js | donpinkus/boilerplate-single-server | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router';
class Header extends Component {
renderLinks() {
if (this.props.authenticated) {
// show a link to sign out
return (
<li className="nav-item">
<Link className="nav-link" to="/signout"... |
ajax/libs/rxjs/2.2.22/rx.all.compat.js | whardier/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false... |
ajax/libs/forerunnerdb/1.3.57/fdb-core+views.js | maruilian11/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/javascript/mastodon/features/report/components/status_check_box.js | 8796n/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import emojify from '../../../emoji';
import Toggle from 'react-toggle';
class StatusCheckBox extends React.PureComponent {
static propTypes = {
status: ImmutablePropTypes.map.isRequired,
... |
packages/material-ui-icons/src/Textsms.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z" /><path fill="none" d="M0 0h24v24H0z" /></React.Fragment>
, 'Textsm... |
ajax/libs/react/0.12.1/react-with-addons.min.js | jamesarosen/cdnjs | /**
* React (with addons) v0.12.1
*
* 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... |
src/components/settings/recipes/RecipeItem.js | GustavoKatel/franz | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { observer } from 'mobx-react';
import RecipePreviewModel from '../../../models/RecipePreview';
export default @observer class RecipeItem extends Component {
static propTypes = {
recipe: PropTypes.instanceOf(RecipePreviewModel)... |
ajax/libs/babel-core/5.8.1/browser-polyfill.min.js | tonytomov/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... |
node_modules/react-overlays/lib/Position.js | NathanBWaters/website | 'use strict';
exports.__esModule = true;
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
function _interopR... |
fields/types/relationship/RelationshipField.js | pswoodworth/keystone | import async from 'async';
import Lists from '../../../admin/client/stores/Lists';
import Field from '../Field';
import React from 'react';
import Select from 'react-select';
import xhr from 'xhr';
import { Button, InputGroup } from 'elemental';
function compareValues (current, next) {
const currentLength = current ?... |
ajax/libs/thorax/2.0.0rc1/thorax.min.js | matt-h/cdnjs | (function(e,t){"use strict";function _(e){var t=e.length,n=y.type(e);return y.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||n!=="function"&&(t===0||typeof t=="number"&&t>0&&t-1 in e)}function P(e){var t=D[e]={};return y.each(e.match(w)||[],function(e,n){t[n]=!0}),t}function j(e,n,r,i){if(!y.acceptData(e))return;var ... |
examples/src/components/AllowCreate.js | dhamaniasad/react-select | import React from 'react';
import Select from 'react-select';
const FLAVOURS = [
{ label: 'Chocolate', value: 'chocolate' },
{ label: 'Vanilla', value: 'vanilla' },
{ label: 'Strawberry', value: 'strawberry' },
{ label: 'Caramel', value: 'caramel' },
{ label: 'Cookies and Cream', value: 'cookiescream' },
{ label... |
src/svg-icons/av/mic-none.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvMicNone = (props) => (
<SvgIcon {...props}>
<path d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm-1.2-9.1c0-.66.54-1.2 1.2-1.2.66 0 1.2.54 1.2 1.2l-.01 6.2c0 .66-.53 ... |
src/components/Feedback/Feedback.js | uptive/react-starter-kit | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import withStyles from 'isomorp... |
src/client/search/SearchResultUserPreview.js | busyorg/busy | import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import Avatar from '../components/Avatar';
const SearchResultUserPreview = ({ username }) => (
<div className="Search__user">
<Link to={`/@${username}`}>
<Avatar username={username} size={40} />
</Li... |
test/control-strip-defaults-component-spec.js | peterox/react-redux-form | /* eslint react/no-multi-comp:0 react/jsx-no-bind:0 */
import { assert } from 'chai';
import React from 'react';
import TestUtils from 'react-dom/test-utils';
import { testCreateStore, testRender } from './utils';
import {
modelReducer,
formReducer,
} from '../src';
import ComponentWrapper from '../src/component... |
Components/Dropdown.js | webismymind/Mycelium | import React from 'react';
import Component from './Component';
import { Easing, StyleSheet, Text, View, Animated ,TouchableOpacity,FlatList} from 'react-native';
import Icon from 'react-native-vector-icons/FontAwesome';
import Stack from'../Utils/Stack';
class DropdownModale extends Component {
onItemSelected... |
ajax/libs/zeroclipboard/2.0.3/ZeroClipboard.js | thetable/cdnjs | /*!
* ZeroClipboard
* The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
* Copyright (c) 2014 Jon Rohan, James M. Greene
* Licensed MIT
* http://zeroclipboard.org/
* v2.0.3
*/
(function(window, undefined) {
"use strict";... |
src/components/hyo.todoapp.simple/TodoItem.js | hyoushke/hyo-reactredux-generator | import React from 'react';
class TodoItem extends React.Component{
constructor(props){
super(props);
this.state = {
spoke: false,
count: 0
};
this.onClickUpdate = this.onClickUpdate.bind(this);
this.onClickRemove = this.onClickRemove.bind(this);... |
ajax/libs/react/0.4.2/react.min.js | mayur404/cdnjs | /**
* React v0.4.2
*
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
sites/default/files/js/js_89YpMKbzHT8GmR3uBXdhlSlb8biiUgtwnIwW6PNuGwI.js | rujiali/cooking4 | /*!
* jQuery JavaScript Library v2.1.0
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-01-23T21:10Z
*/
(function( global, factory ) {
if (... |
docs/src/pages/customization/typography/ResponsiveFontSizesChart.js | lgollut/material-ui | import React from 'react';
// import of a small, pure module in a private demo
// bundle size and module duplication is negligible
/* eslint-disable-next-line no-restricted-imports */
import { convertLength } from '@material-ui/core/styles/cssUtils';
import { makeStyles, createMuiTheme, responsiveFontSizes } from '@mat... |
examples/todomvc/containers/App.js | ytiurin/redux | import React, { Component } from 'react';
import TodoApp from './TodoApp';
import { createRedux } from 'redux';
import { Provider } from 'redux/react';
import * as stores from '../stores';
const redux = createRedux(stores);
export default class App extends Component {
render() {
return (
<Provider redux={... |
client/src/components/Listing/AddListing/AddListingComponents/ListingBody.js | Darkrender/raptor-ads | import React from 'react';
import { Form } from 'semantic-ui-react';
const ListingBody = ({ body, onChange, getFormClass }) =>
<Form.TextArea
rows="5"
label="Job Description"
placeholder="Tell us about the job..."
name="body"
value={body}
onChange={e => onChange(e)}
className={getFormClas... |
frontend/js/components/organisms/MenuListItem.js | Code4HR/okcandidate-platform | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router';
import Icon from './../atoms/Icon';
class MenuListItem extends Component {
render() {
return (
<li>
<Link to={this.props.href}>
{
this.props.icon &&
... |
ajax/libs/d3fc/10.0.0/d3fc.bundle.js | Amomo/cdnjs | !function() {
var d3 = {
version: "3.5.17"
};
var d3_arraySlice = [].slice, d3_array = function(list) {
return d3_arraySlice.call(list);
};
var d3_document = this.document;
function d3_documentElement(node) {
return node && (node.ownerDocument || node.document || node).documentElement;
}
fun... |
Libraries/Image/Image.ios.js | zhangwei001/react-native | /**
* 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... |
src/svg-icons/action/credit-card.js | pradel/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionCreditCard = (props) => (
<SvgIcon {...props}>
<path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"/>
</SvgIcon>
);
Action... |
packages/react-error-overlay/src/components/CodeBlock.js | gutenye/create-react-app | /**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* @flow */
import React from 'react';
import { redTransparent, yellowTransparent } from '../styles';
const _preStyle = {
display: 'b... |
app/components/Progressivo/index.js | rvsiqueira/client | import React from 'react';
import Button from 'components/Button';
import Body from 'components/Body';
import styles from './styles.css';
import play from 'assets/icon/play-cover.svg';
import lines from 'assets/icon/line-bg.svg';
function Progressivo() {
return (
<section>
<div className={styles.video}>
... |
src/client.js | Artemuch727/UserList-React-Isomorhic- | /**
* 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 React from 'react';
import... |
ajax/libs/choices.js/2.2.3/choices.js | sufuf3/cdnjs | /*! choices.js v2.2.2 | (c) 2016 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check... |
test/specs/views/Feed/FeedEvent-test.js | Semantic-Org/Semantic-UI-React | import faker from 'faker'
import _ from 'lodash'
import React from 'react'
import FeedEvent from 'src/views/Feed/FeedEvent'
import FeedLabel from 'src/views/Feed/FeedLabel'
import * as common from 'test/specs/commonTests'
describe('FeedEvent', () => {
common.isConformant(FeedEvent)
common.rendersChildren(FeedEven... |
logspace-frontend-new/src/main/index.js | Indoqa/logspace | /*
* Logspace
* Copyright (c) 2015 Indoqa Software Design und Beratung GmbH. All rights reserved.
* This program and the accompanying materials are made available under the terms of
* the Eclipse Public License Version 1.0, which accompanies this distribution and
* is available at http://www.eclipse.org/legal/epl-... |
src/parser/druid/balance/modules/Abilities.js | FaideWW/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import CoreAbilities from 'parser/core/modules/Abilities';
import ISSUE_IMPORTANCE from 'parser/core/ISSUE_IMPORTANCE';
class Abilities extends CoreAbilities {
spellbook() {
const combatant = this.selectedCom... |
ajax/libs/jquery/1.11.1-rc1/jquery.js | dmsanchez86/cdnjs | /*!
* jQuery JavaScript Library v1.11.1-rc1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-04-18T15:33Z
*/
(function( global, factory ) {
... |
docs/src/examples/collections/Table/Variations/TableExampleBasic.js | Semantic-Org/Semantic-UI-React | import React from 'react'
import { Table } from 'semantic-ui-react'
const TableExampleBasic = () => (
<Table basic>
<Table.Header>
<Table.Row>
<Table.HeaderCell>Name</Table.HeaderCell>
<Table.HeaderCell>Status</Table.HeaderCell>
<Table.HeaderCell>Notes</Table.HeaderCell>
</Tab... |
node_modules/babel-register/node_modules/core-js/client/shim.js | bdkay/node-that-band | /**
* 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... |
src/routes.js | Syncano/syncano-dashboard | import React from 'react';
import { Route, IndexRedirect, IndexRoute } from 'react-router';
import { RoutesUtil } from './utils';
// Pages
import AppPage from './pages/app';
import ClassesPage from './pages/classes';
import DashboardPage from './pages/dashboard';
import InstancePage from './pages/instance';
import Pr... |
work_stage/db_manager/Admin/doc/html/searchindex.js | larenz/Gokujo | Search.setIndex({objects:{"":{"$cfg['ExecTimeLimit']":[13,0,1,"cfg_ExecTimeLimit"],"$cfg['Servers'][$i]['SignonURL']":[13,0,1,"cfg_Servers_SignonURL"],"$cfg['UploadDir']":[13,0,1,"cfg_UploadDir"],"$cfg['Servers'][$i]['socket']":[13,0,1,"cfg_Servers_socket"],"$cfg['Servers'][$i]['controlpass']":[13,0,1,"cfg_Servers_cont... |
ajax/libs/highcharts/3.0.10/highcharts.src.js | jasonpang/cdnjs | // ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v3.0.10 (2014-03-10)
*
* (c) 2009-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeou... |
examples/src/app.js | paulmillr/react-select | /* eslint react/prop-types: 0 */
import React from 'react';
import ReactDOM from 'react-dom';
import Select from 'react-select';
import Creatable from './components/Creatable';
import Contributors from './components/Contributors';
import GithubUsers from './components/GithubUsers';
import CustomComponents from './com... |
src/components/Containers.react.js | saiberz/kitematic | import $ from 'jquery';
import _ from 'underscore';
import React from 'react';
import Router from 'react-router';
import containerStore from '../stores/ContainerStore';
import ContainerList from './ContainerList.react';
import Header from './Header.react';
import metrics from '../utils/MetricsUtil';
import shell from '... |
routes/index.js | RyanCCollins/ryancollins.io | import keystone from 'keystone';
import webpack from 'webpack';
import webpackMiddleware from 'webpack-dev-middleware';
import webpackHotMiddleware from 'webpack-hot-middleware';
import express from 'express';
import config from '../webpack.config.js';
import createTemplate from './utils/createTemplate';
const isDevel... |
docs/html/jquery.js | emojicode/emojicode | /*
@licstart The following is the entire license notice for the
JavaScript code in this file.
Copyright (C) 1997-2017 by Dimitri van Heesch
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software ... |
packages/material-ui-icons/src/PolicyTwoTone.js | callemall/material-ui | import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M5 6.3V11c0 4.52 2.98 8.69 7 9.93 1.74-.53 3.28-1.62 4.47-3.04l-1.72-1.72c-1.94 1.29-4.58 1.07-6.29-.64-1.95-1.95-1.95-5.12 0-7.07 1.95-1.95 5.12-1.95 7.07 0 1.71 1.71 1.92 4.35.6... |
src/FluxContainer.js | blazenko/flux | /**
* Copyright (c) 2014-2015, 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.
*
* @providesMod... |
src/components/tools/conversation.js | Lokiedu/libertysoil-site | /*
This file is a part of libertysoil.org website
Copyright (C) 2016 Loki Education (Social Enterprise)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, o... |
spec/client/ProfileSpecs/BioListEntrySpec.js | bracegirdles/bracegirdles | import fakeData from './fakeData.js';
import BioListEntry from '../../../client/ProfileComponents/BioListEntry.jsx';
import {expect} from 'chai';
import ReactTestUtils from 'react-addons-test-utils';
import React from 'react';
describe('BioListEntry', function() {
var {
findRenderedDOMComponentWithClass,... |
admin/src/react/instance-list-page/flag-group-box.js | sggdv/vegan | import React, { Component } from 'react';
import {
Glyphicon,
Button,
Popover,
OverlayTrigger,
} from 'react-bootstrap';
import Flag from './flag';
class FlagGroupBox extends Component {
constructor(props) {
super(props);
let current = props.current || '#FD7D7F';
this.state = {
current,
colors: ['#F... |
react/HeartIcon/HeartIcon.iconSketch.js | seekinternational/seek-asia-style-guide | import React from 'react';
import HeartIcon from './HeartIcon';
export const symbols = {
'HeartIcon -> with filled': <HeartIcon filled={true} />,
'HeartIcon -> without filled': <HeartIcon filled={false} />
};
|
static/build/app.bundle.js | c4bbage/antSword | /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... |
client/modules/Admin/components/AdminList/AdminList.js | lordknight1904/bigvnadmin | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { FormControl, Button, Table } from 'react-bootstrap';
import { getAdminSearch } from '../../AdminActions';
import { getAdmin, getSearch, getCurrentPage } from '../../AdminReducer';
import { getId... |
docs-ui/components/loadingError.stories.js | ifduyue/sentry | import React from 'react';
import {storiesOf} from '@storybook/react';
import {action} from '@storybook/addon-actions';
import {withInfo} from '@storybook/addon-info';
import LoadingError from 'app/components/loadingError';
// eslint-disable-next-line
storiesOf('LoadingError', module)
.add(
'default',
withI... |
src/javascript/components/Footer.js | knowbody/redux-react-router-example-app | import React, { Component } from 'react';
const styles = {
layout: {
height: '100px'
},
footerText: {
textAlign: 'right',
padding: '40px 0',
fontSize: '10px'
}
};
export default class Footer extends Component {
render() {
return (
<div style={styles.layout}>
<div style... |
src/web/forms/fields/GuideTools/index.js | asha-nepal/AshaFusionCross | /**
* Copyright 2017 Yuichiro Tsuchiya
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
packages/material-ui-icons/src/FindReplace.js | AndriusBil/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let FindReplace = props =>
<SvgIcon {...props}>
<path d="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1.12-1... |
src/components/photoshop/PhotoshopFields.js | Scratch-it/react-color | 'use strict' /* @flow */
import React from 'react'
import ReactCSS from 'reactcss'
import color from '../../helpers/color'
import shallowCompare from 'react-addons-shallow-compare'
import { EditableInput } from '../common'
export class PhotoshopPicker extends ReactCSS.Component {
shouldComponentUpdate = shallowCom... |
local-cli/templates/HelloWorld/index.ios.js | doochik/react-native | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
export default class HelloWorld extends Component {
render() {
return (
<View style={styles.containe... |
packages/react-scripts/fixtures/kitchensink/src/features/env/PublicUrl.js | digitalorigin/create-react-app | /**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
export default () => (
<span id="feature-public-url">{process.env.PUBLIC_URL}.</span>
);
|
ajax/libs/react-data-grid/0.14.2/react-data-grid.js | kennynaoh/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["react", "react-dom"], factory);
else if(typeof exports === 'obje... |
src/parser/shaman/shared/spells/AstralShift.js | fyruna/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import { formatThousands, formatNumber } from 'common/format';
import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox';
import Analyzer from 'parser/core/Analyzer';
const ASTRAL_SHIFT_DR = ... |
dispatch/static/manager/src/js/components/ItemList/ItemListItemPlaceholder.js | ubyssey/dispatch | import React from 'react'
import PlaceholderBar from '../PlaceholderBar'
export default function ItemListItemPlaceholder() {
return (
<li className='c-item-list__item'>
<div className='c-item-list__item__cell c-item-list__item__cell--checkbox'>
<input
type='checkbox'
disabled={... |
src/components/safety/next-video.js | mozilla/advocacy.mozilla.org | import React from 'react';
import galleryData from './gallery-data.js';
var Router = require(`react-router`);
var Link = Router.Link;
var PosterImage = React.createClass({
contextTypes: {
intl: React.PropTypes.object
},
onClick: function(e) {
window.scrollTo(0, 0);
e.stopPropagation();
if (this.p... |
src/interface/SpecListing/index.js | fyruna/WoWAnalyzer | import React from 'react';
import DocumentTitle from 'interface/common/DocumentTitle';
import AVAILABLE_CONFIGS from 'parser/AVAILABLE_CONFIGS';
import './SpecListing.css';
import Spec from './Spec';
class SpecListing extends React.PureComponent {
render() {
return (
<>
<DocumentTitle title="Spe... |
src/parser/rogue/subtlety/modules/core/ComboPoints.js | fyruna/WoWAnalyzer | import React from 'react';
import Analyzer from 'parser/core/Analyzer';
import SPELLS from 'common/SPELLS/index';
import SpellLink from 'common/SpellLink';
import resourceSuggest from 'parser/shared/modules/resourcetracker/ResourceSuggest';
import ComboPointTracker from '../../../shared/resources/ComboPointTracker';
... |
src/components/Image.js | aalselius/Test | import React from 'react';
const Image = (props) => {
return (
<div className="image">
<img src={props.url} alt="Giphy" className="giphImage"/>
</div>
);
}
export default Image; |
node_modules/react-native-vector-icons/lib/icon-button.js | RahulDesai92/PHR | import isString from 'lodash/isString';
import omit from 'lodash/omit';
import pick from 'lodash/pick';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { StyleSheet, Text, TouchableHighlight, View } from './react-native';
const styles = StyleSheet.create({
container: {
flexDi... |
examples/todo/js/components/TodoListFooter.js | almasakchabayev/relay | /**
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNES... |
packages/components/src/VirtualizedList/CellMappedData/CellMappedData.component.js | Talend/ui | import React from 'react';
import PropTypes from 'prop-types';
import { defaultColumnConfiguration } from '../Content.component';
const { cellRenderer: DefaultCellRenderer } = defaultColumnConfiguration;
function CellMappedData(props) {
const { cellData, columnData } = props;
const { valuesMap, separator = ', ', .... |
examples/counter/containers/CounterApp.js | wbecker/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... |
node_modules/react-router/es6/RouteContext.js | SlateRobotics/slate-website | 'use strict';
import warning from './routerWarning';
import React from 'react';
var object = React.PropTypes.object;
/**
* The RouteContext mixin provides a convenient way for route
* components to set the route in context. This is needed for
* routes that render elements that want to use the Lifecycle
* mixin t... |
app/components/chat/NicknameList.js | irc-moo/electron-client | import React from 'react'
export default (props) => {
return (
<div>
</div>
)
}
type Props = {
}
const defaultProps = {}
|
src/browser/app/App.js | sikhote/davidsinclair | // @flow
import type { State } from '../../common/types';
import * as themes from '../themes';
import Container from './Container';
import Header from './Header';
import Helmet from 'react-helmet';
import React from 'react';
import common from '../../common/app/common';
import favicon from '../../common/app/favicon';
i... |
ajax/libs/material-ui/4.11.3-deprecations.0/esm/List/List.min.js | cdnjs/cdnjs | import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import withStyles from"../styles/withStyles";import ListContext from"./ListContext";expor... |
client/modules/App/__tests__/App.spec.js | Skrpk/mern-sagas | import React from 'react';
import PropTypes from 'prop-types';
import test from 'ava';
import sinon from 'sinon';
import Enzyme, { shallow, mount } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import { MemoryRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
import { App } from '... |
analysis/warlockaffliction/src/CHANGELOG.js | anom0ly/WoWAnalyzer | import { change, date } from 'common/changelog';
import SPELLS from 'common/SPELLS';
import { Dambroda, Sharrq, Maleficien, Akhtal } from 'CONTRIBUTORS';
import { SpellLink } from 'interface';
import React from 'react';
export default [
change(date(2021, 1, 18), <>Added support for <SpellLink id={SPELLS.SCOURING_TI... |
test/FormSpec.js | mmarcant/react-bootstrap | import React from 'react';
import $ from 'teaspoon';
import Form from '../src/Form';
import FormGroup from '../src/FormGroup';
describe('<Form>', () => {
it('should support horizontal', () => {
$(
<Form horizontal className="my-form">
<FormGroup />
</Form>
)
.shallowRender()
... |
app/js/HomeScreenPage.js | blockstack/blockstack-portal | import PropTypes from 'prop-types'
import React from 'react'
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import Navbar from './components/Navbar'
import { AppsActions } from './store/apps'
import { Box, Flex, Type } from 'blockstack-ui'
import { Hover } from 'react-powerplug'
import... |
ajax/libs/jquery/1.7.2/jquery.min.js | aminghaderi/cdnjs | /*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde... |
wa-data/public/shop/themes/fonarik/js/jquery-1.4.2.min.js | dmitriyzhdankin/fonarikloc | /*!
* 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.
... |
dva/dva-quickstart/src/components/Users/UserList.js | imuntil/React | import React from 'react'
import PropTypes from 'prop-types'
import { Table, message, Popconfirm } from 'antd'
const UserList = ({ total, current, loading, dataSource}) => {
const columns = [{
title: '姓名',
dataIndex: 'name',
key: 'name',
render: text => <a href="#">{text}</a>
}, {
title: '年龄',
... |
packages/react-server-examples/bike-share/pages/not-found.js | emecell/react-server | import React from 'react';
import {RootElement} from 'react-server';
import Header from '../components/header';
import Footer from '../components/footer';
import Error from '../components/error';
import '../styles/index.scss';
export default class NotFoundPage {
handleRoute () {
return {code: 404, hasDocument: tr... |
ajax/libs/cellx/1.6.75/cellx.js | joeyparrish/cdnjs | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.cellx = factory());
}(this, (function () { 'use strict';
var ErrorLogger = {
_handler: null,
/**
* @typesign (handler:... |
node_modules/react-dom/lib/ReactMultiChild.js | ASIX-ALS/asix-final-project-frontend | /**
* Copyright 2013-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.
*
*/
'use strict... |
src/components/SignupForm.js | react-auth/react-auth | import React from 'react';
import { Link } from 'react-router';
import utils from '../utils';
import context from './../context';
import LoginLink from '../components/LoginLink';
import { signup, loginWithCredentials } from '../actions';
import LoadingText from '../components/LoadingText';
import SocialLoginButton fr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.