text stringlengths 2 1.04M |
|---|
$().ready(function () {
console.log('hello, jquery is working');
}); |
// #docplaster
// #docregion appexport
(function(app) {
// #enddocregion appexport
// #docregion metadata
// #docregion appexport
// #docregion constructorproto
function HeroComponent() {
this.title = "Hero Detail";
}
// #enddocregion constructorproto
// #enddocregion appexport
HeroComponent.a... |
import chai from 'chai';
import { v4 as uuidv4 } from 'uuid';
import { farm, session } from './client.js';
const { expect } = chai;
describe('quantity', function () {
this.timeout(10000);
it('creates a quantity with client-generated id, revises, fetches and deletes it.', () => {
const id = uuidv4();
retur... |
const colors = ["#fffac1", "#f7da53", "#d9e795", "#b8d6f7", "#ddf8a8", "#85d1cd", "#4fccec", "#ffb16d", "#eea9c9", "#f48999", "#c29dc9"];
const rootNode = [
{
key: 1,
text: "Вопросы для собеседования на разработчика Java",
color: "#b8d6f7",
link: "../"
}
];
class MindMap {
constructor(questions) {
this.... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvg... |
/* eslint-env mocha */
/* eslint prefer-arrow-callback: "off" */
/* eslint no-unused-vars: "off" */
'use strict';
const assert = require('bsert');
const fs = require('fs');
const Path = require('path');
const bio = require('bufio');
const pem = require('../lib/encoding/pem');
const dsa = require('../lib/dsa');
const ... |
import React from 'react';
import {
EuiIcon,
} from '../../../../src/components';
export default () => (
<div>
<EuiIcon
type="search"
size="l"
title="Find information"
/>
</div>
); |
// 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 ... |
/*
* Copyright 2016 Nicolas Lochet 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... |
import reducer_circle1 from './reducer_circle1';
import reducer_circle2 from './reducer_circle2';
import reducer_circle3 from './reducer_circle3';
import reducer_circle4 from './reducer_circle4';
import reducer_circle5 from './reducer_circle5';
import { combineRedu... |
!(function (e, a) {
module.exports = a(require('number-intl'))
})(this, function (e) {
return e.addLocaleData({
"locale": "nl-SR",
"number": {
"nu": [
"latn"
],
"patterns": {
"decimal": {
"pos": "{number}",
"ne": "{minus}{... |
// forks from:
// https://github.com/troygoode/node-require-directory
'use strict';
var fs = require('fs');
var join = require('path').join;
var resolve = require('path').resolve;
var dirname = require('path').dirname;
var defaultOptions = {
extensions: ['js', 'json', 'coffee'],
recurse: true,
isAttachFileName: f... |
import MapLibreMap from "./MapLibreMap/MapLibreMap";
import MlCreatePdfButton from "./MlCreatePdfButton/MlCreatePdfButton";
import MlMapDrawTools from "./MlMapDrawTools/MlMapDrawTools";
import MlOsmLayer from "./MlOsmLayer/MlOsmLayer";
export { MlMapDrawTools, MlCreatePdfButton, MapLibreMap, MlOsmLayer }; |
import React from "react";
import PropTypes from 'prop-types';
import GalleryPage from '../../../components/GalleryPage.jsx';
import img01 from '../../../images/gallery/2013/130920_handicap/10andunder1309.jpg';
import img02 from '../../../images/gallery/2013/130920_handicap/14andunder1309.jpg';
import img03 from '../.... |
import React, { useState } from 'react';
import { useRouter } from 'next/router';
import Logo from '../components/QuizLogo/index';
import Button from '../components/Button/index';
import Input from '../components/Input/index';
import Widget from '../components/Widget/index';
import Footer from '../components/Footer/in... |
// index.js - facilitates modes of operation (tabs and stuff)
// const $ = require('./jquery/jquery-3.1.1.min.js');
function selectTab(tab) {
$('#tabs').children().removeClass('selected');
tab.addClass('selected');
let contentId = '#' + tab.attr('id') + '-content';
$('#tabs').children().each(function () {
... |
require({cache:{
'url:dojox/form/resources/_CheckedMultiSelectMenuItem.html':"<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\"\n\tdojoAttachEvent=\"ondijitclick:_onClick\"\n\t><td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\"\n\t\t><div sr... |
'use strict';
const assert = require('proclaim');
const mockery = require('mockery');
const sinon = require('sinon');
describe('lib/link-parser', () => {
let Hyperons;
let log;
let LinkParser;
beforeEach(() => {
Hyperons = require('../mock/npm/hyperons');
mockery.registerMock('hyperons', Hyperons);
log = {... |
import FessJQuery from 'jquery';
export default class {
constructor(FessView, FessModel, fessVersion) {
this.FessView = FessView;
this.FessModel = FessModel;
this.minFessVersion = 11.4;
this.fessUrl = FessJQuery('script#fess-ss').attr('fess-url');
this.fessLang = FessJQuery('script#fess-ss').attr... |
'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
ROOT_API: '"https://localhost:44305/"',
API_VERSION: '"api/"',
BUILD_TARGET: '"DEVELOPMENT"',
}) |
const api = require('@asl/service/api');
const db = require('@asl/schema');
const proxy = require('./middleware/proxy');
const user = require('./middleware/user');
const profile = require('./routers/profile');
const billing = require('./routers/billing');
const asruProfiles = require('./routers/asru-profiles');
const... |
import * as swcHelpers from "@swc/helpers";
import regeneratorRuntime from "regenerator-runtime";
var _marked = regeneratorRuntime.mark(function() {
return regeneratorRuntime.wrap(function(_ctx) {
for(;;)switch(_ctx.prev = _ctx.next){
case 0:
return _ctx.delegateYield([
... |
export const range = (start = 0, end) => {
return [...Array(end).keys()].map((i) => i + start);
}; |
var moduleTemplateAbicsLog = angular.module('moduleTemplateAbicsLog', []);
moduleTemplateAbicsData.controller('controllerTemplateAbicsLog', function($scope, $http, $timeout, $modal, $location){
$("#logDropDown").removeClass("ng-hide");
$("#abicsDropDown").removeClass("ng-hide");
// $("#abicsDropDown").addClass("ng-... |
// Export Vertex.js internal encodings.
var utf16lebom = new Buffer([0xFF, 0xFE]);
module.exports = {
// Encodings
utf8: { type: "_internal", enc: "utf8" },
cesu8: { type: "_internal", enc: "utf8" },
unicode11utf8: { type: "_internal", enc: "utf8" },
ucs2: { type: "_internal", enc: "ucs2", bo... |
/*
* Extending URI.js for fragment abuse
*/
// --------------------------------------------------------------------------------
// EXAMPLE: storing a relative URL in the fragment ("FragmentURI")
// possibly helpful when working with backbone.js or sammy.js
// inspired by https://github.com/medialize/URI.js/pull/2
//... |
dom(Foo, null);
var profile = dom("div", null, dom("img", {
src: "avatar.png",
className: "profile"
}), dom("h3", null, [user.firstName, user.lastName].join(" "))); |
const InvitationServiceClass = require('../service/invitation');
const InvitationRepo = require('../repo/invitation');
const InvitationTable = new InvitationServiceClass(InvitationRepo);
const InvitationController = function () {};
InvitationController.prototype.getInvitations = async (req, res) => {
this.query = ... |
(function () {
'use strict';
angular.module('app')
.factory('photoswipe', photoswipe);
photoswipe.$inject = [];
function photoswipe() {
var service = {
element: null,
init: init
};
return service;
function init(items, index) {
... |
var node_div,
node_addCss,
node_writeCss;
(function(){
node_div = function(children, attr){
return {
tagName: 'div',
type: mask.Dom.NODE,
nodes: children,
attr: attr
};
};
node_addCss = function(node, mix, val){
if (mix == null)
return;
var style = node.attr.style;
if (typeof mix ==... |
var mapContainer = document.getElementById('map-container');
var platform = new H.service.Platform({
app_id: 'mXa5LbPjF3kscwDVP0iH', // // <-- ENTER YOUR APP ID HERE
app_code: 'E2OGzWH1fAboRRlJztPMTg', // <-- ENTER YOUR APP CODE HERE
});
var coordinates = {
lat: 39.9522,
lng: -75.1932
};
var mapOptions = {
... |
module.exports = require("npm:redux@3.0.5/lib/index.js"); |
BN.addDecl('pressa-api', 'ajax', {
apiHost: 'http://localhost.localdomain:8333/'
}).staticProp({
post: function(resource, options){
return this._request('post', resource, options)
}
}); |
const Apify = require('apify')
const {utils: {log}} = Apify
const routes = require('./homedepot/index')
// const routes = require('./pup/index')
exports.homedepot = async (requestContext, globalContext, routeName) => {
let route = routes[requestContext.request.userData.type]
await route(requestContext, globalConte... |
'use strict';
var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, ... |
"use strict";
const domSymbolTree = require("./internal-constants").domSymbolTree;
// All these operate on and return impls, not wrappers!
exports.closest = (e, localName) => {
while (e) {
if (e.localName === localName) {
return e;
}
e = domSymbolTree.parent(e);
}
return null;
};
exports.chi... |
import React, { Component } from 'react'
import { PropTypes } from 'prop-types'
import { Link } from 'react-router'
import GoogleButton from 'react-google-button'
import { connect } from 'react-redux'
import {
firebaseConnect,
isLoaded,
isEmpty,
pathToJS
} from 'react-redux-firebase'
import Paper from 'material... |
/**
* Created by PanJiaChen on 16/11/18.
*/
/**
* @param {string} path
* @returns {Boolean}
*/
export function isExternal(path) {
return /^(https?:|mailto:|tel:)/.test(path)
}
/**
* @param {string} str
* @returns {Boolean}
*/
export function validUsername(str) {
// const valid_map = ['admin', 'editor']
... |
(function() {
'use strict';
angular
.module('blackholeApp')
.filter('mycurrency', mycurrency);
function mycurrency() {
return mycurrencyFilter;
function mycurrencyFilter (input) {
if (input !== null) {
if (input.includes("-")) {
input = ... |
/*
*
* * Copyright (c) 2020, salesforce.com, inc.
* * All rights reserved.
* * SPDX-License-Identifier: BSD-3-Clause
* * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*
*/
import { LightningElement, api } from "lwc";
import { NavigationMixin } f... |
import React from 'react'
const Input = (props) => {
let type = props.type || 'text'
return (
<div>
<label htmlFor={props.name}>{props.placeholder}</label>
<input
className='form-control'
type={type}
name={props.name}
placeholder={props.placeholder}
value={p... |
export default {
name: 'Hello World',
text: 'Hello World!\n\nYou clicked here: {{x}}, {{y}}',
buttons: [
{
title: "Say 'Hello World'"
}
]
}; |
$.fn.editable.defaults.params = function (params) {
params._token = LA.token;
params._editable = 1;
params._method = 'PUT';
return params;
};
$.fn.editable.defaults.error = function (data) {
var msg = '';
if (data.responseJSON.errors) {
$.each(data.responseJSON.errors, function (k, v) {... |
import { camelizeKeys, decamelizeKeys } from 'humps';
import pick from 'lodash/object/pick';
import isEmpty from 'lodash/lang/isEmpty';
import { normalize } from 'normalizr';
import { CALL_API, getJSON } from 'redux-api-middleware';
import { API_URL, REQUIRED_API_HEADERS } from 'constants/AppConstants';
export defaul... |
const gulp = require('gulp');
const sass = require('gulp-sass');
const rename = require('gulp-rename');
const zip = require('gulp-zip');
const rollup = require('rollup');
const { terser } = require('rollup-plugin-terser');
const fs = require('fs');
const package = require('./package.json');
const moduleName = packag... |
import { A as emberArray } from '@ember/array';
import { run } from '@ember/runloop';
import { find } from 'ember-native-dom-helpers';
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('filter', 'Integration | Helper | {{reduce}}', {
integration:... |
"use strict";
/**
* @license
* Copyright 2019 Google LLC. 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... |
import { assert } from "chai";
import { Utils } from '../../src/core/utils';
const utils = new Utils;
describe("Utils Functions", function () {
it("removes an element from an array", function () {
let arr = [ 1, 2, 3, 4 ];
assert.deepEqual(utils.remove(arr, 2), [ 1, 2, 4 ]);
});
it("Checks if variable i... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fi';
var iconName = 'box';
var width = 512;
var height = 512;
var ligatures = [];
var unicode = null;
exports.definition = {
prefix: prefix,
iconName: iconName,
icon: [
width,
height,
ligatures,
unicode,
... |
const got = require('@/utils/got');
const cheerio = require('cheerio');
module.exports = async (ctx) => {
const response = await got('https://www.ui.cn/');
const $ = cheerio.load(response.data);
const postList = $('#article')
.find('.h-article-list')
.find('li')
.get();
const re... |
import Vue from 'vue'
import Router from 'vue-router'
import Meta from 'vue-meta'
import Layout from '@/Layout.vue'
import Checkout from '@/views/Checkout.vue'
import Confirmation from '@/views/Confirmation.vue'
import NProgress from 'nprogress'
import store from '@/store'
import i18n from '@/plugins/i18n'
import _... |
/**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors ma... |
import { Link } from "gatsby"
import React from "react"
import WrapperHomeAbout from "../WrapperHomeAbout"
import HomeImage from "./image"
const Hero = () => {
return (
<WrapperHomeAbout>
<div className={`w-full lg:flex lg:items-center py-8 lg:mr-8`}>
<div>
<h1
className={`tex... |
module.exports = class LogCollectBaseControl {
prepareLogs(logStackIndex, testData) {
let logsCopy = this.collectorState.consumeLogStacks(logStackIndex);
if (logsCopy === null) {
throw new Error(`[cypress-terminal-report] Domain exception: log stack null.`);
}
if (this.config.filterLog) {
... |
'use strict';
class Subscriber {
constructor(id) {
this.id = id;
this.publishers = [];
}
notify (information) {
console.log(information);
}
subscribe (publisher) {
this.publishers.push(publisher);
publisher.subscribe(this);
}
unsubscribe (publisher) {
let index;
let i = 0;
... |
'use strict';
exports.register = function(plugin, options, next) {
const Controllers = {
auth: {
login: require('../controllers/auth/jwtlogin')
}
};
plugin.route([
// JWT Auth Routes
{
method: 'POST',
path: '/login',
config: ... |
var functions_vars =
[
[ "_", "functions_vars.html", null ],
[ "a", "functions_vars_0x61.html", null ],
[ "b", "functions_vars_0x62.html", null ],
[ "c", "functions_vars_0x63.html", null ],
[ "d", "functions_vars_0x64.html", null ],
[ "e", "functions_vars_0x65.html", null ],
[ "f", "function... |
//////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////
//
// openHarmony Library v0.01
//
//
// Developped by Mathieu Chaptel, Chris Fourney...
//
//
// This librar... |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/ |
;(function (root, factory) {
if (typeof exports === "object") {
// CommonJS
module.exports = exports = factory(require("./core"));
}
else if (typeof define === "function" && define.amd) {
// AMD
define(["./core"], factory);
}
else {
// Global (browser)
factory(root.KQReactRedux);
}
}(this, function (K... |
/**
* @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... |
import { StyleSheet } from "react-native";
export const globalOptions = {
name: "retyetuytrd_dev_23670",
url: "https://retyetuytrd_dev_23670.botics.co",
api: "https://retyetuytrd_dev_23670.botics.co/api/v1"
}
export const modulesOptions = {
"@modules/app-menu": {
"copy": "Routes available!"
}
} |
(function ($) {
var _ajaxCount = 0, isLoading = false;
var cookie = $.cookie || function () { };
function _ajaxLoadingStart() {
if (_ajaxCount == 0 && !isLoading) {
$("#loading").show();
isLoading = true;
}
_ajaxCount++;
}
function _ajaxLoadingEnd() ... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... |
/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ // The require scope
/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esMod... |
'use strict'
const fs = require('fs')
const { unparse } = require('papaparse')
const usersData = require('../data/users.json')
const { sanitize } = require('../build')
async function main() {
const users = Object.values(usersData)
for (const user of users) {
delete user.following
delete user.followers
... |
#!/usr/bin/env node
// Copyright 2019 Google LLC. 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 re... |
// This sets the height of the input box to the height of the search button
$('#citySearchInput').outerHeight($('#citySearchBtn').outerHeight())
$(document).ready(function () {
// function to add a city to the search history
function addCity() {
// this if/else statement prevents duplicate cities in ... |
import React from "react";
import "antd/dist/antd.css";
import { Col, Row } from "antd";
import LoginForm from "../components/LoginForm";
function Login(props) {
return (
<Row>
<Col xs={24}>
<LoginForm>
</LoginForm>
</Col>
</Row>
);
}
export default Login; |
"use strict";
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.createTable("Bookings", {
shiftId: {
allowNull: false,
primaryKey: true,
type: Sequelize.UUID,
references: {
model: "Shifts",
key: "id"
},
onDelete:... |
odoo.define('web.data', function (require) {
"use strict";
var Class = require('web.Class');
var mixins = require('web.mixins');
var Model = require('web.Model');
var session = require('web.session');
var translation = require('web.translation');
var pyeval = require('web.pyeval');
var utils = require('web.utils');
v... |
import EmberRouter from '@ember/routing/router';
import config from './config/environment';
const Router = EmberRouter.extend({
location: config.locationType,
rootURL: config.rootURL
});
Router.map(function() {
this.route('customer', { path: '/customer/:customer_id' });
this.route('people', function() {
t... |
import React, { useEffect, useRef, useState } from 'react';
import { Chart } from 'chart.js';
import { areaChartOptions } from './config';
const Area = ({ data, shadow = false }) => {
const chartContainer = useRef(null);
const [, setChartInstance] = useState(null);
useEffect(() => {
if (chartContainer && c... |
/**
* Created by wxb on 16/1/20.
*/
'use strict';
angular.module('tailorApp')
.controller('AddInputRowModalCtrl', function ($scope, upyun, localStorageService, providerService, FABRIC_UNIT, CURRENCY, FABRIC_COLOR, CRAFT, GRAM_WEIGHT, FLOWER_PATTERN, ORIGIN_PLACE, BREADTH, YARN_COUNT, COMPOSITION) {
if ($scope.... |
class HttpError extends Error {
constructor(message, status, body = null) {
super(message);
this.message = message;
this.status = status;
this.body = body;
this.name = this.constructor.name;
if (typeof Error.captureStackTrace === 'function') {
Error.captur... |
'use strict';
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
Image,
Dimensions,
Animated,
Easing,
ListView,
TouchableHighlight,
} from 'react-native';
import Swiper from 'react-native-swiper';
const {width} = Dimensions.get('window');
const Shape = require('./Sha... |
import React, { useState, useEffect, useCallback } from "react";
import { Box } from "@material-ui/core";
import PropTypes from "prop-types";
import GridItem from "components/Grid/GridItem";
import DateRangePicker from "components/DateRangePicker/DateRangePicker";
import IconButton from "@material-ui/core/IconButton";
... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
/*jshint bitwise: false*/
'use strict';
angular.module('solrpressApp')
.service('Base64', function () {
var keyStr = 'ABCDEFGHIJKLMNOP' +
'QRSTUVWXYZabcdef' +
'ghijklmnopqrstuv' +
'wxyz0123456789+/' +
'=';
this.encode = function (input) {
... |
import React from "react";
import io from "socket.io-client"
export const CTX = React.createContext();
const initState = {
general: [
// {from: "rafa", msg: "hello"}
],
username:""
}
function reducer(state, action) {
const {from, msg, topic} = action.payload;
switch... |
var prenomExistant = [
'Aanor',
'Aaran',
'Aaricia',
'Aaron',
'Abbon',
'Abby',
'Abdel',
'Abdon',
'Abel',
'Abélard',
'Abélia',
'Abella',
'Abigaël',
'Abondance',
'Abraham',
'Abriel',
'Acace',
'Achahildis',
'Achille',
'Acmé',
'Ada',
'Adalard',
'Adalbert',
'Adalric',
'Adalsinde',
'Adam',
'Adama',
'Adélaïde',
'Adélaïs',
'Ad... |
"use strict";
var gulp = require("gulp"),
mocha = require("gulp-mocha"),
eslint = require("gulp-eslint"),
babel = require("gulp-babel"),
changed = require("gulp-changed"),
istanbul = require("gulp-istanbul"),
runSequence = require("run-sequence"),
isparta = require("isparta");
require("gulp-... |
/**
* Copyright 2017 Daniel Thomas.
*
* 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 ... |
/**
* API Facet to make calls to methods in the chat namespace.
*
* This provides functions to call:
* - delete: {@link https://api.slack.com/methods/chat.delete|chat.delete}
* - meMessage: {@link https://api.slack.com/methods/chat.meMessage|chat.meMessage}
* - postEphemeral: {@link https://api.slack.com/me... |
// https://github.com/diegohaz/arc/wiki/Sagas#unit-testing-sagas
// https://github.com/diegohaz/arc/wiki/Example-redux-modules#resource
import 'babel-polyfill'
import { put, call, takeEvery } from 'redux-saga/effects'
import * as actions from './actions'
import saga, * as sagas from './sagas'
const api = {
post: () ... |
import consola from 'consola'
import { isTest, isMinimal } from 'std-env'
import chalk from 'chalk'
import { successBox } from './formatting'
import { getFormattedMemoryUsage } from './memory'
export function showBanner (nuxt, showMemoryUsage = true) {
if (isTest) {
return
}
if (isMinimal) {
for (const ... |
'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";
/********************************************************************************
* Copyright (C) 2017 TypeFox and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl... |
class sound{
constructor(filepath){
document.getElementsByTagName('ModExtras').innerHTML += "<audio style='vsibility:hidden' id='sound"+filepath+"' src='"+filepath+"'></audio>";
this.filepath = filepath;
}
playSound(){
var src = document.getElementById('sound'+this.filepath);
if(src){
src.play();
}
}
... |
/**
* alameda 0.2.0 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/requirejs/alameda for details
*/
//Going sloppy to avoid 'use strict' string cost, but strict practices should
//be followed.
/*jslint sloppy: true, nomen: true,... |
import { isFetchNextCloudFilesPageAction, fileListUpdate, requestUnlinkCloudAccount, } from '../actions';
export var fetchNextCloudFilesPageMiddleware = function (fetcher) { return function (store) { return function (next) { return function (action) {
if (isFetchNextCloudFilesPageAction(action)) {
var userC... |
var debug = require('debug')('bot:event-handler');
/**
* Facebook event hadle route.
*
* @param {object} webserver ExpressJS server
* @param {object} controller Botkit controller
* @return {object} ExpressJS server
*/
module.exports = (webserver, controller) => {
debug('Configured POST /facebook/receive url fo... |
var inArray = require("../../core/utils/array").inArray,
each = require("../../core/utils/iterator").each,
_round = Math.round,
_min = Math.min,
_max = Math.max,
_each = each,
_inArray = inArray,
horizontalAlignmentMap = {
"left": 0,
"center": 1,
"right": 2
},
... |
//# sourceMappingURL=component---src-templates-auth-log-in-js-692d179b1681b39560dc.js.map |
import { $ } from '../cli.js';
import { l as logger } from './utils.js';
import { S as SVELTE_KIT } from './constants.js';
import { m as mkdirp, r as rimraf, c as copy } from './index3.js';
import { readFileSync, writeFileSync } from 'fs';
import { resolve, join, dirname } from 'path';
import { pathToFileURL, resolve a... |
import {modifyNodeId} from '../assets/js/common'
import {loadCSS} from '../assets/js/loadCSS'
import Server from './Server'
import htmlToCanvas from 'html2canvas'
let config = require('../config/index')
function html2canvas (dom, data) {
data = Object.assign({
// allowTaint: true,
// useCORS: false,
prox... |
(function (undefined) {
"use strict";
// allow self-signed certificates
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
var _ = require("underscore"),
fs = require("fs");
var config = JSON.parse(fs.readFileSync(__dirname + '/../config.dist.json'));
if (fs.existsSync(__dirname + '/../... |
import {request} from "./request";
export function getHomeMultidata() {
return request({
url: '/home/multidata',
})
export function getGome(params) {
}
} |
import { h } from '../ionic.core.js';
import { g as isEndSide, h as assert } from './chunk-6d7d2f8c.js';
import { GESTURE_CONTROLLER } from './chunk-f56eaea8.js';
class Menu {
constructor() {
this.lastOnEnd = 0;
this.blocker = GESTURE_CONTROLLER.createBlocker({ disableScroll: true });
this... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.