text stringlengths 2 1.04M |
|---|
import React, { useState, useEffect, useRef } from 'react'
import { connect } from 'react-redux'
import { useHistory } from 'react-router-dom'
import {
AppBar,
Button,
SwipeableDrawer as Drawer,
Toolbar,
Paper, IconButton, InputBase,
} from '@material-ui/core'
import SearchIcon from '@material-ui/ic... |
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... |
// PARALLAX
let scene = document.getElementById("scene");
let parallaxInstance = new Parallax(scene);
// SWIPER
let keys = [
"Mercury",
"Venus",
"Earth",
"Mars",
"Jupiter",
"Saturn",
"Uranus",
"Neptune"
];
let slider = new Swiper(".swiper-container", {
slidesPerView: "auto",
... |
/*
SystemJS CommonJS Format
*/
(function() {
// CJS Module Format
// require('...') || exports[''] = ... || exports.asd = ... || module.exports = ...
var cjsExportsRegEx = /(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])(exports\s*(\[['"]|\.)|module(\.exports|\['exports'\]|\["exports"\])\s*(\[['"]|[=,\.]))/;
// RegEx ad... |
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import p from 'prop-types';
import { Transition, config } from 'react-spring';
import styles from './Tooltip.module.scss';
import TooltipContent from './TooltipContent';
const CARET_SIZE = 14;
class Tooltip extends Component {
state = {
... |
/*
* Copyright (c) 2014-2015 CoNWeT Lab., Universidad Politécnica de Madrid
*
* This file is part of Wirecloud Platform.
*
* Wirecloud Platform 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 Soft... |
import httpClient from '@/http-client'
const state = {}
const getters = {}
const mutations = {}
const actions = {
fetch(context, { search, sortBy, descending, page, rowsPerPage } = {}) {
return httpClient.get('/api/vidrl', { params: { search, sortBy, descending, page, rowsPerPage }})
.then(response => {
... |
const generator = (
global = {},
category = {},
{ inputComponentMap, outputComponentMap },
) => {
const model = { ...global.model, ...category.model }
const getFields = (fieldType) => {
const componentMap =
fieldType === 'inputs' ? inputComponentMap : outputComponentMap
return Object.keys(model... |
import taggingApp from './reducers';
import { TaggingConnected, TaggingWithButtonsConnected } from './containers/tagging';
import TagView from './components/InnerComponents/TagView';
import './sass/style.scss';
export { taggingApp, TaggingConnected, TaggingWithButtonsConnected, TagView };
export * from './components/T... |
class Lancamento {
constructor(nome = 'Generico', valor = 0){
this.nome = nome
this.valor = valor
}
}
class CicloFinanceiro{
constructor(mes, ano){
this.mes = mes
this.ano = ano
this.lancamentos = []
}
addLancamentos(...lancamentos){
lancamentos.forE... |
// Auto-generated. Do not edit!
// (in-package carla_msgs.msg)
"use strict";
const _serializer = _ros_msg_utils.Serialize;
const _arraySerializer = _serializer.Array;
const _deserializer = _ros_msg_utils.Deserialize;
const _arrayDeserializer = _deserializer.Array;
const _finder = _ros_msg_utils.Find;
const _getByte... |
//For Refresh
setTimeout(function () {
console.log("Auto Refesh");
Doing("Refresh", localStorage["Toogle"]);
setInterval(function () {
Doing("Refresh", localStorage["Toogle"])
}, intervalRefresh); //Minute * Second * Milisecond
setIconOnOff();
}, 10 * 1000); |
import * as THREE from 'three';
import * as CANNON from'cannon';
import { GameModesBase } from './GameModesBase';
import { Controls } from '../core/Controls';
import _ from 'lodash';
import { Object } from '../objects/Object';
import { ObjectPhysics } from '../objects/ObjectPhysics';
/**
* Free camera game mode.
* @... |
'use strict';
const os = require('os');
const crypto = require('crypto');
const fs = require('fs');
const path = require('path');
const BbPromise = require('bluebird');
const fse = require('fs-extra');
const _ = require('lodash');
const fileExistsSync = require('../utils/fs/fileExistsSync');
const writeFileSync = requ... |
let defaultCity = '深圳'
try {
if (localStorage.city) {
defaultCity = localStorage.city
}
} catch (e) {}
export default {
city: defaultCity
} |
/**
* Auto-generated action file for "Microsoft Graph API" API.
*
* Generated at: 2019-08-07T14:53:12.811Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / microsoft-graph-api-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector ar... |
const KEY_BD = '@usuariosSeries'
var listaRegistros = {
ultimoIdGerado:0,
usuarios:[
{ id : 1, nome: 'teste01', telefone: '31 99998888'},
{ id : 2, nome: 'teste02', telefone: '31 99997777'},
{ id : 3, nome: 'teste03', telefone: '31 99996666'}
]
}
var FILTRO = ''
function grav... |
#!/usr/bin/env node
const path = require('path');
const shelljs = require('shelljs');
const minimist = require('minimist');
const defaultValue = {
src: 'src',
dist: 'dist',
sourcemaps: true
}
const options = minimist(process.argv.slice(2), {
default: defaultValue,
string: ['src', 'dist'],
boolean: ['sourc... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-232f2476"],{1594:function(t,n,e){"use strict";var s=e("93cd"),a=e.n(s);a.a},"3f27":function(t,n,e){"use strict";e.r(n);var s=function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div",{staticClass:"gd-payment-main"},[s("img",{attrs:{src:e("b... |
import {eventMap} from '@testing-library/dom/dist/event-map'
// this is pretty helpful:
// https://codesandbox.io/s/quizzical-worker-eo909
// all of the stuff below is complex magic that makes the simpler tests work
// sorrynotsorry...
const unstringSnapshotSerializer = {
test: val => val && val.hasOwnProperty('sna... |
import React, { Component } from 'react';
import { View, StyleSheet, Text, FlatList,TouchableOpacity } from 'react-native';
import { ListItem } from 'react-native-elements'
import MyHeader from '../components/MyHeader';
import db from '../config'
export default class HomeScreen extends Component{
constructor()... |
import SmoothScroll from 'smooth-scroll';
import sal from 'sal.js';
import eventbus from './eventbus';
const scroll = (function(){
const nav_menu_button = document.getElementById('nav_menu_button');
const nav_menu = document.getElementById('nav_menu');
const init = () => {
// initialize smoot... |
(function () {
'use strict';
angular
.module('transactions')
.run(menuConfig);
menuConfig.$inject = ['Menus'];
function menuConfig(menuService) {
// Set top bar menu items
menuService.addMenuItem('topbar', {
title: 'Transactions',
state: 'transactions',
type: 'dropdown',
... |
/**
* @version: 2.1.24
* @author: Dan Grossman http://www.dangrossman.info/
* @copyright: Copyright (c) 2012-2016 Dan Grossman. All rights reserved.
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
* @website: https://www.improvely.com/
*/
// Follow the UMD template htt... |
/**
* @description Responsible to reflect data changes to the UI.
*/
view = {};
view.albums = {
init: function() {
multiselect.clearSelection();
view.albums.title();
view.albums.content.init();
},
title: function() {
lychee.setTitle(lychee.locale['ALBUMS'], false)
},
content: {
scrollPositio... |
/** Gnome libs imports */
const { Clutter, GObject, St, Meta } = imports.gi;
/** Extension imports */
const Me = imports.misc.extensionUtils.getCurrentExtension();
const { SetAllocation, Allocate } = Me.imports.src.utils.compatibility;
const { RippleBackground } = Me.imports.src.widget.material.rippleBackground;
/* e... |
import { MuiThemeProvider } from "@material-ui/core";
import Grid from "@material-ui/core/Grid";
import Typography from "@material-ui/core/Typography";
import React, { PureComponent } from "react";
import PrimordialExchangeForm from "../../modules/exchange/components/PrimordialExchangeForm";
import ComparisonTable from... |
// @flow
import fs from 'fs-extra';
import moment from 'moment';
import { BrowserWindow, ipcMain, NativeImage, Rectangle } from 'electron';
import path from 'path';
import glob from 'glob-promise';
import deleteEmpty from 'delete-empty';
import winston from 'winston';
import {
cleanUp,
copySource,
reportingFactor... |
// Generated by CoffeeScript 2.1.1
(function() {
// The `coffee` utility. Handles command-line compilation of CoffeeScript
// into various forms: saved into `.js` files or printed to stdout
// or recompiled every time the source is saved,
// printed as a token stream or as the syntax tree, or launch an
// int... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/ |
export const shortenAddress = (address) =>`${address.slice(0,5)}.....${address.slice(address.length -4)}` |
/**
* Definition for singly-linked list.
* function ListNode(val) {
* this.val = val;
* this.next = null;
* }
*/
/**
* @param {ListNode} l1
* @param {ListNode} l2
* @return {ListNode}
*/
var mergeTwoLists = function(l1, l2) {
var p1 = l1;
var p2 = l2;
var fn = new ListNode(-1);
var p =... |
/* global mdc */
import Component from 'ember-cli-mdc-base/component';
import listener from 'ember-cli-mdc-base/listener';
import { action } from '@ember/object';
import { isPresent } from '@ember/utils';
import { assert } from '@ember/debug';
import { isString } from 'lodash-es';
const { MDCMenuSurface, Corner } ... |
try {
const mongoose = require('mongoose')
mongoose.Promise = global.Promise
module.exports = mongoose.connect('mongodb://localhost/user', { useMongoClient: true })
} catch (error) {
console.log(error)
} |
#!/usr/bin/env node
const shelljs = require('shelljs');
const animateProgress = require('./helpers/progress');
const chalk = require('chalk');
const addCheckMark = require('./helpers/checkmark');
const progress = animateProgress('Generating stats');
// Generate stats.json file with webpack
shelljs.exec(
'webpack -... |
import React from 'react';
import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
class ModalExample extends React.Component {
render() {
const { modal, toggle } = this.props;
const externalCloseBtn = (
<button
className="close"
style={{ position: 'absolute', t... |
/**
* @namespace WPGMZA
* @module GoogleText
* @requires WPGMZA.Text
*/
jQuery(function($) {
WPGMZA.GoogleText = function(options)
{
WPGMZA.Text.apply(this, arguments);
this.overlay = new WPGMZA.GoogleTextOverlay(options);
}
WPGMZA.extend(WPGMZA.GoogleText, WPGMZA.Text);
}); |
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
requir... |
angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootstrap.position'])
.value('$datepickerSuppressError', false)
.constant('datepickerConfig', {
formatDay: 'dd',
formatMonth: 'MMMM',
formatYear: 'yyyy',
formatDayHeader: 'EEE',
formatDayTitle: 'MMMM yyyy',
formatMonthTitle: 'yyyy',... |
const newLine = '\r\n';
export default function csv(columns, data, calculationData, separator = ',') {
let columnOrder;
const content = [];
let column = [];
if (columns) {
columnOrder = columns.map(v => v.map(a => (a.id)));
column = columns.map(v => v.map(a => ((typeof a.displayName !== 'undefined') ?... |
function solve(input) {
let adressList = {};
for (let line of input) {
line = line.split(":");
let [name, adress] = line;
adressList[name] = adress;
}
let arr = [];
for (let item of Object.keys(adressList)) {
let newObj = {
name: item,
adress: adressList[item],
};
arr.p... |
'use strict';
Array.prototype.myreverse = function() {
let stack = [];
this.forEach((item) => {
stack.push(item);
});
var j = 0;
while (stack.length) {
this[j++] = stack.pop();
}
};
var arr = new Array('a', 'b', 'c', 'd');
arr.myreverse();
console.log('reverse abcd', arr); |
import React from 'react';
import ReactDOM from 'react-dom';
import { createMemoryHistory, createBrowserHistory } from 'history';
import App from './App';
// Mount function to start up the app
const mount = (el, { onNavigate, onSignIn, defaultHistory, initialPath }) => {
const history =
defaultHistory ||
createMe... |
import { decode } from 'qss';
import {
shouldBe,
shouldBeUndefined,
shouldNotBeUndefined,
whenReady,
shouldInclude,
tolerance
} from '../support/utils';
describe('loginWithRedirect', function () {
beforeEach(cy.resetTests);
it('Builds URL correctly', function () {
whenReady().then(win => {
r... |
SuxezCountries = new Meteor.Collection('suxez_countries');
if (Meteor.isServer === true && SuxezCountries.find({}).count() === 0) {
var countryData = [
{
uid: "1",
pid: "0",
deleted: "0",
cn_iso_2: "AD",
cn_iso_3: "AND",
cn_iso_nr: "2... |
"!="
//# sourceMappingURL=app-0cc15af1eb67b6a29e2e.js.map |
//# sourceMappingURL=24.js.map |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
*/
goog.module('test_files.type_propaccess.no_externs.type_propaccess');
var module = module || { id: 'test_files/type_propaccess.no_externs/type_propaccess.ts' };
module = module;
exports = {};
const tsickle_forwar... |
//iQontrol - Copyright (c) by Sebatian Bormann
//Please visit https://github.com/sbormann/ioBroker.iqontrol for licence-agreement and further information
//Settings
var namespace = getUrlParameter('namespace') || 'iqontrol.0';
var connectionLink = location.origin;
var useCache = true;
var homeId = getUrlParameter('hom... |
macDetailCallback("0050c29fd000/36",[{"a":"Wiener Strasse 70 Spillern Lower Austria AT 2104","o":"Bitt technology-A Ltd.","d":"2008-12-07","t":"add","s":"ieee","c":"AT"}]); |
// ==============================================================================
// NODE DEPENDENCIES
// Series of npm packages that we will use to give our server useful functionality
// ==============================================================================
let express = require("express");
// ==============... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("omi"));
else if(typeof define === 'function' && define.amd)
define(["omi"], factory);
else if(typeof exports === 'object')
exports["library-add-check-round... |
/**
* Swiper 4.5.0
* Most modern mobile touch slider and framework with hardware accelerated transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: February 22, 2019
*/
!(function(e, t) {
"object" == typeof exports && "un... |
// runtime population
module.exports = {
// Example:
// 'src/components/AsyncComA.tsx': {
// hash: '9a9785090352e99eddc199d04a50a97f',
// encryptHash: 'bde707689328dda1c3e87893537426b7',
// },
// 'src/components/Cycle1.tsx': {
// hash: '52f4df49a2139b4e821c9bb2e7cc2c9c',
// encryptHash: '5676b46... |
var express = require('express');
var app = express();
app.use('/css', express.static(__dirname + "/css"));
app.use('/img', express.static(__dirname + "/img"));
app.use('/js', express.static(__dirname + "/js"));
app.get('/', function(req, res){
res.sendfile('index.html');
});
app.get('/prenota', function(req, r... |
'use strict';
var _promise = require('babel-runtime/core-js/promise');
var _promise2 = _interopRequireDefault(_promise);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _ = require('lodash');
var path = require('path');
var globalModulesPath = require('global-modu... |
var memoize = require("memoizee");
let myCO2LookupObj = {};
let years = [];
const currentYear = (new Date()).getFullYear();
const getCO2Level = (year) => myCO2LookupObj[year];
const getCO2Fraction = (year) => (getCO2Level(2019) - getCO2Level(year)) / (getCO2Level(2019) - 280);
const interpolateCO2Level = (year) => ... |
const Service = require('egg').Service
const { getGithubTrendingFromJueJin, getJueJinHot } = require('../utils/articleSubscription')
class ArticleSubscriptionService extends Service {
// 获取列表
getSubscriptionList(reqParams) {
const { size, current, searchText } = reqParams
return this.ctx.model.... |
import path from "path";
import minimist from "minimist";
import { getPackages } from "@lerna/project";
import filterPackages from "@lerna/filter-packages";
import batchPackages from "@lerna/batch-packages";
import sourcemaps from "rollup-plugin-sourcemaps";
import typescript from "rollup-plugin-typescript2";
import re... |
import { EventEmitter } from 'events';
import { Match } from 'meteor/check';
import { Mongo } from 'meteor/mongo';
import _ from 'underscore';
import { setUpdatedAt } from '../lib/setUpdatedAt';
import { metrics } from '../../../metrics/server/lib/metrics';
import { getOplogHandle } from './_oplogHandle';
import { Sy... |
/*
Name: UI Elements / Notifications - Examples
Written by: Okler Themes - (http://www.okler.net)
Theme Version: 2.2.0
*/
(function($) {
'use strict';
/*
Default Notifications
*/
$('#default-primary').click(function() {
new PNotify({
title: 'Regular Notice',
text: 'Check me out! I\'m a notice.',
... |
import { assert } from 'chai';
import { onlyKeys } from '../../dictionary';
describe('dictionary#onlyKeys', () => {
it('includes keys in an array', () => {
const source = { a: 1, b: 2, c: 3, d: 4 };
assert.deepEqual(onlyKeys(source, ['b', 'c']), { b: 2, c: 3 });
});
it('includes keys in a mapping', () ... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... |
import React from 'react';
import ReactDOM from 'react-dom';
import { ScrollToProvider } from '@zauberware/react-scroll-to';
import App from './App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(
<ScrollToProvider>
<App />
</ScrollToProvider>
,document.getElementById('root'));
/... |
const browsers = require('./browsers.js');
const config = require('config');
const SAUCE_USERNAME = process.env.SAUCE_USERNAME;
const SAUCE_ACCESS_KEY = process.env.SAUCE_ACCESS_KEY;
const TEST_URL = config.get('testUrl');
/**
* Retrieves supported browser capabilities and configuration defined in crossbrowser/brows... |
/* @flow */
import * as React from 'react'
import * as renderer from 'react-test-renderer'
import { createEvent } from '../event'
import { createChatMock, Mutex } from './common'
import { createPage, Stop, questionBubble, useChatBuilder, createInput, BubbleContainerEnd } from '..'
it('useChatBuilder', async () => {
c... |
'use strict';
var assert = chai.assert;
function audioContextTest(ctx) {
var buf, osc;
describe('new AudioContext()', function() {
it("should have 'currentTime' property", function() {
assert.property(ctx, 'currentTime');
});
describe('#createBufferSource()', function() {
it("should ... |
import RefreshTokenHelper from './utils/refresh-token.helper.js';
import axios from 'axios';
export function createClient(url, token) {
const client = axios.create({
baseURL: `${url}/api/`
})
client.defaultUrl = url;
client.token = token;
client.defaults.headers.Authorization = `Bearer ${... |
var Dogecorn = artifacts.require("Dogecorn");
module.exports = async function(deployer) {
await deployer.deploy(Dogecorn);
}; |
/*!
* OpenUI5
* (c) Copyright 2009-2020 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.m.VisibleItem.
sap.ui.define(['./library', 'sap/ui/core/Item', "sap/ui/thirdparty/jquery"],
function(library, Item, jQuery) {
"use strict";
... |
/*
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'sourcearea', 'ug', {
toolbar: 'مەنبە'
} ); |
var Lang = A.Lang,
isArray = Lang.isArray,
isNumber = Lang.isNumber,
isObject = Lang.isObject,
isString = Lang.isString,
isUndefined = Lang.isUndefined,
CONFIG = A.config,
DOC = CONFIG.doc,
ColorUtil = A.ColorUtil,
Drawing = A.Drawing,
Element = Drawing.Element,
Impl,
Util = Drawing.Util,
setDefaultUni... |
/*
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.gi... |
module.exports = {
title: 'Testing Cloud',
description: '专注于云测试平台',
head: [
['link', { rel: 'icon', href: '/assets/img/logo.png' }]
],
themeConfig: {
logo: '/assets/img/logo.png',
nav: [
{text: '主页', link: '/'},
{
text: '简介',
items: [
{t... |
require('./load');
require('./save'); |
var searchData=
[
['pad',['pad',['../structsys__sem__attr.html#a501145f631cca3fea05778fbc482c214',1,'sys_sem_attr']]],
['padding',['padding',['../struct__videodisplaymode.html#a8b2ef56851cfbb1fe1e81a96044bd685',1,'_videodisplaymode::padding()'],['../struct__videostate.html#a8745324bc01a48dd195c492259d9ccb8',1,'_vid... |
import _taggedTemplateLiteral from "/Users/jameson/personal-projects/atomic10-components/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral";
function _templateObject4() {
var data = _taggedTemplateLiteral(["\n margin-top: 10px;\n overflow: auto;\n"]);
_templateObj... |
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var Icon = require('../Icon-deabd942.js');
var React = _interopDefault(require('react'));
require('@carbon/icon-helpers');
require('prop-types');
var ParentChild24 =
/*#__PURE__*/
React.fo... |
import React, { useCallback } from 'react';
import PropTypes from 'prop-types';
import {
Route,
Switch,
} from 'react-router-dom';
import { FormattedMessage } from 'react-intl';
import {
CommandList,
defaultKeyboardShortcuts,
Paneset,
} from '@folio/stripes/components';
import {
useShowCallout,
} from '@fo... |
const merge = require('webpack-merge');
const { SRC_PATH } = require('../constants');
const baseConfig = require('../webpack.config');
const angularJSConfig = {
entry: {
'lumx.angularjs': `${SRC_PATH}/angularjs.index.js`,
},
module: {
rules: [
{
exclude: /inde... |
/*
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'templates', 'de-ch', {
button: 'Vorlagen',
emptyListMsg: '(Keine Vorlagen definiert)',
insertOption: 'Aktuelle Inhalte ersetze... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: |
If two or more formal parameters share the same name, hence
the same property, the corresponding property is given the value that was
supplied for the last param... |
/**
* Complex Property Handler
*/
define(["./palette","./segmentedbutton","./spinner"], function () {
/**
* Create UI5 Extension
*/
new sap.ui.commons.layout.VerticalLayout.extend("org.scn.community.aps.ComplexItem",{
_config : {
/* Empty */
},
metadata : {
properties : {
value : {
type : "... |
import { Observable, from as staticFrom } from 'rxjs';
Observable.from = staticFrom;
//# sourceMappingURL=from.js.map |
Typograf.setData('ca/char', 'abcdefghijlmnopqrstuvxyzàçèéíïòóúü'); |
import React from "react"
export default [
{
page: "about",
label: "about us",
url: `/about`,
},
{
page: "about",
label: "contact",
url: `/contact`,
},
{
page: "quality",
label: "quality",
url: `/quality`,
},
{
page: "catalog",
label: "MIL Spec Wire",
url: `... |
const gulp = require('gulp');
const spawn = require('child_process').spawn;
const releaseConfig = require('../release-config.json');
const pkg = require('../package.json');
gulp.task('sign', sign);
function sign(cb) {
const sign = spawn('electron-osx-sign', [
`releases/${pkg.title}-darwin-x64/${pkg.title}.app`,
... |
import React from 'react'
export default function Achievements() {
return (
<div>
</div>
)
} |
import { Range } from 'slate'
export const input = {
anchor: {
path: [0],
offset: 0,
},
focus: {
path: [0],
offset: 0,
},
}
export const test = range => {
return Range.isBackward(range)
}
export const output = false |
var InfiniteList = (function () {
function InfiniteList(elm) {
this.elm = elm;
this.pageSize = 30;
this.CurrentMax = 0;
var tmp = this;
this.elm.addEventListener("scroll", function () {
if (tmp.CurrentMax < tmp.data.length) {
if (this.scrollTop >= ... |
define({
"commonMedia": {
"mediaSelector": {
"lblSelect1": "Medien",
"lblSelect2": "Inhalt",
"lblMap": "Karte",
"lblImage": "Bild",
"lblVideo": "Video",
"lblExternal": "Webseite",
"lblUpload": "Hochladen",
"lblLink": "Link",
"disabled": "Diese Funktion wurde v... |
dojo.provide("dojo.data.old.provider.Base");dojo.require("dojo.lang.assert");dojo.data.old.provider.Base=function(){this._countOfNestedTransactions=0;this._changesInCurrentTransaction=null;};dojo.data.old.provider.Base.prototype.beginTransaction=function(){if(this._countOfNestedTransactions===0){this._changesInCurrentT... |
function LightBall(boxObject, scale)
{
this.box = boxObject;
this.scaling = scale;
this.drawObject = drawLightObject;
}
function drawLightObject()
{
pos = this.box.GetPosition();
m_radius = this.box.GetFixtureList().GetShape().m_radius;
var lightRadius = window.innerHeight;//20 * m_radius * th... |
const mongo = require('../mongo/mongo')
const and = require('../utils').and
const WebSocketClient = require('../websocket/websocket-client').WebSocketClient
const isEqual = require('underscore').isEqual
var generateId = require('time-uuid');
const { realTimeCallBack, monitorCallBack } = require('./callbacks')
/**
* C... |
var jquery = require('jquery');
var re = /http:\/\/www\.collegehumor\.com\/(video|embed)\/([0-9]+)\.*/;
module.exports = {
re: re,
// TODO: add predefined size for og-image: 640x360.
mixins: [
"oembed-title",
"oembed-site",
"oembed-thumbnail"
],
getLink: function(oembed... |
/* Copyright 2017 Mozilla Foundation
*
* 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 agreed... |
(function(root) {
var bhIndex = null;
var rootPath = '';
var searchTypeClasses = {
'Namespace': 'label-default',
'Class': 'label-info',
'Interface': 'label-primary',
'Trait': 'label-success',
'Method': 'label-danger',
'_': 'label-warning'
};
var sea... |
var expect = require('chai').expect;
var names = require('../src/index.js');
describe('Counting the total names', function () {
it('should be an array of strings!', function () {
expect(names.all).to.satisfy(isArrayOfStrings);
function isArrayOfStrings(array) {
return array.every(fun... |
const { expect } = require('chai');
const {
isBlueDisk,
isBlueRing,
isRedDisk,
isRedRing,
setupBoard,
} = require('../src/board');
const {
isBlueDiskWinAt,
isRedDiskWinAt,
isBlueRingWinAt,
isRedRingWinAt,
} = require('../src/evaluation');
const { GRID_SIZE } = require('../src/constan... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const observable_1 = require("./observable");
const subject_1 = require("./subject");
const unsubscribe_1 = require("./unsubscribe");
// TODO: Subject already creates additional observables "under the hood",
// now we introduce even more... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.