text stringlengths 2 1.05M |
|---|
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
module.exports=function(r){var e={functionRegistry:require("./function-registry"),functionCaller:require("./function-caller")};return require("./default"),require("./color"),require("./color-blending"),require("./data-uri")(r),require("./math"),require("./number"),require("./string"),require("./svg")(r),require("./type... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const symbol_sdk_1 = require("symbol-sdk");
/* start block 01 */
// replace with network type
const networkType = symbol_sdk_1.NetworkType.TEST_NET;
// replace with private key
const mainAccountPrivateKey = '00000000000000000000000000000000000... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{H4Xw:function e(o,n,c){"use strict";c.r(n);var t=c("EM62"),l=c("uHuC"),a=c("6aXC"),i=c("PCNd"),r=c("sEIs"),d=c("2kYt"),p=c("ykr0"),u=c("J4Gr");var m=[1,"wrapper"],s=[1,"content"],h=["class","implementation",4,"ngIf"],f=["module","card",3,"show"],g=[1,"descriptio... |
/*global define, amplify */
define([
'jquery',
'loglevel',
'underscore',
'fs-t-c/table',
//'fs-dt-c/table',
'fx-ds/config/events',
'amplify'
], function ($, log, _, TableCreator, E) {
'use strict';
var defaultOptions = {
};
var s = {
EXPORT: '[data-role="expo... |
var express = require('express');
var app = express();
var port = process.env.PORT || 3000;
app.use(express.static(__dirname + '/public'));
app.listen(port);
console.log('Server listening on port: ', port);
|
/* *************************************************************************************************
* *
* Please read the following tutorial before implementing tasks: *
* https://develop... |
const Config = {
numberLength : 3,
formLength : 2,
pokemonNames : [''],
formNames : {'000.00':''},
};
let getPokemonName= function ( key ) {
return `{${key}}`;
};
let getPokemonID = function (num, form = null) {
let numPart = Math.floor(num).toString().padStart(Config.numberLength, '0');
let formPart ... |
export class Logo{
constructor(root, classNameLogo, classNameTitle) {
this.root = root;
this.logoclass = classNameLogo;
this.titleclass = classNameTitle;
this.render();
}
render() {
this.logo = document.createElement('div');
this.logo.classList.add(this.log... |
const axios = require("axios");
// 获取输入的cookie
let args = process.argv[2];
result = args.split("#");
// 获取输入的location
let location = process.argv[3];
if (typeof (location) === "undefined") {
location = "四川省成都市郫都区银杏大道";
}
for (let userNum in result) {
console.log(`第${parseInt(userNum)+1}位学生:准备上报`);
checkR... |
import React from "react";
import Frame from '../components/frame'
const GalleryPage = () => {
return (
<Frame>
<p>Dit wordt doorgegeven als children</p>
</Frame>
)
}
export default GalleryPage |
import React, {Component} from 'react'
import {View, Text, StyleSheet} from 'react-native'
export default class Profilescreen extends Component{
render(){
return(
<View style = {styles.container} >
<Text>Profilescreen</Text>
</View>
)
}
}
let styles = St... |
import React from 'react'
import { Container, Flex } from '../../styles/globalStyles'
import { AccordionHeader, AccordionIcon, AccordionContent, HomeAboutSection, About, Services } from '../../styles/homeStyles';
const HomeAbout = () => {
return (
<HomeAboutSection>
<Container>
<Flex align... |
var servers = {
iceServers: [ // Information about ICE servers - Use your own!
{
urls: "turn:" + window.location.hostname, // A TURN server
username: "webrtc",
credential: "turnserver"
}
]
};
let offerOptions = {
offerToReceiveAudio: 1,
offerToReceiv... |
// Copyright (c) 2010 Tom Hughes-Croucher
//
// 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 use, copy, modify, merge, pu... |
/**
* Kendo UI v2016.1.412 (http://www.telerik.com/kendo-ui)
* Copyright 2016 Telerik AD. All rights reserved. ... |
/*! X-editable - v1.5.3
* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
* http://github.com/vitalets/x-editable
* Copyright (c) 2020 Vitaliy Potapov; Licensed MIT */
/**
Form with single input element, two buttons and two states: normal/loading.
Applied as jQuery method to DIV tag (not to form tag!... |
const { GraphQLClient } = require('graphql-request')
const { hasuraConfig } = require('../config')
module.exports = new GraphQLClient(hasuraConfig.url, {
headers: {
'x-hasura-admin-secret': hasuraConfig.adminSecret
}
})
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
i... |
var keys_original = Cache.prototype.keys;
var match_original = Cache.prototype.match;
var matchAll_original = Cache.prototype.matchAll;
var delete_original = Cache.prototype.delete;
importScripts('../lib/index.js');
var tests = {
// init
ignoreSearch_store: function(e) {
return ignoreSearchPrepare().then(func... |
var NAVTREEINDEX0 =
{
"_behaviors_8cs.html":[4,0,1,2,0],
"_behaviors_8cs.html#a6fd01b5707c1d4d9f0dc01b1355b4a10":[4,0,1,2,0,0],
"_behaviors_8cs.html#a6fd01b5707c1d4d9f0dc01b1355b4a10a25ee2cfda0331134393e7223fb750820":[4,0,1,2,0,0,0],
"_behaviors_8cs.html#a6fd01b5707c1d4d9f0dc01b1355b4a10a31771640c91759c243f311f8c250aac... |
//* ===== MARKSHEET =====
/**
* @author 4Dcoder
* @property {ObjectId} id Marksheet primaryKey
* @property {String} type Marksheet type "PAPER|CBT"
* @property {ObjectId} course Marksheet course
* @property {ObjectId} student Marksheet student
* @property {Number} score Marksheet score
* @property {ObjectId} as... |
// queue
'use strict';
const uuid = require('uuid');
const socketio = require('socket.io');
const server = socketio(3000);
const chores = server.of('/chores');
const queue = {
chores: {},
addChore: function (chore) {
// creates random id
let id = uuid();
this.chores[id] = chore;
return {
i... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.compileVariableParsing = exports.failToParseVariables = void 0;
const generate_function_1 = __im... |
import React, { Component } from 'react';
import Rx from '@reactivex/rxjs';
import AmCharts from "@amcharts/amcharts3-react";
//import mockdata from '../../json/AmchartData.json';
//import apiData from '../../json/ApiData.json';
import { connect } from "react-redux"
// var env = process.env.NODE_ENV || 'dev';
// const... |
var E, a, b, x1, x2, x3, x4, x5, x6, x7;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), x1 += a, x1 += b, x1 += !0, x1 += 0, x1 += '', x1 += E.a, x1 += {}, x1 += null, x1 += void 0, x2 += a, x2 += b, x2 += !0, x2 += 0, x2 += '', x2 += E.a, x2 += {}, x2 += null, x2 += void 0, x3 += a, x3 += 0, ... |
function _typeof(obj) {
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function (obj) {
return typeof obj;
};
} else {
_typeof = function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symb... |
import React from 'react';
import {
Datagrid,
DateField,
Edit,
EditButton,
FormTab,
NumberInput,
Pagination,
ReferenceInput,
ReferenceManyField,
SelectInput,
TabbedForm,
TextField,
TextInput,
} from 'react-admin';
import { InputAdornment } from '@material-ui/core';
im... |
angular.module('proton.message')
.factory('transformLinks', function() {
return function(html, message) {
var links = [].slice.call(html.querySelectorAll('a[href^=http]'));
if (links.length > 0) {
links.forEach(function(link) {
link.setAttribute('target','_blank');
... |
import React from 'react';
import _ from 'lodash';
import SectionHeader from '../components/section-header';
import icons from 'otkit-icons/token.common';
import styles from '../styles/otkit-icons.module.css';
const Icons = () => {
const { iconSize } = icons;
const keys = _.keys(icons).sort();
const actualIcons... |
/*
Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character.
https://leetcode.com/problems/backspace-string-compare
Example 1:
Input: S = "ab#c", T = "ad#c"
Output: true
Explanation: Both S and T become "ac".
Example 2:
Input: S = "ab##", T = "c#d... |
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.JitsiMeetJS=t():e.JitsiMeetJS=t()}(window,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports... |
import { mount } from '@vue/test-utils';
import { GlAlert, GlButton, GlEmptyState, GlTable } from '@gitlab/ui';
import ServiceAccountsList from '~/google_cloud/components/service_accounts_list.vue';
describe('ServiceAccounts component', () => {
describe('when the project does not have any service accounts', () => {
... |
import React, { Component } from 'react';
class CallbackFunction extends Component {
render() {
return (
<div>
</div>
);
}
}
export default CallbackFunction; |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
*/
import { Injectable } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Configuration service for the NgbTimepicker component.
* You can inject this service, typically in your root component, and... |
import typescript from 'rollup-plugin-typescript2';
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
// import builtins from 'builtin-modules'
import { terser } from 'rollup-plugin-terser';
import pkg from './package.json';
exp... |
/**
* @author v.lugovksy
* created on 16.12.2015
*/
(function () {
'use strict';
angular.module('BlurAdmin.pages.smartWifi')
.directive('dashboardPieChart', dashboardPieChart);
/** @ngInject */
function dashboardPieChart() {
return {
restrict: 'E',
controller: 'DashboardPieChartCtrl',... |
export const TOGGLE_SEARCH_BOX = 'TOGGLE_SEARCH_BOX';
export const TOGGLE_MENU = 'TOGGLE_MENU';
export const FREE_ARTICLE = 'FREE_ARTICLE';
export const FETCH_ARTICLE = 'FETCH_ARTICLE';
export const FETCH_ARTICLES = 'FETCH_ARTICLES';
export const FETCH_ARTICLE_FAILED = 'FETCH_ARTICLE_FAILED';
|
// Copyright (C) 2017 Ramesh Vyaghrapuri. All rights reserved.
// Use of this source code is governed by a MIT-style license
// that can be found in the LICENSE file.
"use strict";
import { expect } from "chai";
import {
PathChange,
Replace,
Move,
Changes,
Text,
Decoder
} from "../../index.js";
describe... |
/* Element initializers with unknown index. */
function foo(i) {
var x = [1, 2, i == 1 ? 3 : 4, 5, 6];
+i;
var y = "" + x;
if (i == 1) {
y;
"1,2,3,5,6";
} else {
y;
"1,2,4,5,6";
}
var __es_v0 = 3;
}
for (var i = 0; i < 10; i++) {
foo(i);
foo(i % 1);
}
|
'use strict';
const
{ User } = require('../../../models'),
{ secret_jwt } = require('../../../config/server'),
jwt = require('jsonwebtoken')
module.exports = {
signin: async (bodyData) => {
const user = await User.findOne({ where: { email: bodyData.email }, raw: true })
if (!user) {
console.log(... |
import API from '../data';
import counter from '../counter';
const modal = document.getElementById('reservation-modal');
const displayReservations = (ul, userReservation) => {
const reservation = document.createElement('li');
reservation.className = 'reservation';
const reservationMeta = document.createElement(... |
import React from "react";
import VideoSidebar from "../Video/VideoSidebar";
const Introduction = () => {
return (
<div className="row justify-content-between">
<div className="col-12 col-md-6">
<div className="textComp-section">
<h1 className="center">Introduction</h1>
<div cl... |
$(document).ready(function() {
});
|
import describe from 'tape-bdd';
import transmute from 'transmutation';
const promise = new Promise(res => res({ test: 'promise' }));
const promiseArray = new Promise(res => res(['promise']));
describe('Extend Operator', (it) => {
it('extends with the result of a function instead of a primitive or promise', asser... |
/**
* @license Angular v11.2.13
* (c) 2010-2021 Google LLC. https://angular.io/
* License: MIT
*/
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/animations"),require("@angular/animations/browser")):"function"==typeof define&&define.amd?define("@angular/animations/bro... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var React = _interopRequireWildcard(r... |
/*! Widget: output - updated 1/15/2016 (v2.25.2) */
!function(a){"use strict";var b=a.tablesorter,c=b.output={event:"outputTable",regexQuote:/([\n\t\x09\x0d\x0a]|<[^<]+>)/,regexBR:/(<br([\s\/])?>|\n)/g,regexIMG:/<img[^>]+alt\s*=\s*['"]([^'"]+)['"][^>]*>/i,regexHTML:/<[^<]+>/g,replaceCR:"\r\n",replaceTab:" ",popupTitle:... |
/*! tableSorter 2.4+ widgets - updated 11/14/2012
*
* Column Styles
* Column Filters
* Column Resizing
* Sticky Header
* UI Theme (generalized)
* Save Sort
* ["zebra", "uitheme", "stickyHeaders", "filter", "columns"]
*/
/*jshint browser:true, jquery:true, unused:false, loopfunc:true */
/*global jQuery: false, ... |
import "core-js/modules/es.array.concat";
import { hasOwnProperty, isObject } from './../../helpers/object';
import { arrayEach } from './../../helpers/array';
/**
* Create separated id for borders for each cell.
*
* @param {Number} row Visual row index.
* @param {Number} col Visual column index.
* @returns {Strin... |
import Icon from '../components/Icon.vue'
Icon.register({
peace: {
width: 496,
height: 512,
paths: [
{
d: 'M248 8c137 0 248 111 248 248s-111 248-248 248-248-111-248-248 111-248 248-248zM432 256c0-90.5-65.8-165.8-152-181v165.7l129.4 103.5c14.4-26.2 22.6-56.2 22.6-88.2zM216 437v-114.5l-89.3 7... |
//GLOBAL VARIABLES
//window.player = music player
const defaultAlbumImg = "https://d2qqvwdwi4u972.cloudfront.net/static/img/default_album.png"
$(document).ready(function(){
window.player = $("#music-player")
$("footer:not(#orig-footer)").remove()
/* CSRF Handling*/
$.ajaxSetup({
beforeSend: function(xhr,... |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _timeTime = require('../time/Time');
var _timeTime2 = _i... |
import React, { Component } from 'react';
import './SortVisualizer.css';
import Visualizer from './Visualizer/Visualizer';
import AlgorithmSelect from './AlgorithmSelect/AlgorithmSelect';
import { Sort, setSpeed, stopSort } from './Sorter';
import { log } from './Logger';
import { calcStyle } from './Visualizer/Bar/Bar... |
import React from 'react'
import Link from 'gatsby-link'
import profilePic from './profile-pic.jpg'
import { rhythm } from '../utils/typography'
class Bio extends React.Component {
render() {
return (
<p
style={{
marginBottom: rhythm(2.5),
}}
>
<img
src={p... |
'use strict';
// From https://github.com/johni0702/voice-activity-detection
var analyserFrequency = require('analyser-frequency-average');
module.exports = function(audioContext, stream, opts) {
opts = opts || {};
var defaults = {
fftSize: 1024,
bufferLen: 1024,
smoothingTimeConstant: 0.2,
minCap... |
import { renderApp, createHistory } from 'testUtils'
import { fireEvent, screen } from '@testing-library/react'
import { featureSetup } from 'featureUtils'
featureSetup()
describe('editing a list property', () => {
const history = createHistory(['/editor/resourceTemplate:testing:uber1'])
it('allows selecting and... |
var searchData=
[
['pbrsemantics',['PBRSemantics',['../classpvr_1_1assets_1_1_model_1_1_material_1_1_p_b_r_semantics.html',1,'pvr::assets::Model::Material']]],
['podmetallicroughnesssemantics',['PODMetallicRoughnessSemantics',['../classpvr_1_1assets_1_1_model_1_1_material_1_1_p_o_d_metallic_roughness_semantics.html... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const ReactComponent = props => (react_1.default.crea... |
'use strict'
/* -----------------------------------------------------------------------------
* dependencies
* -------------------------------------------------------------------------- */
// 3rd party
const { findLast } = require('lodash')
// lib
const ComponentResolver = require('../../support/component-resolver... |
'use strict';
System.register(['./components/assets', './components/credentials', './components/config'], function (_export, _context) {
"use strict";
var AssetPageCtrl, CredentialPageCtrl, ExampleAppConfigCtrl;
return {
setters: [function (_componentsAssets) {
AssetPageCtrl = _componentsAssets.AssetP... |
/**
* date: 2018-05-24 16:11
* auth: XuQiang
**/
export default (date) => {
if (date && typeof date !== 'number') {
throw new Error('Syntax error, parameter types can only be time stamp or null.');
}
date = date || Date.now();
const week = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
const month = ['... |
!function(e){var n={pattern:/(\d)(?:%|[a-z]+)/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?\d*\.?\d+/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/url\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolati... |
/*!
* tablesort v5.1.0 (2018-09-14)
* http://tristen.ca/tablesort/demo/
* Copyright (c) 2018 ; Licensed MIT
*/
!function(){var a=function(a){return a=a.replace(/\-/g,"/"),a=a.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2,4})/,"$3-$2-$1"),new Date(a).getTime()||-1};Tablesort.extend("date",function(b){return(-1!==b.sea... |
/* eslint @typescript-eslint/no-var-requires: 0 */
const config = require("./webpack.config.dev.js");
module.exports = {
...config,
resolve: {
extensions: config.resolve.extensions,
// Reset resolution back to defaults. Required for 'dist' mode. We want everything to be loaded from 'node_modules',
// ... |
module.exports = new Date(2010, 0, 9)
|
var path = require('path')
var utils = require('./utils')
var config = require('../config')
var vueLoaderConfig = require('./vue-loader.conf')
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
module.exports = {
entry: {
app: './src/main.ts'
},
output: {
path: config.build.assetsRoot,
... |
import jQuery from 'jquery';
export default function checkInView() {
if (jQuery.fn.checkInView) {
return;
}
jQuery.fn.checkInView = function(partial = false) {
const elem = this;
if (!elem.length) {
return false;
}
const container = elem.parent();
const contHeight = container.he... |
const mix = require('laravel-mix');
mix.browserSync('127.0.0.1:8001');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack bu... |
define(function (require, exports, module) {
//搜索
require('search/index');
//from page
var active = 0,
as = document.getElementById('indicator').getElementsByTagName('li');
for (var i = 0; i < as.length; i++) {
(function () {
var j = i;
as[i].onclick = funct... |
/* @flow */
import * as React from 'react';
import { Localized } from '@fluent/react';
/**
* Marks term expressions from Fluent syntax.
*
* Documentation: https://projectfluent.org/fluent/guide/terms.html
*
* Example matches:
*
* {-brand}
* { -brand }
* { -brand-name }
*/
const fluentTerm = {
rule... |
import React from "react";
import { IndexLink, Link } from "react-router";
export default class Navigation extends React.Component{
constructor(){
super();
this.state = {
collapsed: true,
};
}
toggleCollapse(){
const collapsed =!this.state.collapsed;
this.... |
import React from 'react';
import configureStore from 'redux-mock-store';
import thunk from 'redux-thunk';
import { Provider } from 'react-redux';
import promiseMiddleware from 'redux-promise-middleware';
import { Route, MemoryRouter } from 'react-router-dom';
import { act } from 'react-dom/test-utils';
import notifica... |
(function (jQuery) {
// Variable
var $ = jQuery;
$.fn.ripple = function () {
$(this).click(function (e) {
var rippler = $(this),
ink = rippler.find(".ink");
if (rippler.find(".ink").length === 0) {
rippler.append("<span class='ink'></span>");... |
export default class DomHandler {
static innerWidth(el) {
if (el) {
let width = el.offsetWidth;
let style = getComputedStyle(el);
width += parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);
return width;
}
return 0;
}
st... |
import React, { useState, useEffect } from 'react';
import { Feather } from '@expo/vector-icons'
import { useNavigation } from '@react-navigation/native'
import { View, FlatList, Image, Text, TouchableOpacity } from 'react-native';
import api from '../../services/api'
import logoImg from '../../assets/logo.png'
impo... |
import React from 'react';
import { useSelector } from 'react-redux';
import { useLocation } from 'react-router-dom';
import cx from 'classnames';
import { t, BraytechText, BungieText } from '../../../utils/i18n';
import manifest from '../../../utils/manifest';
// import OberservedImage from '../../../components/Obse... |
import React, { Fragment, useState, useEffect } from 'react';
import { useStyles } from './DeleteEquipmentStyles';
import { useSelector, useDispatch } from 'react-redux';
import { deleteEquipment, getEquipment } from '../../redux/actions/equipmentActions';
import Spinner from '../../components/Spinner/Spinner';
import ... |
/**
* The Fibonacci sequence is defined by the recurrence relation:
*
* Fn = Fn−1 + Fn−2, where F1 = 1 and F2 = 1.
* Hence the first 12 terms will be:
*
* F1 = 1
* F2 = 1
* F3 = 2
* F4 = 3
* F5 = 5
* F6 = 8
* F7 = 13
* F8 = 21
* F9 = 34
* F10 = 55
* F11 = 89
* F12 = 144
* The 12th term, F12, is the fi... |
import React, { Component, Console } from 'react';
import { StyleSheet, Text, View, TextInput, ImageBackground, TouchableOpacity, ToastAndroid } from 'react-native';
//import IndexLogin from '../../../indexLogin';
import NetworkService from '../../../networks/NetworkService'
import AsyncStorage from 'react-native';
ex... |
/* --- START --- */
$(".insert-produto").hide();
$("#cancel_add-produto").hide();
/* --- FUNCTIONS --- */
//PRODUTO_INFO
var content_info = function(id){
var obj = {
"img": $("tr#"+id).find("img").attr("src"),
"nome": $("tr#"+id).find(".nome").text(),
"categoria": $("tr#"+id).find(".catego... |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* If ToBoolean(x) is true, return x
*
* @path ch11/11.11/11.11.2/S11.11.2_A4_T4.js
* @description Type(x) or Type(y) vary between Null and Undefined
*/
//CHECK#1
if ((true || undefined) !== true) {
$ERROR('#1: (true || undefined) === true');
}
//... |
import { createIcon } from '../createIcon';
export const FireAltIconConfig = {
name: 'FireAltIcon',
height: 512,
width: 448,
svgPath: 'M323.56 51.2c-20.8 19.3-39.58 39.59-56.22 59.97C240.08 73.62 206.28 35.53 168 0 69.74 91.17 0 209.96 0 281.6 0 408.85 100.29 512 224 512s224-103.15 224-230.4c0-53.27-51.98-163.... |
function makeLogging(f, log) {
function wrapper() {
log.push([].slice.call(arguments));
return f.apply(this, arguments);
}
return wrapper;
} |
'use strict';
const mongoose = require('mongoose');
const usersSchema = mongoose.Schema({
username: { type: String, required: true },
password: { type: String, required: true },
});
const Users = mongoose.model('users', usersSchema);
module.exports = Users;
|
(function (config, vendorPath) {
"use strict";
var paths = {
'jquery': vendorPath + '/static/bower_components/jquery/dist/jquery',
'require.js': vendorPath + '/static/require.js/require',
'socket.io': vendorPath + '/static/socket.io/socket.io.min',
'react': vendorPath + '/static... |
search_result['2436']=["topic_00000000000005D4.html","ApplicantDetailHistoryResponseDto Constructor",""]; |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export var Text = (function () {
function Text(value, sourceSpan) {
this.value = value;
this.sour... |
"use strict";
/**
* validators service
*
* @module services/validators
**/
var _requestObj = null;
/**
* validators constructor
*
* @constructor
*/
const Validators = function(requestObj){
const oThis = this;
// Assign request object
_requestObj = requestObj;
// Define the url prefix
oThis.urlPref... |
exports.up = function(knex) {
return knex.schema.table('images', function(t) {
t.string('external_url')
})
.then(() => { console.log('added external_url to images') })
.catch((err) => { throw err} )
.finally(() => { knex.destroy() })
};
exports.down = function(knex) {
return knex.schema.table('image... |
'use strict';
import format from 'errors/format';
export function assertJSON(json, config, path = '') {
for (const prop in config) {
if (!config.hasOwnProperty(prop)
|| typeof config[prop] !== 'object' || config[prop] === null) {
continue;
}
const { type, checks, children } = config[prop];... |
angular.module('ovh-api-services').service('OvhApiTelephonyEasyHuntingV6', ($resource, $cacheFactory) => {
const cache = $cacheFactory('OvhApiTelephonyEasyHuntingV6');
const queryCache = $cacheFactory('OvhApiTelephonyEasyHuntingV6Query');
const interceptor = {
response(response) {
cache.remove(response... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sleep = async (ms) => {
return new Promise(resolve => setTimeout(resolve, ms));
};
exports.busyWaitForNanoSeconds = (duration) => {
return new Promise(res => {
const start = process.hrtime.bigint();
let isWaitin... |
define([
'./defaultValue',
'./defined',
'./defineProperties',
'./DeveloperError'
], function(
defaultValue,
defined,
defineProperties,
DeveloperError) {
'use strict';
/**
* Determines visibility based on the distance to the c... |
import React, { Component } from 'react'
import { Redirect } from 'react-router-dom'
import $ from 'jquery'
import { toast } from 'react-toastify'
import Http from '../Http'
class ModalDelete extends Component {
constructor(){
super()
this.state = {
isLoadingBtn: false,
isD... |
// 获取时间yyy-mmm-ddd
export function getNowFormatDate() {
let date = new Date();
let seperator1 = "-";
let year = date.getFullYear();
let month = date.getMonth() + 1;
let strDate = date.getDate();
if (month >= 1 && month <= 9) {
month = "0" + month;
}
if (strDate >= 0 && strDate <... |
import React, { Component } from 'react'
import { Container, Icon, Segment, Header } from 'semantic-ui-react'
import { Link } from 'react-router-dom'
export default class Home extends Component {
render() {
return (
<Container className="page">
<Header as='h1'>
<Icon name='rocket'/>
... |
/**
* @author Dmitry Malakhov
*/
'use strict';
const { resolve } = require('path'),
webpack = require('webpack'),
omit = require('lodash.omit');
const Package = require('../package.json');
const PATH_SOURCES = resolve(__dirname, '../app');
const PATH_DIST = resolve(__dirname, '..', 'public');
const dependenc... |
import React, { useState, useEffect } from 'react'
import { Form, Input, Button, Select, Spin, message, Row, Col } from 'antd/lib';
import { authHeader, handleError } from "../../common/AuthHeader.js";
import { useSelector, useDispatch } from "react-redux";
import { assetsActions } from '../../../redux/actions/Assets';... |
/*
* Kendo UI Web v2013.1.319 (http://kendoui.com)
* Copyright 2013 Telerik AD. All rights reserved.
*
* Kendo UI Web commercial licenses may be obtained at
* https://www.kendoui.com/purchase/license-agreement/kendo-ui-web-commercial.aspx
* If you do not own a commercial license, this file shall be governed by th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.