text
stringlengths
2
1.04M
// Copyright (c) 2015 - 2017 Uber Technologies, Inc. // // 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, modify...
import React, { useEffect } from "react"; import { withStyles } from "@material-ui/core/styles"; import AppBar from "@material-ui/core/AppBar"; import PropTypes from "prop-types"; import useScrollTrigger from "@material-ui/core/useScrollTrigger"; import CssBaseline from "@material-ui/core/CssBaseline"; import { Navigat...
import React, { useState } from "react" import { AppBar, Toolbar, Typography, Button, Tabs, Tab, IconButton, useMediaQuery, makeStyles, SwipeableDrawer, List, ListItem, ListItemText, } from "@material-ui/core" import { Link } from "gatsby" import search from "../../images/search.svg" import ca...
const serializeUser = require('./serialization/serializeUser'); const deserializeUser = require('./serialization/deserializeUser'); const spotifyPassportStrategy = require('../spotify/auth/passportStrategy'); module.exports = function configurePassport(passport) { passport.serializeUser(serializeUser); passport.de...
import React, { Component } from "react"; import PropTypes from "prop-types"; import { connect } from "react-redux"; import { search } from "../actions/itemAction"; import { BrowserRouter as Router, Route, Link, Redirect } from "react-router-dom"; class Header extends Component { constructor(props) { supe...
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 23.1.3.1 description: > Throws a TypeError if `this` is a WeakMap object. info: > Map.prototype.clear ( ) 1. Let M be the this value. 2. If Type(M) is not Objec...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var TaskConfig = { comment: true, largecommits: { enabled: true, maxLines: 100 }, approvals: { includeAuthor: true, minimum: 2, enabled: true }, specification: { enabled: ...
// 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...
import RectangleRoiTool from './RectangleRoiTool.js'; import { getToolState } from './../../stateManagement/toolState.js'; import { getLogger } from '../../util/logger.js'; jest.mock('../../util/logger.js'); jest.mock('./../../stateManagement/toolState.js', () => ({ getToolState: jest.fn(), })); jest.mock('./../../...
import React from 'react' const Footer = () => { return ( <footer id="footer"> <p class="copyright">&copy; Untitled. All rights reserved. Demo Images: <a href="https://unsplash.com">Unsplash</a>. Design: <a href="https://html5up.net">HTML5 UP</a>.</p> </footer> ) } export default F...
/** * Created with IntelliJ IDEA. * User: nisheeth * Date: 27/08/13 * Time: 12:17 * Email: nisheeth.k.kashyap@gmail.com * Repositories: https://github.com/nkashyap */ ConsoleIO.namespace("ConsoleIO.View.Device.Explorer"); ConsoleIO.View.Device.Explorer = function ExplorerView(ctrl, model) { this.ctrl = ctr...
import Ember from 'ember'; export default Ember.Controller.extend({ session: Ember.inject.service('session'), actions: { authenticate() { let credentials = this.getProperties('identification', 'password'), authenticator = 'authenticator:token'; this.get('session').authenticate(authenticat...
/** * 当在页面中使用了kindeditor,即可以通过引入该文件即可,使用时,只需要在对应的textarea控件中配置样式rich-editor * */ $(function(){ //加载需要的ueditor需要的Js var jsArr=[ __rootPath+'/scripts/ueditor/ueditor-mini.config.js', __rootPath+'/scripts/ueditor/ueditor.all.min.js', __rootPath+'/scripts/ueditor/lang/zh-cn/zh-cn.js' ]; $.getScripts({ urls:...
var searchData= [ ['label',['label',['../class_ui___main_window.html#ad9c89133780f28e6efa2ec17ceb9cff5',1,'Ui_MainWindow::label()'],['../class_ui__workspace2_d.html#a5a9bdccedb7b11512dbdae1d291a670e',1,'Ui_workspace2D::label()']]], ['label_5f10',['label_10',['../class_ui___main_window.html#a9dc4dba26b83e0c94aa566e1...
svgtiler = {"0":{"parent":null,"board":[["?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?"],["?","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","?","?","?"],["?","1","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","1","?","?","?"],["?","1","?","1","1","...
import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { CarouselProvider, Slider, Slide, ButtonBack, ButtonNext, DotGroup, } from 'pure-react-carousel'; import { listOfProfessionals } from '../data'; import { normaliseArrayToSentence, sanitisePhoneNumber, } from '../funct...
import React, { Component } from 'react'; import styled from 'styled-components'; const Title = styled.h1` font-size: 9vh; line-height: 12vh; font-stretch: expanded; `; const SubTitle = styled.h2` font-size: 5vh; line-height: 5vh; `; const P = styled.p` font-size: 4vh; line-height: 5vh; ...
"use strict"; /** * Copyright 2019 Google LLC * * 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 la...
var https = require('https'); var url = require('url'); var mongoose = require('mongoose'); var Schema = mongoose.Schema; var AreaSchema = new Schema({ name: { type: String, required: true }, code: String, type: { type: String, required: true }, parent: { type: Schema.ObjectId, ref: 'Area' } }); /** * Sta...
import express from 'express'; import path from 'path'; import bodyParser from 'body-parser'; import logger from 'morgan'; import dotenv from 'dotenv'; import cors from 'cors'; import router from './routes/router'; // Set up the express app const app = express(); // Using cors app.use(cors('*')); // Load config file...
import { db, promiseDB } from '../db'; export const getTestListData = async (req, res) => { const request = `SELECT tests.id, tests.title as test, statustests.tittlestate as status, studentfortests.score, subject...
import * as types from '../actions/actionTypes' export default function moviesReducer (state = [], action) { // state variable here reps just an array of movies switch (action.type) { case types.LOAD_MOVIES_SUCCESS: return Object.assign([], action.movies) default: return state } }
/* * * EditorFileSelect reducer * */ import produce from 'immer'; import * as types from './constants'; export const initialState = { all: { files: { data: [], totaldata: 0, }, folders: { data: [], totaldata: 0, }, self: { name: 'Root', path: [], }, }...
import { LitElement, html } from 'lit-element'; import { BsContentRebootCss, BsContentTypographyCss } from '../../content'; import { BsListGroupItemCommonCss } from './bs-list-group-item-common-css'; import { BsListGroupItemActionCommonCss } from './bs-list-group-item-action-common-css'; export class BsListGroupItemAc...
function foo(x) { _assert(x, _t.list(_t.tuple([_t.maybe(_t.Number), _t.String])), "x"); return x; }
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
import React from 'react'; import dayjs from 'dayjs'; import { graphql } from 'gatsby'; import Helmet from 'react-helmet'; import PropTypes from 'prop-types'; import { MeetupEventType } from '../../types'; import Layout from '../../components/Layout'; import EventCard from '../../components/community/EventCard'; import...
import Joi from '@hapi/joi'; const validator = { validateBody: (schema) => (req, res, next) => { const result = schema.validate(req.body); if (result.error) { return res .json({ status: 400, error: result.error.message }) .status(400); } req.body = r...
/* * Copyright 2017, Yahoo Inc. * Copyrights licensed under the New BSD License. * See the accompanying LICENSE file for terms. */ module.exports = function load(global) {global.Intl && global.Intl._localeData && global.Intl._localeData.load({ "locales": { "en-GU": { "gmtFormat": "GMT{0}", ...
import {assert, describe, it} from 'mocha'; import {getNestedObject} from './object/getNestedObject'; import {flatten} from './object/flatten'; import {sortAlphabeticallyByProperty, sortByProperty} from './array/sortByProperty'; describe('flatten', () => { it('should convert deeply nested object to flat object', () ...
macDetailCallback("00c0e6000000/24",[{"d":"1998-04-22","t":"add","a":"125 WEST PARK LOOP\nHUNTSVILLE AL 35806\n\n","c":"UNITED STATES","o":"TXPORT"},{"d":"2001-06-04","t":"change","a":"950 Explorer Blvd.\nHuntsville, AL 35806\n\n","c":"UNITED STATES","o":"Verilink Corporation"},{"d":"2001-10-24","t":"change","a":"950...
const fetchInstagram = require('./index'); (async()=> { const post = await fetchInstagram("https://www.instagram.com/p/CXChwP3Pvke/"); console.log(post); })()
'use strict'; /** * @license * Copyright SOAJS All Rights Reserved. * * Use of this source code is governed by an Apache license that can be * found in the LICENSE file at the root of this repository */ module.exports = { type: 'service', prerequisites: { cpu: '', memory: '' }, "serviceVersion": 1, "se...
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ ret...
const counters = document.querySelectorAll('.counter') counters.forEach(counter => { counter.innerText = '0' const updateCounter = () => { const target = +counter.getAttribute('data-target') const c = +counter.innerText const increment = target / 150 if(c < target) { ...
describe("q-learner.js", () => { /** * Create a ring with actions forward and backward with reward 0 */ function getRing(numStates){ let learner = new QLearner(1.0/numStates, 0.5) for (let i = 0; i < numStates; i++){ let from = `s${i}` let to = `s${(i+1)%numSta...
function foo() {} export default function bar() {}
const Database = require('./database/db'); const saveOrphanage = require('./database/saveOrphanage'); module.exports = { index(req, res){ return res.render('index'); }, async orphanage(req, res){ const id = req.query.id; try { const db = await Database; c...
/** * Niman模块加载管理器 */ ; (function(ctx, name) { var Niman = ctx[name] = {}; var mix = function(a, b) { for (var k in b) { a[k] = b[k]; } return a; }; var StateAction = function(scope) { this.scope = scope; this.status = 0; this._thenFuns = []; this._args = []; }; StateAction.prototype = { ...
import * as Environment from "~/node_common/environment"; import * as Data from "~/node_common/data"; import * as Utilities from "~/node_common/utilities"; import * as SlateManager from "~/node_common/managers/slate"; import * as Validations from "~/common/validations"; import * as Strings from "~/common/strings"; impo...
// see http://vuejs-templates.github.io/webpack for documentation. var path = require('path') module.exports = { build: { env: require('./prod.env'), index: path.resolve(__dirname, '../dist/index.html'), assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', assetsPublicPat...
function getColorIndicesForCoord(x, y, width) { var red = y * (width * 4) + x * 4; return [red, red + 1, red + 2, red + 3]; } function getGrayPixelForCoord(x,y,image){ const colorIndices=getColorIndicesForCoord(x,y,image.width); const [redIndex, greenIndex, blueIndex] = colorIndices; return (image....
// Copyright 2009 the Sputnik authors. All rights reserved. /** * An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11) * * @path ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T1.js * @description Execute /\b(\w+) \1\b/.exec...
// -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; Components.utils.imp...
import { GALLERY_CONSTS } from 'pro-gallery-lib'; import GalleryDriver from '../drivers/reactDriver'; import { expect } from 'chai'; import { mergeNestedObjects } from 'pro-gallery-lib'; import { images2 } from '../drivers/mocks/items'; import { options, container } from '../drivers/mocks/styles'; describe('options - ...
// *************** Attributions ***************** function updateAttributionSettings() { // iterate through all attributions and build the "shared with" list; // in the meanwhile also assemble a minimized version of the array that // could be posted with the form (this won't have item titles in it) ...
var express = require('express'); var cookieParser = require('cookie-parser'); var path = require('path'); var app = express(); app.use(cookieParser()); app.set('views',path.join(__dirname,'views')); app.set('view engine','ejs'); app.use(express.static(path.join(__dirname, 'public'))); //如果public里面有相应的文件就会提前拦截 app.ge...
var SetOwnerAccessMode = function (item, ownerRead, ownerWrite) { if (!ownerRead && !ownerWrite) { return item; } var currentUser = Parse.User.current(); if (!currentUser) { return item; } var acl = new Parse.ACL(currentUser); if (!ownerWrite) { acl.setPublicWriteAcce...
import React, { Component } from "react" import SEO from "../components/seo" import Info from "../components/Info/Info" import About from "../components/About/About" import ForWhom from "../components/ForWhom/ForWhom" import Activities from "../components/Activities/Activities" import AboutMe from "../components/AboutM...
global.jestExpect = global.expect; global.expect = require("chai").expect; global.before = jest.fn(); global.after = jest.fn(); global.skip = jest.fn(); window.Cypress = { env: jest.fn(), on: jest.fn(), off: jest.fn(), log: jest.fn(), Promise: { each: (iterator, iteree) => iterator.map(iteree) }, }; const ...
import React, { PropTypes } from 'react' import { Link } from 'react-router' import { RaisedButton } from '../../../public/materialUi' import { toast } from '../../../services/util' import $storage from '../../../services/storage' import CourseRecordItemEle from './courseRecordItem' export default class CourseRecordEl...
let handler = async m => conn.reply(m.chat, ` *CLOSE YA...* `.trim()) // Tambah sendiri kalo mau handler.help = ['jf'] handler.tags = ['store'] handler.command = /^(jf)$/i handler.limit = false module.exports = handler
$.fn.mxNormalInput = function(args) { var $element = $(this); $element.wrap('<div class="normal-input" />'); var $parent = $element.parent(); $parent.append('<div class="border-line"></div>'); var $input = $element; var $border = $parent.find(".border-line"); $input.on("focus", function() ...
/* •--------------------------------• | | | © 2021 Matthew Perlman | | | •--------------------------------• */ import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render( <React.Stri...
import {vertex} from '@tools/fragments'; import fragment from './colorReplace.frag'; import * as PIXI from 'pixi.js'; /** * ColorReplaceFilter, originally by mishaa, updated by timetocode * http://www.html5gamedevs.com/topic/10640-outline-a-sprite-change-certain-colors/?p=69966<br> * ![original](../tools/screenshot...
var searchData= [ ['icurrentnode',['iCurrentNode',['../classosapi_1_1xml_1_1h_processor.html#a857e559629b6ec2edb8ccd5d9fb70925',1,'osapi::xml::hProcessor']]], ['idata',['iData',['../classosapi_1_1xml_1_1h_processor.html#a48e4f3252d5796395fcf8e90c54096f9',1,'osapi::xml::hProcessor']]], ['idoc',['iDoc',['../classos...
#!/usr/bin/env node 'use strict'; require('colorful').colorful(); const program = require('commander'); const packageInfo = require('../../package.json'); program .version(packageInfo.version) .command('run [name]', 'run specified task') .parse(process.argv); const proc = program.runningCommand; if (proc) { ...
module.exports = [ { name: "Gojou", mode: "development", }, { name: "Satoru", mode: "development", }, ];
import Vue from "vue"; import VueRouter from "vue-router"; import Diagram from "../views/Diagram.vue"; import About from "../views/About.vue"; import Resources from "../views/Resources.vue"; Vue.use(VueRouter); const routes = [ { path: "/", name: "Diagram", // route level code-splitting // this gene...
import React, {Component} from 'react' import Table from '../../../../globalComponents/modals/Table' import { Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap'; import actions from '../../../../../../../actions/pipeline/pipelineStartModals/datasource' import {connect} from 'react-redux' const {...
import _ from 'lodash' import React from 'react' import { Card, Icon, Image } from 'semantic-ui-react' import faker from 'faker' const QuoteCard = () => ( <Card> <Image src={faker.random.image()} /> <Card.Content> <Card.Header> {faker.name.findName()} </Card...
import defaultCode from "./defaultCode"; import lesson from "./lesson"; export default { name: "Breadth-First Search", defaultCode, lesson, difficulty: 1, };
import React, { useEffect, useState } from 'react'; import { connect } from 'react-redux'; import { useHistory, useLocation } from 'react-router-dom'; import { Spin, Typography } from 'antd'; import PropTypes from 'prop-types'; import { ORCID } from 'common/constants'; import { allRedirectUris } from 'common/injectGlo...
const Sequelize = require('sequelize'); const sequelize = new Sequelize('sqlite:database.db'); sequelize.authenticate().then(() => { console.log('Connection has been established successfully.'); }).catch(err => { console.error('Unable to connect to the database:', err); }); sequelize.sync({force: false});...
import { describe, it } from 'mocha'; import { expect } from 'chai'; import { connectionFromArray, connectionFromArraySlice, connectionFromPromisedArray, connectionFromPromisedArraySlice, cursorForObjectInConnection, } from '../arrayConnection'; describe('connectionFromArray()', () => { const letters = ['...
/*! Source code licensed under Apache License 2.0. Copyright © 2017-current William Ngan and contributors. (https://github.com/williamngan/pts) */ import { Util, Const } from "./Util"; import { Geom, Num } from "./Num"; import { Vec, Mat } from "./LinearAlgebra"; export class Pt extends Float32Array { constructor(....
'use strict'; /** * @ngdoc service * @name smartiApp.ClientService * @description * # ClientService * Service in the smartiApp. */ angular.module('smartiApp') .service('ClientService', function ($http, $q, ENV, Configuration, Client) { this.list = function() { var deferred = $q.defer();console.log(E...
Packages.load("2.js").then(()=>{hideClassD("r");hideClassD("rt")}); var RBs=document.querySelectorAll("input[type=radio]"); RBs[0].checked = true; forEach1(RBs,x=>x.addEventListener('input',e=>{ if(e.target.value=="Eng") {hideClassD("r");hideClassD("rt");showClassD("re","list-item")} else {showClassD("rt");...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
import React from "react"; import "./ChatList.css"; export default ({ chats, username }) => ( <ul className="draftChat"> {chats.map((chat, i) => { let classname = chat.username === username ? "col-xs-12 userMessage" : "col-xs-12" return ( <div key={i}> <div className="row show-grid"...
import React, {useEffect} from 'react'; import { BrowserRouter as Router, Switch, Route, NavLink, useParams, } from 'react-router-dom'; import Container from 'react-bootstrap/Container'; import Row from 'react-bootstrap/Row'; import Col from 'react-bootstrap/Col'; import Navbar from 'react-bootstrap/Navbar'; ...
/** @license MIT License (c) copyright B Cavalier & J Hann */ /** * unfold * @author: brian@hovercraftstudios.com */ (function(define) { define(function(require) { var when; when = require('./when'); /** * Anamorphic unfold/map that generates values by applying * handler(generator(seed)) iteratively until...
var expect = require('chai').expect; var match = require('./match'); describe('match', function() { it('should highlight at the beginning of a word', function() { expect(match('some text', 'te')).to.deep.equal([[5, 7]]); }); it('should not highlight at the middle of a word', function() { expect(match('s...
deepmacDetailCallback("0050c20da000/36",[{"a":"3617 Westwind Blvd. Santa Rosa CA US 95403","o":"Motion Analysis Corp.","d":"2008-07-30","t":"add","s":"ieee","c":"US"}]);
/* eslint-disable unicorn/prefer-module */ const transformer = require('@nestjs/swagger/plugin'); module.exports.name = 'nestjs-swagger-transformer'; // Remember to change the version number anytime you change the configuration below // Jest will not detect changes otherwise module.exports.version = 1; module.export...
/** * Created by CHENG Xiaojun on 03/11/14. */ /** * this is the class for test alert. */ module("calc", { // setup:function(){alert("setup moneyOps individual test");}, // teardown:function(){alert("teardown moneyOps individual test");} }); test("not supported operation ", function() { //overwrite the...
// Requiring necessary npm packages const express = require("express"); // Set Handlebars. const exphbs = require("express-handlebars"); // stuff for morgan const fs = require("fs"); const morgan = require("morgan"); const path = require("path"); // favicon npm package const favicon = require('express-favicon'); //...
var Buffer = require('buffer').Buffer, s = 0, S = { PARSER_UNINITIALIZED: s++, START: s++, START_BOUNDARY: s++, HEADER_FIELD_START: s++, HEADER_FIELD: s++, HEADER_VALUE_START: s++, HEADER_VALUE: s++, HEADER_VALUE_ALMOST_DONE: s++, HEADERS_ALMOST_DONE: s++, ...
var data = [1, 2, 3, 4, 5, 6,7,8,9,10,11,12]; var Mobile=false; var flag=true; $(function(){ var $hand = $('.hand'); $hand.click(function(){ //if(Mobile==false){$('.rotateMobile').show(); return;} data = data[Math.floor(Math.random()*data.length)]; if(data==2||data==4||data==8||data==9||data==11){ data...
class UserSettings { Parse(packet, client){ let data = { volumeSystem: packet.readInt(), volumeFurni: packet.readInt(), volumeTrax: packet.readInt(), oldChat: packet.readBoolean(), roomInvites: packet.readBoolean(), cameraFollow: packet.readBoolean(), flags: packet.readInt(), chatType: pack...
'use strict'; module.exports = { async up(queryInterface, Sequelize) { await queryInterface.createTable('Accounts', { id: { type: Sequelize.UUID, primaryKey: true, allowNull: false, defaultValue: Sequelize.UUIDV4 }, name: { type: Sequelize.STRING, ...
import '../styles/lighter.scss'; export function lighter(lighterElement) { const lights = lighterElement.querySelectorAll('.street-lighter__light'); function switchOff() { for(let i = 0; i < lights.length; i++) { const light = lights[i]; light.classList.remove('street-lighter__light_active') }...
define('ace/snippets/protobuf', ['require', 'exports', 'module'], function(require, exports, module) { 'use strict' exports.snippetText = '' exports.scope = 'protobuf' }); (function() { window.require(['ace/snippets/protobuf'], function(m) { if (typeof module === 'object' && typeof exports === 'object' && ...
const {randomBytes} = require('crypto'); const {test} = require('tap'); const {addPeer} = require('./../../'); const {createCluster} = require('./../macros'); const {createInvoice} = require('./../../'); const {decodePaymentRequest} = require('./../../'); const {delay} = require('./../macros'); const {getChannel} = r...
import store from '@/store' import mqtt from 'mqtt' import Vue from 'vue' const options = { keepalive: 10, clientId: 'WebClient-' + parseInt(Math.random() * 10000), protocolId: 'MQTT', protocolVersion: 4, clean: true, reconnectPeriod: 1000, connectTimeout: 30 * 1000 } let client = null let controleTime ...
(function () { 'use strict'; var area = document.body, areaHeight = window.innerHeight, areaWidth = window.innerWidth, points = document.getElementById('points'), duck = document.createElement('img'), score = 0, timer = 1000; /** * Keep track on score....
'use strict'; /** * This component simply compares 2 files, and outputs an 'OK' to the console if they match exactly; * otherwise it outputs a 'FAIL' * * It is a general component, but it seems appropriate to include it in examples/components * * Amusingly, I had forgotten that the input streams have to be drain...
/* * Copyright 2021 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
sap.ui.define([ 'sap/ui/core/Component', 'sap/ui/core/ComponentContainer', 'sap/ui/core/mvc/Controller', 'sap/ui/core/mvc/View', 'sap/ui/qunit/QUnitUtils' ], function(Component, ComponentContainer, Controller, View, qutils) { "use strict"; /*global QUnit, sinon */ // create content div var oDIV = document.cr...
var a01140 = [ [ "fault_id", "a01140.html#adaa58bcfb27a91d5b05c91eb859c8dbd", null ], [ "op_mode", "a01140.html#a9e0ef62a34eda46979d38550fcbdc8ea", null ], [ "task_id", "a01140.html#a4d841b369f22fced9481909bf997f519", null ] ];
var Utils = require('./utils'); var Joi = require('@hapi/joi'); var Hoek = require('@hapi/hoek'); module.exports = function(client) { return { addDevice: function(_options) { Joi.assert(_options, Joi.object().keys({ id: Joi.string(), caseId: Joi.string() }).xor('id', 'caseId').require...
/** * Copyright (c) 2014, 2017, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ define(['ojs/ojcore', 'knockout', 'jquery', 'ojs/./ojknockout'], function (oj, ko, $) { // app wide stuff });
/** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v24.1.0 * @link http://www.ag-grid.com/ * @license MIT */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics ...
const expect = require('chai').expect const platzom = require('..').default describe('#platzom', function(){ it('Si la palabra termina con "ar", se le quitan esas dos letras', function(){ const translation = platzom("Programar") expect(translation).to.equal("Program") }) it('Si la palabra inicia con Z, se le a...
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "AM", "PM" ], "DAY": [ "\u0627\u062a\u0648\u...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=IMount.js.map
const previousMigration = require('./20210528134214_016-submission-submitters-vw copy').up; exports.up = function (knex) { return Promise.resolve() // Add a status update flag .then(() => knex.schema.alterTable('form', table => { table.boolean('enableSubmitterDraft').notNullable().defaultTo(false).comm...
// @flow import React, { Component, Fragment } from 'react' import DocumentTitle from 'react-document-title' import { connect } from 'react-redux' import { STOStatus } from 'polymath-ui' import type { SecurityToken, STOPurchase, STODetails } from 'polymathjs' import NotFoundPage from '../../NotFoundPage' import Inves...
import styled from 'styled-components'; import { Button, Input, Menu } from 'antd'; const Scroller = styled.div` width: 100%; height: 100%; padding: 0; overflow: scroll position: absolute &::-webkit-scrollbar: { display: none; } `; const NavButtonWrapper = styled(Menu.Item)` && { background-c...
const { Request } = require('node-fetch'); /** * Create compareResponses with dependencies * * @param {measureTraffic} measureTraffic * @param {TrafficMetricStorage} metricStorageMock * @param {fetch} fetchMock * @return {compareRequests} */ module.exports = function compareResponsesFactory(measureTraffic, metr...