text stringlengths 2 1.04M |
|---|
"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __extends = (this && this.__extends) || (function () {
var extendStat... |
//# sourceMappingURL=main.40cd41c3.chunk.js.map |
const should = require("should");
const assert = require("node-opcua-assert").assert;
const _ = require("underscore");
const opcua = require("node-opcua");
const OPCUAServer = opcua.OPCUAServer;
const OPCUAClient = opcua.OPCUAClient;
const debugLog = require("node-opcua-debug").make_debugLog(__filename);
const empt... |
let data = [
{
"year": "2019",
"category": "chemistry",
"laureates": [
{
"id": "976",
"firstname": "John",
"surname": "Goodenough",
"motivation": "\"for the development of lithium-ion batteries\"",
"s... |
require('../spec_helper');
describe('CellsApi', function() {
const RECEPTOR_URL = 'http://example.com';
var subject;
beforeEach(function() {
require('../../../app/api/base_api').baseUrl = RECEPTOR_URL;
subject = require('../../../app/api/cells_api');
});
describe('#fetch', function() {
var doneS... |
import { fetchPostById } from "../services/post";
export default {
namespace: 'item',
state: {
item: {},
},
effects: {
*fetch({ payload }, { call, put }) {
console.log("fetch post!")
const response = yield call(fetchPostById, payload);
console.log(response)
yield put({
... |
Package.describe({
name: 'svelte:blaze-integration',
version: '0.4.1',
summary: 'Render Blaze templates inside your Svelte components and vice versa.',
git: 'https://github.com/meteor-svelte/blaze-integration',
documentation: 'README.md',
});
Package.onUse(function(api) {
api.versionsFrom('1.4.1');
api.u... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
export { LayoutModule } from './layout.module';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY29yZXVpL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvc2hhcmVkL2xheW91dC9pbmRleC... |
//# sourceMappingURL=app.js.map |
(function(module, ns) {
var STATUSES = Object.freeze({
'no such element': 'NoSuchElement',
'no such frame': 'NoSuchFrame',
'unknown command': 'UnknownCommand',
'stale element reference': 'StaleElementReference',
'element not visible': 'ElementNotVisible',
'invalid element state': 'InvalidElem... |
define(["require", "exports", "tslib", "react", "../../../../Utilities", "../../../../Persona", "../PeoplePicker.scss"], function (require, exports, tslib_1, React, Utilities_1, Persona_1, stylesImport) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SuggestionItemNorm... |
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Wor... |
import React, { Component } from "react";
import NavBar from "../components/NavBar";
import FootBar from "../components/FootBar";
import SubmitForm from "../components/SubmitForm";
class submit extends Component {
render() {
return (
<div className="d-flex flex-column">
<NavBar />
<SubmitFo... |
export const statuesInfo = [
{ name: "L'Ours polaire", height: '2 mètres', depth: '5 mètres', artist: 'Michel Audiard', image: require('../assets/images/l_ours_polaire.jpg'),
description: '"L’Ours de François Pompon étant une icône de la sculpture, je trouvais intéressant de m’y attaquer avec mes Strates.'
... |
import '/resources/polymer/@polymer/polymer/polymer-legacy.js';
import '/resources/polymer/@polymer/iron-flex-layout/iron-flex-layout.js';
import '/resources/polymer/@polymer/iron-icon/iron-icon.js';
import '/resources/polymer/@polymer/iron-icons/iron-icons.js';
import '/resources/polymer/@polymer/paper-styles/color.... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '@material-next/core/SvgIcon';
const SvgIconCustom = global.__MUI_SvgIcon__ || SvgIcon;
let List = props =>
<SvgIconCustom {...props}>
<path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z... |
/*
Copyright 2017 Google 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 agreed to in writing, software
dis... |
/* author Sergi Alvarez i Capilla <pancake@nowsecure.com> */
'use strict';
/* eslint-disable camelcase */
let _r_core_new = null;
let _r_core_cmd_str = null;
let _r_core_free = null;
// const _free = new NativeFunction(Module.findExportByName(null, 'free'), 'void', ['pointer']);
// const _dlopen = new NativeFunction(... |
import g from '../conf/global';
import { layerShow } from './layerFun';
import { AppDataChange, getViewDom } from './AppDataFun';
// layer 组的操作
// 同步保存 组的数据
function saveGroupData() {
getViewDom().find('.mt-control').each(function () {
let $layer = $(this).closest('.layer');
let index = 9999 - $lay... |
let nock = require('nock');
module.exports.testInfo = {"container":"container156776194370500829","blob":"blob156776194410902875","randomstring":"randomstring156776194411007938"}
nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true})
.put('/container156776194370500829')
.query(tr... |
module.exports = {
_: {
storage_is_encrypted: 'Your storage is encrypted. Password is required to decrypt it',
enter_password: 'Enter password',
bad_password: 'Bad pasword, try again',
months_ago: 'months ago',
days_ago: 'days ago',
hours_ago: 'hours ago',
minutes_ago: 'minutes ago',
n... |
const setToken = (state={} , action) => (action.type === 'SET_TOKEN' ? action.token : state);
export default setToken; |
function spectrumvote(idk, pos, user_pk, obj_pk, ctype_pk){
$.post("/spectrumvote/", {vote: pos, pk: idk},
function(data) {
if(data.FAIL === true){
$("#registration_simplebox").simplebox();
}
if(data.FAIL !== true){
load_usersaltcache('#temp_check', user_pk, obj_pk, ctype_pk);
... |
//# sourceMappingURL=chunk-common.ffc06fba.js.map |
'use strict';
function MetricsWriter() {
this.metrics = {};
}
/* Add metric
{
dataPoints: [
{ timestamp: '2015-07-20T17:48:00Z', value: 0 }
{ timestamp: '2015-07-20T17:50:00Z', value: 2 }
{ timestamp: '2015-07-20T17:51:00Z', value: 3 }
],
granularity... |
const server = require('./app/app');
server.listen(process.env.PORT, (message) =>
console.log(`App listening on port:${process.env.PORT}`)
); |
'use strict';
chrome.runtime.onInstalled.addListener(function () {
chrome.declarativeContent.onPageChanged.removeRules(undefined, function () {
chrome.declarativeContent.onPageChanged.addRules([{
conditions: [
new chrome.declarativeContent.PageStateMatcher({pageUrl: {schemes: ['... |
/*
console class
1. receives instruction from central control
2. listen on hits from microcontroller
3. stores the hits
4. decides whether its a hit or mistake
*/
class gConsole {
/*
params:
1. id #
2. all interacts in a array
3. the generated
4. stores serial communication data
5. current instruction t... |
import {Meteor} from 'meteor/meteor'
import forIn from 'lodash/forIn'
import isEmpty from 'lodash/isEmpty'
import isFunction from 'lodash/isFunction'
import {removeNonSfKeys} from './utility'
// local helper for hooks
class Hooks {
constructor(syncforce, collection, resource, options = {}) {
this.collection = co... |
//@flow
import React from "react";
import { GLView } from "expo-gl";
import { PanResponder, PixelRatio } from "react-native";
import { vec2 } from "gl-matrix";
import PIXI from "../Pixi";
import { takeSnapshotAsync } from "../utils";
import { BezierPath, BezierProvider } from "../core/signature";
global.__ExpoSignatu... |
angular.module('futurism')
.directive('deckDisplay', function(_) {
'use strict';
return {
restrict: 'E',
replace: true,
templateUrl: 'views/deck-display.html',
link: function (scope, elem, attrs) {
scope.size = attrs.size || 'large';
... |
import { API_URL } from './config'
// LOGIN, LOGOUT, PASSWORD RECOVERY, REGISTER, UPDATE PROFILE
export const login = `${API_URL}Account`;
export const register = `${API_URL}Account`;
export const profileUpdate = `${API_URL}Account`;
export const recovery = `${API_URL}RecoverPassword`... |
// @flow
import type {
PipetteNameSpecs,
PipetteModelSpecs,
PipetteDisplayCategory,
} from '@opentrons/shared-data'
import type { Mount } from '../../robot'
import type { Robot } from '../../discovery'
import type { RobotMove, RobotHome } from '../../http-api-client'
import type { PipetteSelectionProps } from '.... |
/*
Copyright (c) 2020 Nuno Chinaglia Poli. All rights reserved.
Corefarm v0.x.x-xxxx - zlib license
=======================================
TODO: CLI wrapper around Corefarm's REST API
=======================================
*/
// TODO
class API {
constructor (server, port) {
}
// GET
get_dashboard ... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _default = {
badge: 'Jelvény',
close: 'Close',
dataIterator: {
noResultsText: 'Nincs egyező találat',
loadingText: 'Loading item...'
},
dataTable: {
itemsPerPageText: 'Elem oldalanként:',
... |
import React from 'react';
import Category from './Category';
class MenuCategoryView extends React.Component {
render() {
const { categories1, categories2, categories3 } = this.props;
return (
<section id="menucategory" class="pad30 home-categori">
<div class="con... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(React.createElement(React.Fragment, null, React.createElement("path", {
fill: "none",
d: "M0 0h24v24H0V0z"
}), React.createElement("g", null, React.createElement("path", {
d: "M12 5.1v4.05l7.4 7.4c1.15-2.88.... |
/* @flow */
import deepmerge from 'deepmerge'
import { template } from '../template'
import type { Config } from '../types'
export default (conf: Config): Config => {
const devDependencies: Array<string> = [
'eslint',
'eslint-config-standard',
'eslint-plugin-import',
'eslint-plugin-node',
'esli... |
/**
* VARS
* (c) Andrew Wei
*
* This software is released under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
* Custom DOM directives used by VARS.
*
* @type {Object}
*/
'use strict';
define({
Controller: 'vs-controller',
Instance: 'vs-instance',
Property: 'vs-property',
Da... |
'use strict';
var doctrine = require('doctrine');
var parseMarkdown = require('./parse_markdown');
/**
* Flatteners: these methods simplify the structure of JSDoc comments
* into a flat object structure, parsing markdown and extracting
* information where appropriate.
* @private
*/
var flatteners = {
'abstract... |
/**
* @license Highcharts JS v8.2.0 (2020-08-20)
*
* Highcharts funnel module
*
* (c) 2010-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports = fac... |
var express = require('express');
var mongo_con = require('../lib/mongo-connect.js');
var mongo = mongo_con.Mongo({
host:'10.10.20.75',
db:'test'
});
var app = express();
app.configure(function() {
app.use(express.favicon());
app.use(express.bodyParser());
});
app.get('/query/:collection', mongo.query);
ap... |
export { default as AppMain } from "./AppMain";
export { default as Navbar } from "./Navbar";
export { default as Sidebar } from "./Sidebar"; |
import FieldRelatesArrayModel from "./FieldRelatesArrayModel"
import WithJSONObject from "./_withJSONObject"
export default WithJSONObject(FieldRelatesArrayModel); |
'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 === 'f... |
export * from './Router';
export * from './ApiUrl';
export * from './LocalStorageKey'; |
import React from "react";
import PropTypes from "prop-types";
import "font-awesome/css/font-awesome.min.css";
import "./04-composition.css";
function Person(props) {
return (
<div className="person">
<Avatar url={props.avatar} />
<b>{props.name}</b>
<em>{props.title}<... |
import React from 'react'
type Props = {
code: string,
description: string,
emoji: string,
name: string,
}
const Gitmoji = (props: Props) => (
<article className="emoji col-xs-12 col-sm-6 col-md-3">
<div className="emoji-card">
<header className={`${props.name} emoji-header`}>
<span
... |
goog.provide('ol.extent');
goog.provide('ol.extent.Corner');
goog.provide('ol.extent.Relationship');
/**
* Extent corner.
* @enum {string}
*/
ol.extent.Corner = {
BOTTOM_LEFT: 'bottom-left',
BOTTOM_RIGHT: 'bottom-right',
TOP_LEFT: 'top-left',
TOP_RIGHT: 'top-right'
};
/**
* Relationship to an extent.
*... |
// Create the SVG map
svgMap.prototype.createMap = function () {
// Create the tooltip
this.createTooltip();
// Create map wrappers
this.mapWrapper = this.createElement('div', 'svgMap-map-wrapper', this.wrapper);
this.mapImage = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
this.mapImage.... |
/**
* flowground :- Telekom iPaaS / googleapis-com-adexchangebuyer-2-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are licensed under the Apache 2.0 License. For details
* see the file LICENSE on the toplevel directory.
*/
const elasticio = re... |
var assert = require('assert');
var net = require('net');
var sys = require('sys');
var s = undefined;
onmessage = function(e) {
assert.ok('fd' in e);
assert.ok(e.fd > 0);
s = new net.Stream(e.fd);
s.write(JSON.stringify(e.data));
};
onclose = function() {
s.destroy();
}; |
/* jshint esversion: 6,-W097, -W040, node: true, expr: true */
module.exports= function({gulp, scripts, $g, $o, app, cordova_target_device, error}){
const /* files source and destination */
lib_file= app.name+"-namespace.js",
[ target_folder, files_pattern, files_not_pattern ]= [ app.directories.doc... |
const express = require('express');
const router = express.Router();
const watchlistService = require('./watchlist.service');
router.get('/', (req, res)=> {
watchlistService.getAllWatchlists((response)=> {
res.status(response.status).send(response);
});
});
router.post('/', (req, res)=> {
watchlis... |
"use strict";
const QuestItem = require('@app/content/items/quest').QuestItem;
class CrudeExplosive extends QuestItem {
constructor() {
super({
type: 'quest-crude_explosive',
displayName: __('Crude Explosive'),
description: __("Loosely-packed black powder and a shoddy fuse. This could actuall... |
import React, { Component } from 'react'
class ClassClick extends Component {
clickHandler() {
console.log('sjsjewj')
}
render() {
return (
<div>
<button onClick={this.clickHandler}>Click me</button>
</div>
)
}
}
export default ClassClick |
export default class CipherKey {
constructor(props) {
}
} |
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue"
export default function render(_ctx, _cache) {
return (_openBlock(), _createElementBlock("svg", {
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
... |
(this["webpackJsonphotkeys-js"]=this["webpackJsonphotkeys-js"]||[]).push([[194],{231:function(e,n){Prism.languages.javastacktrace={summary:{pattern:/^[\t ]*(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?:\:.*)?$/m,inside:{keyword:{pattern:/^(\s*)(?:(?:Caused by|Suppressed)(?=:)|Exception in t... |
/* jshint esversion: 6, browser: true, devel: true, indent: 2, curly: true, eqeqeq: true, futurehostile: true, latedef: true, undef: true, unused: true */
/* global $, document, WP */
class Projects {
constructor() {
this.handleProjectListTitleClick = this.handleProjectListTitleClick.bind(this);
this.handle... |
const { response } = require('express');
const express = require('express')
const moment = require('moment')
const router = express.Router()
const mongoose =require("mongoose")
const Reservation = require('../../src/Models/Reservation');
const User = require('../../src/Models/User');
const Flight = require('../../src/M... |
import csp from '../../github.com/CodeFr33k/js-csp';
export default function(fetch) {
const result = csp.chan();
fetch('/api/user/records')
.then((res) => {
return res.json();
})
.then((records) => {
csp.putAsync(result, records);
});
return result;
} |
module.exports = new Date(2000, 6, 17) |
/*
Miniport by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
(function($) {
var $window = $(window),
$body = $('body'),
$nav = $('#nav');
// Breakpoints.
breakpoints({
xlarge: [ '1281px', '1680px' ],
large: [ '981px', '128... |
/**
* Loads messages array with all messages and renders 'index'
* with messages in scope.
*/
exports.index = function(Mail) {
return function(req, res) {
Mail.find({}, function(error, messages) {
res.render('index', {
title: 'mongsterVue',
messages : messages
});
});
};
};
/... |
/* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Esri Inc. licenses this file to You 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
*
... |
var expect = require('chai').expect;
const TempoTime = require("../lib/time.js");
describe('tempo time tests', function() {
it('should be defined', function() {
const time = new TempoTime({});
expect(time).to.not.be.undefined;
});
it('should have 0 values', function() {
const time = new TempoTime({... |
import { createRef } from "react"
import { Vector3 } from "three"
const state = {
sections: 5,
pages: 5,
zoom: 75,
paragraphs: [
{
offset: 1,
factor: 1.75,
header: "Health",
image: "/photo-1515036551567-bf1198cccc35.jpeg",
aspect: 1.6,
text: "TextHere Much Text Here Much... |
//var Merchant = require('../modules/merchant')
var config = require('../config');
var navis = [
{
name: 'index',
title: '首页',
link: '/',
},
{
name: 'transactions',
title: '交易',
link: '/tr',
},
{
name: 'settings',
title: '设置',
link: '/st',
}
];
exports.index = function... |
import AreaSplineChart, {
createSeries,
} from 'ember-website/utils/highcharts/area-spline-chart';
import { module, test } from 'qunit';
module('Unit | Utility | highcharts/area-spline-chart', function () {
module('AreaSplineChart', function () {
test('highchartsOptions returns an options object', function (as... |
// es5, 6, and 7 polyfills, powered by babel
import polyfill from "babel-polyfill"
//
// fetch method, returns es6 promises
// if you uncomment 'universal-utils' below, you can comment out this line
import fetch from "isomorphic-fetch"
import DOM from 'react-dom'
import React, {Component} from 'react'
import Backbone ... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["polyfills"],{
/***/ "./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-jit-polyfills.js":
/*!******************************************************************************************************!*\
!*** ./node_modules/@angul... |
const Vehicle = require('../models/vehicleM'); // 导入模型
const User = require('../models/UserM');
const TRIGGER_DISTANCE = 6 ; // 触发停车事件的距离
const _ = require('lodash');
const mqttConst = require('../plugins/mqtt-constants') ;
const USER_OPERATE = mqttConst.userOperate ;
const SENSOR_CHANGED = mqttConst.sensorChanged ;
... |
function goHome(){location.href = "/";} //홈
//쿠폰사용
function goCoupon(){TINY.box.show({iframe :'/exchange/coupon',width:1060,height:650});}
//입금신청
function goDeposit(){TINY.box.show({iframe :'/exchange/deposit',width:1060,height:720});}
//출금신청
function goWithdraw(){TINY.box.show({iframe :'/exchange/withdraw',width:1060... |
import mongoose from 'mongoose';
const TableSchema = mongoose.Schema({
jumlah_kursi: {
type: Number
},
keterangan: {
type: String
},
status: {
type: mongoose.Schema.Types.Boolean
}
}, {
collection: 'tables'
})
export const tableSchema = mongoose.model('TableSchema', TableSchema) |
'use strict'
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
build: {
env: require('./prod.env'),
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'assets',
... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.34/esri/copyright.txt for details.
//>>built
define("esri/layers/nls/RasterXLayer_ja",{"esri/layers/vectorTiles/nls/common":{_localized:{}}}); |
(function () {
'use strict';
angular
.module('gladys')
.factory('paramService', paramService);
paramService.$inject = ['$http'];
function paramService($http) {
var service = {
get: get,
getByModule: getByModule,
create: create,
... |
var api = {
del:function(url,layer,trObj){
$.ajax({
url:url,
success:function(data){
if(data.code ===1){
layer.msg(data.msg,{icon:1});
trObj.del();
}else{
layer.msg(data.msg,{icon:5});
... |
// Interaction Layer of the Game
// -----------------------------
let game = new Game()
/**
* Listens for click on `#begin-game` and calls startGame() on game object
*/
document.getElementById('begin-game').addEventListener('click', function(){
game.startGame()
this.style.display = 'none'
document.getElementB... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
//>>built
define({"themes/PlateauTheme/widgets/HeaderController/setting/nls/strings":{group:"Nosaukums",openAll:"At... |
//// [ModuleWithExportedAndNonExportedImportAlias.js]
var B;
(function (B) {
var Line = (function () {
function Line(start, end) {
this.start = start;
this.end = end;
}
return Line;
})();
B.Line = Line;
})(B || (B = {}));
var Geometry;
(function (Geometry) {
... |
'use strict';
angular.module('vfBlog.pages.home')
.config(['$routeProvider', function config ($routeProvider){
$routeProvider.when('/',{
templateUrl: 'blog/pages/home/homeTempl.html',
controller: 'HomeCtrl'
});
}])
.controller('HomeCtrl', ['ctrlInit', function(ctrlIn... |
const Generic = {
symbol: 'generic',
color: '#000',
colorIcon() {
return `<g fill="none" fill-rule="evenodd"><circle cx="16" cy="16" fill="#efb914" fill-rule="nonzero" r="16"/><path d="M21.002 9.855A7.947 7.947 0 0124 15.278l-2.847-.708a5.357 5.357 0 00-3.86-3.667c-2.866-.713-5.76.991-6.465 3.806s1.05 5.675 3... |
class ChromeVersionsAppSwitcher extends BaseAppSwitcher {
constructor() {
super();
this._doubleKetDetector = new DoubleKeyDetector(this._switchToChrome);
}
_switchToChrome(keyPressCount, keySequenceDetected) {
const bundleIdentifier = keySequenceDetected === true ? 'com.google.Chro... |
/* @flow strict-local */
import React, { PureComponent } from 'react';
import { View } from 'react-native';
import type { NavigationStackProp, NavigationStateRoute } from 'react-navigation-stack';
import type { ThemeData } from '../styles';
import styles, { ThemeContext } from '../styles';
import { OfflineNotice, Zuli... |
self["webpackHotUpdate_N_E"]("webpack",{},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ "use strict";
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "d338cc1504dc12e8c2c4"; }
/******/ }();
/******/
/******/... |
/*
* 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 in writing, software
* distribut... |
import request from '../utils/request';
export const getList = param => {
return request({
url: '/Treatise/list',
method: 'get',
params: param
});
};
export const detail = param => {
return request({
url: '/TreatiseAudit/detail',
method: 'get',
params: {
... |
import React from "react";
import "../../styles/loader.css";
const Loader = () => {
return (
<div className="loader-page">
<div className="loader"/>
</div>
);
}
export default Loader; |
var express = require('express');
var router = express.Router();
let userCtrl = require('../controllers/userCtrl');
/* GET users listing. */
router.get('/',userCtrl.getAllUser);
router.get('/:id',userCtrl.getOneUser);
module.exports = router; |
/**
* MIT License
*
* Copyright (c) 2017-present, Elasticsearch BV
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... |
// @flow
import { IDENTIFIERS } from '../../components';
import { AutocompleteSkin } from './AutocompleteSkin';
import { BubbleSkin } from './BubbleSkin';
import { ButtonSkin } from './ButtonSkin';
import { CheckboxSkin } from './CheckboxSkin';
import { DropdownSkin } from './DropdownSkin';
import { FormFieldSkin } fro... |
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import { BrowserRouter, Switch, Route } from 'react-router-dom';
import Home from './pages/Home';
// route
import CadastroVideo from './pages/Cadastro/Video';
import CadastroCategoria from './pages/Cadastro/Categoria';
import x404 from... |
import {expect} from 'chai';
import adapterManager from 'src/adapterManager';
import {spec, getPriceGranularity, masSizeOrdering, resetUserSync, hasVideoMediaType, FASTLANE_ENDPOINT} from 'modules/rubiconBidAdapter';
import {parse as parseQuery} from 'querystring';
import {newBidder} from 'src/adapters/bidderFactory';
... |
"use strict";
/**
* Copyright (c) Microsoft 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 applica... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Adds the given item, or array of items, to the array.
*
* Each item must be unique within the array.
*
* The array is modified in-pla... |
import { get } from "svelte/store";
import { token } from "$lib/store";
export default async (file, progress) => {
let url = "/api/upload";
let formData = new FormData();
formData.append("file", file);
return new Promise((resolve, reject) => {
let ajax = new XMLHttpRequest();
ajax.addEventListener("lo... |
describe("Ti.Database tests", {
testModuleMethodsAndConstants: function() {
valueOf(Ti.Database).shouldNotBeNull();
valueOf(Ti.Database).shouldBeObject();
valueOf(Ti.Database.open).shouldBeFunction();
valueOf(Ti.Database.install).shouldBeFunction();
valueOf(Ti.Database.FIELD_TYPE_STRING).shouldNotBeNull()... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.