text
stringlengths
2
1.04M
// eggWhites.js // // Copyright (c) 2016 Stefan Wirth // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _propTypes = require('prop-types'); var _propTypes2 = _interopRequireDefault(_propTypes); var _SvgContainer = require('./SvgContainer'); var _SvgContaine...
/*! highlight.js v9.12.0 | BSD3 License | git.io/hljslicense */
/// BareSpecifier=prismjs/components/prism-javastacktrace.min Prism.languages.javastacktrace = { summary: { pattern: /^[\t ]*(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?:\:.*)?$/m, inside: { keyword: { pattern: /^(\s*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m, lookbehind: !0 ...
const isBrowserTabFocused = () => !document.hidden; module.exports = isBrowserTabFocused;
import React from 'react'; import { shallow } from 'enzyme'; import { AddExpensePage } from '../../components/AddExpensePage'; import expenses from '../fixtures/expenses'; let addExpense, history, wrapper; beforeEach(() => { addExpense = jest.fn(); history = { push: jest.fn() }; wrapper = shallow(<AddExpensePag...
#!/usr/bin/env node const exec = require('child_process').exec const alert = require('./') if (process.argv.length !== 3) { console.log('You need to specify one argument') return } exec(alert(process.argv[2]))
/** * */ ; (function($, window, document, undefined) { var pluginName = "accessHistoryEditPane"; var defaults = { id : "", parent : "", entity : "", }; var EditPanel = function(element, options) { this.element = element; this.options = $.extend({ id : "", parent : "", entity : "", }, defau...
module.exports = (app)=>{ const mongoose = app.mongoose; const Schema = mongoose.Schema; const EmailSchema = new Schema({ emailAddress:{ type:String, unique:true, required:true }, info:{ type:String, }, replayStatus:{ ...
const path = require("path"); const CopyWebpackPlugin = require("copy-webpack-plugin"); const CleanWebpackPlugin = require("clean-webpack-plugin"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const TerserPlugin = require("terser-webpack-plugin"); const runtimeConfig = require("./webpack.runtime"); ...
/* @product.name@ JS v@product.version@ (@product.date@) (c) 2009-2014 Torstein Honsi License: www.highcharts.com/license @product.name@ JS v@product.version@ (@product.date@) Plugin for displaying a message when there is no data visible in chart. (c) 2010-2014 Highsoft AS Author: Oystein Moseng License: ww...
CKEDITOR.plugins.setLang( 'html5video', 'uz', { button: 'HTML5 video qo‘shing', title: 'HTML5 video', infoLabel: 'Video ma\'lumot', allowed: 'Ruxsat etilgan kengaytmalar: MP4, WebM, Ogv', urlMissing: 'Video\'ning URL manbasi topilmadi.', videoProperties: 'Video xususiyatlari', upload: 'Yukla...
/* * Copyright 2007-2009 by Tobia Conforto <tobia.conforto@gmail.com> * * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General * Public License as published by the Free Software Foundation; either version 2 of the License, or (at your * option) any later versio...
/** * @file text-track.js */ import TextTrackCueList from './text-track-cue-list'; import * as Fn from '../utils/fn.js'; import {TextTrackKind, TextTrackMode} from './track-enums'; import log from '../utils/log.js'; import window from 'global/window'; import Track from './track.js'; import { isCrossOrigin } from '../...
import Nightmare from 'nightmare'; describe('Login', () => { let page; beforeEach(() => { page = Nightmare(); page .goto('http://localhost:8000/') .evaluate(() => { window.localStorage.setItem('antd-pro-authority', 'guest'); }) .goto('http://localhost:8000/#/user/login'); ...
import { merge } from "lodash-es"; export default { computed: { inheritPropsFrom() { return this.$options.shilp && this.$options.shilp.inheritPropsFrom; }, parentComponent() { return this.$parent.$options.name; }, propsWithParent() { const mergedProps = {}; return merge(me...
const path = require('path'); const express = require('express'); const webpack = require('webpack'); const internalIp = require('internal-ip'); const config = require('./webpack/webpack.config.dev'); const app = express(); const compiler = webpack(config); app.use(require('webpack-dev-middleware')(compiler, { noIn...
var i, len, modal, modals, options; BULMA.toggleModal = function(el, options) { if (!options.target) { throw new Error('Found [BULMA-MODAL] but there is no target defined!'); } el.addEventListener('click', function(e) { var backdrop, closeBtn, closeModal, modal; e.preventDefault(); e.stopPropagat...
function toTitle(val) { switch (Number.parseInt(val)) { case 0: return '未选择' case 1: return '更新托书' case 2: return '更新船期' case 3: return '重新订舱' case 4: return '其他变更' default: return val } } function toValue(val) { switch (val) { case '未选择': ret...
/* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a different devtool...
/** * Copyright (c) 2007-2015 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com * Licensed under MIT * @author Ariel Flesler * @version 2.1.2 */ /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ (function(s,H,f,w){var K=f("html"),q=f(s),p=f(H),b=f.fancybox=function(){b.open....
import { router } from '../index' const API_URL = 'http://localhost:3000/' const LOGIN_URL = API_URL + 'sessions/create/' const SIGNUP_URL = API_URL + 'signup/' export default { user: { authenticated: false }, login(context, creds, redirect) { context.$http.post(LOGIN_URL, creds, (data) => { loc...
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
module.exports = function(sequelize: any, DataTypes: any) { const Company = sequelize.define('company', { name: { type: DataTypes.STRING, allowNull: false }, description: { type: DataTypes.TEXT, allowNull: false }, sector: { type: DataTypes.INTEGER, allowNull: false }, products: { type: DataTypes.STRI...
;n=en("#"+r)}else n=t;if(p(n)){var o=n,s=o.player,a=o.playerId;if(s||e[a])return s||e[a]}},ae.getAllPlayers=function(){return Object.keys(Co.players).map(function(t){return Co.players[t]}).filter(Boolean)},ae.players=Co.players,ae.getComponent=An.getComponent,ae.registerComponent=function(t,e){Xr.isTech(e)&&Qe.warn("Th...
burger.addEventListener("click", navToggle); window.addEventListener("mousemove", cursor); window.addEventListener("mouseover", activeCursor); window.addEventListener("scroll", HideCursor);
'use strict'; var gulp = require('gulp'), stripDebug = require('gulp-strip-debug'), gulpif = require('gulp-if'), $ = require('gulp-load-plugins')(), browserify = require('browserify'), watchify = require('watchify'), source = require('vinyl-source-stream'), connect = $.connectMulti, wir...
const prompt = require('inquirer').prompt const axios = require('axios') const qs = require('qs') const store = require('../utils/store') const colors = require('colors') const config = require('../config') const logger = require('../utils/logger') const authUser = function (user) { return axios.post(config.server...
// Copyright IBM Corp. 2018,2020. All Rights Reserved. // Node module: strong-globalize // This file is licensed under the Artistic License 2.0. // License text available at https://opensource.org/licenses/Artistic-2.0 'use strict'; var SG = require('../'); var helper = require('../lib/helper'); var loadMsgHelper = r...
import { graphql } from "gatsby" import React from "react" import Layout from "../components/layout" import ReactHtmlParser from "react-html-parser"; const PressReleaseDetail = ({ data }) => ( <Layout> <section className="grid-container"> <h2>{ data.nodePressRelease.title }</h2> { ReactHtmlParser(dat...
import React, { Component } from 'react'; import axios from 'axios'; export default class ApproveComment extends Component { constructor(props){ super(props); this.state = { comments_id: this.props.comments_id, comment: this.props.comment, artist: this.props.art...
import {RegularBall} from "./regularBall"; import TWEEN from "@tweenjs/tween.js"; export const x3Ball = 'x3'; export class X3Ball extends RegularBall { constructor(x, y, colorIdx, color, cellWidth, cellHeight, game) { super(x, y, colorIdx, color, cellWidth, cellHeight, game); this.opacity = 1; } getTyp...
Ext.define('RaxaEmr.Pharmacy.store.Persons', { extend: 'Ext.data.Store', model: 'RaxaEmr.Pharmacy.model.Person', proxy: { type: 'rest', url: HOST + '/ws/rest/v1/person', headers: Util.getBasicAuthHeaders(), reader: { type: 'json' }, writer: { ...
import { UNPAID_STATE, WIZARD_ENABLED } from '../../constants'; import { API_CUSTOM_ERROR_CODES } from '../../errors'; /* @ngInject */ function signupUserProcess( $location, AppModel, dispatchers, gettextCatalog, settingsApi, signupModel, authentication, lazyLoader, Address, $st...
module.exports = { siteName: 'From Design to Development Crash Course', homepage: 'https://fromdesignto.dev', authorName: 'Colby Fayock', authorUrl: 'https://twitter.com/colbyfayock', supportEmail: 'hello@colbyfayock.com' }
/* * Copyright © 2016-2019 The Thingsboard 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 applicabl...
describe("Utils", function(){ it("Utils.convBase", function(){ expect(Nehan.Utils.convBase(128, 10)).toEqual([1, 2, 8]); expect(Nehan.Utils.convBase(128, 16)).toEqual([8, 0]); }); it("Utils.trimHeadCRLF", function(){ expect(Nehan.Utils.trimHeadCRLF("\r\n\nhoge")).toBe("hoge"); }); it("Utils.trim...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // tslint:disable no-string-based-set-timeout exports.default = (ms = 1000) => { return new Promise(resolve => setTimeout(resolve, ms)); };
/** * BSD 3-Clause License * * Copyright (c) 2021, Avonni Labs, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright n...
(function() { const redirect = { to_protocol: "https", to_domain_path:"ryoyakawai.com/blog", replace_reg_exp: new RegExp("^" + document["domain"]), arr_to_URL: new Array(), str_to_URL: "" }; document["URL"].split('/').map( value => { if(value.match(redirect.replace_reg_exp, value) != null)...
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function(config) { config.uiColor = '#F5F5F5'; config.plugins = 'uploadwidget,a11yhelp,about,basicstyles,bidi,blockquote,button,clipboard,co...
import { run } from '@ember/runloop'; import { moduleFor, test } from 'ember-qunit'; import window, { reset } from 'ember-window-mock'; import sinon from 'sinon'; import mock from 'ember-metrics-adobe-dtm/test-support/mock'; let setDebugSpy; let pageBottomSpy; let trackSpy; moduleFor('metrics-adapter:adobe-dtm', 'ado...
/***************************************************************************** * Open MCT, Copyright (c) 2014-2022, United States Government * as represented by the Administrator of the National Aeronautics and Space * Administration. All rights reserved. * * Open MCT is licensed under the Apache License, Version ...
/* * @Author: doramart * @Date: 2019-06-20 18:55:40 * @Last Modified by: doramart * @Last Modified time: 2021-04-17 14:35:34 */ 'use strict'; const Controller = require('egg').Controller; const { adminResourceRule } = require('@validate'); const xss = require('xss'); const _ = require('lodash'); const { siteFunc ...
(function() { 'use strict'; /** * @ngdoc directive * @name mdCalendar * @module material.components.datepicker * * @param {Date} ng-model The component's model. Should be a Date object. * @param {Date=} md-min-date Expression representing the minimum date. * @param {Date=} md-max-date Expressi...
/*! For license information please see 2.2e3fc15f.chunk.js.LICENSE.txt */ //# sourceMappingURL=2.2e3fc15f.chunk.js.map
module.exports = { type: 'session', fields: [ { key: 'email', label: 'Email Address', type: 'string' }, { key: 'password', label: 'Password', type: 'password' } ], sessionConfig: { perform: (z, bundle) => { ...
/** * Created by elly on 2017/4/10. */ import React, {Component, PropTypes} from 'react'; import { Tooltip, Button, Table, Col } from '../../../src'; import Panel from './panel'; import {basic, trigger, api} from "../constants/tooltip"; export default class Main extends Component { constructor(pr...
// modules are defined as an array // [ module function, map of requires ] // // map of requires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the require for previous bundles parcelRequire = (function (modules, cache, entry, globalName)...
'use strict'; class LiteLifting { constructor(config) { const defaultConfig = { publicdir: global.__publicdir, schema: config.appName, port: process.env.ll_port || 8080, ip: process.env.ll_ip || "0.0.0.0", securePort: process.env.ll_securePort || 443, secureIp: process.env...
/** * Controller for choosing or creating a new dashboard */ (function () { 'use strict'; angular .module(HygieiaConfig.module) .controller('SiteController', SiteController); SiteController.$inject = ['$scope', '$q', '$uibModal', 'dashboardData', '$location', 'DashboardType', 'userServic...
var el = { name: 'el', el: { colorpicker: { confirm: 'Εντάξει', clear: 'Καθαρισμός', }, datepicker: { now: 'Τώρα', today: 'Σήμερα', cancel: 'Ακύρωση', clear: 'Καθαρισμός', confirm: 'Εντάξει', ...
'use strict'; function createSailsBackend($browser, $window, $injector, $q, $timeout){ if(!$window.io){ throw new Error('socket.io client not found') } if(!$window.io.sails){ throw new Error('sails.io client not found') } if(!$window.io.socket){ console.warn('no connec...
import Student from '../models/Student'; class StudentController { async store(req, res) { const studentExists = await Student.findOne({ where: { email: req.body.email }, }); if (studentExists) { return res.status(400).json({ error: 'User already exists.', }); } const st...
/* eslint-env mocha */ /* eslint no-new-wrappers: 0 */ import expect from 'expect'; import fString from '../../src/types/string.js'; describe('string', () => { context('.name', () => { it('is "string"', () => { expect(fString.name).toEqual('string'); }); }); context('.checker', () => { it('ac...
import Accessor from './Accessor'; import Parameter from './Parameter'; import Result from './Result'; export default class Initialize { constructor(type, value) { Object.assign(this, { type, value }); } getClassName() { return 'Initialize'; } analyze(context) { if (context.parentConstruct inst...
function solve(){ let text = document.getElementById('input').innerHTML; let sentences = text.split(".").map(s => s.trim()); let outputElement = document.getElementById('output'); let pCount = parseInt(sentences.length / 3); if(sentences.length % 3 != 0){ pCount++; } let index...
import React from "react"; import withStyles from "@material-ui/core/styles/withStyles"; import MaskedTextField from "./MaskedTextField"; const parseDigits = string => (string.match(/\d+/g) || []).join(""); const format = string => { if (string === undefined || string === null) return string; let digits = parseD...
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
import {EventAggregator} from 'aurelia-event-aggregator'; import {autoinject} from 'aurelia-framework'; import {customElement} from 'aurelia-framework'; @customElement('container') @autoinject() export class Container { name = 'Container'; overridableContext = ''; boundContext = ''; constructor() ...
const Discord = require('discord.js'); const { query } = require('../../mysql.js'); const methods = require('../../utils/methods.js'); const os = require('os'); module.exports = { name: 'eval', aliases: [''], description: 'Admin-only command.', hasArgs: true, requirePartner: false, w...
import React from "react"; import Badge from "react-bootstrap/Badge"; import { useDispatch, useSelector } from "react-redux"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faPlus } from "@fortawesome/free-solid-svg-icons"; import { showModal } from "./modalSlice"; import TagPill from "./Tag...
export const AGENT_ID_KEY = 'AGENT_ID_KEY' export const AUTH_CODE_KEY = 'AUTH_CODE_KEY' export const ACCESS_TOKEN_KEY = 'ACCESS_TOKEN_KEY' export const REFRESH_TOKEN_KEY = 'REFRESH_TOKEN_KEY' export const ACCESS_TOKEN_TYPE_KEY = 'ACCESS_TOKEN_TYPE_KEY'
const R = require('ramda'); const { Given, When, Then, } = require('cucumber'); const Decimal = require('decimal.js'); const tk = require('timekeeper'); const moment = require('moment'); const taxYearLookup = { '2016/17': '2016-04-06', '2017/18': '2017-04-06', '2018/19': '2018-04-06', '2019/20': '2019-04...
import { applyCommon } from './common.js'; import { createFormEntity } from '../helpers/form-helper.js'; import { notificationHandler, notificationMessages } from './notification.js'; export async function registerHandler() { await applyCommon.call(this); this.partials.registerForm = await this.load('../../templates/...
export default function getAbi(contractEntry) { if (contractEntry.web3Contract) { return contractEntry.web3Contract.options.jsonInterface } else { return contractEntry.abi } }
/** * Copyright (c) 2013 Zhen, LLC. http://zhen.io * * MIT License * */ 'use strict'; var app = angular.module("angular-pages", []); app.directive("znPagesPage", ['znPageManager', 'Commons', function (znPageManager, Commons) { function process() { Commons.log(2, { "func": "znPagesPage.p...
const DigitTicker = (() => { let barrier, container_ref, el_container, el_peek, el_peek_box, el_mask, total_tick_count, contract_status, type, current_spot; let style_offset_correction = 5; let is_initialized = false; cons...
const path = require(`path`) const { createFilePath } = require(`gatsby-source-filesystem`) exports.onCreateWebpackConfig = ({ actions }) => { actions.setWebpackConfig({ resolve: { alias: { components: path.resolve(__dirname, 'src/components'), pages: path.resolve(__dirname, 'src/pages'), ...
import Vue from 'vue'; // Vue.config.silent = true /* eslint-disable global-require */ if (typeof window !== 'undefined') { global.window.resizeTo = (width, height) => { global.window.innerWidth = width || global.window.innerWidth; global.window.innerHeight = height || global.window.innerHeight; global.w...
var structoperations__research_1_1sat_1_1PresolveContext = [ [ "NewIntVar", "structoperations__research_1_1sat_1_1PresolveContext.html#a38e2f15d439243fcc447d48fe120624e", null ], [ "NewBoolVar", "structoperations__research_1_1sat_1_1PresolveContext.html#af3111a97c2700c885471fe682edfeee0", null ], [ "GetOrCr...
var assert = require('assert') var Buffer = require('safe-buffer').Buffer var getRawBody = require('..') var Readable = require('stream').Readable var run = Readable ? describe : describe.skip run('using native streams', function () { it('should read contents', function (done) { var stream = createStream(Buffer....
const { environment } = require('@rails/webpacker'); // Get the actual sass-loader config const sassLoader = environment.loaders.get('sass'); const sassLoaderConfig = sassLoader.use.find(function (element) { return element.loader == 'sass-loader'; }); // Use Dart-implementation of Sass (default is node-sass) const ...
// @flow strict import React from "react"; // $FlowExpectedError[cannot-resolve-module] import { persist } from "@cumcord/pluginData"; // $FlowExpectedError[cannot-resolve-module] import { useNest } from "@cumcord/utils"; // $FlowExpectedError[cannot-resolve-module] import { findByDisplayName } from "@cumcord/modules/...
import PropTypes from 'prop-types'; import React from 'react'; import map from 'lodash/map'; import Template from './Template.js'; import hasKey from 'lodash/has'; import cx from 'classnames'; class Hits extends React.Component { renderWithResults() { const renderedHits = map(this.props.hits, (hit, position) => ...
export { default } from './Home.vue';
'use strict'; var platform = require('../lib/platform.js'); var helper = require('./helper.js'); var path = require('path'); var grunt = require('grunt'); var async = require('async'); var globule = require('globule'); var fixturesbase = path.resolve(__dirname, 'fixtures'); // helpers function cleanUp() { ['add.js...
const staticServer = require('static-server'); var server = new staticServer({ rootPath : '.', port : 4242, templates : { index : 'index.html' } }); server.start(function (err) { if(err) { console.log(err); } console.log('server has been started!!'); });
const { Command } = require('@dyno.gg/dyno-core'); const superagent = require('superagent'); class Birb extends Command { constructor(...args) { super(...args); this.aliases = ['bird', 'birb', 'lunar']; this.module = 'Fun'; this.description = 'Random Adorable Birdies';...
const express = require('express'); const app = express(); const bodyparser = require('body-parser'); const mongoose = require('mongoose'); const ejs = require('ejs'); const Entities = require('html-entities').AllHtmlEntities; const entities = new Entities(); app.set('view engine', 'ejs'); app.use(bodyparser.json());...
import testSettingList from '../samples/chart-config/testSettingList'; import { readFile, readFileSync } from 'fs'; import d3 from 'd3'; import { merge } from 'd3'; import jsdom from 'jsdom'; import webcharts from '../../build/webcharts'; import expect from 'expect'; import testCreateChart from '../chart/createChart'...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _styleToHexColor = require('./styleToHexColor'); var _styleToHexColor2 = _interopRequireDefault(_styleToHexColor); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = { ...
// @flow import { observable, action, runInAction, computed } from 'mobx'; import { findIndex } from 'lodash'; import Store from './lib/Store'; import Request from './lib/LocalizedRequest'; import Wallet from '../domains/Wallet'; import { WALLET_UTXO_API_REQUEST_INTERVAL } from '../config/timingConfig'; import { getRec...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
macDetailCallback("003192000000/24",[{"d":"2020-09-25","t":"add","s":"ieee-oui.csv","a":"Room 901,9/F.New East Ocean Centre, 9 Science Museum Road Tsim Sha Tsui Kowloon HK 999077","c":"HK","o":"TP-Link Corporation Limited"}]);
const jwt = require("jsonwebtoken"); const APP_SECRET = "rharshad.com"; function getUserId(context) { const Authorization = context.request.get("Authorization"); if (Authorization) { const token = Authorization.replace("Bearer ", ""); const { userId } = jwt.verify(token, APP_SECRET); return userId; }...
/* @flow */ import { connect } from 'react-redux'; import React, { PureComponent } from 'react'; import { StyleSheet, View, ScrollView } from 'react-native'; import type { ChildrenArray, Context, Dimensions, LocalizableText, Style } from '../types'; import { KeyboardAvoider, ZulipStatusBar } from '../common'; import ...
/* Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7 Version: 2.1.0 Author: Sean Ngu Website: http://www.seantheme.com/color-admin-v2.1/admin/material/ */var handleDataTableCombinationSetting=function(){"use strict";0!==$("#data-table").length&&$("#data-table").DataT...
/** * Pimcore * * This source file is available under two different licenses: * - GNU General Public License version 3 (GPLv3) * - Pimcore Enterprise License (PEL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) 200...
import StatusIndicator from '@/components/misc/feedingFrenzy/StatusIndicator' export const feedingFrenzy = { components: {StatusIndicator}, data() { return { fetchedData: [], loading4More: false, reachedEnd: false, } }, // this.$options.nonReactiveData...
import Ember from 'ember'; import AbstractTestModule from './abstract-test-module'; import { getResolver } from './test-resolver'; import buildRegistry from './build-registry'; import hasEmberVersion from './has-ember-version'; import { preGlimmerSetupIntegrationForComponent } from './-legacy-overrides'; import { setup...
import * as uut from '../CarouselPresenter'; describe('Carousel presenter', () => { it('should getChildrenLength', () => { expect(uut.getChildrenLength({children: [{}, {}, {}]})).toBe(3); expect(uut.getChildrenLength({children: [{}]})).toBe(1); expect(uut.getChildrenLength()).toBe(0); }); describe('...
/* eslint-disable jsx-a11y/alt-text */ import { useState } from "react"; import { Link } from "react-router-dom"; import { fbAuth, storage } from "../../../firebase"; import { updateUserData } from "../../../Network/Network"; export default function CreateProfilePhoto({ setBtns, btns }) { const [imgUrl, setimgUrl]...
/** * Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { __awaiter, __generator } from "tslib"; import { Task } from '../../mol-task'; import { Column, Table } from '../../mol-data/db'; import { guessEle...
angular.module('ruchJow.security.interceptor', ['ruchJow.security.retryQueue']) // This http interceptor listens for authentication failures .factory('securityInterceptor', ['$injector', '$q', 'ruchJowSecurityRetryQueue', function($injector, $q, queue) { return { responseError: function (reject...
import moment from 'moment'; class DateTimesService { formatDate(string){ if(string){ return moment(new Date(string)).format("DD/MM/YYYY HH:mm"); }else { return moment(new Date()).format("DD/MM/YYYY HH:mm"); } } } export default new DateTimesService();
$.widget('ui.chunkHtml', $.ui.chunk, { edit: function() { var self = this, dialog; dialog = new BoomCMS.Dialog({ url: this.options.currentPage.baseUrl + 'chunk/edit?type=html&slotname=' + this.options.name, width: 600, title: 'Edit HTML' }).do...
'use strict' /* global WebAssembly */ const net = require('net') const tls = require('tls') const assert = require('assert') const util = require('./core/util') const Request = require('./core/request') const Dispatcher = require('./dispatcher') const { ContentLengthMismatchError, TrailerMismatchError, InvalidA...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("specialchar","et",{euro:"Euromärk",lsquo:"Alustav ühekordne jutumärk",rsquo:"Lõpetav ühekordne jutumärk",ldquo:"Alustav kahekordne jutumärk",rdquo:"...
import React, { useState, useEffect } from "react"; import ReactDOM from "react-dom"; import ModalHeader from "./ModalHeader"; import ModalFooter from "./ModalFooter"; /* Modal component using bootstrap classes but without jquery. Required props: isOpen (bool), onDismiss (function) Optional props: children, headin...