text stringlengths 2 1.05M |
|---|
export { default } from './Association'
|
import { VideoPlayer } from "./video-player.js";
import { registerGamepadEvents, registerKeyboardEvents, registerMouseEvents, sendClickEvent } from "./register-events.js";
let playButton;
let videoPlayer;
showPlayButton();
window.document.oncontextmenu = function () {
return false; // cancel default menu
}
wi... |
var Npj = Npj || {};
Npj.PesquisaRapidaFuncionario = (function(){
function PesquisaRapidaFuncionario() {
this.pesquisaFuncionarioModal = $('#pesquisaFuncionarioModal');
this.pesquisaFuncionarioBtn = $('.js-pesquisa-funcionario-btn');
this.funcionarioInput = $('#nomeFuncionarioModal');
this.htmlTabela = $('#... |
const blueprint = require('../blueprint')
const mqtt = require('../mqtt')
const socket = require('../socket')
const timeseries = require('../timeseries')
const devicesService = require('./devices.service')
const devices = angular.module('simulator.common.services.devices', [
blueprint,
mqtt,
socket,
timeseries... |
import PropTypes from 'prop-types';
import Button from './Button';
const Header = ({ title, onAdd, showAdd }) => {
return (
<header className="header">
<h1>{title}</h1>
<Button
color={showAdd ? 'red' : 'green'}
text={showAdd ? 'Close' : 'Add'}
onClick={onAdd}
/>
</header>
);
};
Header.defau... |
import Editor from './Editor';
import Bold from './Plugins/Font/bold';
import Italic from './Plugins/Font/italic';
import Strikethrough from './Plugins/Font/strikethrough';
import OrderedList from './Plugins/List/ordered';
import UnorderedList from './Plugins/List/unordered';
import Quote from './Plugins/Block/quote';
... |
var data = {cosmos: {}} |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import '@/style/index.scss'
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
e... |
(function toggleChildrenTabs () {
const btn = document.querySelectorAll('.children-page__nav-link');
const tab = document.querySelectorAll('.children-page__tab');
const select = document.querySelector('.children-page__mob-nav');
if (btn && tab && (btn.length == tab.length)) {
for (let i = 0; i < btn.length; i++)... |
google.maps.__gjsload__('common', function(_){'use strict';var Mi,Oi,Pi,Ti,Zi,yj,Bj,Cj,Dj,Kj,Lj,Pj,Oj,Qj,Rj,Sj,Tj,Uj,Yj,qk,sk,tk,zk,Ek,Hk,Lk,Pk,Sk,Xk,$k,dl,bl,cl,zl,Al,Dl,Fl,Ml,Ol,Rl,Pl,Ql,Tl,Ul,Vl,Xl,Yl,Zl,$l,bm,dm,fm,gm,hm,im,mm,lm,rm,vm,um,wm,xm,ym,zm,Em,Km,Dm,Jm,Im,Cm,Lm,Mm,Nm,Om,Rm,Qm,Sm,Tm,Um,Pm,Vm,Xm,cn,en,fn,hn... |
const jwt = require('jsonwebtoken');
const dotenv = require('dotenv');
dotenv.config()
const SECRET = process.env.SECRET;
const auth = async (req, res, next) => {
try {
const token = req.headers.authorization.split(" ")[1]
const isCustomAuth = token.length < 500
let decodeData;
/... |
import React, { Component } from 'react'
import { fetchOrganization } from '../../core/firebaseRestAPI'
import { authenticate } from '../../lib/session'
import { uuid } from '../../lib/uuid'
import Layout from '../../components/Layout'
import Loading from '../../components/Loading'
import OrganizationEdit from '../..... |
import AbstractProcessor from './AbstractProcessor';
export default class IfProcessor extends AbstractProcessor {
constructor() {
super(...arguments);
this.stack = [];
this.throwAway = false;
}
async process({ source, instruction, content }) {
const pop = () => {
... |
module.exports = {
backgroundColor: "#19272d",
foregroundColor: "#b6ced8",
borderColor: "#2b434e",
cursorColor: "#ffffff",
colors: {
black: "#22353d",
red: "#ba0e2e",
green: "#1ea8fc",
yellow: "#5dcdfd",
blue: "... |
/*
* Copyright 2015, Yahoo Inc.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/
/* global describe, it */
'use strict';
var expect = require('expect.js');
var extractData = require('../../');
describe('exports', function () {
it('should have a single de... |
// 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... |
import React from 'react'
import useContextMenu from './useContextMenu'
const GraphMenu = ({ outerRef }) => {
const { xPos, yPos, menu } = useContextMenu(outerRef)
console.log(`xpos is ${xPos} and yPos is ${yPos} and menu is ${menu}`)
if (menu) {
return (
<ul className="menu" style={{ top: yPos, left:... |
/**
* Copyright (c) 2014 Intel Corporation
*
* 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 ... |
'use strict';
//>module.exports
module.exports = {
allMarkdownRemark: {
group: [
{
fieldValue: 'test_0',
totalCount: 1
},
{
fieldValue: 'test_1',
totalCount: 2
}
],
edges: [
{
node: {
fields: {
slug: '/test_0',
... |
#!/usr/bin/env node
//noinspection JSUnresolvedFunction,JSUnresolvedVariable
/**
* Generate xtemplate function by xtemplate file using kissy xtemplate.
* @author yiminghe@gmail.com
*/
var program = require('./lib/commander');
program
.option('-p, --package-path <packagePath>', 'Set kissy package path')
.opti... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GarbageCollectorMetrics = void 0;
const tslib_1 = require("tslib");
const react_1 = (0, tslib_1.__importDefault)(require("react"));
const formatter_1 = require("../../formatter");
const Table_1 = (0, tslib_1.__importDefault)(require("@... |
// Copyright © 2020 The Things Network Foundation, The Things Industries B.V.
//
// 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
//
// Un... |
/*
YUI 3.17.1 (build 0eb5a52)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('scrollview-base', function (Y, NAME) {
/**
* The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators
*
* @module scrollview
*... |
define([
], function (
) {
'use strict';
// this looks odd, but we'll be added other properties in future - validators etc
return [ 'data', 'computed' ];
}); |
!function(e){const i=e.ar=e.ar||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"","Align center":"محاذاة في المنتصف","Align left":"محاذاة لليسار","Align right":"محاذاة لليمين",Aquamarine:"",Big:"كبير",Black:"","Block quote":"اقتباس",Blue:"",Bold:"عريض","Break text":"","Bulleted List":"قائمة نقطية",Cancel:"إ... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ic_movie_filter_twotone = void 0;
var ic_movie_filter_twotone = {
"viewBox": "0 0 24 24",
"children": [{
"name": "path",
"attribs": {
"d": "M0 0h24v24H0V0z",
"fill": "none"
},
"children": []
}, {
... |
import { DefaultFairy } from './DefaultFairy';
import { StrongerStage1Fairy } from './StrongerStage1Fairy';
import { StrongStage1Fairy } from './StrongStage1Fairy';
import { Tumbleweed } from './Tumbleweed';
import { Wriggle1 } from './Wriggle1';
import { Wriggle2 } from './Wriggle2';
/* eslint no-unused-vars: 0 */
c... |
import{r as t,h as e,F as a,g as i,c as n}from"./p-6b8b45ed.js";import{b as o,g as r,C as l}from"./p-f1686cee.js";import"./p-a4e6e35b.js";const s=class{constructor(e){t(this,e)}renderHeader(){return o(this.el,"header")?e("slot",{name:"header"}):null}renderContent(){return this.contentBehind?[e("div",{class:{content:!0,... |
/* eslint-disable prefer-arrow-callback,no-var,space-before-function-paren */
test('load localhost', async () => {
jest.setTimeout(30000)
await browser.url('/src/browserstack/page.html')
await browser.getUrl()
if (needPolyfill) {
await browser.execute(function(url) {
if (!window.__addScript__) {
... |
"use strict";
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 = Refl... |
/**
* The Jira Cloud platform REST API
* Jira Cloud platform REST API documentation
*
* The version of the OpenAPI document: 1001.0.0-SNAPSHOT
* Contact: ecosystem@atlassian.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do n... |
"use strict";
import GameManager from "./GameManager.js"
/*
Необходим для связи всех кораблей при создании и расстановке.
Создает матрицу на основе всех кораблей.
*/
export default class ShipList
{
constructor()
{
if (ShipList.__instance) {
return ShipList.__instance;
}
... |
import React, { useCallback, useState } from 'react';
import { useEffect } from 'react';
import { FiXCircle } from 'react-icons/fi';
import { useAxios } from '../../services/api';
import { Search, TagContainer, TagButton } from './style';
const TagSelector = ({ selectedTags, setSelectedTags }) => {
const { data: t... |
import React from 'react'
const Team = () => {
return (
<div>
Team Page
</div>
)
}
export default Team
|
i18n.setKeys({
"General.Elasticsearch": "Elasticsearch",
"General.LoadingAggs": "Gruplar Yükleniyor...",
"General.Searching": "Aranıyor...",
"General.Search": "Ara",
"General.Help": "Yardım",
"General.HelpGlyph": "?",
"General.CloseGlyph": "X",
"General.RefreshResults": "Yenile",
"General.ManualRefresh": "Manu... |
const fs = require('fs')
const path = require('path')
const fb = require('@functional-bitcoin/agent')
const forge = require('node-forge')
const axios = require('axios')
const { NodeVM } = require('vm2')
fb.config.adapter.key = 'test'
const agent = new fb.Agent({
transforms: {
... |
const mongoose = require('mongoose');
const bcrypt = require('bcrypt');
const { Output } = require('../util/Output.js');
const Emailer = require('../util/Emailer.js');
/**
* Create a user.
*/
function post(req, res) {
var o = new Output(res);
// Input
var { email, password, name, type } = req.body;
... |
var stringifier = Object.prototype.toString
module.exports = isError
function isError(value) {
return stringifier.call(value) === "[object Error]"
} |
var THREEx = THREEx || {}
//////////////////////////////////////////////////////////////////////////////////
// Constructor //
//////////////////////////////////////////////////////////////////////////////////
/**
* create a dynamic texture with a underlying canvas
*
* @param {Number} width width of the c... |
import { HtmlTemplate } from "./HtmlTemplate.js";
import { parseTimeAsTotalMinutes } from "./datetime.js";
export class ScheduleItem {
constructor(data, localStarStorage) {
this.id = data.id;
this.tracks = data.tracks;
this.localStarStorage = localStarStorage;
scheduleItemTemplate ... |
var searchData=
[
['d',['d',['../classplanning_1_1Spline.html#a5472a964ebb6926770a9c8d0fbb0f3b4',1,'planning::Spline']]],
['default_5fclang_5fformat_5fignore',['DEFAULT_CLANG_FORMAT_IGNORE',['../namespacerun-clang-format.html#ab748f2f9864ae4e0e025c7699e02ede4',1,'run-clang-format']]],
['default_5fextensions',['DE... |
/**
* Copyright IBM Corp. 2016, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
var _20 = {
"elem": "svg",
"attrs": {
"xmlns": "http://www.w3.org/200... |
/*!
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
/**
* Controller to save mail smtp settings
*/
(function () {
angular.module('piwikApp').controller('BrandingController', BrandingController);
BrandingController... |
module.exports = ['090-####-####', '080-####-####', '070-####-####'];
|
import { URLSearchParams } from 'url';
import axios from 'axios';
import config from 'config';
import debugLib from 'debug';
import jwt from 'jsonwebtoken';
import { get } from 'lodash';
import errors from '../../lib/errors';
import stripe from '../../lib/stripe';
import { addParamsToUrl } from '../../lib/utils';
imp... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkId = exports.checkInteger = exports.checkString = exports.match = exports.asyncCheckInRange = exports.checkInRange = exports.checkEmail = exports.checkNumber = exports.asyncCompare = exports.compare = exports.checkBoolean = export... |
var React = require('react');
function AboveGame() {
return (
<div className="above-game">
<p className="game-intro">Join the numbers and get to the <strong>2048 tile!</strong></p>
<a className="restart-button">New Game</a>
</div>
);
}
module.exports = AboveGame;
|
import React from 'react';
import ReactDOM from 'react-dom';
import App from './Components/App';
import * as serviceWorker from './serviceWorker';
import Axios from "axios";
import '../css/404.css';
import '../css/app.css';
window.laravel.csrfToken = document.querySelector('meta[name="csrf-token"]').getAttribute('cont... |
/**
* ReactDOMFiber v16.0.0-alpha.2
*/
;(function(f) {
// CommonJS
if (typeof exports === "object" && typeof module !== "undefined") {
module.exports = f(require('react'));
// RequireJS
} else if (typeof define === "function" && define.amd) {
define(['react'], f);
// <script>
} else {
va... |
const assert = require('assert').strict;
const {BigQuery} = require('@google-cloud/bigquery');
const BQ_PROJECTID = process.env.BQ_PROJECTID;
const BQ_DATASET_QUADKEY = process.env.BQ_DATASET_QUADKEY;
describe('TOCHILDREN integration tests', () => {
const queryOptions = { 'timeoutMs' : 30000 };
let client;
... |
module.exports={A:{A:{"2":"K D G E A B iB"},B:{"2":"2 C d J M H I"},C:{"2":"0 1 2 3 4 6 7 8 9 fB DB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z HB GB BB CB FB ZB YB"},D:{"2":"0 1 2 6 7 F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n... |
/*!
* =====================================================
* Mui v0.9.0 (https://github.com/dcloudio/mui)
* =====================================================
*/
/*!
handlebars v2.0.0
Copyright (C) 2011-2014 by Yehuda Katz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this ... |
[{"Owner":"max123","Date":"2016-11-17T10:40:06Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHi_co_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI_t_ve searched the forum_co_ but most questions and answers that I found relate to the reverse_dd_ convert World to Screed coordinates. _lt_br /_gt_\n\tThe reason I ne... |
"use strict";
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 = Refl... |
// alert("This Web page is Work In Progress and you may see errors"); |
import React from 'react';
import { StyleSheet, Platform, Image, Text, View, ScrollView, FlatList } from 'react-native';
import DataStore from './api/DataStore';
import firebase from 'react-native-firebase';
export default class App extends React.Component {
constructor() {
super();
this.state = ... |
// Swedish
'use strict';
var sv = function() {}
sv.code = 'sv';
sv.data = {
GEN_Help_0 : 'Already have a wallet somewhere?',
GEN_Help_MetaMask : 'So easy! Keys stay in MetaMask, not on a phishing site! Try it today.',
GEN_Warning_1 : '**Do not lose it!** It cann... |
const btnMobile = document.getElementById('btn-mobile');
function toggleMenu () {
const nav btnMobile = document.getElementById('nav');
nav.classList.toggle('active');
}
btnMobile.addEventListener('click' , toggleMenu);
|
import {Router} from 'aurelia-router';
import bootstrap from 'bootstrap';
export class App {
static inject() { return [Router]; }
constructor(router) {
this.router = router;
this.router.configure(config => {
config.title = 'MCharts';
config.map([
{ route:... |
'use strict'
const Bunyan = require( 'bunyan' )
/**
* Instantiates a logger
* @class
*/
module.exports = class Logger extends Bunyan {
/**
* @constructs
* @param opts <Object> passed straight through to bunyan.Logger
*/
constructor( opts ) {
super( Object.assign({
name: 'koa'
}, opts ||... |
import React, { useState, useEffect } from "react"
import { Flex, Text, Box } from "rebass"
import styled from "@emotion/styled"
import { useForm } from "react-hook-form"
import paymentProvidersMapper from "../../../utils/payment-providers-mapper"
import MultiSelect from "../../../components/multi-select"
import useMe... |
import React from 'react';
import {render} from 'react-dom';
import DeckGL from '@deck.gl/react';
import {MapView} from '@deck.gl/core';
import {TileLayer} from '@deck.gl/geo-layers';
import {BitmapLayer, PathLayer} from '@deck.gl/layers';
const INITIAL_VIEW_STATE = {
latitude: 47.65,
longitude: 7,
zoom: 4.5,
... |
/**
* o------------------------------------------------------------------------------o
* | This file is part of the RGraph package - you can learn more at: |
* | |
* | http://www.rgraph.... |
/*
Club Finder
- This uses Cheerio.js and NightmareJS to search against the Drexel CampusLabs website
for club information and photo.
*/
const cheerio = require("cheerio");
const puppeteer = require("puppeteer");
exports.run = (discord, client, db, message, args, discord_email, code_email_temp, code_disc... |
webpackHotUpdate(0,{
/***/ "./src/Posters/Posters.js":
/*!********************************!*\
!*** ./src/Posters/Posters.js ***!
\********************************/
/*! dynamic exports provided */
/*! exports used: default */
/***/ (function(module, __webpack_exports__) {
"use strict";
throw new Error("Module buil... |
/* http://keith-wood.name/localisation.html
Localisation assistance for jQuery v1.0.4.
Written by Keith Wood (kbwood{at}iinet.com.au) June 2007.
Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and
MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) lic... |
/**
* SEO component that queries for data with
* Gatsby's useStaticQuery React hook
*
* See: https://www.gatsbyjs.org/docs/use-static-query/
*/
import React from "react";
import PropTypes from "prop-types";
import Helmet from "react-helmet";
import { useStaticQuery, graphql } from "gatsby";
function SEO({ descr... |
const data = [
{
user: 'tom',
score: 31,
},
{
user: 'bra',
score: 30,
},
{
user: 'joe',
score: 27,
},
{
user: 'gra',
score: 24,
},
{
user: 'but',
score: 21,
},
{
user: 'bom',
score: 19,
},
{
user: 'age',
score: 16,
},
{
user: 'ruf... |
import {createRouter, createWebHashHistory} from 'vue-router'
import {defineAsyncComponent} from 'vue'
const Home = {template: '<p>Home</p>'}
const router = createRouter({
history: createWebHashHistory(), // hash模式:createWebHashHistory,history模式:createWebHistory
routes: [
{
path: '/',
... |
import { defaultAction } from '../actions';
import { DEFAULT_ACTION } from '../constants';
describe('DocumentTypeFields actions', () => {
describe('Default Action', () => {
it('has a type of DEFAULT_ACTION', () => {
const expected = {
type: DEFAULT_ACTION,
};
expect(defaultAction()).toE... |
/**
* Use this file to configure your truffle project. It's seeded with some
* common settings for different networks and features like migrations,
* compilation and testing. Uncomment the ones you need or modify
* them to suit your project as necessary.
*
* More information about configuration can be found at:
... |
// 近似相等
const approximatelyEqual = (v1, v2, epsilon = 0.001) =>
Math.abs(v1 - v2) < epsilon
// 生成 和 设置 transform
function trans(el, transObj) {
if (!arguments.length) return
if (!transObj) {
let style = getComputedStyle(el)
let t = style.transform
if (t === 'none') {
return {
translate:... |
/**
* 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 ... |
import React from 'react'
import ReactDOM from 'react-dom'
import App from '../dist/components/App.jsx'
ReactDOM.render(<App/>, document.getElementById("app"))
|
const Joi = require('@hapi/joi');
const joiValidateMiddleware = require('../lib');
const schema = {
params: {
id: Joi.number().required(),
},
body: {
content: Joi.string().required(),
}
};
const validate = joiValidateMiddleware.create(schema);
const successRequest = {
params: {
id: 1,
},
bo... |
var class_transaction_table_priv =
[
[ "TransactionTablePriv", "class_transaction_table_priv.html#a9108e7397a5cb05f024481d581cce2fa", null ],
[ "describe", "class_transaction_table_priv.html#ab08d44e16bf6dd95b5b83959b3013780", null ],
[ "getTxHex", "class_transaction_table_priv.html#a68d059eac0b96f449465f81... |
"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... |
// Smart container component
import React, { Component } from 'react';
import { Image } from 'react-native';
import { NoHeaderLayout } from '../components/NoHeaderLayout';
import { connect } from 'react-redux';
import { DrawerTitle } from '../components/DrawerTitle';
// imports all action functions as an acitons ... |
function randDate() {
return new Date(Date.now() - Math.floor(Math.random() * 3600000));
}
// Seed data to cloud-recipes (make sure MONGO_INITDB_DATABASE is set to cloud-recipes).
db.users.drop();
db.users.insertMany([
{
username: 'admin',
email: 'superuser@example.com',
age: 40,
... |
(function () {
angular.module('app')
.controller('homeController', ['$scope', 'scenes', homeController]);
function homeController($scope, scenes) {
var vm = $scope;
vm.scenes = scenes;
}
})()
|
import { AppRegistry } from 'react-native';
import bg from './bg'; // <-- Import the file you created in (2)
import App from './App';
AppRegistry.registerComponent('notification', () => App);
AppRegistry.registerHeadlessTask('RNFirebaseBackgroundMessage', () => bg); |
/* eslint-disable import/prefer-default-export */
// eslint-disable-next-line import/no-cycle
import { Card } from './card';
// eslint-disable-next-line import/no-cycle
import { api2 } from '../index';
export class CardList {
constructor(container) {
this.container = container;
}
get asElement() {
retur... |
/*
* Copyright 2017 ThoughtWorks, 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 applicable law or agr... |
/**
* This class has been deprecated. Use `Ext.data.schema.Schema` instead.
*/
Ext.define('Ext.data.ModelManager', {
alternateClassName: 'Ext.ModelMgr',
requires: [
'Ext.data.schema.Schema'
],
singleton: true,
deprecated: {
5: {
methods: {
clear: ... |
var PSocket = require('./socket');
/*
* Layer a PSocket on top of a net.Socket
*/
exports.toPSocket = function(socket) {
return new PSocket(socket);
}
/*
* Attaches events to bubble up to a PSocket
*/
exports.attachEvents = function(socket) {
socket.on('error', function(e) {
if (this._psocket) this._pso... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'clipboard', 'sr', {
copy: 'Копирај',
copyError: 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања тек... |
/**
* The copyright in this software is being made available under the BSD License,
* included below. This software may be subject to other third party and contributor
* rights, including patent rights, and no such rights are granted under this license.
*
* Copyright (c) 2013, Dash Industry Forum.
* All rights re... |
/*
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( 'forms', 'hu', {
button: {
title: 'Gomb tulajdonságai',
text: 'Szöveg (Érték)',
type: 'Típus',
typeBtn: 'Gomb',
typeSbm:... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"0c171786d2509afad68a":function(e,t,n){"use strict";var r=n("d691ab6a01eacf6bd123");e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},"1753bbe43245bae19898":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.c... |
/*
* Backpack - Skyscanner's Design System
*
* Copyright 2016-2020 Skyscanner Ltd
*
* 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
*
... |
const mongoose = require("mongoose");
let userSchema = new mongoose.Schema(
{
username: { type: String, required: true },
email: { type: String, required: true },
passphrase: { type: String, required: true },
token: { type: String, required: true },
},
{ timestamps: true, strict: true }
);
let U... |
define({
certainly: 'OK',
autoEnabledTip: 'Automaattinen asettelu on käytössä. Pienoisohjelmat synkronoidaan kohteessa {label} olevien kanssa ja järjestetään automaattisesti.',
autoDisabledTip: 'Ota automaattinen asettelu käyttöön napsauttamalla.',
/* eslint-disable-next-line */
customEnabledTip: 'Mukautettu ... |
'use strict';
var DateUnits = require('../var/DateUnits'),
DateUnitIndexes = require('../var/DateUnitIndexes'),
isUndefined = require('../../common/internal/isUndefined');
var YEAR_INDEX = DateUnitIndexes.YEAR_INDEX;
function iterateOverDateUnits(fn, startIndex, endIndex) {
endIndex = endIndex || ... |
// load environment properties from a .env file for local development
require('dotenv').load({ silent: true });
const app = require('./app.js');
const port = process.env.PORT || process.env.VCAP_APP_PORT || 5000;
// Deployment tracking
require('cf-deployment-tracker-client').track();
app.listen(port);
console.log(... |
const express = require('express')
const axios = require('axios')
const router = express.Router()
module.exports = router
router.get('/_healthcheck', (req, res) => {
const graphqlUrl = req.query.graphql || process.env.GRAPHQL_URL
axios
.post(graphqlUrl, {
query: `
query HEALTHCHECK_QUERY {
... |
sap.ui.define(["sap/ui/test/Opa5",
"sap/suite/ui/generic/template/integration/SalesOrderItemAggregation/pages/Common",
"sap/suite/ui/generic/template/integration/SalesOrderItemAggregation/pages/actions/ObjectPageActions",
"sap/suite/ui/generic/template/integration/SalesOrderItemAggregation/pages/assertions/ObjectPa... |
import request from '@/utils/request';
import { _baseApi } from '@/defaultSettings';
// 列表
export async function fetchList(params) {
return request(`${_baseApi}/article/listForOfficial`, {
method: 'POST',
body: params,
});
}
// 删除
export async function deleteList(params) {
return request(_baseApi + '/art... |
import Switch from './switch.vue';
export default Switch; |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* Asserts that a given argument's value is undefined.
* @param {object} a The argument to check.
*/
function assertUndefined(a) {
if (a !== undef... |
#!/usr/bin/env node
/* eslint-disable no-console */
/* eslint-disable camelcase */ // github API convention
/* eslint-env node */
const exitWithError = err => {
console.error('Error', err.stack);
if (err.data) {
console.error(err.data);
}
process.exit(1);
},
{
GITHUB_SHA, GITHUB_EVENT_PATH, GITHUB_TOKEN,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.