text
stringlengths
2
1.04M
"use strict"; var _Connection = _interopRequireDefault(require("./Connection")); var _ConnectionPool = _interopRequireDefault(require("./ConnectionPool")); var _util = require("./util"); var _rsync = require("./commands/rsync"); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default:...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { Provider } from 'react-redux'; import fetchTeams from '../actions/action_fetch_teams.js' import fetchTeam from '../actions/action_fetch_team.js' import axios from 'axios'; import TeamsNa...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.10/esri/copyright.txt for details. //>>built define("../Component dojo/i18n!../ItemBrowser/nls/resources dojo/Deferred dojo/promise/all dojo/date/locale ../Buttons/SvgButton ../Loaders/LoaderBars ../Buttons/I...
/** * * TypologyContent * */ import React from 'react'; // import PropTypes from 'prop-types'; import styled from 'styled-components'; import { Box } from 'grommet'; import { getContentMaxWidth } from 'utils/responsive'; const StyledBox = styled(Box)` margin: 0 auto; padding-bottom: ${({ theme }) => theme.gl...
import React, {useState} from 'react'; import CategoryItem from './CategoryItem'; import CategoryModal from './CategoryModal'; import DatePicker from 'react-native-date-picker'; import {Link} from 'react-router-native'; import {readTime, readDate} from '../utils/auth'; import Icon from 'react-native-vector-icons/dist/F...
angular .module('ActiveResource.Mocks') .provider('ARMockSuperClass', function() { this.$get = ['ActiveResource', function(ActiveResource) { function SuperClass(data) { this.superClassVal = 'one'; }; return SuperClass; }]; });
'use strict'; module.exports = { 'extends': '@unicoda/eslint-config/configurations/common', 'rules': { 'global-require': 2, 'no-console': 0, }, 'env': { 'node': true, 'mongo': true, 'jest': true } };
'use strict'; exports.__esModule = true; var _assign = require('babel-runtime/core-js/object/assign'); var _assign2 = _interopRequireDefault(_assign); var _bluebird = require('bluebird'); var _bluebird2 = _interopRequireDefault(_bluebird); var _raw = require('./raw'); var _raw2 = _interopRequireDefault(_raw); v...
#! /usr/bin/env node 'use strict'; var DEFAULT_PROJECT_NAME = 'recroom-app'; var VERSION = '0.1.0'; var chalk = require('chalk'); var nopt = require('nopt'); var shell = require('shelljs'); var spawn = require('child_process').spawn; var binaryPath = __dirname + '/node_modules/.bin/'; var opts = nopt({ app: Boo...
(function () { 'use strict'; angular.module('rootModule.view1', ['ngRoute']) .config(['$routeProvider', function ($routeProvider) { $routeProvider.when('/view1', { templateUrl: 'view1/view1.html', controller: 'View1Ctrl' }); }]) .controller('View1Ctrl', [function () { ...
//# sourceMappingURL=path---index-37bd5cce595a8af2b1ae.js.map
function Task(id,name,desc){ this.id = id; this.name = name; this.desc = desc; this.selected = false; }
import styles from './template.css'; import template from './template'; import AoflElement from '@aofl/web-components/aofl-element'; /** * @summary IconRoundControlCameraElement * @class IconRoundControlCameraElement * @extends {AoflElement} */ class IconRoundControlCameraElement extends AoflElement { /** * C...
'use strict'; const path = require('path'); const webpack = require('webpack'); module.exports = { context: __dirname, devtool: 'source-map', entry: ['./app.js'], output: { filename: './output.js', path: path.resolve(__dirname) }, plugins: [ new webpack.NamedModulesPlugin() ], serve: { ...
/* eslint no-invalid-this:off */ /** * Created by krasilneg on 10.10.2016. */ 'use strict'; // jshint maxstatements: 30 const PropertyTypes = require('core/PropertyTypes'); const ConditionTypes = require('core/ConditionTypes'); const OperationTypes = require('core/OperationTypes'); const Operations = require('core/F...
export { default } from './Callout'; export { default as CalloutElement } from './CalloutElement';
import React, { Component } from 'react' import Form from 'react-bootstrap/Form' import Modal from 'react-bootstrap/Modal' import Button from 'react-bootstrap/Button' // RenameModal.js is the modal through which // the user can rename the current tab in FlowNavigation.js export default class RenameModal extends Compo...
module.exports = { state: { /* initial values of state inside the model */ // title: 'Set the title' }, reducers: { /* synchronous operations that modify state. Triggered by actions. Signature of (data, state). */ update: (data, state) => ({ title: data.value }) }, effects: { // asynchrono...
import { VIEWPORT_DOM, HEADLINE_LEVELS, FORMAT, HEADLINE_LEVEL_MAP, HEADLINE_FONT_SIZE_MAP, PARAGRAPH_FONT_SIZE_MAP, WORD_SPLIT_REG_EXP, ANNOTATION_REG_EXP, ICON_REG_EXP, ANNOTATION_ICON, } from './configs'; import { parseUrl } from './queryString'; function isArrayType(arg) { return Object....
import Header from './Header'; import Body from './Body'; import Footer from './Footer'; import JumboTron from './JumboTron'; export { Header, Body, Footer, JumboTron };
define('localization/saleslogix/de', ['localization/de', 'crm/ApplicationModule'], function() { });
tinymce.addI18n('ja', { 'The spelling service was not found: ({0})': '\u30B9\u30DA\u30EA\u30F3\u30B0\u30B5\u30FC\u30D3\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\uFF1A ({0})' });
const handlers = []; class PubSub { constructor() { this.handlers = handlers; } subscribe(event, handler, context) { const ctx = (typeof context === 'undefined') ? handler : context; this.handlers.push({ event, handler: handler.bind(ctx) }); } publish(event) { let i; for (i = 0; i < th...
/* Helios 1.5 by HTML5 UP html5up.net | @n33co Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) */ /*********************************************************************************/ /* Settings */ /************...
import Taro, { Component } from "@tarojs/taro"; import { View, Text, Image } from "@tarojs/components"; import { connect } from "@tarojs/redux"; import MySwiper from "../../components/MySwiper"; import GoodsList from "../../components/GoodsList"; import "./index.scss"; @connect(({ home, cart, loading }) => ({ ...hom...
const Manager = require('../lib/Manager'); describe("Manager", () => { it("return the name value this.name", () => { const str = "Steven"; const emailTest = "test@test.com"; const phoneTest = "555-555-5555" const newManager = new Manager(str, 10, emailTest, phoneTest); expect(newM...
import React from "react" import Link from 'gatsby-plugin-transition-link'; import SEO from "../../components/seo" import { gsap, Power2 } from "gsap" import VisibilitySensor from "react-visibility-sensor" import Manifesta2 from "../../images/careers-large.jpg" import WorkMobile from "../../images/want-work-mobile.jpg"...
import { Tabs, TabList, TabPanels, Tab, TabPanel, HStack, VStack, Avatar, Button, Center, Grid, GridItem, Text, Heading, } from "@chakra-ui/react"; import styles from "../../styles/Home.module.css"; import { FaFacebook, FaTwitter } from "react-icons/fa"; import ArticleList from "../../compon...
/* * Filter Widget * * Data attributes: * - data-behavior="filter" - enables the filter plugin * * Dependences: * - October Popover (october.popover.js) * * Notes: * Ideally this control would not depend on loader or the AJAX framework, * then the Filter widget can use events to handle this business logi...
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD * Build: http://modernizr.com/download/#-csstransitions-shiv-cssclasses-testprop-testallprops-domprefixes-load */ ; window.Modernizr = function (a, b, c) { function x(a) { j.cssText = a } function y(a, b) { return x(prefixe...
const colors = require('tailwindcss/colors'); module.exports = { future: { // removeDeprecatedGapUtilities: true, // purgeLayersByDefault: true, }, purge: [ './public/**/*.html', './src/**/*.vue' ], theme: { extends: {}, }, variants: {}, plugins: [], colors: { black: colors.bl...
let clock; let timezoneSelect; let timeOutputElement; document.addEventListener("DOMContentLoaded", function (event) { timezoneSelect = document.getElementById('timezone-select'); timeOutputElement = document.getElementById('timer-time'); clock = new Clock((time) => updateTime(time)); timezoneSelect....
$(document).ready(function(){ $("a.newwindow").attr("target","_blank"); $("a.topwindow").attr("target","_top"); $('.container').on('click', 'a:not(.external-link):not([href^="#"])', function(e){ e.preventDefault(); var url = window.location.href; var newurl = $(this).attr('href'); if ...
/** 240. Search a 2D Matrix II Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted in ascending from left to right. Integers in each column are sorted in ascending from top to bottom. Example: Consider the following matr...
// Fetch all users, title and dates // let route2 = "https://dairyapp.herokuapp.com/api"; function shows(entry_id){ let url = "https://dairyapp.herokuapp.com/api/v2/all_entries/"+entry_id; fetch(url,{ method: "GET", headers : { "Content-Type":"application/json"} }) .then((res)=>res.json()) .then((data)=>{ ...
var callbackArguments = []; var argument1 = function() { callbackArguments.push(arguments) return undefined; }; var argument2 = r_0; var argument3 = function() { callbackArguments.push(arguments) return undefined; }; var argument4 = r_0; var argument5 = function() { callbackArguments.push(arguments) return 87;...
/** * Copyright (c) Hathor Labs 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. */ import { DASHBOARD_CHART_TIME } from '../constants'; /* 'data' list content: { 'date': Date object, 'transactions': int, 'bl...
(function () { angular.module("awApp").component('guesserGridCnduo', { templateUrl: 'app/components/instance/cn_duo/guesser/guesserGrid/guesserGridCnduo.html', controller: GuesserGridController, bindings: { // gridPosition: "<", gridGame: "<", gridContent: "<", ...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.24/esri/copyright.txt for details. //>>built define("esri/layers/support/nls/webglDeps_ROOT",{"esri/layers/vectorTiles/nls/common":{_localized:{}}});
/* Copyright 2008-10 Google Inc. All Rights Reserved. */ (function(){var f,l=this,aa=function(){},ba=function(a){a.ca=function(){return a.Eb?a.Eb:a.Eb=new a}},ca=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if...
/** * Created by sohel on 7/6/15. */ 'use strict'; var mongoose = require('mongoose'); var Schema = mongoose.Schema , ObjectId = Schema.ObjectId; var schemaOptions = { toObject: { virtuals: true } ,toJSON: { virtuals: true } }; var EventThreadSchema = new Schema({ user_id: {type : ObjectId, ...
import { moduleForComponent, test } from 'ember-qunit'; moduleForComponent('select-rect', { // Specify the other units that are required for this test // needs: ['component:foo', 'helper:bar'] }); test('it renders', function(assert) { assert.expect(2); // Creates the component instance var component = ...
import { withRouter } from 'react-router-dom'; import { withTranslation } from 'react-i18next'; import Metas from './Metas'; import compose from '../../../../../utils/compose'; export default compose( withRouter, withTranslation(), )(Metas);
const { ResultData, ResultFault } = require('tms-koa') const Base = require('./base') const DbHelper = require('./dbHelper') const ObjectId = require('mongodb').ObjectId const ModelDb = require('../models/mgdb/db') /** * 数据库控制器基类 * @extends Base */ class DbBase extends Base { constructor(...args) { super(...ar...
const { state, stateEmitter } = require('./state') const connect = require('./ws') const { getWin, createWindow } = require('./window') const sync = require('./ipc') const updater = require('./updater') const open = require('./db') const tray = require('./tray') const autoUpdater = updater({ state }) open({ state, st...
import React from "react"; const WhiteBg = true; class AboutUs extends React.Component { render() { return ( <section id="about-us" className={this.props.WhiteBg === true ? 'about-us-section home-secound home-third' : 'about-us-section'}> <div className="container"> <div className="row">...
!function(e,i,t,l){"use strict";e("#js-grid-juicy-projects").cubeportfolio({filters:"#js-filters-juicy-projects",loadMore:"#js-loadMore-juicy-projects",loadMoreAction:"click",layoutMode:"grid",defaultFilter:"*",animationType:"quicksand",gapHorizontal:35,gapVertical:30,gridAdjustment:"responsive",mediaQueries:[{width:15...
export const KEY_INTO_UNICODE = { "!": 33, "\"": 34, "#": 35, $: 36, "%": 37, "&": 38, "'": 39, "(": 40, ")": 41, "*": 42, "+": 43, ",": 44, "-": 45, ".": 46, "/": 47, "0": 48, "1": 49, "2": 50, "3": 51, "4": 52, "5": 53, "6": 54, "7": 55, "8": 56, "9": 57, ":": 58, ";": 59, "<": 60, "=": 6...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("a11yhelp", "tt", { title: "Accessibility Instructions", contents: "Help Contents. To close this dialog press ESC.", legend: [{ n...
import { LNWALLET_STARTUP_ATTEMPT, LNWALLET_STARTUP_FAILED, LNWALLET_STARTUP_SUCCESS, LNWALLET_STARTUP_CHANGEDSTAGE, LNWALLET_INFO_UPDATED, LNWALLET_CONNECT_SUCCESS, LNWALLET_BALANCE_UPDATED, LNWALLET_CHANNELBALANCE_UPDATED, LNWALLET_CHANNELLIST_UPDATED, LNWALLET_LATESTINVOICES_UPDATED, LNWALLET_L...
var zmq = require('zmq'); function Client(id, login_cb) { this.REPLY_HANDLER = {}; var sock = this.sock = zmq.socket('dealer'); var self = this; this.secret = ""; sock.monitor(500, 0); sock.identity = ""+id; sock.on('connect', function() { function login_done() {...
exports.pages = [ 'ArticlePage', 'ErrorPage', 'FrontPage', 'IdxPage', 'MostReadPage', 'LiveRadioPage', 'MediaAssetPage', 'MostReadPage', 'MostWatchedPage', 'OnDemandRadioPage', 'OnDemandTvPage', 'PhotoGalleryPage', 'StoryPage', ];
var express = require('express'); var app = express(); require('dotenv').config(); var getResult = require('./scrapper'); const cors = require('cors'); app.use(cors({})); app.get('/', (req, res)=>{ getResult("https://www.worldometers.info/coronavirus/").then((result)=>{ res.json(result) }).catch((err...
// @flow /** * Handles HTTP background file uploads from an iOS or Android device. */ import { NativeModules, DeviceEventEmitter } from 'react-native'; export type UploadEvent = 'progress' | 'error' | 'completed' | 'cancelled'; export type NotificationArgs = { enabled: boolean, }; export type StartUploadArgs = {...
!function ($) { "use strict"; var SweetAlert = function () { }; //examples SweetAlert.prototype.init = function () { //Basic $('#sa-basic').click(function () { swal("Here's a message!"); }); //A title with a text under $('#sa-title').click(func...
export const pools = [ { id: 'bifi-maxi', logo: 'bifi/BIFI.png', name: 'BIFI Maxi', token: 'BIFI', tokenDescription: 'Uses: Beefy.Finance', tokenAddress: '0xCa3F508B8e4Dd382eE878A314789373D80A5190A', tokenDecimals: 18, tokenDescriptionUrl: 'https://docs.beefy.finance/beefyfinance/produ...
goog.provide('ol.Overlay'); goog.provide('ol.OverlayPositioning'); goog.provide('ol.OverlayProperty'); goog.require('goog.asserts'); goog.require('goog.dom'); goog.require('goog.dom.TagName'); goog.require('goog.events'); goog.require('goog.style'); goog.require('ol.Coordinate'); goog.require('ol.Map'); goog.require('...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var StyledIconBase_1 = require("../../StyledIconBase"); exports.BookmarkPlus = React.forwardRef(function (props, ref) { var attrs = { "fill": "curr...
const BASE_URL = 'http://localhost:8080'; const URLS = { USER_LOGIN: `${BASE_URL}/user/login`, USER_SIGNUP: `${BASE_URL}/user/signup`, USER_INFO: `${BASE_URL}/user/info`, USER_MODIFY: `${BASE_URL}/user/modify`, USER_LOGOFF: `${BASE_URL}/user/logoff`, EMAIL_ACITVE: `${BASE_URL}/user/email/active`, EMAIL_CODE_VER...
var {age, date} =require("../lib/configs/utils") var db = require("../lib/configs/db") const Recipes = require("../models/recipesModel") const fs = require('fs') module.exports= { all(){ return db.query(` SELECT chefs.*, count(recipes) AS total_recipes FROM chefs LEFT...
const express = require("express"); const mongoose = require("mongoose"); const PORT = process.env.PORT || 3000; const app = express(); app.use(express.urlencoded({ extended: true })); app.use(express.json()); app.use(express.static("public")); mongoose.connect(process.env.MONGODB_URI || "mongodb://localhost/worko...
const capabilities = require("./capabilities"); const DustBinFullValetudoEvent = require("../../valetudo_events/events/DustBinFullValetudoEvent"); const ErrorStateValetudoEvent = require("../../valetudo_events/events/ErrorStateValetudoEvent"); const MopAttachmentReminderValetudoEvent = require("../../valetudo_events/ev...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _path = _interopRequireDefault(require("path")); var _betterOpn = _interopRequireDefault(require("better-opn")); var _fsExtra = _interopRequireDefault(require("fs-extra")); var _compression = _interopRequireDefa...
// Exporting an object containing all of our models module.exports = { Workout: require("./workout"), };
import React from 'react'; import PropTypes from 'prop-types'; import { gql } from '@apollo/client'; import { graphql } from '@apollo/client/react/hoc'; import { defineMessages, FormattedMessage, injectIntl } from 'react-intl'; import colors from '../../lib/constants/colors'; import { ORDER_STATUS } from '../../lib/co...
#!/usr/bin/env node /* * Copyright 2020 American Express Travel Related Services Company, 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-...
/** * 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 or agreed to...
import {request} from "../../components/utils/apiSlice" import {bugAdd, bugReceived} from "./bugSlice" // const TODO_BASE = process.env.REACT_APP_EXTRA_URL const { REACT_APP_EXTRA_URL } = process.env export const getBugs = () => ( request({ url: '/bugs', onSuccess: bugReceived }) ) export const getBugByI...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * 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 a...
webpackJsonp([22,28],{ /***/ 1028: /***/ (function(module, exports) { /***/ }), /***/ 919: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core_...
import Knex from '~/src/library/mysql'; import moment from 'moment'; import _ from 'lodash'; const BASE_TABLE_NAME = 't_o_user_first_login_at'; const TABLE_COLUMN = [`id`, `ucid`, `first_visit_at`, `country`, `province`, `city`, `create_time`, `update_time`]; /** * 获取表名 * @param {number} projectId 项目id * @return {St...
module.exports = { entry: ['babel-polyfill', './src/app.js'], output: { path: './dist', filename: 'app.js', publicPath: '/' }, devServer: { inline: true, port: 3000, contentBase: './dist' }, module: { loaders: [ { test: /\.js$/, exclude: /(node_modules|bower_co...
(() => { window.onload = () => { const init_tooltips = () => $('[data-toggle="tooltip"]').tooltip(); const init_creation_form_submit = () => { Cookies.set('_show_init_popup', 'false'); const form = document.getElementById('gtm_demo_landing_creation_form'); form.o...
import styled, { css } from 'styled-components'; const PlusButton = styled.button` width: 28px; height: 28px; background-color: transparent; box-shadow: 1px 1px 2px -2px black; outline: none; border: 1px solid black; border-radius: 50px; cursor: pointer; position: relative; flex-shrink: 0; ::bef...
'use strict'; (function() { var msie = parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1], 10); function indexOf(array, obj) { if (array.indexOf) return array.indexOf(obj); for ( var i = 0; i < array.length; i++) { if (obj === array[i]) return i; } return -1; } ...
/* * Globalize Culture en-PH * * http://github.com/jquery/globalize * * Copyright Software Freedom Conservancy, Inc. * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * This file was generated by the Globalize Culture Generator * Translation: bugs found in this file need t...
/** * @file 脚手架模板组件 * @author jinzhan, Lohoyo */ import {message} from 'santd'; import Component from '@lib/san-component'; import './template-list.less'; /** * 选择脚手架模板 * * @param {Array} projectTemplateList 模板列表 * @param {Function} on-submit fire('submit')的回调 * @param {boolean} hideSubmitBtn 隐藏提交按钮 */ export...
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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 a...
/* global app */ /** * Controller for the monitoring adapter list page which extends the AdapterListController. */ app.controller('MonitoringAdapterListController', ['$scope', '$controller', 'deviceTypesList', 'monitoringAdapterList', 'addMonitoringAdapter', 'deleteMonitoringAdapter', 'parameterTypesList', 'Noti...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ (function(a){if("undefined"==typeof a)throw Error("jQuery should be loaded before CKEditor jQuery adapter.");if("undefined"==typeof CKEDITOR)throw Error("CKEditor sho...
//${file}.js //获取应用实例 var app = getApp() Page({ data: { motto: '一切皆有可能', memo: ' --2016', }, onLoad: function () { console.log('onLoad') ; } })
export const SET_SIZE = "SET_SIZE"; export const GET_NEW_QUOTE = "GET_NEW_QUOTE";
/* * Copyright 2020 Ally Financial, 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 t...
import React from 'react'; function Header() { return ( <header style={{textAlign:"center", width:"100%", backgroundColor:"black", color:"white", borderBottom:"15px solid rgb(126,73,162)", paddingTop:"30px", paddingBottom:"15px"}}> <h1>Employee Directory</h1> <h5 style={{fontStyle...
import { shallowMount } from '@vue/test-utils' import PickerMonth from '~/components/PickerMonth.vue' import { en } from '~/locale' describe('PickerMonth', () => { let wrapper beforeEach(() => { wrapper = shallowMount(PickerMonth, { propsData: { allowedToShowView: () => true, translation:...
/** * jsBezier * * Copyright (c) 2010 - 2017 jsPlumb (hello@jsplumbtoolkit.com) * * licensed under the MIT license. * * a set of Bezier curve functions that deal with Beziers, used by jsPlumb, and perhaps useful for other people. These functions work with Bezier * curves...
// import 'promise-polyfill'; // import 'isomorphic-fetch'; import { h, render } from 'preact'; import './style/index.scss'; let root; function init() { const getProductId = el => el.className.replace(/.*ecwid-product-id-([0-9]*)$/, '$1'); const products = [].slice.apply(document.querySelectorAll('.ecwid-productB...
import DenseNDArray from "../../DenseNDArray/main/DenseNDArray.js"; var Matrix = function (array) { this.matrix = array instanceof Matrix ? array.matrix : DenseNDArray.of(array); if (this.matrix.shape().length > 2) throw `Matrix must have dimension below 3, your array as dimension ${this.matrix.shape.length}`;...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'blockquote', 'en-ca', { toolbar: 'Block Quote' } );
define([ 'dojo/_base/query', 'dojo/dom', 'dojo/dom-style', 'dojo/dom-geometry', './gdoh', 'gridx/core/model/cache/Sync', '../support/data/TestData', '../support/stores/Memory', '../support/modules' ], function(query, dom, domStyle, domGeo, doh, Cache, dataSource, storeFactory, modules){ var store = storeFact...
const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const base = require('../../webpack.config'); module.exports = { ...base, mode: 'development', context: __dirname, entry: './index.js', output: { path: path.join(__dirname, 'dist'), filename: 'example.js' }, ...
const express = require('express') const bodyParser = require('body-parser') const db = require('./queries') const app = express() app.use( bodyParser.urlencoded({ extended: true }) ) app.use(bodyParser.json()) app.use(function (req, res, next) { res.header('Access-Control-Allow-Origin', '*') res.header...
import React from 'react' import PropTypes from 'prop-types' import MediaQuery from 'react-responsive' import styles from './StackedBarChartLayout.module.scss' import { ChartTitle } from '../../../charts/ChartTitle' import { StackedBarChart } from '../../../charts/StackedBarChart' import { ChartLegendStandard } from ...
/*! * Ext JS Library 3.1.1 * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ /** * @class Ext.grid.GridPanel * @extends Ext.Panel * <p>This class represents the primary interface of a component based grid control to represent data * in a tabular format of rows and col...
/** * Created by Wonderchief on 2017/1/6. * Legle co,.ltd. * This is a auto-generated code file. * 版权所有:广州聆歌信息科技有限公司 */ var models = require('../models'); var Promise = require('bluebird'); var Moment = require('moment'); var _ = require('underscore'); var user_base = require('./user_base'); module.exports = _.ext...
// @flow const MOUNTING_OPTIONS = [ 'attachToDocument', 'mocks', 'slots', 'localVue', 'stubs', 'context', 'clone', 'attrs', 'listeners', 'propsData', 'logModifiedComponents', 'sync', 'shouldProxy' ] export default function extractInstanceOptions(options: Object): Object { const instanceOpt...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports["default"] = void 0; var _lodash = _interopRequireDefault(require("lodash")); var _xml = _interopRequireDefault(require("xml")); var _moment = _interopRequireDefault(require("momen...
'use strict'; (function(exports) { function SelectionBorder(options) { if (!options) { throw new Error('SelectionBorder requires an options object.'); } this.multiple = options.multiple; this.forground = options.forground; this.container = options.container; this.selectedItems = []; ...
//TABLE exports.up = function(knex, Promise) { return knex.schema.createTable("users", users => { //Table name users.increments("id"); // primary users .string("username", 128) //username .notNullable() .unique(); users .string("password", 128) //password .notNullable(...
const noteRoutes = require('./upload_paper_route'); const getData = require('./getData'); //const getClassPerformance = require('./getClassPerformance') module.exports = function(app, db) { noteRoutes(app, db); getData(app,db); //getClassPerformance(app,db); // Other route groups could go here, in the future };