text
stringlengths
2
1.04M
var class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation_context_1_1_accessibilitydata = [ [ "label", "d9/df9/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation_context_1_1_accessibilitydata.html#af615fb751fe69210d7748e2c00e99...
export * from './PrivateRoute' export * from './Navbar' export * from './InstallButton' export * from './Form' export * from './AssistanceButton' export * from './Schedules' export * from './ProjectSchedules.jsx' export * from './Locations.jsx' export * from './PhoneInput.jsx' export * from './ImageForm.jsx' export * f...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.threatGroup = void 0; exports.threatGroup = [ 'Lazarus Group', 'Comment Crew', 'Axiom', 'Turla Group', 'Naikon', 'Sofacy', 'Anunak', 'APT41', 'Leviathan', 'OilRig', 'APT32', 'APT 29', ...
// Import Vue import Vue from 'vue'; // Import Framework7 import Framework7 from 'framework7/framework7.esm.bundle'; // Import F7 Vue Plugin import Framework7Vue from 'framework7-vue/framework7-vue.esm.bundle.js'; // Import F7 Style import Framework7CSS from 'framework7/css/framework7.bundle.min.css'; // Import F7 ...
import React from 'react' import { Box } from 'theme-ui' import { transparentize } from '@theme-ui/color' const Badge = ({ sx, children, ...props }) => { const color = sx && sx.color ? sx.color : 'primary' return ( <Box sx={{ display: 'inline-block', width: 'fit-content', height: ...
import $ from "jquery"; import {Menu} from "./Menu"; export class ScrollToPage { constructor(options) { this.pages = options.pages; this.inScroll = false; this.pageScrollOwner = $('.js-page-scroll-owner'); } init() { $(window).on('resize',() => { if (!this.isMo...
// Hooks for service `users1`. (Can be re-generated.) const commonHooks = require('feathers-hooks-common'); const { authenticate } = require('@feathersjs/authentication').hooks; // eslint-disable-next-line no-unused-vars const { hashPassword, protect } = require('@feathersjs/authentication-local').hooks; // !code: impo...
var couchbase = require("couchbase"), http = require("http"); var port = 8080; couchbase.connect(require(__dirname+'/tests/config.json'), function(err, bucket) { if (err) {throw(err)} http.createServer(function(req, resp) { bucket.get("hitcount", function(err, doc, meta) { if (!doc) {...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link, Redirect } from 'react-router-dom'; import { Container } from 'semantic-ui-react'; import PropTypes from 'prop-types'; import '../../styles/employee-benefits.scss'; import MenuTab from './menu-tab'; import form from '../imag...
var Parser = require('../dist/binary_parser').Parser; var fs = require('fs'); var chs = new Parser({ formatter: function(val) { val.cylinder |= val.cylinderHigh << 8; delete val.cylinderHigh; return val; }, }) .uint8('head') .bit2('cylinderHigh') .bit6('sector') .uint8('cylinder'); var partiti...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); // Vue Directives Vue.directive('focus', require('./directives/focus'));...
module.exports = { prefix: 'far', iconName: 'gem', icon: [576, 512, [], "f3a5", "M464 0H112c-4 0-7.8 2-10 5.4L2 152.6c-2.9 4.4-2.6 10.2.7 14.2l276 340.8c4.8 5.9 13.8 5.9 18.6 0l276-340.8c3.3-4.1 3.6-9.8.7-14.2L474.1 5.4C471.8 2 468.1 0 464 0zm-19.3 48l63.3 96h-68.4l-51.7-96h56.8zm-202.1 0h90.7l51.7 96H191l51.6-96zm-111...
"use strict"; var MAX_CLIENTS=24; var MAX_QUERIES=100; var MAX_CICLES=24; var expect = require('expect.js'); var pg0 = require('pg'); var pg = require('..'); var colors = require('colors'); console.warn(pg.poolBalanceControl()); var fs = require('fs'); var Path = require('path'); const { Transform, Readable } = requ...
"use strict"; exports.__esModule = true; var _createThemedIcon = require("./utils/createThemedIcon"); var _FilledCrop = require("./FilledCrop54"); var _OutlineCrop = require("./OutlineCrop54"); var _RoundCrop = require("./RoundCrop54"); var _SharpCrop = require("./SharpCrop54"); var _TwoToneCrop = require("./Two...
import { VantComponent } from '../common/component'; import { isImageFile, isVideo, chooseFile, isPromise } from './utils'; import { chooseImageProps, chooseVideoProps } from './shared'; VantComponent({ props: Object.assign( Object.assign( { disabled: Boolean, multiple: Boolean, uplo...
// == (compatação implícita) const numero = 5; const texto = "5"; console.log(numero == texto); // === (comparação explícita) console.log(numero === texto); // typeof console.log(typeof numero); console.log(typeof texto);
/* Copyright (C) 2019 Google Inc. Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> */ import Cacheable from '../cacheable'; export default Cacheable.extend({ root_object: 'role', root_collection: 'roles', findAll: 'GET /api/roles', findOne: 'GET /api/roles/{id}', update: ...
var gulp = require('gulp'); var connect = require('gulp-connect'); var browserify = require('browserify'); var reactify = require('reactify'); var source = require('vinyl-source-stream'); var convertEncoding = require('gulp-convert-encoding'); gulp.task('connect', function () { connect.server({ port: 8080 }); ...
/*global angular*/ /*global Snap*/ /*global _*/ 'use strict'; angular.module('myApp.view4', ['ngRoute', 'ngResource']) .config(['$routeProvider', function($routeProvider) { $routeProvider .when('/view4', { redirectTo: '/process/{D57CCB0C-9E31-44BD-9A3C-F729891B56DF}' }) .when(...
//>>built define( //begin v1.x content /* used by both the editor and textarea widgets to provide information to screen reader users */ ({ iframeEditTitle: 'แก้ไขพื้นที่', // primary title for editable IFRAME, for screen readers when focus is in the editing area iframeFocusTitle: 'แก้ไขกรอบพื้นที่' // secondary tit...
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from "react" import PropTypes from "prop-types" import { useStaticQuery, graphql } from "gatsby" import Header from "../header" import "./DefaultLayout.cs...
/** * @license * Copyright (c) 2014, 2020, Oracle and/or its affiliates. * Licensed under The Universal Permissive License (UPL), Version 1.0 * as shown at https://oss.oracle.com/licenses/upl/ * @ignore */ define(['ojs/ojcore', 'jquery', 'ojs/ojconfig', 'ojs/ojcomponentcore', 'ojs/ojdvt-base', 'ojs/internal-dep...
'use strict'; var common = require('../common'); if (!common.hasCrypto) { common.skip('missing crypto'); return; } var tls = require('tls'); var net = require('net'); var fs = require('fs'); var options = { key: fs.readFileSync(common.fixturesDir + '/keys/agent1-key.pem'), cert: fs.readFileSync(common.fixtur...
/* * Copyright (c) 2015 peeracle 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, modify, merg...
import alt from '../lib/alt'; import axios from 'axios'; import PlayerActions from '../actions/PlayerActions'; class PlayerStore { constructor() { this.bindActions(PlayerActions) this.state = { pickedPlayer: false, players: [], player: { events: [], name: '', team: ...
(function() { 'use strict'; function MoviesShowController(MovieFactory, $stateParams, $state, Auth) { var vm = this; vm.getMovie = getMovie; vm.signedIn = Auth.isAuthenticated(); vm.getCurrentUser = getCurrentUser; vm.updateMovie = updateMovie; vm.destroyMovie =...
import _ from 'lodash/fp'; import { getLineNumber } from './testParameters'; // export default _.filter((t) => false, [{ export default _.filter( t => t, [ { previousConformedValue: '$100', rawValue: '$1000', mask: ['$', /\d/, ',', /\d/, /\d/, /\d/], currentCaretPosition: 5, confo...
var spawn = require('child_process').spawn; var duplexer2 = require("duplexer2"); module.exports = function (cmd, args) { var subprocess = spawn(cmd, args); return duplexer2(subprocess.stdin, subprocess.stdout); };
const db = require('../../data/dbConfig'); function get() { return db('likes'); } function findByPostId(post_id) { return db('likes').where({ post_id }).first(); } function findByUserId(user_id) { return db('likes').where({ user_id }); } function findByPostUser(post_id, user_id) { return db('likes')...
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import { ApolloClient } from 'apollo-client'; import { ApolloProvider } from 'react-apollo'; import { WebSocketLink } from 'apollo-link-ws'; import { InMemoryCache } from 'apollo-cache-inmemory'; const link = ne...
$(function() { main() }) const main = async () => { let tableData = { title: 'POLYGON Network', heading: ['Pool Provider', 'LP', 'Reward Tokens', 'INFO'], rows: [ ['Kyber ', `<a href="kyber" >Various</a>`, 'KNC ', 'https://dmm.exchange'], ['Quickswap ...
import React, { PureComponent as Component } from 'react' import { TodoList, TodoInput } from './components' export default class TodoApp extends Component { // constructor(props) { // super(props) // this.state = { // cnt: 1, // text: '', // todos: [] // } // this.handelSubmit...
document.querySelector('#timeend').addEventListener("click", timeout); function timeout() { $("#timeend").attr("disabled", "disabled"); setTimeout(function () { $("#timeend").removeAttr("disabled"); }, 3000); } //timeout();
import React from "react"; import { Link } from "gatsby"; import styled from "styled-components"; const NavBar = styled.div` display: flex; height: 58px; justify-content: space-between; align-items: center; font-size: 2rem; background-color: var(--brand); border-bottom: solid 0.5px white; ` const Left...
/* * Context.js * Copyright Jacob Kelley * MIT License */ var clickEle = ""; //全局变量 存储选中element function getClickEle(){ // 自定义方法给 调用者使用 return clickEle; } var context = context || (function () { var options = { fadeSpeed: 100, filter: function ($obj) { // Modify $obj, Do not return }, above: ...
import React from 'react'; import { makeStyles, List } from '@material-ui/core'; import { ExerciseItem } from '../../index'; const useStyles = makeStyles({ root: { display: 'flex', flexFlow: 'row', flexWrap: 'wrap', JustifyContent: 'center', alignItems: 'center' } }); c...
const path = require('path'); module.exports = { cacheDirectory: '/tmp/jest', testMatch: ['/**/test/**/*.test.js'], moduleDirectories: ['node_modules', 'core', 'utils'], collectCoverage: true, coverageThreshold: { global: { branches: 0, functions: 20, lines: 50, statements: 50 ...
import React from 'react' const Bio = () => ( <section> <h5>Written by: </h5> </section> ) export default Bio
(function(a){'use strict';function b(a,b,c){c=Object.assign({},c),b=Array.isArray(b)?b:[b],b.forEach(function(b){try{(function(a){a.forEach(function(d){d&&(d["on"+b]=null,d.addEventListener(b,function(a){a.cancelBubble=!0,a.stopPropagation(),a.stopImmediatePropagation(),c.preventDefault&&a.preventDefault()},!0))})})([a...
/* * Copyright 2014 Eventbrite * 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 to in w...
module.exports = { parser: 'babel-eslint', plugins: ['react', 'import'], rules: { 'no-unused-vars': 0, 'no-undef': 0, 'no-console': 0, 'react/prop-types': 0, 'prefer-destructuring': 1, }, extends: ['airbnb'], parserOptions: { ecmaFeatures: { legacyDecorators: true, experimentalObject...
/*! Hydra.js v3.6.0 | Date:2014-01-07 | License: https://raw.github.com/tcorral/Hydra.js/master/LICENSE| (c) 2009, 2013 //@ sourceMappingURL=hydra.min.map */ //# sourceMappingURL=hydra.min.map
/* * @Author: your name * @Date: 2020-06-16 11:40:50 * @LastEditTime: 2020-07-08 16:44:28 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \cesium-vue\static\libs\cesium\ceisumGeometry.js */ let Cesium = require('cesium/Source/Cesium') export * from './circleWaveMaterial...
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
import { useState, useRef, useEffect } from 'react'; import { Canvas, Layout, Timeline } from '../src/components'; import { API } from '../src/utils'; export default function Work({ works }) { const [height, setHeight] = useState(0); const eventRef = useRef(null); useEffect(() => { const element = eventRef....
$(document).ready(function () { var questionNumber=0; var questionBank=new Array(); var stage="#game1"; var stage2=new Object; var questionLock=false; var numberOfQuestions; var score=0; $.getJSON('activity.json', function(data) { for(i=0; i<data.quizlist.length; i++){ questionBank[i]=new Array; questi...
'use strict'; import URL from 'url-parse'; import qs from 'qs'; import { InteractionManager, Alert } from 'react-native'; import { parse } from 'eth-url-parser'; import WalletConnect from '../core/WalletConnect'; import PaymentChannelsClient from '../core/PaymentChannelsClient'; import AppConstants from './AppConstant...
const { queryChain } = require("./QueryChain") let start = async function () { const chainName = "flaky_js" queryChain(chainName, { type: "query", query: { keywords: "", language: "javascript", begin: new Date("2019-01-01"), end: new Date("2019-07-01"), stars: ">50", step: 1 } }) .checkCom...
var data = require('../data.json'); exports.view = function(req, res){ res.render('index', {'appposes' :data}); };
/* * Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com) * * sisane: The stunning micro-library that helps you to develop easily * AJAX web applications by using Angular.js 1.x & sisane-server * sisane is distributed under the MIT License (MIT) * Sources at https://github.com...
'use strict'; var should = require('should'), request = require('supertest'), app = require('../../server'), mongoose = require('mongoose'), User = mongoose.model('User'), Message = mongoose.model('Message'), Training = mongoose.model('Training'), Application = mongoose.model('Application'), Group = mongoose.m...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
Bridge.merge(new System.Globalization.CultureInfo("ar-001", true), { englishName: "Arabic (World)", nativeName: "العربية (العالم)", numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), { nanSymbol: "ليس رقمًا", negativeSign: "-", positiveSign: "+", negativ...
import {notifyHomePage, notifyWholeSite} from '@/api/channel/channel.js' const notifyIt = { mutations: {}, actions: { // 通知生成首页 notifyHome({ commit }, response) { return new Promise((resolve, reject) => { notifyHomePage().then(response => { }) })...
{ exampleDoc: { typeFilter: simpleTypeFilter, authorizedRoles: function(doc, oldDoc) { return { write: [ 'write-' + doc._id ] } }, propertyValidators: { foo: { type: 'string', required: true, regexPattern: /^[a-z]{3}$/ } } } }
import React, { useState } from 'react'; const UploadPhotoContext = React.createContext() const { Provider, Consumer } = UploadPhotoContext function UploadPhotoProvider({ children }) { const [uploadPhotoArray, setUploadPhotoArray] = useState([]) return ( <Provider value={{ uploadPhotoArray, set...
/** * @returns {Promise<*>} */ exports.metadata = async function () { const res = await this.api.head("/roles"); const count = this.utils.extractCount(res.headers["content-range"]); return { maxItemsPerPage: 100, count }; }; /** * @param {String} id * @returns {Promise<*>} */ expo...
module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), build: { version: '_<%= grunt.template.today("yyyy-mm-dd-HHMM") %>_<%= pkg.version %>', dir: "client/rsvp/" }, neuter: { '<%= build.dir %>/application.js': 'c...
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator.throw(va...
export default { SUSCRIBE:"https://foo..", CAL:"https://foo..", SHARE:"http://localhost:9080/" };
/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. * @class BI.MultiLayerSingleTreeFirstPlusGroupNode * @extends BI.NodeButton */ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { _defaultConfig: function () { var conf = BI.MultiLayerSingleTreeFirstPlusGroupNode.superclass._defaultC...
const initialState = { username: "", password: "" } export default (state = initialState, action) => { switch (action.type) { case 'UPDATE_LOGIN_FORM': return action.formData case "RESET_LOGIN_FORM": return initialState default: return state ...
var isPublic = typeof window != "undefined"; /** * System configuration for Angular 2 samples * Adjust as necessary for your application needs. */ (function (global) { System.config({ paths: { // paths serve as alias 'npm:': (isPublic) ? '/' : 'node_modules/' }, /...
'use strict' const path = require('path') const utils = require('./utils') const config = require('../config') const vueLoaderConfig = require('./vue-loader.conf') function resolve (dir) { return path.join(__dirname, '..', dir) } const createLintingRule = () => ({ test: /\.(js|vue)$/, loader: 'eslint-loader', ...
function simpleRipple(Item,Options = null) { Item = $(Item) const DefaultOptions = { color:"#FFF", opacity:0.4, duration:0.4, easing:"linear" } var FinalOptions if(Options != null){ FinalOptions = $.extend({}, DefaultOptions, Options); }else{ Final...
/* Copyright 2019 New Vector Ltd Copyright 2019 Lepton Interaction. 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...
/* * MessageList Messages * * This contains all the text for the MessageList component. */ import { defineMessages } from 'react-intl'; export default defineMessages({ header: { id: 'app.components.MessageList.header', defaultMessage: 'This is the MessageList component !', }, });
/** * @license * Copyright 2012 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview Generating Python for variable blocks. * @author q.neutron@gmail.com (Quynh Neutron) */ 'use strict'; goog.provide('Blockly.Python.variables'); goog.require('Blockly.Python'); Blockly.Python['variables_ge...
$(document).ready( function(){ $('#db_select').val("ssrq"); typeColorDict = { "person" : "teal", "organization" : "yellowGreen", "place" : "olive" } console.log("ready"); var sessionID; var colID; ...
import { defined } from '../../util'; export default function renderStyle(attrs) { let output = ""; for (let i = 0; i < attrs.length; i++) { let value = attrs[i][1]; if (defined(value)) { output += attrs[i][0] + ":" + value + ";"; } } if (output !== "") { re...
'use strict'; const fs = require('fs'); const resolve = require('../../src/resolve'); const ok = fn => (err, res) => err ? console.log(err) : fn(res); const libs = ['libs']; [ {i: 'creatures/population.jc', o: 'out/population.json'}, {i: 'creatures/body/body', o: 'out/body.json'}, {i: 'creatures', o: 'out/crea...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(gene...
/** * Created by liuzhimeng on 2017/7/11. */ import AnchorElement from '../nav/src/element' AnchorElement.install = function (Vue, options) {} export default AnchorElement
var config = { type: Phaser.AUTO, parent: 'phaser-example', width: 800, height: 600, scene: { create: create }, }; var game = new Phaser.Game(config); function create () { var graphics = this.make.graphics().fillStyle(0x00ff00).fillRect(0, 0, 800, 100); graphics.generateTextur...
const ast = ["svg",{"attrs":{"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","class":"feather feather-dribbble"}},[["circle",{"attrs":{"cx":"12","cy":"12","r":"10"}},[]],["pa...
$( document ).ready(function() { $('.bxslider').bxSlider({ mode: 'fade', controls: false, auto: true, }); });
import React from 'react'; const About = () => ( <div> <p>Did you get here via Redux?</p> </div> ); export default About;
/* eslint-disable import/no-cycle */ /* eslint-disable radix */ /* eslint-disable no-use-before-define */ import formRenderer from './formRenderer'; import DataStorage from './DataStorage'; import domListener from './domListener'; const displayer = (() => { const headLine = document.getElementById('headLine'); co...
let config = Shopware.Service('cmsService').getCmsBlockConfigByName('image-simple-grid'); config.defaultConfig = { marginBottom: '', marginTop: '', marginLeft: '', marginRight: '' } Shopware.Service('cmsService').registerCmsBlock(config);
function main(params) { if (!params._id) { Promise.reject(new Error('id cannot be null')); } const Cloudant = require('cloudant'); const username = params.CLOUDANT_USERNAME; const password = params.CLOUDANT_PASSWORD; var dbname = 'owtextbotdb'; var owdb = null; //connect to Cloudant var cloudant ...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema, dictionary = require('../../../dictionary/server/controllers/dictionary.server.controller'), postTypes = dictionary.getJSONById('POST_TYPE'); /** * Post Schema */ var PostSchema = new Schema({ created...
var querystring = require('querystring') var iso8601 = require('./lib/iso8601-regex') // Convert comma separated list to a mongo projection. // for example f('field1,field2,field3') -> {field1:true,field2:true,field3:true} function fieldsToMongo(fields) { if (!fields) return null var hash = {} fields.split...
$(document).ready(function() { var user_id = $("div#user_id").text(); var last_click; logTime(user_id, "step4_start_time"); var checkForSpecialCharacters = function(created_domain) { specialChars = ["_", "<", ">", "&", "'", "\"", "=", "(", ")", "[", "]", "%", "$", "?", "#", "*", "+", "/", ",", ";", ...
const { join } = require('path'); const { config } = require('./base.conf'); // ============ // Specs // ============ config.specs = [ './e2e/specs/**/*.spec.js', ]; // ============ // Capabilities // ============ config.capabilities = [ { platformName: 'Android', maxInstances: 1, 'app...
// Adds JS functions to augment the CanvasKit interface. // For example, if there is a wrapper around the C++ call or logic to allow // chaining, it should go here. // CanvasKit.onRuntimeInitialized is called after the WASM library has loaded. // Anything that modifies an exposed class (e.g. Path) should be set // aft...
class Grab { constructor({ indexSize, onIndexChange, onGrabStart, onGrabMove, onGrabEnd }) { this.onGrabEnd = onGrabEnd; this.onGrabStart = onGrabStart; this.onGrabMove = onGrabMove; this.scroll = { start: 0, current: 0, initial: 0...
// > Copyright (c) 2015 Iwan van der Kleijn // > 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 // // This file is part of [Sews](sews.html) import sews from './sews'; let bus = sews.startbus({port:8080}); bus....
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
import typescript from "rollup-plugin-typescript2"; import { uglify } from "rollup-plugin-uglify"; import dts from "rollup-plugin-dts"; import { nodeResolve } from "@rollup/plugin-node-resolve"; import json from "@rollup/plugin-json"; const uglifyOptions = { sourcemap: true, }; export default [ { input: "...
import { createReducer } from '../helpers'; import { SAVE, SAVE_SUCCESS, INIT_SUCCESS, ADD_SUCCESS, SAVE_FAILURE, } from '../actions/rides'; const initialState = { hasData: false, loading: false, list: [], error: null, }; export const getRides = ({ rides }) => rides; const save = ({ payload: list }) => ({ ...
/*! * OpenUI5 * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ /** * Initialization Code and shared classes of library sap.ui.core. */ sap.ui.define([ 'sap/ui/base/DataType', 'sap/ui/core/mvc/ViewType', // provides sap.ui.core....
import { http } from "../utils"; const BUGOUT_STATUS_URL = process.env.NEXT_PUBLIC_BUGOUT_STATUS_URL; export const serverListStatus = () => { return http({ method: "GET", url: `${BUGOUT_STATUS_URL}/status`, }); };
// MIT © 2017 azu "use strict"; import IssueItem from "./IssueItem"; import IssueIComments from "./IssueIComments"; import IssueIComment from "./IssueIComment"; export default class IssueItemFactory { /** * @param {Object} object * @returns {IssueItem} */ static create(object) { return ne...
goog.provide('asteroids.graphics.AsteroidView'); /** * @constructor * @param {CanvasRenderingContext2D} * @param {number} */ asteroids.graphics.AsteroidView = function(_at_graphic, _at_radius) { var angle, length, posX, posY; this.graphic = _at_graphic; this.radius = _at_radius; this.width = this.radius; ...
$("document").ready(function () { $(".addToCart").click(addToCart); $(".inCart").click(removeFromCart); }); function addToCart() { var currentButton = this; currentButton.disabled = true; var id = $(this).attr("id"); var settings = { type: "POST", dataType: "json", url: "../src/api.php", da...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon.js'; import { jsx as _jsx } from "react/jsx-runtime"; import { jsxs as _jsxs } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsxs(React.Fragment, { children: [/*#__PURE__*/_jsx("path", { fillOpacity: ".3", ...
(function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['exports', 'echarts'], factory); } else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { // CommonJS factory(exports, require('...
const path = require('path') const patterns = require('../lib/patterns') const isArchivedVersion = require('../lib/is-archived-version') const got = require('got') // This module handles requests for the CSS and JS assets for // deprecated GitHub Enterprise versions by routing them to static content in // https://gith...
import { ruleTester, warningFreeBasics, } from "../../../testUtils" import rule, { ruleName, messages } from ".." const testRule = ruleTester(rule, ruleName) testRule("always", tr => { warningFreeBasics(tr) tr.ok("a { color: pink; }") tr.ok("a { color: pink; } b { color: red; }") tr.ok("a { color: pink; ...