text
stringlengths
2
1.04M
import Vector from 'utils/math/Vector'; const hasPosition = function hasPositionFunc(state) { const pos = new Vector(); function setPosition({ x: xp, y: yp }) { pos.x = xp; pos.y = yp; return pos.clone(); } function setX(xp) { state.setPosition(new Vector(xp, pos.y)); ...
/** * Content is a formal component important content roots but is not itself being rendered. */ export default "*CONTENT";
import EmberObject from '@ember/object'; import { run } from '@ember/runloop'; import { module, test } from 'qunit'; import DS from 'ember-data'; import { setupTest } from 'ember-qunit'; import testInDebug from '@ember-data/unpublished-test-infra/test-support/test-in-debug'; module('unit/store/peekRecord - Store pe...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _VCheckbox = require("./VCheckbox"); Object.keys(_VCheckbox).forEach(function (key) { if (key === "default" || key === "__esModule") return; if (key in exports && exports[key] === _VCheckbox[key]) return; Object.defineProperty(e...
(function ($) { // // Search var $searchWrap = $('.search-form-wrap'), isSearchAnim = false, searchAnimDuration = 200; var startSearchAnim = function () { isSearchAnim = true; }; var stopSearchAnim = function (callback) { setTimeout(function () { isSearchAnim = false; callback ...
/*! Copyright 2014 Amazon Digital Services, Inc. All rights reserved. */ UserExperienceServiceProxy=(function(){var a=function(){var c="https://ags-ext.amazon.com/services/ux/v1/";var b=1;this["getMyFriendProfiles"]=function(f){console.log("UserExperienceServiceProxy: getMyFriendProfiles");var d=$.Deferred();var e=[{ty...
describe('Data Access Groups (DAGs)', () => { before(() => { cy.set_user_type('standard') cy.mysql_db('projects/pristine') }) describe('User Interface', () => { before(() => { cy.set_user_type('admin') cy.visit_version({page: 'DataAccessGroups/index.php', params: 'pid=1'}) }) it('Should have th...
module.exports = require('../construct/_index.ts').default
angular.module('juiceShop').factory('ComplaintService', ['$http', function ($http) { 'use strict' var host = '/api/Complaints' function save (params) { return $http.post(host + '/', params) } return { save: save } }])
/*! * JSRT JavaScript Library 0.2.1 * lico.atom@gmail.com * * Copyright 2008, 2014 Atom Union, Inc. * Released under the MIT license * * Date: 2014年10月13日 */ $import("js.util.Arrays", "BootstrapClassLoader"); Class .forName({ name: "class js.text.DateFormatSymbols extends Object", /** * Constr...
module.exports = { name: '', //This is the user input parameter ie. {perfix}ping = !ping , response pong description: '', //Allows for a dynamic description of the command execute(message, args) { //code message.channel.send('Pong.'); }, };
import find from 'lodash/find'; import Base from './base.class'; import { SSL_MODE_REQUIRED, SSL_MODE_NA, SSL_MODE_SSL_TLS, } from './databases.constants'; import { ENGINES_NAMES } from './engines.constants'; export default class Database extends Base { constructor({ createdAt, plan, id, stat...
/** * Kendo UI v2017.3.1026 (http://www.telerik.com/kendo-ui) * Copyright 2017 Telerik AD. All rights reserved. ...
import { ChooserModalOnloadHandlerFactory } from '../../includes/chooserModal'; window.SNIPPET_CHOOSER_MODAL_ONLOAD_HANDLERS = new ChooserModalOnloadHandlerFactory({ chosenResponseName: 'snippetChosen', }).getOnLoadHandlers();
var loginPopupTimer = null; var loginPopupTime = 1000*20; //20sec var autoLogoutTimer = null; var autoLogoutTime = 1000*60*5 //5min var loggedIn = false; var authenticatedUser = null; $('.sidebar').on('click', '.btnSetStatus', function(){checkSession(loadChangeStatus)}); $('.sidebar').on('click', '.btnChangeContent', ...
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { 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] =...
/* * (c) 2011-2019 Corporate Web Solutions Ltd. * All client side / JavaScript code may not be used in any way without a valid JSCharting license. * To license JSCharting for your own use, please visit www.JSCharting.com * */
'use strict'; var NAMESPACE = 'am'; var setNamespace = function(className) { return (NAMESPACE ? NAMESPACE + '-' : '') + className; }; module.exports = { NAMESPACE: NAMESPACE, CLASSES: { active: setNamespace('active'), disabled: setNamespace('disabled'), round: setNamespace('round'), radius: se...
'use strict'; module.exports = { up: async (queryInterface, Sequelize) => { return queryInterface.bulkInsert('productsCollections', [{ productId: 3, collectionId: 2, createdAt: new Date(), updatedAt: new Date() }]); }, down: async (queryInterface, Sequelize) => { return query...
import React, { Component } from "react"; import { Link } from "react-router-dom"; import './styles.css'; class Header extends Component { render() { return ( <nav className="navbar navbar-default navbar-static-top navbar--bordered" role="navigation" > <h1 className="nav__h...
"use strict"; let router = require('express').Router(); router.get('/', (req, res, next)=>{ res.status(200).send('Inventory Microservice'); }); module.exports = router;
import size from 'lodash/fp/size'; import toLower from 'lodash/fp/toLower'; import flow from 'lodash/fp/flow'; // eslint-disable-next-line import/prefer-default-export export const buildParticipantsList = participants => { if (size(participants) === 0) return null; if (size(participants) === 1) { return parti...
import React from "react"; import { render } from "@testing-library/react"; import { shallow } from "enzyme"; import Container from "../Container"; it("renders without crashing", () => { const div = document.createElement("div"); render(<Container />, div); });
/* * 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. */ '...
import typescript from '@rollup/plugin-typescript'; import { terser } from 'rollup-plugin-terser'; export default { input: './src/app.ts', output: { dir: '.', format: 'iife', name: 'banglerun' }, plugins: [ typescript(), terser(), ] };
'use strict'; const FirebaseSupport = { init: function(log) { return $.getJSON('firebase-configuration.json', function(firebaseConfiguration) { if (firebase) { firebase.initializeApp(firebaseConfiguration); if ('serviceWorker' in navigator) { window.addEventListener('load', functi...
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
mycallback( {"CONTRIBUTOR OCCUPATION": "Diagnostic Radiologist", "CONTRIBUTION AMOUNT (F3L Bundled)": "500.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "RSI", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "2708 Legacy Ct", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR ...
function palindrome(str) { //lowercase the string and use a regular expression to remove unwanted characters var re = /[^A-Za-z0–9]/g; var reverseStr = lowRegStr.split('').reverse().join(''); return reverseStr === lowRegStr; } palindrome("tacocat");
/* * Toastr * Copyright 2012-2014 John Papa and Hans Fjällemark. * All Rights Reserved. * Use, reproduction, distribution, and modification of this code is subject to the terms and * conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php * * Author: John Papa and Hans Fjäl...
'use strict'; const readline = require('readline'); const input = readline.createInterface(process.stdin, process.stdout, null); input.question('What do you think? ', function (answer) { console.log('You say: %s', answer); input.close(); }); input.on('close', function () { console.log('\nBye!'); });
module.exports = { 'Беговые кроссовки': [ { 'id': '1f3', 'name': 'Gel', 'cost': 6600, 'brand': 'Asics' }, { 'id': 'a3d', 'name': 'Wave', 'cost': 5520, 'brand': 'Mizuno' }, { 'id': 'd2b', 'name': 'Del Mar', 'cost': 4930, 'brand...
import PropTypes from 'prop-types'; import React from 'react'; import { View, Dimensions } from 'react-native'; import { WebView } from 'react-native-webview'; export class Pivot extends React.Component { constructor(props) { super(props); } shouldComponentUpdate() { return false; } ...
import redis from "redis"; import { promisify } from "util"; import logger from "../util/logger"; const client = redis.createClient(); const get = promisify(client.get).bind(client); function onError(error) { logger.log(error, logger.LEVELS.ERROR); } function onReady() { logger.log( "Cache connection has be...
import DisplayObject from './display-object.js' import util from '../../common/util' import Events from '../../common/event' class Bitmap extends DisplayObject { constructor (img, onLoad) { super() if (typeof img === 'string') { if (Bitmap.cache[img]) { if(util.isWeapp){ this.img = Bi...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _rxStorageLokijs = require("./rx-storage-lokijs"); Object.keys(_rxStorageLokijs).forEach(function (key) { if (key === "default" || key === "__esModule") return; if (key in exports && exports[key] === _rxStorageLokijs[key]) return;...
import React from 'react'; // import Icon from 'react-native-vector-icons/FontAwesome'; import Main from '../components/Login'; import { SafeAreaView } from 'react-native'; const Login = ({ navigation }) => { return ( <> <SafeAreaView style={{ flex: 1, backgroundColor: '#F6F7F8' }}> <Main navigatio...
exports.newAlgorithmicTradingBotModulesTradingEpisode = function (processIndex) { /* This module packages all functions related to Episodes. */ let thisObject = { mantain: mantain, reset: reset, openEpisode: openEpisode, updateExitType: updateExitType, closeEpisod...
import { CommandsManager, ExtensionManager, ServicesManager, HotkeysManager, UINotificationService, UIModalService, UIDialogService, UIViewportDialogService, MeasurementService, DisplaySetService, ToolBarService, ViewportGridService, HangingProtocolService, CineService, UserAuthenticationS...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["donut"] = factory(); else root["britech...
var searchData= [ ['block_190',['block',['../classsrc_1_1python__code_1_1_code_block_1_1_code_block.html#aa8192a9843145248474724f29fadffef',1,'src::python_code::CodeBlock::CodeBlock']]] ];
(function($) { "use strict"; // Start of use strict // Toggle the side navigation $('#slide-submenu').on('click',function() { $(this).closest('.list-group').fadeOut('slide',function(){ $('.mini-submenu').fadeIn(); $('#contentBar').toggleClass('col-sm-8 col-md-...
var NAVTREEINDEX1 = { "classgame_1_1_circle_shape.html#ac5ca02d1fc47577635df419fcd96566f":[2,0,0,8,0], "classgame_1_1_circle_shape.html#add79825eb1f576b2ad1403d310bb1112":[2,0,0,8,5], "classgame_1_1_circle_shape.html#ae372d1654964c9c2413f11aea43c1e40":[2,0,0,8,2], "classgame_1_1_collision_target.html":[2,0,0,9], "class...
// Projects service used to communicate Projects REST endpoints (function () { 'use strict'; angular .module('projects') .factory('ProjectsService', ProjectsService); ProjectsService.$inject = ['$resource', '$log']; function ProjectsService($resource, $log) { var Project = $resource('/api/project...
// internals import { inspect } from 'util' // packages import core from '@actions/core' // modules import main from './lib/index.js' // parse inputs const inputs = { token: core.getInput('github-token', { required: true }), target: core.getInput('target', { required: false }), command: core.getInput('command'...
import { Template } from 'meteor/templating'; import { Blaze } from 'meteor/blaze'; import _ from 'underscore'; import $ from 'jquery'; let zIndexBackdrop = 1060; let zIndexModal = 1061; OHIF.ui.showDialog = (templateName, dialogData={}) => { // Check if the given template exists const template = Template[te...
/* eslint-disable no-unused-vars */ /* eslint-disable no-undef */ import React, { useEffect, useState } from 'react'; import { View, Text, TouchableOpacity } from 'react-native'; import styles from './StackCellStyles'; import { CellSize, BoardWidth, BorderWidth } from '../GlobalStyle'; import { number, func } from 'p...
// eslint-disable-next-line import/order import { initUserStorage } from '../../../lib/userStorage/__tests__/__util__' import React from 'react' import renderer from 'react-test-renderer' import { getWebRouterComponentWithMocks } from '../../dashboard/__tests__/__util__' import GDStore from '../../../lib/undux/GDStore'...
define( ({ _widgetLabel: "Editor de Atributos em Batch", widgetIntroSelectByArea: "Utilize uma das ferramentas abaixo para criar o conjunto selecionado de elementos a atualizar. Se a linha estiver <font class=\'maxRecordInIntro\'>destacada</font>, o número máximo de registos foi excedido.", widgetIntro...
import test from 'tape' import {h} from 'hastscript' import {toHtml} from '../index.js' test('`tbody` (opening)', (t) => { t.deepEqual( toHtml(h('tbody'), {omitOptionalTags: true}), '<tbody>', 'should not omit tag without children' ) t.deepEqual( toHtml(h('tbody', h('tr')), {omitOptionalTags: tr...
module.exports=['\u0964','\u0965','\u0C00','\u0C01','\u0C02','\u0C03','\u0C05','\u0C06','\u0C07','\u0C08','\u0C09','\u0C0A','\u0C0B','\u0C0C','\u0C0E','\u0C0F','\u0C10','\u0C12','\u0C13','\u0C14','\u0C15','\u0C16','\u0C17','\u0C18','\u0C19','\u0C1A','\u0C1B','\u0C1C','\u0C1D','\u0C1E','\u0C1F','\u0C20','\u0C21','\u0C22...
import { createApp } from 'vue' import { createI18n } from 'vue-i18n' import App from './App.vue' import ja from './locales/ja.json' import en from './locales/en.yaml' const i18n = createI18n({ legacy: false, locale: 'ja', messages: { en, ja } }) const app = createApp(App) app.use(i18n) app.mount('#...
/** * SPDX-License-Identifier: Apache-2.0 */ import { handleActions } from 'redux-actions' import { Record } from 'immutable' import * as actionTypes from '../actions/action-types' const InitialState = new Record({ loaded: false, peerStatus: [], errors: {}, }) const peerStatus = handleActions({ ...
const { entity } = require('./entities') /** Lazily resolves a query's _target property */ module.exports = (q,defs) => { if (!q._target || q._target.kind !== 'entity') Object.defineProperty (q, '_target', {value:( q.SELECT ? _resolve (q.SELECT.from, defs) : q.INSERT ? _resolve (q.INSERT.into, defs) : q....
import React from 'react' import renderer from 'react-test-renderer' import Roller from './Roller' describe('Roller component', () => { test('should render correctly', () => { const tree = renderer.create(<Roller />).toJSON() expect(tree).toMatchSnapshot() }) })
// internal methods /** */ console.log("---------------01--------internal method--------------------------"); // inserte or delete let fruits = ["Banana"]; let arr = fruits; // copy by refrence ( two variables refrence the same array) console.log(arr); // 'Banana' console.log(arr == fruits); // true ...
import Vue from 'vue' import router from '@/router' let actions = { // table data getItems({commit, state, getters}) { commit('setLoadingStatus', true) Vue.http.get(getters.path('i')) .then((response) => { commit('setItems', response.body) commit('setLoadingStatus', fals...
'use strict'; // Used for MongoDB access const User = require('../model/user-schema'); const hash = require('../common/hash-password'); const USER_FILTER = {_id: 1, username: 1, added: 1, liked: 1, linkedTo: 1}; module.exports = function(path) { let errorHandler = function(err, res) { console.error(...
// client-side webpack configuration for our dev //requiring objects const path = require('path'); // const HtmlWebpackPlugin = require('html-webpack-plugin'); const webpack = require('webpack'); const CURRENT_WORKING_DIR = process.cwd(); // let's create the config object const config = { name: "browser", mo...
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translator: Fabio Di Bernardini, <altraqua@email.it> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer t...
const core = require("@actions/core"); const path = require("path"); const axios = require("axios"); const os = require("os"); const fs = require("fs").promises; const getAbsolutePath = (filePath) => { if (filePath[0] !== "~") return path.resolve(filePath); const homeDir = os.homedir(); if (homeDir) retur...
function setEventHandler(name, handler, dom, tag, item) { dom[name] = function(e) { // cross browser event fix e = e || window.event e.which = e.which || e.charCode || e.keyCode e.target = e.target || e.srcElement e.currentTarget = dom e.item = item // prevent default behaviour (by defa...
import Todo from './Todo'; export default Todo;
import React, { useState } from "react" const defaultValues = { bg: "blank.png", colorBg: "#fff", setBackground: () => {}, } const BackgroundContext = React.createContext(defaultValues) const BackgroundProvider = ({ children }) => { const [bg, setBgState] = useState(defaultValues.bg) const [colorBg, setCol...
import { remote } from 'electron' /** * Get root path for bundled (deployed) or non-bundled (dev) files. * @returns {String} absolute path to root folder */ export function getRootPath () { return remote.app .getAppPath() .replace( /\\(dist_electron|app.asar)/, '' ) }
import React from 'react'; import {Form, Input, Modal, Col, Row} from 'antd'; import Utils from '@/Common/Utils'; import moment from "moment"; const TextArea = Input.TextArea; const FormItem = Form.Item; const Util = new Utils(); class MessageModal { //消息内容 MessageCoutent = Form.create()(props => { ...
import React, { Component, Fragment } from 'react' import { connect } from 'react-redux' import axios from 'axios' import PropTypes from 'prop-types' import GridRow from '@govuk-react/grid-row' import GridCol from '@govuk-react/grid-col' import moment from 'moment' import ReactRouterPropTypes from 'react-router-prop-t...
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Container from '@material-ui/core/Container'; import Grid from '@material-ui/core/Grid'; import Paper from '@material-ui/core/Paper'; const useStyles = makeStyles((theme) => ({ paper: { padding: theme.spacing(2), d...
(function() {var implementors = {}; implementors["rust_info"] = [{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"rust_info/types/struct.RustInfo.html\" title=\"struct rust_info::types::RustIn...
/*! vue-ydui v1.2.6 by YDCSS (c) 2018 Licensed MIT */
import difference from "./../src/difference.js"; import chai from "./../node_modules/chai/chai.js"; import { assert } from "chai"; describe('Difference function', function(){ it('difference([2,1],[2,3]) should be equal to 1',function(){ assert.equal(difference([2,1])) }) })
// COPYRIGHT © 2021 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute...
import { ToastAndroid } from 'react-native'; import { LOADING_NOVEL, GET_NOVEL, GET_CHAPTERS, FETCHING_NOVEL, SET_NOVEL, UPDATE_IN_LIBRARY, CHAPTER_READ, CHAPTER_DOWNLOADED, CHAPTER_DELETED, UPDATE_NOVEL, SET_NOVEL_SETTINGS, BOOKMARK_CHAPTER, MARK_PREVIOUS_CHAPTERS_READ, MARK_PREVIOUS_CHAPT...
search_result['443']=["topic_000000000000012F.html","Import.GetClipBox Method",""];
const getters = { isMobile: state => state.app.isMobile, lang: state => state.app.lang, theme: state => state.app.theme, color: state => state.app.color, token: state => state.user.token, avatar: state => state.user.avatar, nickname: state => state.user.name, welcome: state => state.user.welcome, role...
class FilterCell{ constructor(value, x, y, filler){ this.text = value; this.filler = filler; this.col = color(255); this.x = x; this.y = y; this.checked = false; } selected(){ this.checked = !this.checked; } show(opac){ if(this.checked){ this.col = color(12, 1...
import React from 'react' import PT from 'prop-types' import { flatten } from 'flat' import { removeValuesOfHiddenNodes, getWizardProgress } from '../../../helpers/wizardHelper' import { getProductEstimate } from '../../../config/projectWizard' import './HeaderWithProgress.scss' const numberWithCommas = (n) => n.toS...
const creteBookingDao = require('../dao/create-booking-dao'); const sendEmailBL = require('../bl/send-email-bl'); const PropertyRequiedError = require('../errors/property-required-error'); const createBooking = async (req, res, next) => { try { const { checkin, checkout, email, name, id_room } = req.body; ...
/* jshint strict: false, unused: false */ var router = require('express').Router(); var tokenCheck = require('../auth/tokencheck.js'); var DbController = require('./databasecontroller.js'); // require token for all database operations router.use(tokenCheck); // foreign keys router.route('/:database/fk/:refTable/:refC...
import "../styles/main.scss"; import "babel-polyfill"; const modal = document.getElementById("myModal"); function promiseOfModal() { return new Promise(function (resolve) { window.setTimeout(function () { resolve(modal) }, (1000 * 60)); }); } const runModal = async () => { aw...
JSON.__proto__[1] = Uint8ClampedArray().buffer f = (function() { function g(c) { Object.freeze(c).__proto__ = c } for each(b in []) { try { g(b) } catch (e) {} } }) f() f()
/** * Sample React Native App * https://github.com/facebook/react-native */ 'use strict'; import React, { AppRegistry, Component, StyleSheet, Text, View } from 'react-native'; class dvdpila_remote extends Component { render() { return ( <View style={styles.container}> <Text style={styl...
import data from './data.json'; export default { title: 'Components/Icons/SAP Icons', parameters: { description: `Icons are used to provide visual clarity, save screen space, and help guide users as they navigate an application. They are often used as visual elements within other components, although t...
angular.module('job') .factory('ThingService', ['$resource', 'cmsConfig', function ($resource, cmsConfig) { /*eslint-disable */ // serverUrl var ThingResource = $resource(cmsConfig.serverApi + '/thing/edit/:id', {}, { edit: {method: 'POST', url: cmsConfig.serverApi + '/thing/edit/:id', headers: {'Co...
/** * Created by s.cosma on 29/07/2016. */ var webdriverio = require('webdriverio'); var webdrivercss = require('webdrivercss'); var browsers = ['internet explorer', 'chrome', 'firefox','MicrosoftEdge']; browsers.forEach(function (element) { var client = webdriverio.remote({ desiredCapabilities: { ...
import Phaser from 'phaser'; class Menu extends Phaser.State { init() { // set game config variable data from game cache this.Config = this.game.cache.getJSON('config'); } create() { let startInstructions = 'Click to Start Game :\n\nUP arrow key for thrust.\n\nLEFT and RIGHT arrow keys...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Body = Matter.Body; let engine; let world; var ball; var ground; var wall,rock; function setup() { createCanvas(400,400); engine = Engine.create(); world = engine.world; var ball_options = { restitution: 0.9...
import privateProps from '../privateProps.js' import { warnAboutDepreation } from '../utils/utils.js'; function setButtonsDisabled (instance, buttons, disabled) { const domCache = privateProps.domCache.get(instance) buttons.forEach(button => { domCache[button].disabled = disabled }) } function setInputDisab...
import { deleteRiwayatSK } from "./deleteRiwayatSK"; import { editRiwayatSK } from "./editRiwayatSK"; import { getRiwayatSK } from "./getRiwayatSK"; import { getRiwayatSKById } from "./getRiwayatSKById"; import { insertRiwayatSK } from "./insertRiwayatSK"; export { deleteRiwayatSK, editRiwayatSK, getRiwayatSK, ...
/** * @fileoverview Enforce no naming of AMD modules * @author Adam Davies */ 'use strict'; // ------------------------------------------------------------------------------ // Requirements // ------------------------------------------------------------------------------ const RuleTester = require('eslint').RuleT...
/** * @typedef {object} Phaser.GameObjects.RenderTexture.Types.RenderTextureConfig * @since 3.2.0 * * @property {number} [x=0] - The x coordinate of the RenderTextures position. * @property {number} [y=0] - The y coordinate of the RenderTextures position. * @property {number} [width=32] - The width of the RenderT...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM9.88 4h4.24l1.83 2H20v12H4V6h4.05" /><path d="M15 11H9V8.5L5.5 12 9 15.5V13h6v2.5l3.5-3...
import { __spreadArrays } from "tslib"; import { merge as mergeStatic } from '../observable/merge'; export function merge() { var observables = []; for (var _i = 0; _i < arguments.length; _i++) { observables[_i] = arguments[_i]; } return function (source) { return source.lift.call(mergeStatic.ap...
/************************************************************* * * MathJax/localization/ko/HTML-CSS.js * * Copyright (c) 2009-2019 The MathJax Consortium * * 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...
import isEmpty from 'lodash/isEmpty'; import initialState from './initialState'; import types from '../actions/actionTypes'; export default (state = initialState, action = {}) => { switch (action.type) { case types.SET_CURRENT_USER: return { isAuthenticated: !isEmpty(action.user), user: action.user...
import Vue from 'vue'; import App from '@front/views/App'; // Корневой компонент import store from '@front/store/index.js'; // store нужен для хранения состояния приложения import router from '@front/router/index.js'; // конфгурация маршрутизатора import axios from 'axios'; // необходимо для использования ajax запросов...
jQuery(function(e){var t;"function"==typeof e.fn.owlCarousel&&(t={rtl:!!wenTravelOptions.rtl,autoHeight:!0,margin:40,items:5,nav:!1,dots:!1,autoplay:!0,autoplayTimeout:4e3,loop:!0,responsive:{0:{items:1},640:{items:2},1024:{items:4},1120:{items:5}},navText:[wenTravelOptions.iconNavPrev,wenTravelOptions.iconNavNext]},e(...
/* JS #7 */ if (!this.BOOTGETJSTEST) { this.BOOTGETJSTEST = { scriptCounter: 0 }; } this.BOOTGETJSTEST.js7 = true; this.BOOTGETJSTEST.currentScript = 7; this.BOOTGETJSTEST.scriptCounter += 1; if (this.console) { this.console.log("Executed js7.js."); }
import render from "./render"; // rudimentary state management const state = [{}]; export const getState = () => { return state[state.length - 1]; }; export const setState = (nextState) => { const currentState = state[state.length - 1]; state.push({ ...currentState, ...nextState, }) render(getStat...
////@ts-check //I HAVE TO REVIEW THE Inheritance and the prototype chain const typedef = require('./typedef') const WOQLQuery = require('./query/woqlBuilder') /** * @license Apache Version 2 * @module WOQL * @constructor WOQL * @description The WOQL object is a wrapper around the WOQLQuery object * Syntactic suga...