text
stringlengths
2
1.04M
function Stack(){ stack.questions.questions({sort:'hot'}, (err, data) => { setTimeout(Stack,config.interval * 1000); if(err)return; var list = []; data.items.forEach(item => { if(list.length == config.stackCount)return true; if(item.is_answered && 0 < item.score)list.push({ link: item.link, title...
import * as mars3d from "mars3d" export let map // mars3d.Map三维地图对象 export let graphicLayer // 需要覆盖config.json中地图属性参数(当前示例框架中自动处理合并) export const mapOptions = { scene: { center: { lat: 31.353044, lng: 117.230763, alt: 58544, heading: 1, pitch: -51 } }, terrain: { show: false } } export const eventTar...
app.directive('seansFooter', function () { return { template: "<footer class='footer'><div class='container'><span class='text-muted'>You can download this project from my github project page at <a href='https://github.com/Sean-Bradley/Seans-AngularJS-Java-Spring-Hibernate-MySQL-Boilerplate' target='_blank'...
// When document has been loaded, then allow body to scroll and hide preloader class. $(function(e){ $("#preloader").hide(); $("body").css("overflow", "scroll"); });
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.configEasing = exports.configSpring = exports.configBezier = void 0; var _util = require("./util"); function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } function ...
import React from 'react'; import { Heading} from 'grommet'; import Layout from '../../components/Layout'; import BlogRoll from '../../components/BlogRoll'; // Style Utils import ContainerBox from '../../style-utils/ContainerBox'; import WrapperBox from '../../style-utils/WrapperBox'; export default class BlogIndexP...
// Loading 显示 export default function showLoading(type = true) { if (type) { if ($('.showLoading').length > 0) return; $('body').append('<div class="showLoading"></div>'); } else { $('.showLoading').remove(); } }
'use strict'; /** * Calculates the shortest paths in a graph to every node * from the node 'startNode' with Bellman-Ford's algorithm * * Worst Case Complexity: O(|V| * |E|), where |V| is the number of * vertices and |E| is the number of edges in the graph * * @param Object 'graph' An adjacency list representing...
import routes from '../../' // vue-auto-routing console.log(routes)
let s1 = "01"; let s2 = "1.1"; let s3 = "z"; let b = false; let f = 1.1; let o = { valueOf() { return -1; } }; s1 = -s1; // value becomes numeric -1 s2 = -s2; // value becomes numeric -1.1 s3 = -s3; // value becomes NaN b = -b; // value becomes numeric 0 f = -f; // change to -1.1 o = -o; ...
'use strict'; var http = require('http'); var path = require('path'); var debug = require('debug')('sws:spectest'); // Prometheus Client const promClient = require('prom-client'); const collectDefaultMetrics = promClient.collectDefaultMetrics; // Probe every 1 second collectDefaultMetrics({ timeout: 1000 }); // Serv...
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ 'use strict'; const Platform = require('Platform'); const React = require('React'); const PropTypes = require('prop-types...
"use strict" const { createCoreRouter } = require("@strapi/strapi").factories; module.exports = createCoreRouter("api::restaurant-page.restaurant-page");
import React from "react"; import reactDOM from "react-dom"; import App from "./routes/App"; import "./assets/styles/index.css"; const MyApp = document.getElementById("App"); reactDOM.render(<App />, MyApp);
const webpack = require('webpack'); const resolve = require('path').resolve; const src = resolve(__dirname, 'src'); const dist = resolve(__dirname, 'dist'); module.exports = { entry: { app: './src/jsset.js', }, output: { path: dist, filename: 'jsset.min.js', }, module: { rules: [ { ...
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { usePrefix } from '../../internal...
hqDefine("hqwebapp/js/assert_properties", ['underscore'], function (_) { var assertRequired = function (object, required) { var all = _.keys(object), missing = _.difference(required, all); if (missing.length) { throw new Error("Required properties missing: " + missing.join("...
import React, {Component} from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import keycode from 'keycode'; import TextField from '../TextField'; import Menu from '../Menu'; import MenuItem from '../MenuItem'; import Divider from '../Divider'; import Popover from '../Popover/Popover'; i...
import Auth from '@/utils/auth' const Base64 = require('js-base64').Base64 const AxiosHeader = { // 网站api的地址 // baseurl: 'http://10.0.13.52:8028', // baseurl:window.global.baseUrl, baseurl: process.env.VUE_APP_BASE_API, userkey: 'admin', /** * 登录获取 ajax headers的appinfo信息 * @param {*} object ...
const _ = require('lodash'), errors = require('ghost-ignition').errors, util = require('util'); function KnexMigrateError(options) { options = options || {}; errors.IgnitionError.call(this, options); } // jscs:disable const knexMigratorErrors = { MigrationExistsError: function MigrationExistsError...
import React from 'react' import { FormattedMessage, injectIntl } from 'gatsby-plugin-intl' import { Container } from 'react-bootstrap' const Footer = () => { return ( <footer className="py-4"> <Container> &copy; {new Date().getFullYear()} <FormattedMessage id="companyName" /> – <FormattedMessage ...
import { define } from '../../core.js' import '../ripple/main.js' const template = `<style>:host{display:inline-flex;align-items:center;vertical-align:middle;position:relative;user-select:none;cursor:pointer;line-height:1.6}:host([disabled=true]){pointer-events:none;filter:grayscale(1);opacity:.6}:host([checked=true])...
/** * 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 applicable law or agr...
import createReducer from '../lib/createReducer'; import * as types from '../actions/types'; export const advertisements = createReducer( {}, { [ types.SET_ADV_LIST ]( state, action ) { return action.payload.advertisements; } } );
module.exports = { parser: '@typescript-eslint/parser', // Specifies the ESLint parser parserOptions: { ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features sourceType: 'module', // Allows for the use of imports ecmaFeatures: { jsx: true, // Allows for t...
module.exports = function toReadable(number) { const numbers = [ "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", ...
var config = {}; config.url = 'http://192.168.2.10/api/G9dOkDFP3bXMVN6tL4feIYyxIzyw7aoZOZe-Z5t4/sensors'; config.baseUrl = 'http://192.168.2.10/api/G9dOkDFP3bXMVN6tL4feIYyxIzyw7aoZOZe-Z5t4'; config.apiKey = ''; module.exports = config;
const $ = H5P.jQuery; const ENDSCREEN_STYLE_BASE = 'h5p-interactive-video-endscreen'; const ENDSCREEN_STYLE_BUTTON_HIDDEN = 'h5p-interactive-video-endscreen-submit-button-hidden'; const KEY_CODE_ENTER = 13; const KEY_CODE_SPACE = 32; /** Class representing an endscreen. */ class Endscreen extends H5P.EventDispatcher ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireWildcard(require("react")); var _styledComponents = require("../../styledComponents"); var _temp; function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null...
$(document).ready(function () { var editor = null; // this will create the toolbar for the textarea var theme = 'n1theme,/skin/js/ckeditor/themes/n1theme/'; if (window.CRM.bDarkMode) { theme = 'moono-dark,/skin/js/ckeditor/themes/moono-dark/'; } if (editor == null) { if (window...
const bpmr = require('babel-plugin-module-resolver'); function resolvePath(sourcePath, currentFile, opts) { if (sourcePath === 'markdown') { const base = currentFile.substring(__dirname.length).slice(0, -3); return `${__dirname}/docs/src/${base}/`; } return bpmr.resolvePath(sourcePath, currentFile, opts...
var test = require('tape'); var expand = require('..'); var fs = require('fs'); var resfile = __dirname + '/bash-results.txt'; var cases = fs.readFileSync(resfile, 'utf8').split('><><><><'); // throw away the EOF marker cases.pop() test('matches bash expansions', function(t) { cases.forEach(function(testcase) { ...
(function () { 'use strict'; angular .module('openSenseMapApp') .controller('AccountSettingsController', AccountSettingsController); AccountSettingsController.$inject = ['$scope', '$state', '$timeout', '$translate', 'AccountService', 'LanguageService', 'AuthenticationService']; function AccountSettin...
import React, { useState } from 'react' import { connect } from 'react-redux' import PropTypes from 'prop-types' import { auth } from '../store' import states from '../utils/states' /** * COMPONENT */ const AuthForm = props => { const { name, displayName, error, authFunc } = props const [form, setForm] = useState...
// == BSD2 LICENSE == // Copyright (c) 2014, Tidepool Project // // This program is free software; you can redistribute it and/or modify it under // the terms of the associated License, which is identical to the BSD 2-Clause // License as published by the Open Source Initiative at opensource.org. // // This program is ...
import * as types from './../Constants/action.names'; import { TM_URL } from '../Constants/constants'; import axios from 'axios'; export async function createTMAccount(name, password) { let data = { name: name, password: password } try { let response = await axios.post(TM_URL + '/ke...
const { MessageEmbed, Message } = require("discord.js"); const config = require("../../botconfig/config.json"); const ee = require("../../botconfig/embed.json"); const settings = require("../../botconfig/settings.json"); const { check_if_dj } = require("../../handlers/functions") const FiltersSettings = require("../...
// @flow // Like intersperse but takes a function to define the separator export function intersperseFn<A, B>( separatorFn: (index: number, x: A, a: Array<A>) => B, arr: Array<A> ): Array<A | B> { if (arr.length === 0) { return [] } return arr.slice(1).reduce( (acc, x, i, a) => { return acc.co...
// Conforme orientações abaixo, realize as seguintes manipulações em um dado vetor S: // Exiba na tela S= [A,b,B,C,c,1, 2, 3]; // Insira o primeiro elemento "a" e exiba na tela; [a,A,b,B,C,c,1, 2, 3]; // Insira o último elemento "4" e exiba na tela; [a,A,b,B,C,c,1, 2, 3,4]; // Remova o "c" do vetor e exiba na tela;...
/** * Created by vaibhav on 31/3/18 */ import CMS from 'netlify-cms' import HomePagePreview from './preview-templates/HomePagePreview' import AboutPagePreview from './preview-templates/AboutPagePreview' import ArticlePreview from './preview-templates/ArticlePreview' import PricingPagePreview from './preview-template...
module.exports = { // androidPath: './android/app/build.gradle', androidPath: './android/app/build.gradle', 'iosPath-dev': './ios/MyApp/Info-dev.plist', }
var five = require("../lib/johnny-five.js"); five.Board().on("ready", function() { var temperature = new five.Temperature({ controller: "TMP36", pin: "A0" }); var sensor = new five.Sensor("A5"); temperature.on("data", function() { console.log(this.celsius + "°C", this.fahrenheit + "°F"); }); })...
import { Meteor } from 'meteor/meteor'; import { Permissions } from 'meteor/rocketchat:models'; Meteor.startup(() => { if (Permissions) { Permissions.createOrUpdate('manage-sounds', ['admin']); } });
module.exports = function(app) { app.controller('AdmFinishingController', ['$scope', '$http', 'API_URL', 'AJAX_URL', 'BASE_URL', '$cookies', '$window', function($scope, $http, API_URL, AJAX_URL, BASE_URL, $cookies, $window) { $scope.finishings = []; $scope.initData = function($input){ $scope.finishings = ...
/** * Created by Awsaf on 7/4/2016. */ (function(window) { var CalculatorService = (function() { var CalculatorService = {} var layouts = [], cutRails = []; CalculatorService.updateLayoutData = function(layout) { console.log(layout); layout.update(); ...
/** * Copyright (c) 2015-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. */ 'use strict...
/** * @imports */ import domText from './textSync.js'; import { getPlayUIGlobal } from '../util.js'; /** * The async type of domText(). * * @see domText() * * @return Promise */ export default function(els, write = null) { const Reflow = getPlayUIGlobal.call(this, 'reflow'); if (arguments.length > 1) { ret...
/** * Copyright (c) 2014-present, Dash Core Group, Inc. */ // Internal dependencies import { makeStyles } from 'hooks/Styles'; const styles = () => ({ container: { backgroundColor: '#F0F4F5', flex: 1, }, header: { alignItems: 'center', justifyContent: 'center', padding: 32, }, circle: ...
"use strict"; var bgData = (function () { var bgs = {}; var loadRequestsCompleted = 0; var loadRequestsStarted = 0; var loadRequestsCompletedCallback; return { initialize: function(onsuccess) { loadBgsFromFiles(onsuccess); }, getBgs: function(from, to) { var requestedBgs = []; ...
/* global _, ClipboardJS */ import {Elm} from '../built/elm.js'; // eslint-disable-line import/no-unresolved import {getImageData, quantise, guessLevels} from './create-non-prime.js'; import {GreyImageData} from './grey-image-data.js'; import {resizeText} from './resize-text.js'; import {runWhen} from './run-when.js'; ...
module.exports={A:{A:{"2":"I D E F A gB","132":"B"},B:{"1":"C J K L M N O","4":"R S T U V W X P Y Z G a"},C:{"2":"hB WB jB","4":"0 1 2 3 4 5 6 7 8 9 I D E F A B C J K L M N O c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB XB GB YB Q HB IB JB KB LB MB NB OB PB QB RB SB TB ZB aB bB R S T iB U V W X P Y...
import Board from './components/Board' export {Board}
var app = require('app'); // Module to control application life. var BrowserWindow = require('browser-window'); // Module to create native browser window. // Report crashes to our server. require('crash-reporter').start(); // Keep a global reference of the window object, if you don't, the window will // be closed a...
/** * Add Record To Collection * POST /:model/:id/:collectionAttr/:childId * * Associate one record with the collection attribute of another. * If the record being added has a primary key value already, it will just be linked. * If it doesn't, a new record will be created, then linked appropriately. * In either ...
const Books = () => [ { title : "Book1" , pages: 100 }, { title: "Book2" , pages: 200 }, { title: "Book3" , pages: 300 }, ] export default Books;
module.exports = ['$scope', '$http', '$rootScope', 'notie', '$location', function ($scope, $http, $rootScope, notie, $location) { $http.get('./api/events').success(function(events) { for(var i=0; i<events.length; i++) { var start = (new Date(events[i].start)).getTime(); var now ...
var c=new Set(["string","number","boolean","null","undefined","symbol"]);var f=JSON.stringify,u=JSON.parse;var e=n=>{if(Array.isArray(n)===!1)throw new Error("parameter should be of type array")};var h=(n,r)=>{if(e(r),n<0||!n)throw new Error("size should be defined as a positive value");let o=[],s=Math.ceil(r.length/n)...
console.log('Gekoppelt!') const xhr = new XMLHttpRequest(); // Global consts voor de elementen uit de html const form = document.querySelector("form"); const radioBtnOne = document.querySelector("#radioOne"); const radioBtnTwo = document.querySelector("#radioTwo"); const startDate = document.querySelector("#begindatu...
/* * Author: Abdullah A Almsaeed * Date: 4 Jan 2014 * Description: * This is a demo file used only for the main dashboard (index.ftl) **/ $(function () { "use strict"; //Make the dashboard widgets sortable Using jquery UI $(".connectedSortable").sortable({ placeholder: "sort-highlight", conne...
import fs from 'fs'; import path from 'path'; import sanitize from 'sanitize-filename'; import { remote } from 'electron'; const { dialog } = remote; const mainWindow = remote.getCurrentWindow(); export default function uploadFile(basePath, toPath, extensions) { const [src] = dialog.showOpenDialogSync(mainWindow, {...
'use strict' var React = require('react') Object.defineProperty(exports, '__esModule', { value: true }) var Shuffler = React.createClass({ displayName: 'Shuffler', getInitialState: function() { return { content: ' ' // this.props.children } }, componentDidMount: function() { this.setTimer...
/** * A script to demonstrate how to draw clipped polygons. * * @requires PlotBoilerplate * @requires MouseHandler * @requires gup * @requires dat.gui * * * @author Ikaros Kappler * @date 2020-10-30 * @version 1.0.0 **/ (function (_context) { "use strict"; window.initializePB = function () { ...
export default (e)=>{ return({[e.target.name]:e.target.value}) }
/* * JQuery zTree exedit v3.5.24 * http://zTree.me/ * * Copyright (c) 2010 Hunter.z * * Licensed same as jquery - MIT License * http://www.opensource.org/licenses/mit-license.php * * email: hunter.z@263.net * Date: 2016-06-06 */ (function($){ // default consts of exedit var _consts = { event: { DRAG: ...
import * as tslib_1 from "tslib"; import * as React from 'react'; import { StyledIconBase } from '../../StyledIconBase'; export var NoNewline = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", }; return (React.createElement(StyledIconBase, tslib_1.__assign({ iconAttrs: ...
import { ethers } from "ethers"; import React, { useState, useEffect } from "react"; import ABI_JSON from "./utils/WavePortal.json"; const contractAddress = "0x0771594d6112126e65c13F41700cdBC3C091d20b"; const contractABI = ABI_JSON.abi; const App = () => { const [currentAccount, setCurrentAccount] = useState(""); ...
"use strict"; var gulp = require("gulp"); var runSequence = require("run-sequence"); var sass = require("gulp-sass"); gulp.task("scss-compile", function () { return gulp .src("./index.scss") .pipe(sass().on("error", sass.logError)) .pipe(gulp.dest("./")); }); gulp.task("build", function () { r...
import React from 'react'; import Loadable from '@react-loadable/revised'; import Box from '@material-ui/core/Box'; import { ThemeProvider as MuiThemeProvider, createMuiTheme, } from '@material-ui/core/styles'; import { getLightColors, getDarkColors } from './palette'; import Loading from '../Loading'; import The...
const FORM_ID = 'address-customer-form'; let id = document.getElementById('id'); let street = document.getElementById('address-street'); let commune = document.getElementById('commune'); let district = document.getElementById('district'); let province = document.getElementById('province') let fullName = document.get...
exports.id = 'door'; exports.title = 'Door'; exports.group = 'Gears-Trigger'; exports.color = 'LightBlue'; exports.icon = 'fa-thermometer-half'; exports.input = []; exports.output = ['blue']; exports.version = '1.0.0'; exports.author = 'Xfinity Gears'; exports.options = { door_ids: '', door_state: '', enabled: true, en...
/* * 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 app = require("./Routes/index"); const db = require("./Models/sql/connect"); const dotenv = require("dotenv"); dotenv.config(); const PORT = process.env.PORT || 5040; app.listen(PORT, () => { console.log("running on " + PORT); });
/** * Copyright (c) 2016, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or * https://opensource.org/licenses/BSD-3-Clause */ /** * api/v1/controllers/logout.js */ const httpStatus = require('../constants')....
import setActiveTreeNode from "./setActiveTreeNode"; const tree = [ { title: null, type: "folder", path: '/', folder: [ { title: "Doc A", type: "document", path: "/doc-a", breadcrumbs: [ { link: "/", text: "~", isActive: false }, { text: "Doc ...
import Vue from 'vue'; import VueRouter from 'vue-router'; import HomeComponent from './components/HomeComponent'; import AboutComponent from './components/AboutComponent'; Vue.use(VueRouter); export default new VueRouter({ mode: 'history', routes:[ {path: '/home', component:HomeComponent}, {p...
load("fcfbc86708bc3a4062c2091a062e13b6.js"); load("faa81dc98fc13338aca921d45eebae79.js"); // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * The production x &= y is the same as x = x & y * * @path ch11/11.13/11.13.2/S11.13.2_A4....
/// <reference types="cypress" /> import { apiUrl, addDefaultFixtures, FIXTURE_REF_CLUSTERHEALTH, nodes_route, upgradeProgress_route, FIXTURE_REF_UPGRADEPROGRESS, FIXTURE_REF_MANIFEST, FIXTURE_REF_APPS, apps_route, EMPTY_LIST_TEXT, refresh } from './util'; const appName = "fabric:/VisualObjectsApplicationType"; cont...
// Copy this file as config.js in the same folder, with the proper database connection URI. module.exports = { //Change db and db_dev back to mongodb://dbWoC:27017/WoC for production. Maybe! db: 'mongodb://da1:27017/WoC', db_dev: 'mongodb://da1:27017/WoC', jwtSecret: 'supersecrettestkeyforsomethingsecret', c...
import React, {Component} from 'react'; import {connect} from 'react-redux'; import {setReports, setUser, setKeywords, setSenders, setSubscriptions, setSubscribers, setRates} from "../reducers/UserOptions"; import { API } from "aws-amplify/lib-esm/index"; import { Auth } from "aws-amplify/lib-esm/index"; import Amplify...
/** * After successful edit, go to List page. * See: https://github.com/aldeed/meteor-autoform#callbackshooks */ AutoForm.hooks({ EditMessageForm: { /** * After successful form submission, go to the ListStuff page. * @param formType The form. * @param result The result of form submission. *...
import styled from 'styled-components'; const Block = styled.section` height: 100%; width: 100%; background-color: ${({ isDark, theme }) => isDark ? theme.color.darkGrey : theme.color.grey}; box-shadow: ${({ shadow, theme }) => { if (shadow === 'strong') return theme.shadow.inside.strong; if (shado...
module.exports = { inputs: { criteria: { type: 'json', custom: value => _.isArray(value) || _.isPlainObject(value), }, }, async fn(inputs, exits) { const cardSubscriptions = await CardSubscription.find(inputs.criteria).sort('id'); return exits.success(cardSubscriptions); }, };
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = _default; var _merge = _interopRequireDefault(require("merge")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function _defineProperty(obj, key, value) { if (key i...
var data = { "body": "<path d=\"M25 4H11a2 2 0 0 0-2 2v24a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm-6 26h-2v-2h2zm-8-4V6h14v20z\" class=\"clr-i-solid clr-i-solid-path-1\" fill=\"currentColor\"/>", "width": 36, "height": 36 }; export default data;
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import App from './App' import router from './router' import store from './store' // import iView from 'iview' import ViewUI from 'view-design' import i18n fr...
// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved // Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license /* eslint-env jest */ const Immutable = require("immutable-ext"); const yaml = require("js-yaml"); const { transform } = require("../definition"); const theo = require("../"...
var util = require('util'); var DECLARATION = 'window.__env__ = window.__env__ || {};\n', TEMPLATE = function(name) { if (typeof process.env[name] !== 'undefined') { var tmpl = 'window.__env__[\'%s\'] = \'%s\';\n'; return util.format(tmpl, name, process.env[name]); } else { ret...
import router from './router' import store from './store' import { Message } from 'element-ui' import NProgress from 'nprogress' // progress bar import 'nprogress/nprogress.css' // progress bar style import { getToken } from '@/utils/auth' // get token from cookie import getPageTitle from '@/utils/get-page-title' NPro...
import { Ajax, Animation, Base, Browser, ChildProperty, Collection, Complex, Component, Event, EventHandler, Internationalization, KeyboardEvents, L10n, NotifyPropertyChanges, Property, addClass, append, attributes, classList, closest, compile, createElement, detach, extend, formatUnit, getInstance, getNumericObject, g...
/* * #dependsFile client/zarafa/core/mapi/Importance.js */ Ext.namespace('Zarafa.common.data'); /** * @class Zarafa.common.data.ImportanceFlags * @singleton * This class can be used by any context to set the important/priority of the items */ Zarafa.common.data.ImportanceFlags = { flags : [{ value: Zarafa.cor...
/** * Copyright (c) 2015-present, goreutils * All rights reserved. * * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; const config = require('lookly-preset-babel'); const loaderUtils = require('loader-utils'); cons...
/*! * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2018 Froala Labs */
import mocha from 'mocha'; import Enzyme from 'enzyme'; import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; // 初始化测试配置项 mocha.setup('bdd'); mocha.timeout(180000); Enzyme.configure({ adapter: new Adapter() }); (async function() { await Promise.all([ // 通用函数测试 import('./tests/function/test'), // s...
/** * @license Angular v7.2.15 * (c) 2010-2019 Google LLC. https://angular.io/ * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) : typeof define === 'function' && define.amd ?...
import querystring from 'query-string'; export default (intl, intlPrefix) => ({ autoQuery: true, selection: false, fields: [ { name: 'name', type: 'string', label: '类型名称' }, { name: 'code', type: 'string', label: '类型编码' }, { name: 'description', type: 'string', label: '类型说明' }, { name: 'builtInFl...
kopf.directive('hello', function ($timeout) { //return { // restrict: 'A', // link: function ($scope,$element,$attrs) { // //alert("wo"); // debugger; // console.log($element); // //if ($scope.$last === true) { // // $timeout(function () { ...
import { combineReducers } from 'redux'; import usuarioReducer from './usuarioReducer'; export default combineReducers({ usuarioRedux : usuarioReducer });
import React, { Component } from "react" import { oneStaff, editStaff, removeStaff } from "../API" import UserCard from "../Components/UserCard" import EditStaffForm from "../Components/EditStaffForm" import { SuccessMsg } from "../Components/SuccessMessage" const hideBlock = { display: "none" } class SingleStaff e...
//>>built define( "dojox/editor/plugins/nls/hr/Breadcrumb", ({ "nodeActions": "${nodeName} Akcije", "selectContents": "Izaberi sadržaj", "selectElement": "Izaberi elemente", "deleteElement": "Izbriši element", "deleteContents": "Izbriši sadržaj", "moveStart": "Pomakni pokazivač na početak", "moveEnd": "Pomakni p...
//================================================================ // RS_WindowBuilder.js // --------------------------------------------------------------- // The MIT License // Copyright (c) 2018 biud436 // --------------------------------------------------------------- // Free for commercial and non commercial use. ...