text stringlengths 2 1.05M |
|---|
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pr... |
import React from 'react';
import {
defaultSkinColor,
defaultClothesColor,
} from '../../constants';
import Character from '../Character';
import MaxWidthWrapper from '../MaxWidthWrapper';
import ControlPane from '../ControlPane';
import {
bodyOptions,
headOptions,
faceOptions,
accessoryOptions,
skinCol... |
import $$$ from '../../interface/global';
import $S from "../../interface/stack.js";
import Template from "./Template";
// var requestId = $S.getRequestId();
var Config = {};
var basepathname = $$$.basepathname;
var baseApi = $$$.baseApi;
var loginUserDetailsApi = $$$.loginUserDetailsApi;
Config.basepathname = base... |
const container = document.querySelector(".container");
const newBookBtn = document.querySelector(".new-book-btn");
const addBookBtn = document.querySelector(".add-book-btn");
const cancelBtn = document.querySelector(".cancel");
const formDiv = document.querySelector(".new-book-form");
const newBookForm = document.quer... |
const debug = require('debug')('drachtio:sbc-rtpengine-sidecar');
module.exports = ({logger}) => {
return (req, res) => {
/* TODO: build this out with your logic */
debug(req.uri, 'got incoming OPTIONS');
res.send(200, {
headers: {
'User-agent': 'sbc-rtpengine-sidecar'
}
});
};... |
'use strict';
const Renderer = require('./Renderer');
module.exports = class BooleanRenderer extends Renderer {
getName() {
return 'boolean';
}
render({
context,
value,
label,
decoration,
}) {
context.renderDecoration({label, decoration, cl... |
import { NgModule } from '@angular/core';
import { KendoDraggableDirective } from './common/draggable';
import { CommonModule } from '@angular/common';
import { CldrIntlService, IntlService } from '@progress/kendo-angular-intl';
/**
* @hidden
*/
var DraggableModule = /** @class */ (function () {
function Draggabl... |
/**
* @type {Map}
*/
const LISTENERS = new Map();
/**
* Get the value of a key.
*
* @param {String} key
* @param {Object} opts
* @return {Promise}
*/
export function get(key, {sync = false} = {}) {
const area = sync ? chrome.storage.sync : chrome.storage.local;
return new Promise((resolve, reject) => area... |
goog.provide('plugin.im.action.feature.ui.StyleConfigCtrl');
goog.provide('plugin.im.action.feature.ui.styleConfigDirective');
goog.require('goog.color');
goog.require('os.color');
goog.require('os.object');
goog.require('os.style');
goog.require('os.ui.Module');
goog.require('os.ui.file.kml');
goog.require('os.ui.ico... |
exports.level = {
"goalTreeString": "{\"branches\":{\"master\":{\"target\":\"C6\",\"id\":\"master\",\"remoteTrackingBranchID\":\"o/master\"},\"foo\":{\"target\":\"C7\",\"id\":\"foo\",\"remoteTrackingBranchID\":\"o/foo\"},\"o/master\":{\"target\":\"C1\",\"id\":\"o/master\",\"remoteTrackingBranchID\":null},\"o/foo\":{\... |
/*!
* Start Bootstrap - SB Admin 2 v4.0.7 (https://startbootstrap.com/template-overviews/sb-admin-2)
* Copyright 2013-2019 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/blob/master/LICENSE)
*/
// Set new default font family and font color to mimic Bootstrap's d... |
document.addEventListener("DOMContentLoaded", () => {
// Selecting couple elements
const users_posts = document.querySelectorAll(".post-update")
const modal = document.getElementById("modal")
const close_button = document.getElementById("close_button")
// Adding a callback function for each post w... |
const path = require("path")
const { createFilePath } = require("gatsby-source-filesystem")
exports.createPages = async ({ actions, graphql, reporter }) => {
const { createPage } = actions
const result = await graphql(`
{
allContentfulPost {
nodes {
slug
}
}
}
`)
i... |
import axios from 'axios'
import { MessageBox, Message } from 'element-ui'
import store from '@/store'
import { getToken } from '@/utils/auth'
// create an axios instance
const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
// withCredentials: true, // send cookies ... |
(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... |
import _curry3 from './internal/_curry3.js';
import always from './always.js';
import over from './over.js';
/**
* Returns the result of "setting" the portion of the given data structure
* focused by the given lens to the given value.
*
* @func
* @memberOf R
* @since v0.16.0
* @category Object
* @typedefn Len... |
import '@brightspace-ui/core/components/button/button.js';
import '@brightspace-ui/core/components/button/button-icon.js';
import '@brightspace-ui/core/components/dialog/dialog';
import '@brightspace-ui/core/components/dialog/dialog-confirm.js';
import '@brightspace-ui/core/components/tooltip/tooltip';
import '@brights... |
var fs = require("fs");
module.exports = function() {
let now = new Date();
let night = new Date(
now.getFullYear(), now.getMonth(), now.getDate(),
global.backup.time[0], global.backup.time[1], global.backup.time[2]
);
let update = night.getTime() - now.getTime(); // milliseconds
if (Math.sign(upda... |
import assert from 'assert';
import { errors } from 'arsenal';
import withV4 from '../support/withV4';
import BucketUtility from '../../lib/utility/bucket-util';
const bucketName = 'alexbucketnottaken';
const objectName = 'someObject';
function checkNoError(err) {
assert.equal(err, null,
`Expected succes... |
window.hjSiteSettings = window.hjSiteSettings || {"features":["settings.billing_v2","recordings.page_content_ws"],"site_id":930919,"integrations":{"optimizely":{"tag_recordings":false}},"privacy_policy_url":"https:\/\/web.archive.org\/web\/20200415170500\/https:\/\/www.health.govt.nz\/about-site\/privacy-and-security",... |
// Template by http://github.com/jackdougherty/leaflet-map/
// See Leaflet tutorial links in README.md
// set up the map center and zoom level
var map = L.map('map', {
center: [31.15, -26.33], // [41.5, -72.7] for Connecticut; [41.76, -72.67] for Hartford county or city
zoom: 13, // zoom 9 for Connecticut; 10 for ... |
import produce from 'immer';
export const initialState = {};
/* eslint-disable no-param-reassign */
const About = (state = initialState, action) =>
produce(state, (draft) => {
switch (action.type) {
default:
break;
}
});
export default About;
|
const gulp = require('gulp')
const plugins = require('gulp-load-plugins')()
const $ = plugins.configly(__dirname, 'package.json')
gulp.task('build', ['build:js', 'build:json'])
gulp.task('build:js', () => {
return gulp.src($.sources.js)
.pipe(plugins.sourcemaps.init())
.pipe(plugins.debug($.debug.js))
... |
export const c_modal_box = {
".pf-c-modal-box": {
"c_modal_box_BackgroundColor": {
"name": "--pf-c-modal-box--BackgroundColor",
"value": "#fff",
"values": [
"--pf-global--BackgroundColor--100",
"$pf-global--BackgroundColor--100",
"$pf-color-white",
"#fff"
]
... |
import vector from './utils/vector'
import matrix, { R } from './utils/matrix'
// x_d = x_c - t_d
export const fromDocumentToContainer = ({ container_document }, vector_document) => (
vector.sub(vector_document, container_document)
)
// x_c = x_d + t_d
export const fromContainerToDocument = ({ container_document },... |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2020, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... |
import { expect } from 'chai'
import { mapType, toGraphQL } from '../../src/typeMapper'
import JSONType from '../../src/types/jsonType'
import DateType from '../../src/types/dateType'
import Sequelize from 'sequelize'
const {
BOOLEAN,
ENUM,
FLOAT,
REAL,
CHAR,
DECIMAL,
DOUBLE,
INTEGER,
BIGINT,
STRI... |
var net = require('net');
var TCProtocol = require('./tcprotocol.js');
var buddyManager = require('./buddyManager.js');
var conf = require('../conf/torchat-node.js');
var bunyan = require('bunyan');
var cliGUI = require('./cliGUI.js')
var log = bunyan.createLogger({
name: 'torchat-node',
streams: [{
lev... |
YUI.add('loader-base', function (Y, NAME) {
/**
* The YUI loader core
* @module loader
* @submodule loader-base
*/
if (!YUI.Env[Y.version]) {
(function() {
var VERSION = Y.version,
BUILD = '/build/',
ROOT = VERSION + '/',
CDN_BASE = Y.Env.base,
GALLERY_... |
"use strict";
meta.load = function()
{
meta.preloadTextures("bg-tile", "assets/images");
meta.preloadTextures(MatchGame.Cfg.gems, "assets/images");
var intro = meta.getView("intro");
intro.register("Intro");
var game = meta.getView("game");
game.register("MatchGame");
meta.setView("intro");
}; |
var http = require("http");
var path = require("path");
var express = require("express");
var bodyParser = require('body-parser');
var formidable = require('formidable');
var fs = require('fs');
var app = express();
// parse application/x-www-form-urlencoded
app.use(bodyParser.urlencoded({ extended: false }))
// par... |
var Cancel = axios.Cancel;
var CancelToken = axios.CancelToken;
var _AbortController = require('abortcontroller-polyfill/dist/cjs-ponyfill.js').AbortController;
var AbortController = typeof AbortController === 'function' ? AbortController : _AbortController;
describe('cancel', function() {
beforeEach(function() {
... |
import consts from 'consts/const_global';
import Serialization from "common/utils/Serialization";
import BufferExtended from 'common/utils/BufferExtended';
import InterfaceSatoshminDB from 'common/satoshmindb/Interface-SatoshminDB';
class PoolData {
constructor(databaseName) {
this._db = new InterfaceSat... |
rtInherits = function(aSubClass, aBaseClass)
{
function rtInheritance() { }
rtInheritance.prototype = aBaseClass.prototype;
aSubClass.prototype = new rtInheritance();
aSubClass.prototype.constructor = aSubClass;
aSubClass.baseConstructor = aBaseClass;
aSubClass.superClass = aBaseClass.prototype;
}
HexToRGBA = ... |
var cpx = require("cpx");
|
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { NgModule } from '@angular/core';
import { OptimumComponentsComponent } from './optimum-components.component';
import { TextAreaInputComponent } from './... |
typeSearchIndex = [{"p":"org.apache.qpid.protonj2.codec.decoders.primitives","l":"AbstractArrayTypeDecoder"},{"p":"org.apache.qpid.protonj2.codec.decoders.primitives","l":"AbstractBinaryTypeDecoder"},{"p":"org.apache.qpid.protonj2.codec.encoders","l":"AbstractDescribedListTypeEncoder"},{"p":"org.apache.qpid.protonj2.co... |
import React from 'react'
import Layout from 'components/layout'
import { Link } from 'gatsby'
const NationalDePage = () => (
<Layout>
<main>
<div className="container px-5 region-content">
<h1 className="page-title">National Demonstration Project</h1>
<p>
After exploring during 1... |
/*global require, console, __dirname, JSON*/
var TextAdapter = require('./textadapter');
var q = require('json-query');
var fs = require('fs');
var path = require('path');
var startDate = new Date("Sun Apr 16 2017");
var dataDir = path.join(__dirname, 'data');
var adapter;
function afterLoaded() {
console.log("d... |
/*:
* @plugindesc This plugin provides a function that would not turn off the screen during the game on Android
* @author biud436
* @help
* var pointer;
* WakeLock.getScreenWidth(pointer);
* WakeLock.getScreenHeight(pointer);
* WakeLock.getScreenDestiny(pointer);
*/
var Imported = Imported || {};
Imported.RS_W... |
import { createApp } from 'vue'
import { Router } from './router.js'
import { Auth } from './auth.js'
import App from './App.vue'
import 'bootstrap/dist/css/bootstrap.min.css'
const app = createApp(App)
app.use(Router)
// Make auth object global to access from anywhere
app.config.globalProperties.$auth = Auth
Auth
... |
'use strict';
const autoprefixer = require('autoprefixer');
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const InterpolateHtmlPlugin = require('react-dev-utils... |
import boardsRepository from "./../../repositories/boardsRepository";
import itemsRepository from "./../../repositories/itemsRepository";
import EmojiIcons from "./../../assets/emojiIcons";
import {tryConsumeQueue} from "../../repositories/syncRepository";
const state = {
activeBoard: {},
addItemEmoji: {
searc... |
importScripts("/_nuxt/workbox.4c4f5ca6.js");
workbox.precaching.precacheAndRoute(
[
{
url: "/_nuxt/0d3770bae32970ad6934.js",
revision: "83bac57f046fc33ae546b19c710d5cc8"
},
{
url: "/_nuxt/18807efb12aada0ab34f.js",
revision: "4027d9d69a0305914a... |
class Camera {};
export default Camera; |
module.exports = {
title: 'Vue component library',
description: 'Vue component library documentation',
themeConfig: {
repo: 'frederikwagner/vue-component-library',
sidebarDepth: 2,
sidebar: [
['/', 'Home'],
['/inspiration', 'Inspiration'],
{
title: 'Creating your own library'... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... |
/**
* ===========================
* Agency Webpack-Mix Config
* A capable website/webapp config built for the modern web agency.
* https://github.com/ben-rogerson/agency-webpack-mix-config
* ===========================
*
* Contents
*
* 🎚️ Settings
* 🏠 Templates
* 🎨 Styles
* 🎨 Styles: CriticalCSS
* 🎨 S... |
const net = require('net');
const { spawn } = require('child_process');
var server = null;
var hazelcastServer = null;
function startUnresponsiveServer(port) {
server = net.createServer(function (socket) {
//no-response
});
server.listen(port);
}
function stopUnresponsiveServer() {
if (server)... |
const karmaConfig = require('./karma.conf.js');
const lernaJson = require('./lerna.json');
module.exports = function(config) {
karmaConfig(config);
config.plugins.push('karma-coverage');
config.set({
browserify: {
debug: true,
transform: [
[
'babelify',
{
plugins: ['istanbul'],
p... |
/* eslint-disable prettier/prettier */
import Operation from '../../../backend/Operation';
/**
* @summary Description
*/
const opn = new Operation();
opn.setDescription(
'Extract the salt used by the LDAP password encryption algorithm for'
+ 'a specific password. Uses standard SSHA encryption alogrithm. Used fo... |
(function(d){d['sv']=Object.assign(d['sv']||{},{a:"Kan inte ladda upp fil:",b:"Table toolbar",c:"Image toolbar",d:"Kursiv",e:"Blockcitat",f:"Fet",g:"image widget",h:"Insert image or file",i:"Välj rubrik",j:"Rubrik",k:"Bild i full storlek",l:"Kantbild",m:"Vänsterjusterad bild",n:"Centrerad bild",o:"Högerjusterad bild",p... |
'use strict';
var hapi = require('hapi');
var minimist = require('minimist');
var _ = require('lodash');
var argv = minimist(process.argv.slice(2));
var server = new hapi.Server();
var connectionOptions = {
port: argv['p'] || 3080
};
server.connection(connectionOptions);
server.route({
method: '*',
pat... |
(function() {
'use strict';
angular
.module('app.core', [
'blocks.logger',
'blocks.router'
]);
})(); |
import { moduleFor, test } from 'ember-qunit';
moduleFor('controller:new-platform-super-simple-contact-list-contact-l', 'Unit | Controller | new-platform-super-simple-contact-list-contact-l', {
// Specify the other units that are required for this test.
needs: [
'controller:advlimit-dialog',
'controller:co... |
import React, { Component } from "react";
import { Image, TextInput, TouchableWithoutFeedback, TouchableOpacity, View, Text } from "react-native";
import PropTypes from "prop-types";
import Country from "./country";
import Flags from "./resources/flags";
import PhoneNumber from "./phoneNumber";
import styles from "./s... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.ReactHorizontalCarousel = factory());
}(this, (function () { 'use strict';
function createCommonjsModule(fn, module) {
ret... |
const express = require('express');
const status = require('http-status');
module.exports = function(messages){
var router = express.Router();
router.get('/:id',function(req,res){
messages.read(req.params.id,function(err,doc){
if(err) return res.sendStatus(status.BAD_REQUEST);
if(doc) return re... |
export { default } from 'ember-paper-react/components/r-paper-dialog-content-text'; |
/**
* Copyright 2015 Telerik AD
*
* 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 to ... |
// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
//
//= require action_cable
//= require_self
(function() {
this.App || (this.App = {});
App.cable = ActionCable.createConsumer();
}).... |
/**
* @license
* Visual Blocks Language
*
* Copyright 2012 Google Inc.
* https://blockly.googlecode.com/
*
* 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... |
var $NODE = 0;
/** Object for the GameOfLife. */
function GameOfLife(cols, rows) {
this.cols = cols;
this.rows = rows;
this.cells = cols*rows;
this.board = [];
this.adjacent = {};
var that = this;
var xyToNum = function(x, y) {
var result = (x + y * that.cols);
//conso... |
/**
* Auto-generated action file for "AWS MediaConnect" API.
*
* Generated at: 2019-05-07T14:35:57.217Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / amazonaws-com-mediaconnect-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connecto... |
import template from './rmVideo.html';
import controller from './rmVideo.controller';
import './rmVideo.scss';
let rmVideoComponent = {
restrict: 'E',
bindings: {},
template,
controller,
controllerAs: 'vm'
};
export default rmVideoComponent;
|
/*
Make a CLI that concatenates all the strings given
with the given delimiter
E.g
node concatenate.js ; string1 string2 string3
node concatenate.js delimiter ...strings (this means any amount of arguments)
string1;string2;string3
*/
const args = process.argv.slice(2);
// We need minimum 3 arguments, del... |
/*!
* Bootstrap-select v1.7.4 (http://silviomoreto.github.io/bootstrap-select)
*
* Copyright 2013-2015 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Registe... |
export { default } from 'ember-data-visualizations/components/pie-chart/component'; |
(function (app) {
let Check = function (id) {
if (!id) {
throw "Check的id不能为空"
}
this.ID = id
this.Level = 0
this.Command = ""
this.IntervalParam = ""
this.LastID = ""
}
Check.prototype.WithLevel = function (level) {
this.Level = lev... |
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
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.... |
import 'phaser';
import PhaserNavMeshPlugin from "phaser-navmesh";
// Base class for isometric map scenes
export default class TestBaseScene extends Phaser.Scene {
constructor(config) {
super({
key: config.key,
});
this.wobble = "wibble";
}
}
|
describe('<md-autocomplete>', function() {
var element, scope;
beforeEach(module('material.components.autocomplete'));
afterEach(function() {
scope && scope.$destroy();
});
function compile(template, scope) {
inject(function($compile) {
element = $compile(template)(scope);
scope.$appl... |
const createScene = () => {
const scene = new BABYLON.Scene(engine);
const camera = new BABYLON.ArcRotateCamera(
"Camera",
-Math.PI / 2,
Math.PI / 2,
5,
BABYLON.Vector3.Zero(),
scene
);
camera.attachControl (canvas, true);
camera.inputs.attached.mo... |
'use strict';
const testUtils = require('./utils');
const dc = require("double-check");
const assert = dc.assert;
let resolver;
let keySSISpace;
testUtils.resolverFactory({testFolder: 'load_dsu_test_folder', testName: 'Load DSU Test'}, (err, result) => {
assert.true(err === null || typeof err === 'undefined', 'F... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[179],{
/***/ "./frontend/src/views/settings/create_vehicle_categories.vue":
/*!*******************************************************************!*\
!*** ./frontend/src/views/settings/create_vehicle_categories.vue ***!
\*******************************... |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(['sap/ui/core/Renderer','./ToolbarRenderer'],function(R,T){"use strict";var O=R.extend(T);O.renderBarContent=function(r,... |
const request = require('request-promise-native');
const util = require('util');
const accessToken = 'ilovegadd';
async function main() {
const response = await request.post({
url: `${process.env.BLUELAB_API_ENDPOINT}/dev/accountRegistration`,
headers: {
bluelabToken: accessToken,
... |
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import { APIDEMOS_CAPS } from '../../desired';
import { initDriver } from '../../helpers/session';
chai.should();
chai.use(chaiAsPromised);
const atv = 'android.widget.TextView';
const f = "android.widget.FrameLayout";
describe('Find - xpath', ... |
const common = require('../../../../../server/lib/common');
const {authenticateContentApiKey} = require('../../../../../server/services/auth/api-key/content');
const models = require('../../../../../server/models');
const should = require('should');
const sinon = require('sinon');
const testUtils = require('../../../..... |
//--------------------------------------------------------
//-- Node IoC - Test - Unit - ServiceStartCommandTest
//--------------------------------------------------------
'use strict';
const Handler = require('../../../../../dist/node/app/handlers/Handler');
const ServiceRestartCommand = require('../.... |
import * as util from '../../util';
import Component from './Component';
import moment from '../../module/moment';
import locales from '../locales';
/**
* A current time bar
* @param {{range: Range, dom: Object, domProps: Object}} body
* @param {Object} [options] Available parameters:
* ... |
define(['exports', 'module', 'angular', 'laxar-patterns'], function (exports, module, _angular, _laxarPatterns) {
/**
* Copyright 2016 aixigo AG
* Released under the MIT license
* http://www.laxarjs.org
*/
'use strict';
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj... |
import React from 'react'
import { View, Text, StyleSheet, ScrollView, Image, TouchableOpacity } from 'react-native'
import { MaterialIcons } from '@expo/vector-icons'
import { useNavigation } from '@react-navigation/native'
import Shoes from '../../components/Shoes'
export default function Home() {
const navigatio... |
'use strict';
// polyfills HTMLElement.prototype.classList and DOMTokenList
require('classlist-polyfill');
// polyfills HTMLElement.prototype.hidden
require('./element-hidden');
|
require('./app.js').wat2wasm(); |
"use strict";
///<reference path="../typings/node/node.d.ts" />
const Callmonitor_1 = require('./Callmonitor');
const MqttAdapter_1 = require('./MqttAdapter');
class Fritz2Mqtt {
constructor(config) {
this.state = new State();
this.mqttAdapter = new MqttAdapter_1.MqttAdapter(config.mqttAdapter);
... |
(function(a){const e=a["ca"]=a["ca"]||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"","Block quote":"Cita de bloc","Blue marker":"Marcador blau",Bold:"Negreta",Cancel:"Cancel·lar","Choose heading":"Escull capçalera","Green marker":"Marcador verd","Green pen":"Bolígraf verd",Heading:"Capçalera","Heading 1"... |
tinymce.addI18n('pt-BR',{
"Cut": "Recortar",
"Heading 5": "Cabe\u00e7alho 5",
"Header 2": "Cabe\u00e7alho 2",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Seu navegador n\u00e3o suporta acesso direto \u00e0 \u00e1rea de transfer\u00eancia. Por ... |
class OrganisationSummaryController {
constructor() {
this.name = 'organisationSummary';
}
}
export default OrganisationSummaryController;
|
const CarModel = require('./cars.model');
exports.makeEntry = (data) => {
console.log('Car Save initiated');
return CarModel.insertMany(data).then(d => {
console.log('Car entry saved');
return d[0];
})
}
exports.getAll = async () => {
console.log('Fetching all cars...');
try {
... |
import React from 'react'
import { Redirect } from 'react-router-dom'
import axios from 'axios'
import Banner from '../../components/Banner'
import Navigation from '../../common/navigation'
import { API_URL } from "../../common/url-types"
import Testimonial from '../../components/Testimonial'
import styled from 'style... |
"use strict";
var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc ... |
const spawn = require('child_process').spawn;
const os = require('os').platform();
export function arp(ip, cb) {
if(os.indexOf('linux') === 0)
linux(ip, cb);
else if(os.indexOf('win') === 0)
windows(ip, cb);
else if(os.indexOf('darwin') === 0)
mac(ip, cb);
};
function linux(ip, cb) {
var arp = spa... |
import demo from "./demo";
export default {
...demo
};
|
import { select, call, put, all, takeEvery } from 'redux-saga/effects';
import axios from 'axios';
import * as actions from './actions';
import initializeCanvas from '../utils/init';
function* fetchCountyData(action) {
try {
const { data } = yield call(axios.get, 'http://localhost:8080/api/counties');
yiel... |
/**
* Created by paul on 8/26/17.
* @flow
*/
import { Buffer } from 'buffer'
import { bns } from 'biggystring'
import { type EdgeCurrencyInfo, type EdgeMetaToken } from 'edge-core-js/types'
import { validate } from 'jsonschema'
function normalizeAddress (address: string) {
return address.toLowerCase().replace('... |
const mongoose = require('mongoose')
const UserSchema = new mongoose.Schema({
fname: {type: String,required: true,trim:true},
lname: {type: String,required: true,trim:true},
email: { type: String,required: true,unique: true},
profileImage:{type:String,required:true},
phone:{type:String,trim: true... |
#!/usr/bin/env node
//用法:
// webpart rename <id> <new-id> 对指定模块及所有子模块进行重命名。
//参数:
// <id> 原模块 id。
// <new-id> 新模块 id。
//选项:
// -a, --abbr 输出的新模块 id 是否为短名称。
//示例:
// webpart rename --abbr /Login/Main Main2
//强依赖配置节点:
// stat
const console = require('@webpart/console');
const File = require('@definejs/... |
function getInventoryAPI() {
return fetch("http://localhost:3100/api/inventory")
.then(res => {
if (res.status === 200) {
return res.json();
}
});
}
export function getInventory() {
return getInventoryAPI().then(res => {
let response = [];
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.