text
stringlengths
2
1.04M
import Ember from 'ember'; const { Mixin, inject } = Ember; export default Mixin.create({ // Inject the Busy Service busy: inject.service(), // Basic Action defaults to trigger show / hide actions: { busy(options) { this.get('busy').show(options); }, free() { this.get('busy').hide(); ...
import React from 'react' import { BackgroundHeader, Products, FilterSection } from '../components' import { Container, StyledShop } from '../styles/components' import { graphql } from 'gatsby' export const query = graphql` query{ allInternalproducts{ edges{ node{ _...
'use strict' const { ioc, registrar } = require('@adonisjs/fold') const { Config } = require('@adonisjs/sink') const path = require('path') const Macroable = require('macroable') class Context extends Macroable { static onReady () {} constructor () { super() this._qs = {} this.env = 'testing' //...
/* ============================================================ Template Name: MORACO - Personal Vcard Resume HTML Template Author: Marwa El-Manawy -- http://elmanawy.info Description: MORACO - Personal Vcard Resume HTML Template. Version: 1.0 =============================================================== */...
/** * Data sub-generator */ 'use strict'; // Dependencies const path = require('path'); const _ = require('lodash'); const ejs = require('ejs'); const chalk = require('chalk'); const Generator = require('yeoman-generator'); const inputs = require('./input.js'); const dependencies = require('./dependencies.json'); co...
const ImageCommand = require("../../classes/imageCommand.js"); class SooSCommand extends ImageCommand { params(args, url, delay) { return { delay: delay ? (100 / delay.split("/")[0]) * delay.split("/")[1] : 0, soos: true }; } static description = "\"Loops\" an image sequence by reversing it ...
/* global moment: false */ (function () { var $ = window.$; var inno = new IframeHelper(), loader = new Loader(), timerValues, timeout = 5; loader.show(); inno.onReady(function () { var url = inno.getCurrentApp().url, timezone = inno.getCurrentUser().timezon...
import Ember from 'ember'; import OSFAgnosticAuthRouteMixin from 'ember-osf/mixins/osf-agnostic-auth-route'; import Analytics from '../mixins/analytics'; export default Ember.Route.extend(Analytics, OSFAgnosticAuthRouteMixin, { i18n: Ember.inject.service(), afterModel: function() { const availableLoca...
// @flow import type { Ref } from 'react'; export type OptionType = { [string]: any, }; export type OptionsType = Array<OptionType>; export type GroupType = { options: OptionsType, [string]: any, }; export type ValueType = OptionType | OptionsType | null | void; export type FocusEventHandler = (SyntheticFocu...
/** * CopyRight (C) 2018-2022 FlymeApps Team Holding Limited. * Created by Yanjiie on 2018/03/18. Fork from alibaba/weex-ui. */ import Binding from 'weex-bindingx/lib/index.weex.js'; import Utils from '../utils/index'; const BindEnv = { supportsEB () { return Binding.isSupportBinding && !Utils.env.isWeb(); ...
import React, { useState, useEffect } from 'react'; // layout import StaticPage from 'layout/static-page'; import HomeLayout from 'layout/pages/home'; function HomePage(props) { const [initialQuery, setInitialQuery] = useState(undefined); useEffect(() => { if (typeof window !== 'undefined') { // Functi...
//Makes Flag Showup document.getElementById('imgNixon').addEventListener('mouseover', hov) document.getElementById('imgNixon').addEventListener('mouseleave', leave) document.getElementById('imgNixon').addEventListener('click', add); function hov(){ document.getElementById('flag').style.visibility = 'visible' } func...
/** * Kendo UI v2019.1.115 (http://www.telerik.com/kendo-ui) * Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved....
"use strict"; var __assign = (this && this.__assign) || Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; Object.defineProperty(expor...
/** * Copyright 2004-present Facebook. 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. * * @flow * @format */ import Sequelize from 'sequelize'; import type {AssociateProp} from './AssociateTypes.flow'; im...
layui.config({base: '/layadmin/modul/common/'}).use(['form','dialog', 'his'],function(){ var form = layui.form, dialog = layui.dialog ,his = layui.his; $('.tree').treegrid({initialState: 'collapsed'}); //添加权限 $(".ruleAdd_btn").click(function(){ dialog.open('添加权限', '/admin/rule/...
Vue.component('nav-tag', { props:["color"], data: function () { return { count: 0 } }, template: "<div style='width:100%;height:40px;line-height:40px;text-indent:2em;background:pink'>Nav-Tag</div>" })
import { filter } from 'lodash'; const useOntology = () => { const classes = [ { label: 'acknowledgements', iri: 'Acknowledgements', comment: 'Usually part of the preface, or a separate section in its own right, often as part of the back matter, it acknow...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */
/*! For license information please see plugin-queued-callbacks-and-voicemail.js.LICENSE.txt */ //# sourceMappingURL=bundle.js.map
import DestinationScreen from "./DestinationScreen.vue"; import DestinationRegistrationScreen from "./DestinationRegistrationScreen.vue"; import HomeScreen from "./HomeScreen.vue"; export { DestinationScreen, DestinationRegistrationScreen, HomeScreen }
console.log('Starting app.js... '); var fs = require('fs'); try { fs.accessSync('.env', fs.F_OK); require('dotenv').config(); } catch (e) { // The .env file is not accessible, so we ignore it. } var config = require('./config.js'); var myapp = require('./server/server.js')(config); myapp.init();
const _web3 = require('../utils/web3') const _sendgrid = require('../utils/sendgrid') const _t2cr = require('../assets/contracts/ArbitrableTokenList.json') const dynamoDB = require('../utils/dynamo-db') const REQUESTER = 1 const handlers = { Dispute: async (t2cr, event) => { const { _arbitrator, _disputeID } = e...
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { ConnectionFormV5CpdStep1, ConnectionFormV5CpdStep2 } from '.'; import MessageHandler from '../../../../message.ts'; const properties = { CPD_URL: 'cpdUrl', CPD_VERSION: 'cpdVersion', CPD_USERNAME: 'username', CPD_PASSWORD: '...
macDetailCallback("001ec2000000/24",[{"d":"2007-11-20","t":"add","a":"1 Inifinte Loop\nCupertino CA 95014\n\n","c":"UNITED STATES","o":"Apple, Inc","s":"wireshark.org"},{"d":"2013-08-24","t":"change","a":"1 Infinite Loop\nCupertino CA 95014\n\n","c":"UNITED STATES","o":"Apple"},{"d":"2015-08-27","t":"change","a":"1 Inf...
describe('Chart.controllers.bar', function() { describe('auto', jasmine.fixture.specs('controller.bar')); it('should be registered as dataset controller', function() { expect(typeof Chart.controllers.bar).toBe('function'); }); it('should be constructed', function() { var chart = window.acquireChart({ type:...
import React from 'react'; import { render } from 'react-dom'; import { App } from './App'; render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') );
;!function (win) { "use strict"; var doc = document ,Xadmin = function(){ this.v = '2.2'; //版本号 } Xadmin.prototype.init = function() { var tab_list = this.get_data(); for(var i in tab_list){ this.add_lay_tab(tab_list[i].title,tab_list[i].url,i); } element.tabChange('xbs_tab', i); }; /** * [...
const QueryParams = class { constructor () { this._filters = {} } addFilter (name, fn) { this._filters[name] = fn } async toFilters (query, ctx) { const filters = {} for (const param in query) { if (param === 'limit' || param === 'start' || param === 'sort') { continue }...
require('./chartBar.html'); module.exports = chartBar = ['$templateCache', 'SeaDataService', function ($templateCache, SeaDataService) { return { restrict: 'E', transclude: true, template: $templateCache.get('chartBar.html'), link: function ($scope, attrs) { $scope.char...
let mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel applica...
import React, { useState } from 'react'; import PropTypes from 'prop-types'; import googleTagManager from 'googleTagManager'; import Button from '../util/button'; import Checkbox from '../util/checkbox'; import safeLocalStorage from '../../util/local-storage'; const STD_NRT_MAP = { STD: 'Standard', NRT: 'Near Real...
import { mount, later } from '../../../test'; import ActionSheet from '..'; test('callback events', () => { const callback = jest.fn(); const onInput = jest.fn(); const onCancel = jest.fn(); const onSelect = jest.fn(); const actions = [ { name: 'Option', callback }, { name: 'Option', disabled: true ...
/** * Allows GroupTab to render a table structure. */ Ext.define('Ext.ux.GroupTabRenderer', { alias: 'plugin.grouptabrenderer', extend: 'Ext.AbstractPlugin', tableTpl: new Ext.XTemplate( '<div id="{view.id}-body" class="' + Ext.baseCSSPrefix + '{view.id}-table ' + Ext.baseCSSPrefix + 'grid-table-re...
module.exports = ["!","·","$","%","&","/","(",")","=","?",".","-","ñ","´","`","+","[","]","{","}","_","|","@","#","~","¬"]
/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ /** * The Slider component is a UI control that enables the user to adjust * values in a finite range along one or two axes. Typically, the Slider * control is ...
export default "M13 2.03V4.05C17.39 4.59 20.5 8.58 19.96 12.97C19.5 16.61 16.64 19.5 13 19.93V21.93C18.5 21.38 22.5 16.5 21.95 11C21.5 6.25 17.73 2.5 13 2.03M11 2.06C9.05 2.25 7.19 3 5.67 4.26L7.1 5.74C8.22 4.84 9.57 4.26 11 4.06V2.06M4.26 5.67C3 7.19 2.25 9.04 2.05 11H4.05C4.24 9.58 4.8 8.23 5.69 7.1L4.26 5.67M2.06 13...
'use strict'; describe("animations", function() { beforeEach(module('ngAnimate')); var element, applyAnimationClasses; afterEach(inject(function($$jqLite) { applyAnimationClasses = applyAnimationClassesFactory($$jqLite); dealoc(element); })); it('should allow animations if the application is boots...
/** * Tagify (v 3.4.0)- tags input component * By Yair Even-Or * Don't sell this code. (c) * https://github.com/yairEO/tagify */
var _pablohirafuji$elm_char_codepoint$Native_CodePoint = function() { return { toString: function(l) { return String.fromCodePoint.apply( null, _elm_lang$core$Native_List.toArray(l)); }, toChar: function(l) { return _elm_lang$core$Native_Utils.chr(String.fromCodePoint.apply( null, _elm_lang$core$Native_List.toArray(...
const webpack = require('webpack') // const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin const HardSourceWebpackPlugin = require('hard-source-webpack-plugin') const ImageminWebpackPlugin = require('imagemin-webpack-plugin').default module.exports = { configureWebpack: (config) ...
import React from "react"; import ReactDOM from "react-dom"; import * as tf from '@tensorflow/tfjs'; import { loadGraphModel } from '@tensorflow/tfjs-converter'; import "./styles.css"; tf.setBackend('webgl'); const threshold = 0.7; async function load_model() { // It's possible to load the model locally or from a r...
import React, { PureComponent } from 'react' import { FormCheck } from '../../../components/FormCheck' import { namespace } from '../../../../../utils/locales' import './index.css' const tn = namespace('dashboard.feedback') export class GetFeedbackStep2 extends PureComponent { render () { const { groups, isAll, ...
/*! * Qoopido.js library v3.5.5, 2014-9-30 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(t){window.qoopido.register("polyfill/string/ucfirst",t)}(function(){"use strict";return String.prototype.ucfirst||(String.prototype.ucfirst=function(){var t=this;return ...
var should = require("should"); var helper = require("node-red-node-test-helper"); var pressureToWc = require("../pressure-to-water-column/pressure-to-water-column.js"); helper.init(require.resolve('node-red')); describe('pressure-to-water-column Node', function () { beforeEach(function (done) { helper.st...
// EMSCRIPTEN_START_ASM function instantiate(ue){function le(ve){ve.set=(function(we,xe){this[we]=xe});ve.get=(function(we){return this[we]});return ve}var a;var b=new ArrayBuffer(16);var c=new Int32Array(b);var d=new Float32Array(b);var e=new Float64Array(b);function me(ye){return c[ye]}function ne(ye,ze){c[ye]=ze}fun...
aria.core.DownloadMgr.updateUrlMap({atplugins:{"**":"atplugins.helloworld-d393f71340f0d7f19d4185b97a6f9ec2.js"}});
/** * Copyright (c) 2017-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. */ const React = require("react"); class Footer extends React.Component { docUrl(doc, language) { const baseUrl = this.props.config....
/* * Copyright (c) 2014 - present Adobe Systems Incorporated. All rights reserved. * * 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 * ...
'use strict'; var gulp = require('gulp'); var $ = require('gulp-load-plugins')(); var del = require('del'); var runSequence = require('run-sequence'); var browserSync = require('browser-sync'); var sassdoc = require('sassdoc'); var sassGlob = require('gulp-sass-glob'); var postcss = ...
/** * Validate * * @author 4what * @version 2016.11.14 */ (function() { var Validate = window.Validate = { /* chinese */ isChinese: function(value) { return /^[\u0391-\uFFE5]+$/.test(value); }, /* id card */ isIdCard: function(number) { var date, Ai; var verify = "10x98765432"; var Wi = [7, 9, 10, 5...
import { mount } from '@vue/test-utils' import TabHeader from './Header' describe('TabHeader', () => { describe('component', () => { test('should be a Vue instance', async () => { const wrapper = await mount(TabHeader) expect(wrapper.vm).toBeTruthy() }) }) describe('props', () => { tes...
module.exports={A:{A:{"2":"J D E F A B rB"},B:{"1":"P Q R S V W X Y Z a b c d e f g T h H i","2":"C K L G M N O"},C:{"1":"GB HB IB JB KB LB MB NB iB OB jB PB QB U RB SB TB UB VB WB XB YB ZB aB bB cB dB eB P Q R kB S V W X Y Z a b c d e f g T h H i","2":"0 1 2 3 4 5 6 7 8 sB hB I j J D E F A B C K L G M N O k l m n o p ...
/* eslint-disable max-len */ /* eslint-disable no-console */ /* eslint-disable camelcase */ import onekit_behavior from '../../behavior/onekit_behavior' import wxs_behavior from '../../behavior/wxs_behavior' import weixin_behavior from '../../behavior/weixin_behavior' import VideoContext_behavior from '../../api/VideoC...
/* Copyright 2014 Mozilla Foundation * * 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...
process.stdin.resume(); process.stdin.setEncoding('ascii'); var input_stdin = ""; var input_stdin_array = ""; var input_currentline = 0; process.stdin.on('data', function (data) { input_stdin += data; }); process.stdin.on('end', function () { input_stdin_array = input_stdin.split("\n"); main(); }); func...
// 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/dijit/analysis/nls/de/AppendData",{inputLayerLabel:"Layer ausw\u00e4hlen, der angeh\u00e4ngt werden soll an",inputWarningLabel:"Warnung: Der Layer, an ...
const Error = require('./error'); class Forbidden extends Error { constructor(message = 'Forbidden.') { super({ status: 403, message, }); } } module.exports = Forbidden;
var NAVTREEINDEX16 = { "group__group__hal__impl__pin__package__psoc6__02__124__bga.html#gaf1aa5baef8d2d09fe57eab30999bf956":[1,3,6,10,144], "group__group__hal__impl__pin__package__psoc6__02__124__bga.html#gaf2b36390a895539ae18d8e5a661642ef":[1,3,6,10,41], "group__group__hal__impl__pin__package__psoc6__02__124__bga.html...
import React from 'react'; import { Meteor } from 'meteor/meteor'; import { render } from 'react-dom'; import App from '../imports/App'; Meteor.startup(() => { render(<App />, document.getElementById('root')); });
import { expect } from 'chai' import { replaceImport } from '../../src/services/userEvents/ContractVerifierModule' describe(`replace imports`, () => { const tests = [['ERC20.sol', 'import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";', 'import "./ERC20.sol";'], ['ERC20Detailed.sol', 'import "../../ERC20...
/** @module lib-validate-asset-api-record * * validate a record that has been submitted via the API */ /* jshint node: true */ 'use strict' const config = require('config') const log = require('pino')(config.get('log_options')) const u = require('./util') const rJ = u.left_pad_for_logging const _module = require('...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
//Step 1:set up the canvas and contest in javascript var myCanvas=document.getElementById("gameCanvas"); var myContext=myCanvas.getContext("2d"); //Step 2: Create a constructor function and array for players. var players=[]; function Player(initX,initY,width,height,color,name){ this.x=initX; this.y=initY; this.w...
(function() { 'use strict'; var defaults = { mode: 'lg-slide', // Ex : 'ease' cssEasing: 'ease', //'for jquery animation' easing: 'linear', speed: 600, height: '100%', width: '100%', addClass: '', startClass: 'lg-start-zoom', ...
// @flow import React, { PureComponent } from 'react'; import { MultiSelectStateless } from '../src'; import type { GroupType, ItemType } from '../src/types'; const selectItems: Array<GroupType> = [ { heading: 'Cities', items: [ { content: 'Sydney', value: 'sydney' }, { content: 'Canberra', value...
const jwt = require('jsonwebtoken'); module.exports.generateToken = (payload) => { return jwt.sign(payload, process.env.TOKEN_SECRET, { expiresIn: process.env.TOKEN_LIFE, }); }; module.exports.verify = (token, callback) => { jwt.verify(token, process.env.TOKEN_SECRET, (err, user) => { if (err) { c...
import React from 'react' import { useStaticQuery, graphql } from 'gatsby' import Img from 'gatsby-image' /* * This component is built using `gatsby-image` to automatically serve optimized * images with lazy loading and reduced file sizes. The image is loaded using a * `useStaticQuery`, which allows us to load the i...
/** * Positioning utilities for absolute-positioned components. * Everything is a multiple of 4 to coincide with the spacing utilities. */ export default { pRelative: { position: 'relative', }, tn4: { top: -16, }, tn8: { top: -32, }, r4: { right: 16, },...
import { h } from 'vue' export default { name: "Radius", vendor: "Mdi", type: "", tags: ["radius"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"mdi-radius","innerHTML":"<p...
// Add table of contents in Russian here function addContents(context) { addArticle(context, "../../../", "Главная"); addArticle(context, "software-overview/", "Обзор комплекса"); addArticle(context, "software-overview/software-purpose.html", "Назначение и характеристики программного комплекса", 1); ad...
/* Set the defaults for DataTables initialisation */ $.extend(true, $.fn.dataTable.defaults, { "sDom": "<'row'<'col-lg-6'f><'col-lg-6 text-right'l>r>t<'row'<'col-lg-6 align-lg-left align-xs-center'i><'col-lg-6 align-lg-right align-xs-center 'p>>", "sPaginationType": "bs_normal", "sScrollX": "auto", "oLanguage...
export function createRequestTypes(base, name) { const root = ( name ? `${name}/${base}` : `${base}`); const res = {}; ['REQUEST', 'SUCCESS', 'FAILURE'].forEach(type => res[type] = `${root}_${type}`) return res; } export function action(type, payload = {}) { return {type, ...payload} } export function build...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
import { TOGGLE_SAVED_COURSE, CHANGE_SAVED_COURSES_PAGE } from '../constants/actionTypes'; import initialState from './initialState'; export default function userReducer(state = initialState.user, action) { const { savedCourses } = state; switch (action.type) { case TOGGLE_SAVED_COURSE: if (savedCourse...
import Icon from 'vue-awesome/components/Icon' Icon.register({ crop_din_sharp: { paths: [ { d: 'M21 3H3v18h18V3zm-2 16H5V5h14v14z' } ], width: '24', height: '24' } })
import { DoubleBounce } from 'better-react-spinkit'; function Loading() { return ( <center style={{ display: 'grid', placeItems: 'center', height: '100vh' }}> <div> <img src="http://assets.stickpng.com/images/580b57fcd9996e24bc43c543.png" style={{ ma...
import React, { Component } from 'react'; import api from '../services/api'; import './New.css'; //Componente em formato de classe class New extends Component { state = { image: null, author: '', place: '', description: '', hashtags: '' }; handleChange = e => { ...
/* browserify task --------------- Bundle javascripty things with browserify! This task is set up to generate multiple separate bundles, from different sources, and to use Watchify when run from the default task. See browserify.bundleConfigs in gulp/config.js */ var browserify = require('browserify');...
webpackJsonp(["blockuidemo.module"],{ /***/ "./src/app/components/blockui/blockui.ts": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* unused harmony export BlockUI */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockUIModule;...
function MemberDirectory($, ko, settings, composeMessageSettings) { var opts = $.extend({}, MemberDirectory.defaultSettings, settings); var serviceFramework = settings.servicesFramework; var baseServicepath = serviceFramework.getServiceRoot('MemberDirectory') + 'MemberDirectory/'; var pageIndex = 0; ...
$.NameSpace('$View.user'); $View.user.ChangePwd = function (j) { var me = this, _fn = function () { }; var owner; var args = { p: $DB }; var coms = {}; var views = []; function setDefault(j) { args = $.Util.initArgs(j, args); } function layout() { owner = args.p.adElm('', 'div').cn(...
import { Workbox } from 'workbox-window'; import Editor from './editor'; import './database'; import '../css/style.css'; const main = document.querySelector('#main'); main.innerHTML = ''; const loadSpinner = () => { const spinner = document.createElement('div'); spinner.classList.add('spinner'); spinner.innerHT...
var admin = require("firebase-admin"); // 1. サービスアカウント鍵を生成しserviceAccountKey.jsonでリネームしてフォルダ直下に配置 var serviceAccount = require("./serviceAccountKey.json"); admin.initializeApp({ credential: admin.credential.cert(serviceAccount), // 2. Realtime DatabaseのページでdatabaseURLを確認して反映 databaseURL: "https://<databaseURL>....
/** * @description */ function loadpois(poilayer) { poidef = {//icon :"../images/city.png", text :"Zürich", position : [8.536931264729185,47.377116183566265,628.1], size : 5, flagpole : false ,visibilityRange : [5,100] }; var poi = ...
var unit = require('steal-qunit'); var domDataState = require('./can-dom-data-state'); var foo = {}; var bar = {}; unit.module('can-dom-data-state', { beforeEach: function () { domDataState.delete(); } }); unit.test('should set and get data', function () { domDataState.set('foo', foo); unit.equal(domDataState....
/** * External dependencies */ import { includes } from 'lodash'; import { useCallback, useEffect, useRef } from '@wordpress/element'; /** * Input types which are classified as button types, for use in considering * whether element is a (focus-normalized) button. * * @type {string[]} */ const INPUT_BUTTON_TYPES...
import React from 'react'; import * as S from './activefacets.module.css'; import translations from '../../shared/translations'; import reactStringReplace from 'react-string-replace'; const ActiveFacets = (props) => { let translatedName = (facet, name) => { let tempName; if(facet === "importer_uid") { ...
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i]; return arr2; } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function _assertThisInitialized(self) { if (self ===...
// -------------------------------------------------------------------------------------------------------------------- // // fmt.js - Command line output formatting. // // Copyright (c) 2012 AppsAttic Ltd - http://www.appsattic.com/ // Written by Andrew Chilton <chilts@appsattic.com> // // License: http://opensource.o...
import React, { PureComponent } from 'react'; import classNames from 'classnames'; import { Menu, Icon } from 'antd'; import Link from 'umi/link'; import { urlToList } from '../_utils/pathTools'; import { getMenuMatches } from './SiderMenuUtils'; import { isUrl } from '@/utils/utils'; import styles from './index.less';...
import Vue from 'vue'; import Router from 'vue-router'; import Home from './views/Home.vue'; Vue.use(Router); export default new Router({ routes: [ { path: '/', name: 'home', component: Home }, { path: '/about', name: 'about', component: () => import(/* webpackChunkNa...
/* * # Semantic UI - 2.2.13 * https://github.com/Semantic-Org/Semantic-UI * http://www.semantic-ui.com/ * * Copyright 2014 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */
/*! For license information please see 2.e0e28359.chunk.js.LICENSE.txt */ //# sourceMappingURL=2.e0e28359.chunk.js.map
'use strict'; const ApplicationDAO = require('../integration/applicationDAO'); class ApplicationController { /** * Creates a new instance of this class and attaches a new ContentDAO instance. * Upon creation the ContentDAO instance will attempt to connect to the database. * @throws Throws an e...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _default = { name: 'Nombre', tel: 'Teléfono', save: 'Guardar', confirm: 'Confirmar', cancel: 'Cancelar', delete: 'Eliminar', complete: 'Completado', loading: 'Cargando...', telEmpty: 'Por favo...
// Facebook App: Alfresco Document Library app.id="5607893292"; app.secret="66358d0432a64abbf7a50068d636c430";
const path = require('path'); const fse = require('../../../utils/fs-extra'); const generateHomePage = require('./generate-home-page'); const generateRoot = require('./generate-root'); const indent = require('../../utils/indent'); module.exports = (options) => { const cwd = options.cwd || process.cwd(); const { te...
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const eventSchema = new Schema({ title: { type: String, required: true }, speakers: { type: [String] }, date:{ type:Date, required: true }, topics: { type: [Schema.Types.ObjectId], ref: 'Topic' }, locati...
import Vue from 'vue'; import App from './App.vue'; import './registerServiceWorker'; import router from './router'; import store from './store'; /** * Plugin pour les formulaires * */ import FormFields from './plugins/formField.js'; Vue.config.productionTip = false; Vue.config.errorHandler = function (err, vm, inf...