text stringlengths 2 1.04M |
|---|
/*jslint node:true, unparam: true, maxerr: 50, white: true */
"use strict";
/*!
* crafity-webserver - Generic Webserver Configuration
* Copyright(c) 2010-2013 Crafity
* Copyright(c) 2010-2013 Bart Riemens
* Copyright(c) 2010-2013 Galina Slavova
* MIT Licensed
*/
/**
* Module dependencies.
*/
exports.assests =... |
๏ปฟ/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'stylescombo_b', 'ru', {
label: 'ะกัะธะปะธ',
panelTitle: 'ะกัะธะปะธ ัะพัะผะฐัะธัะพะฒะฐะฝะธั',
panelTitle1: 'ะกัะธะปะธ ะฑะปะพะบะฐ',
panelTitle2: 'ะกัะธะปะธ ัะปะตะผะตะฝัะฐ',
panelTitl... |
var testData = require("./test-data"),
utils = require(testData.libPath + "/packager-utils"),
fs = require("fs"),
path = require("path"),
asciiFile = path.resolve("test/data/ascii_text.txt"),
utf8File = path.resolve("test/data/utf8_text.txt"),
ucs2beFile = path.resolve("test/data/ucs2be_text.txt... |
var oakStreaming = new OakStreaming();
var theSharedArray = null;
var iAmSeeder = false;
console.log("This is task 4");
var step 1; // New variable in task 4
Y({
db: {
name: 'memory'
},
connector: {
url : "http://gaudi.informatik.rwth-aachen.de:9914",
name: 'webrtc',
room: 'User1'
},
share... |
import React from 'react';
import './App.css';
import loginService from './tools/login'
import Login from './components/Login'
import Personal from './components/Personal'
import Register from './components/Register'
import reghelper from './tools/newuser'
class App extends React.Component {
constructor() {
... |
'use strict';
var Utils = require('../../utils')
, AbstractQuery = require('../abstract/query')
, uuid = require('node-uuid')
, sequelizeErrors = require('../../errors.js')
, _ = require('lodash');
var Query = function(connection, sequelize, options) {
this.connection = connection;
this.instance = options... |
// COPYRIGHT ยฉ 2020 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute... |
import { take, call, put, select, takeLatest } from 'redux-saga/effects';
import { makeSelectModelTitle,
makeSelectNewItemName,
makeSelectItemId,
makeSelectEditedItemName,
makeSelectCurrentpage } from './selectors';
import { getModelItems, updateItemInfo, addNewItem, getModelItemsById } from '../Api';
import... |
// This script checks that our fixtures and naming conventions match a given swagger file
const runSwaggerFixtureTest = require('./swagger-fixture-tester');
async function main() {
/**
* Options:
* root - (optional) resolved path to the project root.
* swaggerLocation - local relative or r... |
/**
* @fileoverview Ensure that no empty blocks {} exist
* @author Raghav Dua <duaraghav8@gmail.com>
*/
'use strict';
module.exports = {
verify: function (context) {
function report (node, loc) {
context.report ({
node: node,
message: 'Use of empty block statement {}',
location: loc
});
}
... |
/* eslint-disable */
var icon = require('vue-svgicon');
icon.register({
'minus-square': {
width: 32,
height: 32,
viewBox: '0 0 24 24',
data: '<rect pid="0" x="3" y="3" width="18" height="18" rx="2" ry="2"/><path pid="1" d="M8 12h8"/>',
},
}); |
// @flow
import React, { memo } from "react"
import SidebarBoxContainer from "../SidebarBoxContainer"
import DescriptionIcon from "@material-ui/icons/Description"
import { styled } from "@material-ui/core/styles"
import { grey } from "@material-ui/core/colors"
import Markdown from "react-markdown"
const MarkdownConta... |
var assert = require('assert');
var helper = require('../lib/helper');
var path = require('path');
var fs = require('fs');
var rootPath = process.cwd(); // where "make test" is called
var testPath = rootPath+'/test/test/';
describe('helper', function () {
describe('getUID', function () {
it('should return a... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
'use strict';
import {createEventTarget} from 'dom-event-testing-library';
let React;
let ReactFeatureF... |
import React from 'react';
import PropTypes from 'prop-types'
import Helmet from 'react-helmet'
import Header from '../components/header'
import './index.css'
import { graphql, StaticQuery } from "gatsby"
import Footer from '../components/Footer';
export const query = graphql`
query SiteTitleQuery {
site {
siteMet... |
define(['./baseEach'], function(baseEach) {
/**
* The base implementation of `_.some` without support for callback shorthands
* and `this` binding.
*
* @private
* @param {Array|Object|string} collection The collection to iterate over.
* @param {Function} predicate The function invoked per iteration... |
import bugsnagClient from './lib/bugsnag';
import { escapeHtml, isTogglURL, report, secToHHMM } from './lib/utils';
import Db from './lib/db';
import Ga from './lib/ga';
const browser = require('webextension-polyfill');
const FIVE_MINUTES = 5 * 60;
const ONE_HOUR = 60 * 60;
const RETRY_INTERVAL = 15;
let openWindows... |
/**
* Copyright 2016 The AMP HTML Authors. 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.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
export class RequiredFieldValidator {
constructor(propName, triggerType) {
this.prop_name = propName
this.trigger_type = triggerType
this.reqiredValidatorObj = null
this.validationArray = null
this.validationEntry = null
}
}
export class RequiredNumberFieldValidator ex... |
function cartProductCancel() {
return {
restrict: 'A',
scope: {},
link: (scope, element, attrs, ctrl) => {
const $cartElement = jQuery(element);
scope.$on('cartProductCancel', (event) => $cartElement.fadeOut(1000));
}
};
}
// cartCancelDirective.$inject = [''];
export const cartProductCancelDirectiv... |
!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var t={};n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__e... |
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... |
// eslint no-unused-vars: 0,
import reduxThunk from 'redux-thunk';
import reduxPromiseMiddleware from 'redux-promise-middleware';
import reduxMulti from 'redux-multi';
import { routerMiddleware } from 'react-router-redux';
import { browserHistory } from 'react-router';
import loggerBasic from './loggerBasic'; // eslin... |
const express = require('express')
const router = express.Router()
const Expense = require('../models/Expense')
router.post('/',(req,res,next)=>{
id = req.body.id
Expense.deleteOne({"id" : id})
.then(resp=>{
res.write(JSON.stringify(resp))
res.end()
}).catch(err=>{
res.write(JSO... |
import './Docker.css'
import React from 'react'
function DockerCompose() {
return (
<div className="Docker">
<br/>
<p>This sections shows an example docker-compose.yaml file that can be used to bring up this entire stack
and customize this application.</p>
<pre>
<co... |
/*
* Kendo UI Complete v2013.3.1119 (http://kendoui.com)
* Copyright 2013 Telerik AD. All rights reserved.
*
* Kendo UI Complete commercial licenses may be obtained at
* https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx
* If you do not own a commercial license, this file shall be gove... |
import React from 'react';
import { Helmet } from 'react-helmet';
import Footer from '../components/Footer';
import Navbar from '../components/Navbar';
import './all.scss';
import useSiteMetadata from './SiteMetadata';
import { withPrefix } from 'gatsby';
const TemplateWrapper = ({ children }) => {
const { title, de... |
export default class InteractivityHandler {
constructor(scene) {
scene.input.on('drag', (_points, card, dragX, dragY) => {
card.x = dragX;
card.y = dragY;
});
scene.input.on('dragstart', (_pointer, gameObject) => {
scene.UIHandler.dragStartTint(gameObject);
scene.children.bringTo... |
import { takeLatest } from 'redux-saga';
import { select, put, call } from 'redux-saga/effects';
import callApi from './helpers';
import * as types from '../constants/actionTypes';
import * as k8sActions from '../actions/k8sActions';
import * as apps from '../k8s/apps';
import url from 'url';
import { K8S_URL } from '.... |
import React from 'react';
import styled from 'styled-components';
const Container = styled.div`
background-color: #f9f9f9;
display: flex;
flex-direction: column;
height: calc(100vh - 60px);
padding: 16px 8px 16px;
@media only screen and (min-width: 600px) {
border-radius: 8px;
border: 1px solid... |
// prototype singleton, this needs to be different ofc
let RoutePageInstance = undefined;
class CJ4_FMC_RoutePage {
constructor(fmc) {
this._fmc = fmc;
this._isDirty = true;
this._currentPage = 0;
this._pageCount = 2;
this._offset = 0;
this._fplnVersion = -1;
... |
const bothSecret = function (ops, type) {
type = type || '(number|bool)@D';
return '<type:' + type + ',secret:true>(' + ops + ')<type:' + type + ',secret:true>';
};
const oneSecret = function (ops, type) {
return leftSecret(ops, type) + '|' + rightSecret(ops, type);
};
const leftSecret = function (ops, type) {
... |
var WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin');
// see this link for more info on what all of this means
// https://github.com/halt-hammerzeit/webpack-isomorphic-tools
module.exports = {
// when adding "js" extension to asset types
// and then enabling debug mode, it may cause a we... |
var tasks = [{
"Task_ID": 28,
"Task_Assigned_Employee_ID": 7,
"Task_Owner_ID": 1,
"Task_Subject": "Prepare 2015 Financial",
"Task_Start_Date": "2015-01-15T00:00:00",
"Task_Due_Date": "2015-01-31T00:00:00",
"Task_Status": "Completed",
"Task_Priority": 4,
"Task_Completion": 100,
"T... |
/**
=========================================================
* Material Dashboard 2 React - v2.1.0
=========================================================
* Product Page: https://www.creative-tim.com/product/material-dashboard-react
* Copyright 2022 Creative Tim (https://www.creative-tim.com)
Coded by www.creative... |
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/loading-footer/loading-footer"],{
/***/ 1133:
/*!*******************************************************************************!*\
!*** E:/phpStudy/WWW/git/h5/com/components/loading-footer/loading-footer.vue ***!
\*************************... |
import StellarSdk from 'stellar-sdk';
import StellarHDWallet from 'stellar-hd-wallet';
import shuffle from 'shuffle-array';
import withQuery from 'with-query';
import horizon from '../../core/services/horizon.js';
import translate from '../../core/services/translate.service.js';
import selectFunderModal from './select... |
import { h } from 'preact'
import { useI18n } from 'hooks'
import { buildWpMobileWebUrl, canonicalizeTitle } from 'utils'
export const ArticleFooter = ({ lang, title, items = [], dir }) => {
const contentI18n = useI18n(lang)
const headerTitle = contentI18n('toc-footer')
return (
<div class='article-footer'>... |
'use strict';
/* global LazyLoader, IccHelper, ConfirmDialog, MmiManager, TelephonyCall,
TelephonyMessages */
/* exported TelephonyHelper */
var TelephonyHelper = (function() {
// DTMF control digit separator length (ms) as defined in GSM ETSI GSM 02.07
const DTMF_SEPARATOR_PAUSE_DURATION = 3000;
var... |
import styled from 'styled-components/native';
import { Ionicons } from '@expo/vector-icons';
import { StyleSheet } from 'react-native';
import { colors } from '@styles/';
export const Container = styled.View`
background-color: ${colors.blackPearl};
width: 100%;
margin: 10px 0;
border: ${StyleSheet.hairline... |
/* global describe, beforeEach, afterEach, it */
"use strict";
var grunt = require('grunt');
var path = require('path');
var rm = require('rimraf');
var mkdir = require('mkdirp');
var expect = require('chai').expect;
var fs = require("fs");
var JSZip = require("jszip");
var extensionHelper = require(__dirname + '/../... |
/**
* @preserve CanvasJS HTML5 & JavaScript Charts - v1.7.0 GA - http://canvasjs.com/
* Copyright 2013 fenopix
*/
/*
* CanvasJS Charts follows Dual Licensing Model as mentioned below.
*
* ---------------------Free for Non-Commercial Use--------------------
*
* For non-commercial purposes you can use the softwa... |
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Layer/Grid.js
* @requires OpenLayers/F... |
module.exports = function (grunt, options) {
return {
ui_lib: {
files: {
'src/Ekyna/Bundle/UiBundle/Resources/public/css/glyphicons.css': [
'src/Ekyna/Bundle/UiBundle/Resources/public/tmp/glyphicons.css'
],
'src/Ekyna/Bundle/UiB... |
const mongoose = require('mongoose');
var fixtureSchema = new mongoose.Schema({
numberOfWeek: { type: Number },
start: { type: Date },
end: { type: Date }
})
var Fixture = mongoose.model('Fixture', fixtureSchema);
module.exports = Fixture; |
const dependencyToIncidenceTransformer = require("./utl/dependency-to-incidence-transformer");
function renderHeader(pModules) {
return pModules.map((pModule) => `"${pModule.source}"`).join(",");
}
function mapIncidences(pIncidences) {
return pIncidences.map((pIncidence) => `"${pIncidence.incidence}"`).join(",");... |
'use strict';
const Readable = require('stream').Readable;
const ConsumerGroup = require('./consumerGroup');
const _ = require('lodash');
const logger = require('./logging')('kafka-node:ConsumerGroupStream');
const async = require('async');
const DEFAULT_HIGH_WATER_MARK = 100;
const DEFAULTS = {
autoCommit: true
};... |
export default theme => ({
title: {
marginBottom: theme.spacing(1),
fontWeight: 400
},
boxLinks: {
display: 'flex',
marginTop: theme.spacing(3),
'& a': {
'&:hover': {
textDecoration: 'none'
}
},
'& svg': {
marginRight: theme.spacing(3)
},
'& p': {
... |
/*
_____ ______ _ _
| __ \ | ____| | | | |
| | | | ___ _ __ ___ ___ ___ _ __ __ _ ___ _ _ | |__ __ _ _ __| |_| |__
| | | |/ _ \ '_ ` _ \ / _ \ / __| '__/ _` |/ __| | | | | __| / _` | '__... |
const Tweet = require('../models/Tweet');
const User = require('../models/User');
const Reply = require('../models/Reply');
const moment = require('moment');
const cloudinary = require('cloudinary').v2;
async function html(str) {
var replacedText, replacePattern1, replacePattern2, replacePattern3, replacePattern4, re... |
module.exports={A:{A:{"1":"I F E D A B","16":"gB"},B:{"1":"C O T P H J K TB IB N"},C:{"1":"0 1 2 3 4 5 6 7 8 9 y z SB AB FB CB DB BB w R M JB KB LB MB NB OB PB QB RB","2":"qB GB G U I F E D A B C O T P H J K V W X Y Z a b c d e f g h i j k l m n o p q r s t u v Q x nB fB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G U I F E D A B C ... |
// @ts-check
// Module core/dfn
// - Finds all <dfn> elements and populates definitionMap to identify them.
import { getDfnTitles, norm } from "./utils.js";
import { registerDefinition } from "./dfn-map.js";
export const name = "core/dfn";
export function run() {
document.querySelectorAll("dfn").forEach(dfn => {
... |
;(function ($, window) {
var intervals = {};
var removeListener = function(selector) {
if (intervals[selector]) {
window.clearInterval(intervals[selector]);
intervals[selector] = null;
}
};
var found = 'waitUntilExists.found';
/**
* @function
* @property {object} jQuery plugin which runs handler function on... |
(function(Chart) {
var isObject = function(obj) {
var type = typeof obj;
return type === 'object' && !!obj;
}
var dataValue = function(dataPoint, isHorizontal) {
if (isObject(dataPoint)) {
return isHorizontal ? dataPoint.x : dataPoint.y;
}
return dataPoint;
}
var cloneArray = funct... |
let n = document.getElementById('num')
let lista = document.getElementById('lista')
let res = document.querySelector('div#res')
let valores = []
function inLista(val, l){
if(l.indexOf(Number(val)) != -1){
return true
}else{
return false
}
}
function validador(){
if (isNum(n.value)... |
//+ Jonas Raoni Soares Silva
//@ http://raoni.org
function countSwaps(a) {
let swaps = 0;
for (let l = a.length, j = 0, i = l; i--; ++j) {
for (let k = l; --k > j;) {
if (a[k] < a[k - 1]) {
++swaps;
[a[k], a[k - 1]] = [a[k - 1], a[k]];
}
}
}
console.log(`Array is sorted in ${swaps} swaps.`);
con... |
(function() {
angular.module('occIDEASApp.Questions').directive('sticky', function() {
return {
restrict: 'A',
link: function(scope, element, attrs) {
element.height({
height: function(event, ui) {
$scope.apply(function() {
$scope.height = document.height;
... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{
/***/ "./node_modules/slick-carousel/slick/slick.js":
/*!****************************************************!*\
!*** ./node_modules/slick-carousel/slick/slick.js ***!
\****************************************************/
/*! no static exports fo... |
import { shallowMount, createLocalVue } from '@vue/test-utils';
import 'src/module/sw-order/component/sw-order-line-items-grid-sales-channel';
import 'src/app/component/data-grid/sw-data-grid';
const mockItems = [
{
id: '1',
type: 'product',
label: 'Product item',
quantity: 1,
... |
import { Link, useStaticQuery, graphql } from "gatsby"
import PropTypes from "prop-types";
import React from "react";
import heart from "../images/icons/heart.svg";
import userSvg from "../images/icons/user.svg";
import ggLogo from "../images/icons/global-gardens-logo.svg";
const Header = ({ siteTitle }) => {
const... |
/**
* @author pdhindsa
*/
$.paramquery.pqGrid.regional ['fr'] = {
strLoading: "Chargement en cours",
strAdd: "Ajouter",
strEdit: "Edit",
strDelete: "Supprimer",
strSearch: "Rechercher",
strNothingFound: "Aucun rรฉsultat",
strSelectedmatches: "Rรฉsultat {0} sur {1} rรฉsultat(s)",
s... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var styled_icon_1 = require("@styled-icons/styled-icon");
exports.UserInjured = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "cur... |
// Copyright (C) 2020 ExE Boss. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-createbuiltinfunction
description: Promise constructor property order
info: |
Set order: "length", "name", ...
---*/
var propNames = Object.getOwnPropertyNames(Promise);
var len... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... |
/**
* @license
* Copyright 2016 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 ... |
import * as React from "react"
import PropTypes from "prop-types"
import { Link } from "gatsby"
import styled from 'styled-components'
import {
// FacebookWithCircle,
InstagramWithCircle,
TwitterWithCircle,
YoutubeWithCircle,
SpotifyWithCircle,
// Soundcloud,
} from "@styled-icons/entypo-social"
const Sty... |
var dir_98772dd17d333af307c5d53d8eec7a80 =
[
[ "g4caloprototype", "dir_af13711d3c41a00d52e8361b7edc32ab.html", "dir_af13711d3c41a00d52e8361b7edc32ab" ]
]; |
import React, { Component } from "react";
import API from "../utils/API";
import { Container, Button } from "react-bootstrap";
class Results extends Component {
state = {
savedBooks: [],
}
componentDidMount() {
API.savedBooks()
.then(savedBooks => this.setState({ savedBooks: sa... |
'use strict'
const __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,... |
import { puffin } from '@mkenzo_8/puffin'
const Loader = puffin.element(`
<div class="${puffin.style.css`
&{
animation: spin 1s linear infinite;
border:7px solid rgba(0,0,0,0);
border-top:7px solid var(--loaderBackground);
border-bottom:7px solid var(--loaderBackground);
border-radius: 50%;
width:... |
/******************************************************************************
$.sum()
Return the total of the numeric values in an array/object.
******************************************************************************/
(function ($) {
$.mathUtils = {
sum: (array) =>
array.reduce((result, item) =... |
class Hitel{
constructor(elem, adat){
this.elem = elem;
this.kezoreszlet = this.elem.children(".hitelStarter");
this.futamido = this.elem.children(".hitelTime");
this.hitelValGomb = this.elem.children(".hitelSel");
this.teljesfizetendo = this.elem.children(".hitelPay");
... |
const sqlString = require('sqlstring');
const { getDb } = require('../db');
const {
formatOrderByClause,
formatSelectClause,
formatWhereClauses
} = require('../utils');
const timetablePagesModel = require('../../models/non-standard/timetable-pages');
/*
* Returns an array of all timetable pages that match the... |
function Button({ text, onClick }) {
return <button onClick={onClick}>{text}</button>;
}
const PerformantButton = React.memo(Button);
function App() {
const [count, setCount] = useState(0);
const handleClick = useMemo(function createMemoizedValue() {
return function handleClick() {
setCount(count => co... |
//var mqtt = require("mqtt");
var globaljs = require("./global");
var config = require("./config");
var httpUtils = require("../../Common/httpUtils");
var thermManager = require("./thermManager");
/**
* Monitor Topic
*/
exports.subscribeTopic = function (mqClient, topic) {
mqClient.subscribe(topic, function (err) ... |
import React from 'react'
import Roles from '../components/roles'
import ClusterRoles from '../components/cluster-roles'
import RoleBindings from '../components/rolebindings'
import ClusterRoleBindings from '../components/cluster-rolebindings'
import Users from '../components/users'
export default function Advanced() ... |
'use strict';
const config = require('../config.js');
const monk = require('monk');
const db = monk(process.env.MONGOLAB_URI);
const Raven = require('raven');
Raven.config(process.env.SENTRY_DSN).install();
class RatingsController {
constructor (Ratings, Users) {
this.Ratings = Ratings;
this.Users = Users;... |
/**
* Auto-generated action file for "Amazon Simple Systems Manager (SSM)" API.
*
* Generated at: 2019-07-08T11:13:25.858Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / amazonaws-com-ssm-connector
* Copyright ยฉ 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of thi... |
export default (state, value) => {
state.preparation_type_id = value
} |
var NODE_LIST = null;
function NodeList(custsort) {
var self = this;
var et = new eTable('#node_list');
var node_search = $('#node_search');
var controls = {
'node_status': $('#node_status'),
'node_system_update': $('#node_system_update'), // only in system maintenance view
};
this.modal = null;
... |
'use strict';
/* import StoxumAPI and support libraries */
const StoxumAPI = require('stoxum-libjs').StoxumAPI;
const assert = require('assert');
/* Credentials of the account placing the order */
const myAddr = 'caddErVDoBGw1oWMxMHyGhSs9gfTn5pWet';
const mySecret = 'sโโโโโโโโโโโโโโโโโโโโโโโโโโโโ';
/* Define the orde... |
import express from "express"
const router = express.Router()
import m from "../models/example"
import jwt from "../library/JWT"
router.get("/", (req,res) => { // Get All
m.find({}, (err,data) => {
if (err) res.json({status:false,msg:err})
else res.json({status:true,data:data})
})
})
router.get("/:id", (r... |
const plugins = [
[ "@babel/plugin-proposal-class-properties", { loose: true }],
[ "@babel/plugin-proposal-object-rest-spread", { loose: true, useBuiltIns: true }],
[ "transform-react-remove-prop-types", {
mode: "wrap"
}]
];
const presets = [ "@babel/preset-react" ];
module.exports = api => {
... |
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true... |
const Discord = require("discord.js");
const { stripIndents } = require("common-tags");
const { promptMessage } = require("../../functions.js");
module.exports = {
name: "kick",
category: "Moderation",
description: "Kick a member in your server",
usage: "kick <id | mention> <reason>\n**e.g.**\n\`kick @... |
module.exports=function(){
var config = {
alljs:[
'./src/**/*.js'
]
}
return config;
} |
module.exports = {
plugins: {
'tailwindcss': {},
'postcss-nested': {},
'autoprefixer': {}
}
} |
/**
* Created by ๆฉ on 2017/6/26.
*/
(function(){
'use strict';
var app=angular.module("alienlab");
app.controller("stuevaluateController",["$scope","stuevaluateService","$stateParams","$rootScope","$state",
function($scope,stuevaluateService,$stateParams,$rootScope,$state){
var scheId = $s... |
/*! 4.29.11 / Consumer */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["PubNub"] = fact... |
'use strict';
const utils = require( '../utils.js' );
module.exports = utils.createCollectionMethodRule(
'size',
'Prefer `.length` to `.size`',
{
fixable: 'code',
fix: function ( node, context, fixer ) {
return fixer.replaceTextRange( [ node.callee.property.range[ 0 ], node.range[ 1 ] ], 'length' );
}
}
... |
var DatePickerComponent_1;
import { __decorate } from "tslib";
import { DomHelper } from '../common/services/dom-appender/dom-appender.service';
import { UtilsService } from '../common/services/utils/utils.service';
import { ECalendarMode } from '../common/types/calendar-mode-enum';
import { ECalendarValue } from '../c... |
const expect = require('chai').expect;
const spawn = require('child_process').spawn;
const fetch = require("node-fetch");
const fs = require("fs");
const spec = __dirname + "/../spec";
const PORT = "37564";
const ENDPOINT = `http://localhost:${PORT}`;
describe('imi-enrichment-hojin#server', () => {
let server = n... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
... |
const _ = require('lodash');
const Boom = require('@hapi/boom');
const StencilStyles = require('@bigcommerce/stencil-styles');
const path = require('path');
const { promisify } = require('util');
const cssAssembler = require('../../../lib/css-assembler');
const utils = require('../../lib/utils');
const internals = {
... |
module.exports = {
dialect: 'mysql',
host: 'localhost',
username: 'root',
password: 'root',
database: 'goBarber',
define: {
timestamps: true,
underscored: true,
underscoredAll: true,
},
}; |
import TheLoginPage from './components/pages/TheLoginPage'
import TheSignUpPage from './components/pages/TheSignUpPage'
import TheRestorePwdPage from './components/pages/TheRestorePwdPage'
import TheMessageAfterSignUp from './components/pages/TheMessageAfterSignUp'
import ThePrivacyPolicyPage from './components/pages/T... |
var windowPlugin = Chart.PluginBase.extend({
beforeInit: function(chartCtrlr) {
var chart = chartCtrlr.chart;
if (typeof chart.config.window == 'undefined') {
chart.config.window = { _enabled: false };
}
var config = chart.config.window;
if ((typeof config.role ==... |
import { observable, action, runInAction, computed } from 'mobx'
import { createTransformer } from 'mobx-utils'
import InvoiceModel from './InvoiceModel'
import agent from 'agent'
import logger from 'logger'
import SettingsStore from 'settings/stores/SettingsStore'
class InvoiceStore {
@observable loaded = false
@... |
var searchData=
[
['h',['H',['../struct_ruyi_1_1_s_d_k_1_1_input_manager_1_1_key.html#aac445ba69ee7e6295ed80fb9e2432dbea0a8ae7ea5a37fe5fdd201e1a6b246ea6',1,'Ruyi::SDK::InputManager::Key']]],
['hardware',['Hardware',['../struct_ruyi_1_1_s_d_k_1_1_common_type_1_1_overlay_cursor.html#ace4616af87e70ece10a2c07210853c28a... |
import PropTypes from "prop-types";
import React from "react";
import classNames from "classnames";
const propTypes = {
tag: PropTypes.elementType,
className: PropTypes.string
};
const defaultProps = {
tag: "div"
};
const FormGroupInput = ({ className, tag: Tag, ...attributes }) => {
const classes = classNam... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.