text
stringlengths
2
1.04M
var os = require('os'), which = require('which'), lsbRelease = require('lsb-release'), swVers = require('sw-vers'); module.exports = function (cb) { // // As silly as it seems, it makes mocking possible. // This API should not be considered stable. // if (typeof module.exports.result === 'object'...
/* Copyright 2014, KISSY v5.0.0 MIT Licensed build time: Jul 18 13:58 */ KISSY.add("editor/plugin/heading",["./menubutton","editor","./heading/cmd"],function(i,a,j,g){function e(){}a("./menubutton");var f=a("editor"),h=a("./heading/cmd");e.prototype={pluginRenderUI:function(c){h.init(c);var a=[],b={"\u666e\u901a\u6587\...
import { createReducer } from "reduxsauce"; const {SET_VIDEOS, SET_VIDEO} = require('../actions/videoActions').Types; const initialState = { items: [], item: null, isLoading: false }; export default createReducer(initialState, { [SET_VIDEOS]: (state, action) => Object.assign({}, state, {items: action.videos}...
/* global QUnit */ QUnit.config.autostart = false; sap.ui.getCore().attachInit(function() { "use strict"; sap.ui.require([ "ns/northwind/test/integration/AllJourneys" ], function() { QUnit.start(); }); });
export const setProgress = (bool) => ({ type: 'progress/PROGRESS', bool })
const _ = require('lodash'); const GROUPS = ['$and', '$or']; /** * Combines two filters with $and conjunction */ const combineFilters = (primary, secondary) => { if (_.isEmpty(primary)) { return secondary; } if (_.isEmpty(secondary)) { return primary; } return { $and: [...
/* JavaScript For Responsive Bootstrap Carousel Author: SZThemes Item Name: Responsive Bootstrap Carousel Author URI: http://codecanyon.net/user/sz_themes Description: Different Types of Bootstrap Carousel */ $(function ($) { /*-----------------------------------------------------------------*/ /* ANIM...
/** * Generated header by C0ZEN for generator-cozen-angular project * Generated file app on WebStorm * * Created by: Geoffrey "C0ZEN" Testelin * Date: 19/11/2017 * Time: 10:57 * Version: 1.0.0 */ (function () { 'use strict'; const utils = require('../../common/utils.js'); module.exports = $that => { util...
import * as ajax from "../../common/ajax"; export const get = () => ajax.pureGet("/student/timetable");
/** * @license Apache-2.0 * * Copyright (c) 2018 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...
/** * ---------------------------------------------------------------------------------------------------- * List Pre-Receive Hooks for an Organization [Input] * * @author Buildable Technologies Inc. * @access open * @license MIT * @docs https://docs.github.com/enterprise-server@3.3/rest/reference/e...
define(['jquery', 'bootstrap', 'backend', 'addtabs', 'adminlte', 'form'], function ($, undefined, Backend, undefined, AdminLTE, Form) { var Controller = { index: function () { //双击重新加载页面 $(document).on("dblclick", ".sidebar-menu li > a", function (e) { $("#con_" + $(t...
/** * The base implementation of methods like `_.find` and `_.findKey`, without * support for iteratee shorthands, which iterates over `collection` using * the provided `eachFunc`. * * @private * @param {Array|Object} collection The collection to search. * @param {Function} predicate The function invoked per ite...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
"use strict"; /** * Input.ts * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT license. * * Native implementation of Input interface. */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setProt...
YAHOO.namespace('lacuna.buildings'); if ( typeof YAHOO.lacuna.buildings.WaterStorage == 'undefined' || !YAHOO.lacuna.buildings.WaterStorage ) { (function() { var Lang = YAHOO.lang, Util = YAHOO.util, Dom = Util.Dom, Event = Util.Event, Lacuna = YAHOO....
import React from 'react'; import { Router, Switch, Route } from 'react-router'; import history from './history'; import HomePage from './containers/HomePage'; const AppRoutes = () => ( <Router history={history}> <Switch> <Route path="*" component={HomePage} /> </Switch> </Router> ); export default ...
import React from "react"; import PropTypes from "prop-types"; import { connect } from "react-redux"; import { bindActionCreators } from "redux"; import * as actions from "../actions/nodes"; import Node from "../components/Node"; import { Typography, Box } from "@material-ui/core"; export class Nodes extends React.Com...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); let noop = function(axios) { return axios; } if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') { noop = require('./dist/index').wrapper } exports.wrapper = noop;
/* ----------------------------------------------------------------------------- File: JS Core Version: 1.0 Last change: 00/00/00 Author: Suelo -------------------------------------------------------------------------------- */ (function() { "use strict"; var Puppin = { init: funct...
import React from "react" import { navigate } from "gatsby" import { isLoggedIn } from "../services/auth" const PrivateRoute = ({ component: Component, location, ...rest }) => { if (!isLoggedIn() && location.pathname !== `/app/login`) { navigate("/app/login") return null } return <Component {...rest} /> ...
var redirectors = {} // HANDLE CASE AND UNDERSCORES // get current url var currenturl = window.location.href; // make it lowercase and replace all "_" with "-" var redirecturl = currenturl.toLowerCase().replace(/_/g, "-"); // if the output url is different to the current url, redirect to the new url if (currenturl !...
/*! For license information please see 4.93185600.iframe.bundle.js.LICENSE.txt */ //# sourceMappingURL=4.93185600.iframe.bundle.js.map
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import Popover from '../P...
const withCheerio = require("./withCheerio"); const withSerpApi = require("./withSerpApi"); // withCheerio.getScholarOrganicResults().then(console.log); withSerpApi.getResults().then(console.log);
import TcpService from '../../_services/TcpService' export function getAllRouters ({ commit }, params) { commit('getAllRoutersRequest') return TcpService.getAllRouters(params) .then(body => { commit('getAllRoutersSuccess', { body, ...params }) return body }) .catch(error => { commit('...
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{17:function(e,n,t){e.exports=t(30)},22:function(e,n,t){},24:function(e,n,t){},30:function(e,n,t){"use strict";t.r(n);var r=t(0),o=t.n(r),c=t(15),a=t.n(c),u=(t(22),t(3)),i=t(4),s=t(8),l=t(5),p=t(9),E=(t(24),t(7)),b=function(e){function n(){return Object(u.a)(this,...
/******/ (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...
/* @flow */ export type SetupCardOptions = {| cspNonce : string, facilitatorAccessToken : string |}; export type Card = {| number : string, cvv? : string, expiry? : string |}; export type FieldStyle = {| height? : string, width? : string, color? : string, border? : string, bor...
/*global define*/ define([ './defined' ], function( defined) { 'use strict'; var context2DsByWidthAndHeight = {}; /** * Extract a pixel array from a loaded image. Draws the image * into a canvas so it can read the pixels back. * * @exports getImagePixels * ...
YUI.add('aui-surface-tests', function(Y) { var noHTML5 = !(Y.config.win && Y.config.win.history.pushState && Y.config.win.history.replaceState && ('onpopstate' in Y.config.win || Y.UA.gecko >= 2)); var suite = new Y.Test.Suite('aui-surface'); suite.add(new Y.Test.Case({ na...
/** * Copyright (c) 2014-present, Facebook, Inc. 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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ 'use stric...
export { addIngredient, removeIngredient, initIngredients, setIngredients, setIngredientsFailed, } from './burger' export { purchaseBurger, purchaseBurgerStart, purchaseBurgerSuccess, purchaseBurgerFail, purchaseInit, loadOrders, loadOrdersStart, loadOrdersSucc...
angular.module('angularValidator', []); angular.module('angularValidator').directive('angularValidator', ['$injector', '$parse', '$compile', function($injector, $parse, $compile) { return { restrict: 'A', link: function(scope, element, attrs, fn) { var getRandomInt =...
// Copyright (c) 2015 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, merge...
import React from 'react'; import PropTypes from 'prop-types'; import PetCard from './PetCard'; import 'bootstrap/dist/css/bootstrap.min.css'; const PetList = (props) => { const petList = props.pets.map((pet, i) => { return <div key={i}><PetCard {...pet} index={i} onSelectPet={props.onSelectPet} onRemovePet={p...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.ui.commons.Panel. sap.ui.define(['jquery.sap.global', './library', 'sap/ui/core/Control'], function(jQuery, ...
mycallback( {"ELECTION CODE": "", "EXPENDITURE PURPOSE DESCRIP": "Cr.Card Processing Fee", "BENEFICIARY CANDIDATE OFFICE": "", "PAYEE ZIP": "90071", "MEMO CODE": "", "PAYEE STATE": "CA", "PAYEE LAST NAME": "", "PAYEE CITY": "Los Angeles", "PAYEE SUFFIX": "", "CONDUIT STREET 2": "", "CONDUIT STREET 1": "", "PAYEE FIRST ...
'use strict'; /** * @ngdoc function * @name mohiApp.controller:RegisterCtrl * @description * # RegisterCtrl * Controller of the mohiApp */ angular.module('mohiApp') .controller('RegisterCtrl', ['$scope', function ($scope) { $scope.awesomeThings = [ 'HTML5 Boilerplate', 'AngularJS', 'Karma...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(React.createElement( 'g', null, React.createElement('path', { d: 'M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z' }) ), 'Sort');
import React, {Component} from 'react'; import {ColorPicker} from '../../components/colorpicker/ColorPicker'; import {TabView,TabPanel} from '../../components/tabview/TabView'; import {CodeHighlight} from '../codehighlight/CodeHighlight'; export class ColorPickerDemo extends Component { constructor() { ...
export { default as create } from './create'; // eslint-disable-line export { default as list } from './list'; // eslint-disable-line export { default as get } from './get'; // eslint-disable-line export { default as update } from './update'; // eslint-disable-line export { default as delete } from './delete'; // eslin...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var StyledIconBase_1 = require("../../StyledIconBase"); exports.Joystick = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentC...
const path = require('path'); const { shell, remote } = require('electron'); const execSync = require('child_process').execSync; let window; if (remote) { window = remote.getGlobal('win'); } const isElectronRenderer = () => { // running in a web browser if (typeof process === 'undefined') return true; // nod...
// TODO: remove ? // Configuration for the Inexor Flex webserver exports.command = 'flex'; exports.describe = 'Configures the webserver of Inexor Flex'; exports.builder = { port: { default: 31416, type: 'number', describe: 'The server port to use.' }, host: { default: 'localhost', type: 'str...
/** * DevExtreme (ui/calendar/ui.calendar.navigator.js) * Version: 16.2.1-16294 * Build date: Thu Oct 20 2016 * * Copyright (c) 2012 - 2016 Developer Express Inc. ALL RIGHTS RESERVED * EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml */ "use strict"; var $ = require("jquery"), Widget = require("...
var _24 = { elem: 'svg', attrs: { xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 32 32', width: 24, height: 24, }, content: [ { elem: 'path', attrs: { d: 'M26 2H8a2 2 0 0 0-2 2v4H4v2h2v5H4v2h2v5H4v2h2v4a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm0 26H8v...
module.exports = { metricsNames: { pipelines_gross: 'api_server_pipelines_gross', } };
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.9/esri/copyright.txt for details. //>>built define({"esri/widgets/Search/nls/Search":{widgetLabel:"Cerca",searchButtonTitle:"Cerca",clearButtonTitle:"Reinicia la cerca",placeholder:"Cerca una direcci\u00f3 o ...
export * from './init.js'; export * from '../modules/index.js';
'use strict'; (function ($) { // Fix JS String.trim() function is unavailable in IE<9 #45 if (typeof(String.prototype.trim) === "undefined") { String.prototype.trim = function() { return String(this).replace(/^\s+|\s+$/g, ''); }; } $.fn.endlessPaginate = function(option...
import { abs, lerp as nLerp, sqr } from '../math'; export const set = (vec, target) => { vec[0] = target[0]; vec[1] = target[1]; vec[2] = target[2]; return vec; }; export const addSet = (vecA, vecB) => set(vecA, [ vecA[0] + vecB[0], vecA[1] + vecB[1], vecA[2] + vecB[2], ]); export const add ...
/** * @author alex */ var model = { "walls" : {"left":0, "top":0, "right": 500, "bottom": 300}, "elastity" : -0.2, "ballRadius" : 26, "maxSpeed" : 3.0 }; // helper var extend = function(subClass, baseClass) { // Create a new class that has an empty constructor // with the members of the baseClass function in...
const dotenv = require("dotenv") if (process.env.NODE_ENV !== "production") { dotenv.config() } module.exports = { siteMetadata: { title: `Shafie's Blog`, description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files...
// Platform: ios // 2fd4bcb84048415922d13d80d35b8d1668e8e150 /* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the A...
/** * Makes a content listing sortable. * * Requirements: * * 1. jquery 1.11.3 * 2. twentyc.core.js */ (function($) { tc.u.require_namespace("twentyc.listutil"); twentyc.listutil.sortable = { init : function(opt) { if(this.initialized) return; $('[data-sort-container]').sortable(opt); ...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("widget","de-ch",{move:"Zum Verschieben anwählen und ziehen",label:"%1 widget"});
(function() { var redismock = typeof require === 'function' ? require('../../redis-mock.js') : window.redismock; if (typeof chai === 'undefined') { var chai = typeof require === 'function' ? require('chai') : window.chai; } chai.config.includeStack = true; var expect = chai.expect; func...
/** * @param {string} s * @param {string[]} words * @return {number[]} */ const findSubstring = (s, words) => { if (words.length === 0) // to problem setter: FUCK YOU return [] const wordLen = words[0].length words.sort() // freq count const wordFreqs = [] let curWF = {word: words[0], count: 1} ...
module.exports = { // Configure your compilers compilers: { solc: { // version: "0.5.1", // Fetch exact version from solc-bin (default: truffle's version) // docker: true, // Use "0.5.1" you've installed locally with docker (default: false) settings: { // See the solidity do...
/*! * bootstrap-tokenfield 0.11.8 * https://github.com/sliptree/bootstrap-tokenfield * Copyright 2013-2014 Sliptree and other contributors; Licensed MIT */
const path = require('path'); const favicon = require('serve-favicon'); const compress = require('compression'); const helmet = require('helmet'); const cors = require('cors'); const logger = require('./logger'); const feathers = require('@feathersjs/feathers'); const configuration = require('@feathersjs/configuration...
define(["../../../@polymer/iron-icon/iron-icon.js", "../../../@polymer/iron-iconset-svg/iron-iconset-svg.js", "../../../@polymer/polymer/lib/utils/html-tag.js"], function (_ironIcon, _ironIconsetSvg, _htmlTag) { "use strict"; function _templateObject_3fd6d5f099b011eb851ed31c596cbbd8() { _templateObject_3fd6d5...
var Blend = { BMAlphaBlend: 3, BMLightBlend: 4 // check loading values are one of these }; var g_defaultEntity = { _x: 0, _y: 0, _name: "", _oldX: 0, _oldY: 0, _wx: 0, _wy: 0, _oldWX: 0, _oldWY: 0, _z: 1.0, _oldZ: 1.0, _relative: true, _r: 0, _g: 0, _b: 0, _red: 255, _green:...
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import configureStore from '../common/store/configureStore'; import App from '../common/containers/App'; const initialState = window.__INITIAL_STATE__; const store = configureStore(initialState); const rootElement = ...
/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /* globals ClassicEditor, console, window, document */ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-serv...
import { findIndexArr } from './utils' import { eventInstances } from './eventInstances' function bind(el, binding) { function documentHandler (e) { if (el.contains(e.target)) { return false; } if (binding.expression) { binding.value(e); } } const eve...
/* eslint-disable max-len, no-trailing-spaces, no-undef, eslint-comments/disable-enable-pair, no-unused-vars, strict, prefer-arrow/prefer-arrow-functions, prefer-rest-params, no-var, eqeqeq, prefer-spread, no-prototype-builtins, no-use-before-define, prefer-const, camelcase, promise/no-callback-in-promise */ (function ...
'use strict' var chai = require('chai') var should = chai.should() var expect = chai.expect var helper = require('../lib/agent_helper') var API = require('../../api') var AttributeFilter = require('../../lib/config/attribute-filter') var Metrics = require('../../lib/metrics') var Trace = require('../../lib/transaction...
const languages = require('../../_data/languages') //simply num/denom * 100 const percentage = function (obj) { if (!obj.numerator && !obj.denominator) { return null } let perc = Number(obj.numerator) / Number(obj.denominator) perc *= 100 let dec = Number(obj.decimals) if (isNaN(dec)) { dec = 1 }...
import React, { Component, Suspense } from 'react'; import Dashboard from '../dashboard/Dashboard' import CChartPie from '../charts/Charts' import axios from "axios"; class page_1 extends React.Component { render() { return ( <div> {/* <div> <Dashboard url={'ped'} ...
import React, { useState } from "react"; import Avatar from "@material-ui/core/Avatar"; import Button from "@material-ui/core/Button"; import CssBaseline from "@material-ui/core/CssBaseline"; import TextField from "@material-ui/core/TextField"; import FormControlLabel from "@material-ui/core/FormControlLabel"; import C...
var autoprefixer = require('autoprefixer'); module.exports = { plugins: [ autoprefixer({browsers: 'last 2 versions'}) ] }
import {JetView, plugins} from "webix-jet"; export default class TopView extends JetView{ config(){ var header = { type:"header", template:this.app.config.name, css:"webix_header app_header" }; var menu = { view:"menu", id:"top:menu", css:"app_menu", width:180, layout:"y", select:true, templa...
export default function __runAllPropertiesHandler() { let t = { ...this } delete t.name delete t.type delete t.element this.attr(t) return this }
var Markdown; if (typeof exports === "object" && typeof require === "function") // we're in a CommonJS (e.g. Node.js) module Markdown = exports; else Markdown = {}; // The following text is included for historical reasons, but should // be taken with a pinch of salt; it's not all true anymore. // // Wher...
/* * 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 writing, software * distributed u...
import $ from 'jquery'; class Stats { constructor() { this.getStats(); } addAreaChart(item) { let range; const { data } = item; const { unit } = item; const refRow = data[0].values; const { id } = item; const $target = $(`.${id} .chart`).first(); const w = $target.closest(".categ...
var crypto = require('crypto'); var common = require('common'); var fs = require('fs'); var esc = function() { var map = {'=':'-','+':'*','/':'_'}; return function(str) { return str.replace(/[=+\/]/g, function(a) { return map[a]; }); }; }(); var unesc = function() { var map = {'-':'=','*':'+','_':'/'}; ...
/* * * LinkListContainer reducer * */ import { fromJS } from 'immutable'; import { REQUEST_LINK_SUCCESS, } from './constants'; import { ADD_LINK_SUCCESS, } from '../LinkFormContainer/constants'; const initialState = fromJS({ links: [], }); function addLink(state, action) { const links = state.get('links'...
/*! UIkit 3.0.0-rc.25 | http://www.getuikit.com | (c) 2014 - 2018 YOOtheme | MIT License */
$(document).ready(function() { $.ajaxSetup({ headers : { 'X-CSRF-TOKEN' : $('meta[name="csrf-token"]').attr( 'content') } }); $('#btn-guardar-taller').click(function() { var actionType = $('#btn-guardar-taller').val(); $('#btn-guardar-taller').html('Guardando...'); $.ajax({contenttype : 'applicati...
import DataTable from './datatable'; export default DataTable;
// Copyright 2004-present Facebook. All Rights Reserved. import React from 'react'; export default function Header({title}) { return ( <h1>{title}</h1> ); } // component_143
/* eslint-disable no-redeclare */ import previewComponent from './preview.vue' import PhotoSwipe from 'photoswipe/dist/photoswipe' import PhotoSwipeUI_Default from 'photoswipe/dist/photoswipe-ui-default' let $preview var vuePhotoPreview = { install(Vue, opts) { const Preview = Vue.extend(previewComponent) var...
Meteor.subscribe("groups"); Meteor.subscribe("UserAccounts"); function getuserid(){ return $(location).attr('pathname').split("/")[2]; } userid=getuserid(); _obj= Meteor.users.findOne({"_id": getuserid()}); Template.admin_userdetail.helpers({ groups: function() { var ret = []; if (tmp.findOne(...
/** * skylark-ui-coder - The skylark coder widget * @author Hudaokeji, Inc. * @version v0.9.0 * @link https://github.com/skylarkui/skylark-ui-coder/ * @license MIT */ define(["../../Coder"],function(e){function r(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.plac...
/** * Copyright (c) 2006 * Martin Czuchra, Nicolas Peters, Daniel Polak, Willi Tscheschner * * 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 limit...
import { put, takeEvery, all, call } from 'redux-saga/effects' export const delay = (ms) => new Promise(res => setTimeout(res, ms)) function* helloSaga() { console.log('Hello Sagas!') } function* IncrementAsync() { yield call(delay, 1000) yield put({type: 'INCREMENT'}) } function* watchIncrementAsync() { ...
//requiring a path to display a page const path = require('path'); //defiining the paths for the notes page and the index landing page module.exports = (app) => { app.get("/notes", (req, res) => { res.sendFile(path.join(__dirname, '../Develop/public/notes.html')); }); app.get('*', (req, res) => { ...
"nativeRequires":[], "provides":{"values":{"str-end":"tany", "a-lettable":{"bind":"fun", "flatness":0, "name":"a-lettable", "typ":"tany"}, "is-a-newtype-bind":{"bind":"fun", "flatness":0, "name":"is-a-newtype-bind", "typ":"tany"}, "strip-loc-bind":"tany", "strip-loc-val":"tany", "str-spacecolonequal":"tany", "str-let":...
//snippet-sourcedescription:[emc_canceljob.js demonstrates how to remove a transcoding job from the queue.] //snippet-keyword:[JavaScript] //snippet-keyword:[Code Sample] //snippet-keyword:[AWS Elemental MediaConvert] //snippet-service:[mediaconvert] //snippet-sourcetype:[full-example] //snippet-sourcedate:[2018-06-02]...
import axios from 'axios'; export function userSignupRequest(userData) { return dispatch => { return axios.post('/api/users', userData); } }
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'docprops', 'fr', { bgColor: 'Couleur d\'arrière-plan', bgFixed: 'Arrière-plan fixe (ne défile pas)', bgImage: 'URL de l\'image ...
import {Clamp} from "../Clamp"; import {Vec3} from "./Vec3"; export function Vec3ClampScalar(a, min, max, out = new Vec3()) { return out.set(Clamp(a.x, min, max), Clamp(a.y, min, max), Clamp(a.z, min, max)); }
let dataDirectory = "D:/dev/pointclouds/benchmark"; // let targetFile = "../../doc/benchmarks/data/endeavor_original_3090.json"; // let targetFile = "../../doc/benchmarks/data/endeavor_morton_3090.json"; // let targetFile = "../../doc/benchmarks/data/endeavor_shuffled_3090.json"; let targetFile = "../../doc/benchmarks...
"use strict"; var max = Function.apply.bind(Math.max, Math); var list = require('postcss').list; var api = { EMPTY_OBJ: Object.freeze({}), selectors: ['enter', 'appear', 'leave'], classToRegexp(classes){ return new RegExp('(\\.' + (classes.join('|\\.')) + ')'); }, /** * Default locals ...
var keystone = require('keystone'); var async = require('async'); exports = module.exports = function (req, res) { var view = new keystone.View(req, res); var locals = res.locals; // Init locals locals.section = 'bill-of-material-parts'; locals.filters = { category: req.params.category, }; locals.data = { ...
import { forEach, hasOneOf, objEqual } from '@/libs/tools' import config from '@/config' import Cookies from 'js-cookie' const { title, useI18n, cookieExpires } = config export const TOKEN_KEY = 'token' export const setToken = (token) => { if (token) { uni.setStorageSync('uniIdToken', token) } else { uni....
var defaultValue = require('pixi-gl-core').shader.defaultValue; function extractUniformsFromSrc(vertexSrc, fragmentSrc, mask) { var vertUniforms = extractUniformsFromString(vertexSrc, mask); var fragUniforms = extractUniformsFromString(fragmentSrc, mask); return Object.assign(vertUniforms, fragUniforms); ...