code
stringlengths
2
1.05M
import { EntityInstance, SelectionState, ContentState } from 'draft-js'; import Immutable from 'immutable'; export default class EntityState extends Immutable.Record({ entity: null, entityKey: null, entitySelection: null }) { /** * Create a new state from EditorState * * @param {ContentState} contentS...
'use strict'; angular.module('exploreAroundApp.util', []);
export const create = (el)=>{ el = el || 'div'; const holder = document.createElement(el); const obj = { addId: (id)=>{ holder.id = id; return obj; } , addAttribute: (attrs)=>{ if (attrs){ for (let a in attrs){ if (attrs[a]){ holder[a] = attrs[a]; ...
module.exports = function(LocationSchema) { const read = require('read-file'); const path = require('path'); const pathToInput = path.join(__dirname, '/input.json'); const inputLocations = JSON.parse(read.sync(pathToInput)); inputLocations.forEach(function(loc) { LocationSchema.findOneAndUpdate( ...
;'use strict'; angular.module('app') .controller('AdminController', ['$rootScope','$scope', '$window', 'Hospital', 'hospital', 'departments', function($rootScope,$scope,$window,Hospital,hospital,departments){ var scope = this; scope.status = {}; scope.hospital = hospital; scope.depa...
var assert = require('assert'); var helpers = require('../lib/helpers') , doc = require('../lib/doc.json'); describe('Helper', function() { describe('safeGet()', function() { const clanState = { name_info: { clan_name: "foo", other: { ...
import _ from 'lodash' import React, { Component } from 'react'; import { connect } from 'react-redux'; import { fetchPosts } from '../actions'; import { Link } from 'react-router-dom'; class PostsIndex extends Component { componentDidMount() { this.props.fetchPosts() } renderPosts(){ return _.map(thi...
/* globals $ */ /* Create a function that takes a selector and COUNT, then generates inside a UL with COUNT LIs: * The UL must have a class `items-list` * Each of the LIs must: * have a class `list-item` * content "List item #INDEX" * The indices are zero-based * If the provided selector does ...
window.ForgeWebComponents = window.ForgeWebComponents || {}; window.ForgeWebComponents.Settings = window.ForgeWebComponents.Settings || {}; window.ForgeWebComponents.Settings.RootUrl = "/api-mock/" window.ForgeWebComponents.Config = { "deltatre.forge.main": { "WebComponentsConfiguration": { "SiteRoot": "//cdn.raw...
var Icon = require('../icon'); var element = require('magic-virtual-element'); var clone = require('../clone'); exports.render = function render(component) { var props = clone(component.props); delete props.children; return element( Icon, props, element('path', { d: 'M18 11l5-5-5-5v3h-4v4h4v3zm2 4.5c...
/* eslint-env node */ const { Listener } = require("discord-akairo"); const Table = require("cli-table"); const config = require("./../../config.json"); function exec() { this.client.user.setGame(config.default_game.replace("{guildCount}", this.client.guilds.size).replace("{prefix}", config.prefix).replace("{botNa...
// app.js // INICIANDO ========================================== var express = require('express'); // cria nossa aplicação Express var app = express(); // MONGODB ============================================ // mongoose for mongodb var mongoose = require('mongoose'); // conectando ao mongodb no mLab, criando...
"use strict"; var NameList = (function () { function NameList() { this.names = ['Dijkstra', 'Knuth', 'Turing', 'Hopper']; } NameList.prototype.get = function () { return this.names; }; NameList.prototype.add = function (value) { this.names.push(value); }; NameList.pro...
import React, { Component, PropTypes } from 'react'; import { Button, Text } from 'native-base'; import { FormattedMessage, } from 'react-intl'; export default class ButtonComponent extends Component { static propTypes = { label: PropTypes.oneOfType([ PropTypes.string, PropTypes.object, ]).isRequ...
/*global app, $, Lang */ 'use strict'; require(['app'], function() { /** * Edit a language * */ $('.edit-lang').click(function() { var tag = $('#language-filter-form [name="tag"]').val(); app.dialog(app.getUri('edit-language', {tag : tag})); }); /** * Delete a language...
require.config({ paths: { 'jquery': '../vendor/jquery/dist/jquery', 'bootstrap': '../vendor/bootstrap/dist/js/bootstrap', 'validator': '../vendor/bootstrap-validator/dist/validator' } }); require(['jquery'], function ($) { require(['validator', 'bootstrap', 'validator'], function (...
function euler204() { // Good luck! return true } euler204()
ig.module( 'game.main' ) .requires( 'impact.game', 'impact.font', 'plugins.camera', 'plugins.touch-button', 'plugins.impact-splash-loader', 'plugins.gamepad', 'game.entities.player', 'game.entities.blob', 'game.levels.title', 'game.levels.grasslands', 'game.levels.snowhills' ) .defines(function(){ ...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.0-rc1 */ (function( window, angular, undefined ){ "use strict"; /** * @ngdoc module * @name material.components.card * * @description * Card components. */ angular.module('material.components.card', [ 'material.cor...
//Change ifame size, so that the bot panel can be there var frame = document.getElementById("game_frame"); if(frame) { $(frame).width((980 + 501) + "px"); //Force page to reload to try to counter the ban setTimeout(function() { location.reload(); }, 2*60*60*1000); } function setup_facebook() {...
#!/usr/bin/env node 'use strict'; /* eslint-disable no-console */ const spawnSync = require( 'child_process').spawnSync; const fs = require('fs'); const temp = require('temp'); const { blue, green, gray } = require('chalk'); const path = require('path'); const glob = require('glob'); const cliBuilds = 'https://github...
/* * MainScene.js * 2015/03/10 * @auther minimo * This Program is MIT license. * */ tm.define("tactics.MainScene", { superClass: tm.app.Scene, //マルチタッチ補助クラス touches: null, touchID: -1, //タッチ情報 startX: 0, startY: 0, touchTime: 0, moveX: 0, moveY: 0, beforeX: 0, ...
import { Map, Record } from 'immutable'; import unitOfWorkMapping, { cartMetadata, } from '../__mocks__/unitOfWorkMapping'; import UnitOfWork from '../src/UnitOfWork'; let unitOfWork = null; beforeEach(() => { unitOfWork = new UnitOfWork(unitOfWorkMapping, true); }); describe('UnitOfWork', () => { test('register...
/** * 使用正确的this指向 */ var count = 1; var container = document.getElementById('container'); function getUserAction() { console.log(this) container.innerHTML = count++; }; container.onmousemove = debounce(getUserAction, 1000); // 第二版 function debounce(func, wait) { var timeout; return function () { var c...
var time; var test; var tester;
/* * Copyright (c) 2016-present, Parse, LLC * All rights reserved. * * This source code is licensed under the license found in the LICENSE file in * the root directory of this source tree. */ import { center } from 'stylesheets/base.scss'; import Loader from 'components/Loader/Loader.react'; import PropTy...
const fs = require('fs'); const data = require('./_data/products.json'); const allImagesUsedInProducts = { primary: [], secondary: [] }; data.forEach(obj => { allImagesUsedInProducts.primary.push(obj.imgPrimary); console.log(`Just pushed ${obj.imgPrimary} to primary!`); obj.imgSecondarySet.forEach(img => { ...
console.log("Spirit Looks Server started"); var appSettings = { ajaxMode:true, gurus:[ { keyword:"mevalana", title:"MEVLANA CELALEDDİN RUMİ" }, { keyword:"mooji", title:"MOOJİ" }, { keyword:"osho", title:"OSHO" }, { keyword:"krishnamurti", ...
module.exports = { url: 'http://api.giphy.com/v1/gifs/search', api_key: 'dc6zaTOxFJmzC' };
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M11 13h2v2h-2zm8-8H5v14h14V5zm-4 4h-4v2h2c1.1 0 2 .89 2 2v2c0 1.11-.9 2-2 2h-2c-1.1 0-2-.89-2-2V9c0-1.11.9-2 2-2h4v2z" opacity=".3" /><path d="M9 9v6c0 1.11.9 2 2 2h2c1.1 0 2-.89 2-2v-...
// Copyright 2008 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this li...
/** * Created by Liara Anna Maria Rørvig on 24/07/2017. */ 'use strict'; const Colours = require( '../../lib/colours.json' ); const Command = require( '../command.js' ); const dot = require( 'dot-object' ); const NAME = 'psn'; const HELP_SIMPLE = 'Get\'s a user from PSN'; const HELP_DETAILED = 'Get\'...
/** * Gets back data from json file * This is called in index.html * * @author Loan Lassalle (loan.lassalle@heig-vd.ch) * @since 13.09.2017 */ /* eslint-disable semi */ // eslint-disable-next-line no-unused-vars function Organization (xhttpResponse) { this._login = xhttpResponse.login; this._name = xhttpResp...
export const ic_view_list_twotone = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none","opacity":".87"},"children":[]},{"name":"path","attribs":{"d":"M5 11h2v2H5zm0 4h2v2H5zm0-8h2v2H5zm4 0h9v2H9zm0 8h9v2H9zm0-4h9v2H9z","opacity":".3"},"children":[]},{"name":"path","attribs"...
define(['directives/directives'], function (directives) { 'use strict'; directives.directive('enzoCounter', function () { return { restrict: 'A', link: function (scope, element, attr) { var maxlength = element.attr('maxlength') || 10; var opts = angular.extend({ maxCharacters: maxlength, ...
version https://git-lfs.github.com/spec/v1 oid sha256:b6ef9ff092f2c9e0226f5c24743bd00cb60ef65406f09913c92493a140e05daa size 5176
// エラーメッセージ var M = require('../message'); // M.RP_BETWEEN_RT // M.RP_POS // rp ルビ対応しない場合のカッコを囲む module.exports = { autoClose: 'rb,rt,rtc,rp,/*', parent: 'ruby', contents: { phrasing: true }, rules: [ posRule ] }; /** * rt または rtc 要素の直前または直後のどちらかに * いれなければいけません。 * rt 要素の間に入れることはできません。 * @meth...
import React from 'react' import BaseLayout from 'client/components/layout/BaseLayout' import TypesContainer from 'client/containers/TypesContainer' import PropTypes from 'prop-types' import { Row, Col, SimpleSelect, Typography } from 'ui/admin' import GenericForm from 'client/components/GenericForm' im...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), errorHandler = require('./errors.server.controller'), Timeline = mongoose.model('Timeline'), _ = require('lodash'); /** * Create a Timeline */ exports.createTimeline = function(req, res) { var timeline = new Timeline({}); ...
'use strict'; //Setting up route angular.module('categories').config(['$stateProvider', function($stateProvider) { // Categories state routing $stateProvider. // CREATE state('createCategory', { url: '/categories/create', templateUrl: 'modules/categories/views/create-category.client.view.html' })....
//[Skin Customization] webix.skin.flat.barHeight=45;webix.skin.flat.tabbarHeight=45;webix.skin.flat.rowHeight=34;webix.skin.flat.listItemHeight=34;webix.skin.flat.inputHeight=38;webix.skin.flat.layoutMargin.wide=10;webix.skin.flat.layoutMargin.space=10;webix.skin.flat.layoutPadding.space=10; webix.skin.set('flat')
/* * Clearest Framework * Provided under MIT License. * Copyright (c) 2012-2015 Illya Kokshenev <sou@illya.com.br> */ "use strict"; var commons = require("./commons"), inside = commons.inside, isValue = commons.is.value, promise = commons.promise; /** * Subscribes an observer on event key (k) of obj...
/** * @file Group.js * @author TalesM * */ import Item from './Item'; //Defining subclass. Group.prototype = Object.create(Item.prototype); Group.prototype.constructor = Group; /** * The group class * @constructor * @base Item * @param {Array} id * @param {String} name * @param {String} descr...
const electron = require('electron') const ipcRenderer = electron.ipcRenderer let lastMsgId = 0 window.quitAndInstall = function () { electron.remote.autoUpdater.quitAndInstall() } ipcRenderer.on('console', (event, consoleMsg) => { console.log(consoleMsg) }) ipcRenderer.on('message', (event, data) => { showMe...
import React from 'react'; import EventEmitter from 'events'; import PlugBoardWiring from './PlugBoard/PlugBoardWiring'; import NewPlugBoardWiring from './PlugBoard/NewPlugBoardWiring'; import Well from 'react-bootstrap/lib/Well'; import ControlLabel from 'react-bootstrap/lib/ControlLabel'; import ListGroup from 'react...
var webpack = require('webpack'); module.exports = { entry: './demo.js', output: { filename: './demo.bundle.js' }, plugins: [ new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false, drop_console: false, }}) ] }
/** * @author Toru Nagashima * @copyright 2016 Toru Nagashima. All rights reserved. * See LICENSE file in root directory for full license. */ "use strict" //------------------------------------------------------------------------------ // Helpers //------------------------------------------------------------------...
var SubmitB = React.createClass({displayName: "SubmitB", getInitialState: function(){ return{value: '', text: false, para: '', position: [], keywords: []}; }, handleClick : function(e){ this.setState({value: this.refs['a'].state.text, text: this.refs['b'].state.text, para: this.refs['c'].sta...
/** * @author dforrer / https://github.com/dforrer * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch) */ /** * @param object THREE.Object3D * @constructor */ var RemoveObjectCommand = function ( object ) { Command.call( this ); this.type = 'Rem...
/** * @license Angular v5.2.6 * (c) 2010-2018 Google, Inc. https://angular.io/ * License: MIT */ import { APP_ID, ApplicationRef, Inject, Injectable, InjectionToken, Injector, NgModule, NgZone, Optional, PLATFORM_ID, PLATFORM_INITIALIZER, RendererFactory2, Testability, Version, ViewEncapsulation, createPlatformFact...
var renameNavLabelPlugin = require("./renameNavLabelPlugin"); var renameExternalModulePlugin = require("./renameExternalModulePlugin"); module.exports = function(PluginHost) { var app = PluginHost.owner; /** * used like so: * --navigation-label-globals "ui-router-ng2" * or * -nlg ui-router-ng2 */ ...
'use strict'; var fs = require('fs'); var testExistence = function (test, expectations) { test.expect(expectations.length); expectations.forEach(function (expectation) { test.equal(fs.existsSync(expectation), true, expectation + ' should exist'); }); test.done(); }; exports.command = { 'app with asar...
#!/usr/bin/env node /** * Delivers your finished Pivotal tasks * * @package pivotal-deliver * @author Gustav Rydstedt <gustav.rydstedt@gmail.com> */ var PivotalDeliver = require('./pivotal-deliver'); module.exports = PivotalDeliver; if (require.main === module) { // This module got invoked directly var ...
'use strict'; (function () { angular .module('estimates') .config(EstimatesStates); function EstimatesStates($stateProvider) { $stateProvider .state('root.estimates', { url: 'estimates', abstract: true, resolve: { ...
var test = require('tape'), createTimePicker = require('../'); test('timePicker exists', function(t){ t.plan(2); var timePicker = createTimePicker(); t.ok(timePicker, 'timePicker exists'); t.ok(timePicker.element, 'timePicker element exists'); }); test('set a valid time', function(t){ t.plan...
// Load all required engine components R.Engine.define({ "class":"BlockPlayer", "requires":[ "R.objects.Object2D", "R.math.Math2D" ] }); var BlockPlayer = function () { return R.objects.Object2D.extend({ velocity:null, // The velocity of our object shape:null, // Our ob...
app.directive('maslLogo', function () { 'use strict'; return { restrict: 'E', require: ['^logoColor', '^logoSize'], scope: { logoColor: '@', logoSize: '@' }, replace: true, template: '<svg version="1.1" xmlns="http://www.w3.org/2000/...
// The module 'vscode' contains the VS Code extensibility API // Import the module and reference it with the alias vscode in your code below let vscode = require('vscode'); let path = require('path'); let open = require('open'); // this method is called when your extension is activated // your extension is activated t...
var gulp = require('gulp'), $ = require('gulp-load-plugins')(), config = require('../config'), consoleError = require('../utils/console_error'); function scriptsMin() { return gulp.src( [config.paths.dist.scripts.all, '!'+config.paths.dist.scripts.all_minified] ) .pipe( $.plumber({ errorHandler: console...
angular.module("appointmentModule") .factory("appointmentService", appointmentService); appointmentService.$inject = ['$http']; function appointmentService($http) { return { getAllAppointmentSlots: function () { return $http.get('/appointment/getAllAppointments'); }, getAllMakesByYear: functi...
module.exports = { _meta: { id: "it-IT", fallback: null, language: "Italian", country: "Italy", countryCode: "IT" }, names: require("./names"), phone: require("./phone"), address: require("./address"), company: require("./company"), internet: require("./internet") };
// Dependencies import builder from 'focus-core/component/builder'; import types from 'focus-core/component/types'; const React = require('react'); const {omit, keys} = require('lodash/object'); const {reduce} = require('lodash/collection'); // Table class. const TABLE_CSS_CLASS = 'mdl-data-table mdl-js-data-table md...
const { PacketType, Decoder, Encoder } = require(".."); const expect = require("expect.js"); const helpers = require("./helpers.js"); const encoder = new Encoder(); describe("parser", () => { it("encodes an ArrayBuffer", (done) => { const packet = { type: PacketType.EVENT, data: ["a", new ArrayBuffer...
// Remove padding from a string. function unpad(str) { const lines = str.split('\n'); const m = lines[1] && lines[1].match(/^\s+/); if (!m) { return str; } const spaces = m[0].length; return lines.map( line => line.slice(spaces) ).join('\n').trim(); } module.exports = unpad;
import Page from "./page" class Search extends Page { get foundPeopleTable() { return browser.$("div#people #people-search-results") } get foundTaskTable() { return browser.$("div#tasks #tasks-search-results") } linkOfPersonFound(name) { return this.foundPeopleTable.$(`//tbody/tr//a[contains(te...
// // Queue class - A queue contains a list of items. Only one item can be active // at a time, and when one is removed the next one is activated // // To use this class, first add() your item. A promise will be returned that gets resolved // when your item is ready to be activated. Once your item is finished doin...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M4 9h10.5v3.5H4zm0 5.5h10.5V18H4zM16.5 9H20v9h-3.5z" opacity=".3" /><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5.5 14H4v-3.5h10....
var ObjectRegistry = (function () { function ObjectRegistry() { this._objects = {}; } ObjectRegistry.prototype.register = function (name, className) { this._objects[name] = new className(); }; ObjectRegistry.prototype.invoke = function (name, method, params) { try { ...
/** * @license Angular v6.1.10 * (c) 2010-2018 Google, Inc. https://angular.io/ * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core')) : typeof define === 'function' && define.amd ...
import React, {Component} from 'react' import Snackbar from 'material-ui/Snackbar'; import {connect} from 'react-redux'; import {issueSnackbarMessage} from '../../model/actions/actions'; import {DEBUG} from '../../settings'; class SnackbarContainer extends Component { constructor(props) { super(props); ...
'use strict'; module.exports = props => `<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="utf-8"> <title>${props.title}</title> ${props.fonts || ''} <style type="text/css"> ${props.style} </style> </head> <body> <div class="container"> ${props.front} <div id="content"> ${props....
/* eslint no-unused-expressions: 0 */ import React from 'react'; import { shallow } from 'enzyme'; import Undo from '../index'; import sinon from 'sinon'; import chai, { expect } from 'chai'; import sinonChai from 'sinon-chai'; import { EditorState, Modifier } from 'draft-js'; chai.use(sinonChai); describe('UndoButto...
function Ui() { 'use strict'; return; } (function strict() { // strict mode wrapper 'use strict'; Ui.prototype = { /** * Template manager object. * * @public * @type {TemplateManager} */ templateManager: null, /** * UI mo...
var QuoteScanner = function QuoteScanner(data) { this.data = data; }; var findQuoteEnd = function (data, matched, cursor, oldCursor) { var commentStartMark = '/*'; var commentEndMark = '*/'; var escapeMark = '\\'; var blockEndMark = '}'; var dataPrefix = data.substring(oldCursor, cursor); var commentEnde...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const unibeautify_1 = require("unibeautify"); const src_1 = require("../../src"); test("should successfully beautify JSX text", () => { const unibeautify = unibeautify_1.newUnibeautify(); unibeautify.loadBeautifier(src_1.default); ...
import React from "react"; export default class ProductCategoryRow extends React.Component { render() { return ( <tr> <th colSpan="2">{this.props.category}</th> </tr> ); } };
var Q = require('q'), _ = require('lodash'), request = require('request'); //private variables var config = {}; //private functions function genQuery(query) { return query ? '?'+ query : ''; } function requestP(method, uri, data) { return Q.Promise(function (resolve, reject) { var reqOptions = { ...
// # Ghost Configuration // Setup your Ghost install for various [environments](http://support.ghost.org/config/#about-environments). // Ghost runs in `development` mode by default. Full documentation can be found at http://support.ghost.org/config/ var path = require('path'), config; var mailgunApiTransport = requi...
// Scripts go in here. This is an example script to test the api. import http from 'http' const options = { hostname: 'localhost', port: 3000, path: '/api/thing', method: 'POST', headers: { 'Content-Type': 'application/json' } } const req = http.request(options, (res) => { let resBody = [] res.on...
// Regular expression that matches all symbols in the Halfwidth and Fullwidth Forms block as per Unicode v4.0.1: /[\uFF00-\uFFEF]/;
'use strict'; exports.register = function(plugin, options, next) { const Controllers = { editor: { info: require('../controllers/editor/info'), share: require('../controllers/editor/share'), editor: require('../controllers/editor/editor'), steps: require('../...
import React from 'react'; import Icon from '../Icon'; export default class Crop75Icon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M38 14H10c-2.21 0-4 1.79-4 4v12c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V18c0-2.21-1.79-4-4-4zm0 16H10V18h28v...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
var mongoose = require('mongoose'); var Org = require('./models/model.orgs.js'); var moment = require('moment'); var jwt = require('jsonwebtoken'); var randtoken = require('rand-token'); var Mailgun = require('mailgun-js'); var helpers = require('./helpers.js'); var port = process.en...
import * as Utils from './utils'; const getNextDirection = (mesh) => { if (mesh.position.z >= 170 && mesh.userData.animDirection === 'left') { return 'right'; } if (mesh.position.z <= -170 && mesh.userData.animDirection === 'right') { return 'left'; } return mesh.userData.animDirection; } export c...
asc.component('demo', function () { this.templateSrc = 'demo/template.html'; });
// tipsy, facebook style tooltips for jquery // version 1.0.0a // (c) 2008-2010 jason frame [jason@onehackoranother.com] // released under the MIT license (function($) { function maybeCall(thing, ctx) { return (typeof thing == 'function') ? (thing.call(ctx)) : thing; }; function Tipsy(ele...
// <editor-fold desc="Dependencies"> var gulp = require('gulp'); var path = require('path'); var argv = require('yargs').argv; var webpackStream = require('webpack-stream'); var openBrowser = require('gulp-open'); var Env = require('./gulp/Env'); var Log = require('./gulp/Log'); var WebpackC...
import MagnonElement from "../../src/magnon-element.js"; import { css } from "../../src/literals.js"; import "../magnon-styles/magnon-styles.js"; const style = css` :host { display: inline-block; position: relative; width: var(--magnon-spinner-size, 32px); height: var(--magnon-spinner-size, 32px); } ...
/** * Created by smichaels on 6/23/17. */ import React, {Component} from 'react'; import { connect } from 'react-redux'; import {bindActionCreators} from 'redux'; import {sendWebsocketMessage} from '../actions/index'; class WsSendButton extends Component { constructor(props) { super(props); thi...
//---------------------------------------------------------------------- $(document).ready(function() { //---------------------------------------------------------------------- function limit_finished_jobs(limit) { if (limit < 0) $...
/* jshint expr:true */ import { expect } from 'chai'; import { describeModule, it } from 'ember-mocha'; describeModule( 'serializer:proposal', 'ProposalSerializer', { // Specify the other units that are required for this test. // needs: ['serializer:foo'] }, function() { // Replace this with ...
var searchData= [ ['image',['image',['../classlfgui_1_1image.html',1,'lfgui']]] ];
/* ____________________________________________________________________ */ /* ____________________________________________________________________ */ /* __________________________--_________________(((((((( __________ */ /* ____p________t_________--___________________))))))))) () -----)-)__ */ /* ____A_____g__...
version https://git-lfs.github.com/spec/v1 oid sha256:c39d9996ad184c6c80b0b4e7e519dcc4b25e40dee1e453ff61ac687b1e942743 size 3933
import React from 'react'; import PropTypes from 'prop-types'; import { Card, CardActions, CardTitle, CardText } from 'material-ui/Card'; import DeleteButton from './DeleteButton'; import EditButton from './EditButton'; const buttonStyle = { margin: '0.5em', }; const cardStyle = { marginTop: '1em', marginBottom:...
(() => { const {_, $} = window const taskUploadTableIds = new Promise((resolve, reject) => { const tableIds = _.fromPairs( KC3Database.con.tables.map(table => [table.name, table.schema.primKey.name] ) ) const postData = { raw: JSON.stringify(tableIds), } const jqXhr =...
import angular from 'angular'; import ServiceInjector from 'utils/ServiceInjector'; export default class Controller extends ServiceInjector { constructor(...args) { super(...args); this.form = { flag: '', }; } async doSubmitFlag() { if (this.form.flag) { const data = (await this.Cont...
#!/usr/bin/env node "use strict"; var child_process_1 = require('child_process'); var path_1 = require('path'); var args = [path_1.join(__dirname, '_bin.js')]; for (var i = 2; i < process.argv.length; i++) { var arg = process.argv[i]; var flag = arg.split('=')[0]; switch (flag) { case '-d': ...
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { Router, hashHistory } from 'react-router'; import { syncHistoryWithStore } from 'react-router-redux'; import routes from './routes'; import configureStore from './store/configureStore'; import './style/index....