text stringlengths 2 1.04M |
|---|
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { Edge } from './edge';
export class PlainEdge extends Edge {
get s... |
/* global AFRAME,TWEEN */
/**
* Button base Component for aframe-material-collection. This is used as the base component for all the button primitives.
* @namespace aframe-material-collection
* @component ui-btn
* @author Shane Harris
*/
module.exports = AFRAME.registerComponent('ui-btn', {
schema:{
d... |
import { Navigation } from 'react-native-navigation';
export function registerNavigation() {
Navigation.startSingleScreenApp({
screen: {
screen: 'LoadingScreen', // unique ID registered with Navigation.registerScreen
title: 'clARity', // title of the screen as appears in the nav bar (op... |
const spawn = require("child_process").spawn;
module.exports = async function execute(binPath, args) {
const cca = spawn(binPath, args);
cca.on("error", (error) => {
console.error("Could not execute create-comit-app:", error);
});
function handleSignal(code) {
cca.kill(code);
}
process.on("befor... |
/**
* Copyright 2021 The Subscribe with Google Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... |
/*************************************************************
*
* MathJax/localization/sv/MathML.js
*
* Copyright (c) 2009-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a c... |
import {
amiMethod,
manchesterMethod,
nrziMethod,
nrzlMethod,
pseudoMethod,
rzMethod,
} from './methods.js'
export function transformToArray(data = '') {
const transformed = data.split('')
return {
integers: transformed.map((curret) => parseInt(curret)),
strings: data.split(''),
}
}
export f... |
/**
* @license Apache-2.0
*
* Copyright (c) 2021 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... |
var BatteryTemplateUpdater = (function () {
'use strict';
var defaultPercentage = 20.0,
batteryToggles = ".editable.profile",
batteries = [
"congestion_battery",
"households_flexibility_p2p_electricity"
],
sliderSettings = { tooltip: 'hide' };
functi... |
module.exports={A:{A:{"2":"O D G E A B mB"},B:{"1":"YB V","2":"C I F P J K L","328":"Y KB M N S T"},C:{"1":"T","2":"kB bB tB wB","161":"0 1 2 3 4 5 6 7 8 9 H Z O D G E A B C I F P J K L a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB QB HB IB JB R LB MB NB OB GB X W VB RB SB TB UB PB Y KB M lB N S... |
'use strict';
var StackBlur = require('stackblur-canvas');
/**
* Apply a Gaussian Blur filter to the ImageData.
* @param {ImageData} imageData
* @returns {ImageData}
*/
function blur(imageData) {
var w = imageData.width;
var h = imageData.height;
var r = 10;
StackBlur.imageDataRGBA(imageData, 0, 0, w, h, ... |
// jQuery tagEditor v1.0.12
// https://github.com/Pixabay/jQuery-tagEditor |
const got = require('@/utils/got');
const querystring = require('querystring');
const got_ins = got.extend({
responseType: 'json',
headers: { 'X-Juejin-Src': 'web' },
});
module.exports = async (ctx) => {
const category = ctx.params.category;
const type = ctx.params.type;
let id = 'all';
let ... |
import { createAction } from 'redux-act';
export const fetchingPosition = createAction('Position is being fetched');
export const fetchingPositionFailed = createAction('Position failed to fetch');
export const fetchedPosition = createAction('Position fetched');
export const fetchingPositionData = createAction('Positi... |
tinymce.PluginManager.add("emoticons",function(e,t){function n(){var e;return e='<table role="presentation" class="mce-grid">',tinymce.each(i,function(n){e+="<tr>",tinymce.each(n,function(n){var i=t+"/img/smiley-"+n+".gif";e+='<td><a href="#" data-mce-url="'+i+'" tabindex="-1"><img src="'+i+'" style="width: 18px; heigh... |
'use strict';
/*!
* Module dependencies.
*/
const ArrayType = require('./array');
const CastError = require('../error/cast');
const EventEmitter = require('events').EventEmitter;
const SchemaType = require('../schematype');
const discriminator = require('../helpers/model/discriminator');
const util = require('util'... |
import { types as sdkTypes } from '../../util/sdkLoader';
import React from 'react';
import PropTypes from 'prop-types';
import { intlShape } from '../../util/reactIntl';
import routeConfiguration from '../../routeConfiguration';
import {
LISTING_PAGE_PARAM_TYPE_DRAFT,
LISTING_PAGE_PARAM_TYPE_NEW,
LISTING_PAGE_PA... |
var $ = require("jquery"),
PivotGridDataSource = require("ui/pivot_grid/data_source"),
executeAsyncMock = require("../../helpers/executeAsyncMock.js");
require("viz/core/themes/generic.light"); // remove
/* global orders */
require("../../../testing/content/orders.js");
require("ui/pivot_grid/ui.pivot_grid.f... |
import styled from "styled-components";
import { fontSizeKit, fontWeightKit } from "styles";
export const MyTitleContainer = styled.div`
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
background-color: transparent;
width: 500px;
height: 100px;
padding-bottom: 15px;
pa... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import recast from 'recast';
const {
types: { namedTypes: types },
} = recast;
/**
* If node is an Identifier, it... |
import {StateSelector, SerializationSchema} from './StateSerialization';
import {uuid, setInitialCounter, uniqueId} from '../utils/uuid';
import {getApplication} from '../selectors/application';
import {getFrames} from '../selectors/frames';
import ImageDataCompressor from './ImageDataCompressor';
export class State... |
import React from 'react';
import Hero from '../../components/Hero/Hero';
import Banner from '../../components/Banner/Banner';
import RoomContainer from '../../components/RoomContainer/RoomContainer';
import './Rooms.css';
import { Link } from 'react-router-dom';
const Rooms = props => {
return (
<>
... |
const staticCacheName = 'site-static-v1';
const dynamicCacheName = 'site-dynamic-v1';
const defaultPage = '/index.html';
const assets = [
'/',
'/style.css',
'/app.js',
'/config.js',
'/images/clean-64.png',
'/vendor/materialize/materialize.min.css',
'/vendor/materialize/materialize.min.js',
... |
module.exports = function reverse (n) {
return Number(String(Math.abs(n)).split("").reverse().join(''));
} |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = require('../../../ssr-module-cache.js');
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/***... |
import React from 'react';
import { shallow } from 'enzyme';
import * as pb from '../../../src/components/PatientBanner/patient-banner';
describe('Patient Banner component', () => {
let props = {
patientName: 'Morris',
patientId: '123',
};
function expectContainsElement(renderedComponent, expected) {
... |
import { S as SvelteComponentDev, i as init, s as safe_not_equal, d as dispatch_dev, e as element, a as append_dev, v as validate_slots, f as space, g as claim_element, h as children, j as detach_dev, k as claim_space, l as attr_dev, m as add_location, y as null_to_empty, n as insert_dev, p as listen_dev, M as prevent_... |
import { idToUuid } from 'notion-utils'
export default function getAllPageIds (collectionQuery, viewId) {
if (!collectionQuery) {
return []
}
const views = Object.values(collectionQuery)[0]
if (!views) {
return []
}
let pageIds = []
if (viewId) {
const vId = idToUuid(viewId)
pageIds = vie... |
import styled from 'styled-components';
import { space, color, typography, border } from 'styled-system';
const Code = styled.code`
display: inline-block;
word-break: break-word;
${space} ${color} ${typography} ${border}
`;
Code.defaultProps = {
bg: 'grays.10',
color: 'black',
fontSize: 1,
fontFam... |
import React from 'react'
import { TouchableHighlight, View } from 'react-native'
import { getFlex, center, bgDanger, bgWhite, getWidth, mb_md, getMorP, row, getHeight, bgPrimary, colorWhite, getRadius, fontSizeN, colorBlack, getBorder, pv_md, pp_n } from 'zhilin-rn/styles';
import Modal from 'react-native-modal'
impo... |
'use strict';
(function() {
// Remarks Controller Spec
describe('Remarks Controller Tests', function() {
// Initialize global variables
var RemarksController,
scope,
$httpBackend,
$stateParams,
$location;
// The $resource service augments the response object with methods for updating and deleting the ... |
var path = require('path');
var fs = require('fs');
module.exports = {
entry: './src/client/clientEntryPoint.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'bundle.js'
},
module: {
preLoaders: [
{ test: /\.json$/, exclude: /node_modules/, loader: 'json'... |
// Web server section.
const express = require('express');
const app = express();
const port = 3000;
// Connecting to PostgreSQL.
const Sequelize = require('sequelize');
const sequelize = new Sequelize('postgres://postgres:password@localhost:5432/sample3', {
dialect: 'postgres',
protocol: 'postgres'
// On... |
sap.ui.define([
'sap/ui/core/mvc/Controller',
'sap/ui/model/odata/v2/ODataModel',
'sap/ui/core/util/MockServer'
], function (Controller, ODataModel, MockServer) {
"use strict";
return Controller.extend("sap.ui.comp.sample.smarttable.mtableHighlight.SmartTable", {
onInit: function () {
var oModel, oView;
... |
require("dotenv").config();
const Router = require("express").Router();
const DBmanager = require("./DBmanager");
const Utility = require("./utility_back");
Router.get("/GetTemHumData", (req, res) => {
const TypeEnum = [ "Temperature", "Humidity" ];
const GetTypeEnum = [ "Month", "Week", "Day", "Hour" ];
... |
import { Singleton } from 'redux-rubberstamp'
import reducer from './reducer'
import portal from './portal'
import * as actions from './actions'
export default Singleton({
namespace: 'maha.portal',
component: portal,
reducer,
actions
}) |
var bgBlack = false;
var dialogLeft = true;
var dialogHidden = false
function toggleColor() {
let canvas = document.getElementById("canvas");
let bgToggle = document.getElementById("bg-toggle")
bgBlack = !bgBlack;
if (bgBlack) {
canvas.style.background = "black";
bgToggle.title = "Set w... |
import React from 'react'
import Fade from 'react-reveal/Fade';
// import scrollToComponent from 'react-scroll-to-component';
import { StaticQuery, graphql } from 'gatsby'
import TechUsed from '../components/TechUsed'
function Bio() {
// scrollToComponent(this.BlogScroll, { offset: 0, align: 'middle', duration... |
/* Modules */
var must = require('must'),
fsExists = require('./helpers/fs-exists'),
File = require('../lib/utils/file'),
file = new File();
/* Tests */
describe('File', function() {
var path = {
output : 'test/tmp',
file : 'test/tmp/test.txt',
copy : 'test/tmp/test-test.txt... |
"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... |
/*
* Copyright (c) 2008-2013 CoNWeT Lab., Universidad Politécnica de Madrid
*
* This file is part of Wirecloud Platform.
*
* Wirecloud Platform is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License as
* published by the Free Soft... |
'use strict';
var Type = require('../type');
var _toString = Object.prototype.toString;
function resolveYamlPairs(data) {
if (data === null) return true;
var index, length, pair, keys, result,
object = data;
result = new Array(object.length);
for (index = 0, length = object.length; index < length; i... |
const webpack = require('webpack');
const merge = require('webpack-merge');
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
const common = require('./webpack.common.js');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
module.exports = merge(common, {
mode: 'production',
devtool: ... |
var interfaceorg_1_1onosproject_1_1ui_1_1impl_1_1SpriteService =
[
[ "get", "interfaceorg_1_1onosproject_1_1ui_1_1impl_1_1SpriteService.html#a065686b90b66bb7594090c2a211aedd9", null ],
[ "getNames", "interfaceorg_1_1onosproject_1_1ui_1_1impl_1_1SpriteService.html#a9973dc2c255ccb3670c1bf1bafcdc112", null ],
... |
"use strict";
const log = require("npmlog");
const versionCommand = require("@lerna/version/command");
/**
* @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
*/
exports.command = "publish [bump]";
exports.describe = "Publish packages in the current project.";
exports.bui... |
import fs from "fs";
import path from "path";
import imagemin from "imagemin";
import imageminGifsicle from "imagemin-gifsicle";
import imageminMozjpeg from "imagemin-mozjpeg";
import imageminPngquant from "imagemin-pngquant";
import imageminSvgo from "imagemin-svgo";
import pify from "pify";
import tempy from "tempy"... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.renderBlockActions = renderBlockActions;
var _ui = require("@sanity/ui");
var _react = _interopRequireWildcard(require("react"));
var _icons = require("@sanity/icons");
var _portableTextEditor = require("@sanity/portable-text-ed... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The Date.prototype has the property "getDay"
es5id: 15.9.5_A16_T1
description: The Date.prototype has the property "getDay"
---*/
if(Date.prototype.hasOwnProperty("getDay") !... |
(function() {
'use strict';
angular.module('frontend.certificates', []);
// Module configuration
angular.module('frontend.certificates')
.config([
'$stateProvider',
function config($stateProvider) {
$stateProvider
.state('certificates... |
(function($) {
"use strict"; // Start of use strict
// Smooth scrolling using jQuery easing
$('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.ha... |
exports.deleteMessage = ({ applicationContext, message, queueUrl }) =>
applicationContext
.getMessagingClient()
.deleteMessage({
QueueUrl: queueUrl,
ReceiptHandle: message.ReceiptHandle,
})
.promise(); |
const path = require('path');
const HtmlWebPackPlugin = require('html-webpack-plugin');
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
const isDevelopment = process.env.NODE_ENV !== 'production';
module.exports = {
mode: 'development',
entry: {
app: './src/index.tsx',
'editor... |
const express = require("express");
const router = express.Router();
const APP_KEYS = require("../../config/keys");
const bcrypt = require("bcryptjs");
const jwt = require("jsonwebtoken");
const auth = require("../../middleware/auth");
// user model
const User = require("../../models/User");
const ProductCat = requir... |
const fs = require('fs')
const path = require('path')
const out = fs.createWriteStream(path.join(__dirname, "..")+ '/pattern.png');
const { createCanvas, Image } = require('../export');
const canvas = createCanvas(800, 400);
const ctx = canvas.getContext('2d');
const img = new Image()
img.onload = () => {
console... |
// Adding the records of the services underneath so that we can have the total attendances and incomes
export const componentServiceAggregates = `
MATCH (church {id:$id}) WHERE church:Bacenta OR church:Constituency OR church:Council OR church:Stream OR church:GatheringService
MATCH (church)-[:HAS_HISTORY]->(:Serv... |
(function (cjs, an) {
var p; // shortcut to reference prototypes
var lib={};var ss={};var img={};
lib.ssMetadata = [];
// symbols:
// helper functions:
function mc_symbol_clone() {
var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop));
clone.gotoAndStop(this.currentFrame);
... |
/*
artifact generator: C:\my\wizzi\v5\node_modules\wizzi-js\lib\artifacts\js\module\gen\main.js
primary source IttfDocument: c:\my\wizzi\v5\apps\npl\src\ittf\server\npl\js\npl.js.ittf
utc time: Mon, 16 Apr 2018 06:10:49 GMT
*/
'use strict';
$(document).ready(function() {
$('#videos a').click(function() ... |
// 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... |
/*
* Kendo UI v2014.2.903 (http://www.telerik.com/kendo-ui)
* Copyright 2014 Telerik AD. All rights reserved.
*
* Kendo UI commercial licenses may be obtained at
* http://www.telerik.com/purchase/license-agreement/kendo-ui-complete
* If you do not own a commercial license, this file shall be governed by the trial licen... |
const { router, get } = require('microrouter');
const cors = require('micro-cors')({ allowMethods: ['GET'] });
module.exports = cors(
router(
get('/places', require('./routes/places')),
get('/places/:id', require('./routes/places/show')),
get('/*', require('./routes/404'))
)
); |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var node_parser_1 = require("./node-parser");
var logger_1 = require("../core/logger");
var parser_1 = require("../css/syntax/parser");
var tokenizer_1 = require("../css/syntax/tokenizer");
var counter_1 = require("../css/types/functions/count... |
// this api is the work of the PhilPapers team (http://philpapers.org). all rights reserved.
var xpapers_embed_buffer = '';
xpapers_embed_buffer += "<ol class='xpapers_entryList'> <li id='eSANADO-9' class='xpapers_entry'><span class=\"xpapers_citation\"><a class='xpapers_title' href=\"http://philpapers.org/rec/SANADO-... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: RegExp.prototype.toString can't be used as constructor
es5id: 15.10.6.4_A7
description: Checking if creating the RegExp.prototype.toString object fails
---*/
__FACTORY = RegE... |
const DEFAULT_CONFIGURATION = {
fragmentTag: 'fragment',
selfClosingTags: ['meta'],
placeholderIdPrefix: 'c_',
contentIdPrefix: 'p_',
hideAttribute: 'p',
headTag: 'milla-head',
minifyJs: true,
minifyCss: true,
minifyHtml: true
};
class Configuration {
constructor() {
for (let prop in DEFAULT_CO... |
Ext.define('App.view.person.Show', {
extend: 'App.view.widgets.Show',
xtype: 'personshow',
controller: 'personshow',
viewModel: {
type: 'personshow'
},
title: 'Profile',
items: {
header: {
xtype: 'personshowheader'
},
tools: {
xtype... |
/*! UIkit 2.18.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
import { typeDefs } from './graphql-schema.js'
import resolvers from './resolvers.js'
import { ApolloServer, gql } from 'apollo-server-express'
import { buildFederatedSchema } from '@apollo/federation'
import neo4j from 'neo4j-driver'
import express from 'express'
import dotenv from 'dotenv'
// set environment variable... |
let myData = {
total: (start, length, variables) => {
let array = [];
for (let i = 0; i <= length; i++) {
let change = start * variables * Math.random();
if (Math.floor(change) % 4 === 0) {
change = change * -1;
}
start = start + change... |
'use strict'
const clc = require('cli-color')
const utils = require('./utils')
module.exports = function(options, client) {
return new Promise((resolve, reject) => {
let query = this.find()
if (options.populate) query = query.populate(options.populate)
query.exec(async (err, docs) => {
if (err) ... |
/**
* Auto-generated action file for "SubscriptionDefinitionsClient" API.
*
* Generated at: 2019-05-07T14:39:19.717Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / azure-com-subscription-subscription-definitions-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.d... |
import { expect } from 'chai';
import reactNativeInterface from '../src/reactNativeInterface';
describe('reactNativeInterface', () => {
describe('.create()', () => {
it('processes the styles', () => {
expect(reactNativeInterface.create({
foo: {
color: 'red',
},
})).to.eql({... |
const sinon = require('sinon');
const fixturesPath = 'fixtures';
const cubefixture = require('../../../fixtures/examplecube');
let CardRating = require('../../../models/cardrating');
let Draft = require('../../../models/draft');
const carddb = require('../../../serverjs/cards');
import Filter from '../../../src/uti... |
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
This version is suitable for Node.js. With minimal changes (the
exports stuff) it should work on any JS platform.
This file implements some AST processors. They work on data b... |
import React, { PureComponent } from 'react';
import { FlatList } from 'react-native';
import MiniMovie from './MiniMovie';
import FetchData from './../../providers/FetchData';
import Database from '../../providers/Database';
import Process from '../../providers/Process';
class MovieList extends PureComponent {
co... |
'use strict'
const products = [
{ name: 'Радар', price: 1300, quantity: 4 },
{ name: 'Сканер', price: 2700, quantity: 3 },
{ name: 'Дроид', price: 400, quantity: 7 },
{ name: 'Захват', price: 1200, quantity: 2 },
];
const getAllPropValues = function(arr, prop) {
const values = [];
f... |
/**
* A lightweight readable stream implemention that handles event dispatching.
* Objects that inherit from streams should call init in their constructors.
*/
(function(videojs, undefined) {
var Stream = function() {
this.init = function() {
var listeners = {};
/**
* Add a listener for a sp... |
import WhiteRabbit from "../../images/WhiteRabbit.png";
import ImageGrand from "../../images/GrandmasSecrets.jpg";
import ImageTech from "../../images/TechBlog.PNG";
import "../../styles/Home.css";
export default function AboutMe() {
return (
<div>
<h1>Introduction</h1>
<p className="intro-paragraph"... |
import React from 'react';
import { render } from 'react-dom';
import styles from './stylesheets/style.scss';
import App from './containers/App.jsx';
import { Provider } from 'react-redux'
import store from './store'
render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById('roo... |
const Material_Resources = {
// Admin
Admin: {},
// Websites
Websites: [
// Template
{
WebsiteName: "",
WebsiteURL: '',
WebsiteTags: [],
WebsiteInformation: [],
},
// CG Book Case
{
WebsiteName: "CG Book Case",
WebsiteURL: 'https://www.cgbookcase.com/',
... |
/*!
* modernizr v3.5.0
* Build https://modernizr.com/download?-domprefixes-prefixes-setclasses-shiv-testallprops-testprop-teststyles-dontmin
*
* Copyright (c)
* Faruk Ates
* Paul Irish
* Alex Sexton
* Ryan Seddon
* Patrick Kettner
* Stu Cox
* Richard Herrera
* MIT License
*/
/*
* Modernizr tests ... |
/*
* ../../../..//jax/output/SVG/fonts/Gyre-Pagella/Size5/Regular/Main.js
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgxUiLoaderComponent } from './ngx-ui-loader.component';
impor... |
$(function () {
// init feather icons
feather.replace();
// init tooltip & popovers
$('[data-toggle="tooltip"]').tooltip();
$('[data-toggle="popover"]').popover();
//page scroll
$("a.page-scroll").bind("click", function (event) {
var $anchor = $(this);
$("html, body")
.stop()
.animat... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var React = _interopRequireWildcard(r... |
'use strict'
/*
* adonis-auth
*
* (c) Harminder Virk <virk@adonisjs.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
const path = require('path')
async function makeConfigFile (cli) {
const authenticator = await cli.command... |
$axure.loadCurrentPage(
(function() {
var _ = function() { var r={},a=arguments; for(var i=0; i<a.length; i+=2) r[a[i]]=a[i+1]; return r; }
return _creator();
})()); |
export default "M11 7.8L9 5.8V5C9 3.34 10.34 2 12 2S15 3.34 15 5V11.8L11.2 8H13V5C13 4.45 12.55 4 12 4S11 4.45 11 5V7.8M22.11 21.46L2.39 1.73L1.11 3L9 10.89V13C6.79 14.66 6.34 17.79 8 20C9.66 22.21 12.79 22.66 15 21C15.84 20.37 16.4 19.5 16.71 18.6L20.84 22.73L22.11 21.46Z" |
module.exports=function(y){function e(n){if(d[n])return d[n].exports;var s=d[n]={exports:{},id:n,loaded:!1};return y[n].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var d={};return e.m=y,e.c=d,e.p="",e(0)}({0:function(y,e,d){d(866),y.exports=d(866)},866:function(y,e){!function(y,e){kendo.cultures["yi-001"]={name... |
export default (configContext) => {
const {
configKey: config,
} = configContext.configHelpers;
return {
document: {
'ns2:loansout_common': {
loanOutNumber: {
[config]: {
view: {
props: {
source: 'mmi-loanout-lot',
},
... |
/*
** Normally we would use dist folder for distribution code
** but since we are coming from the java world - "target" folder
** is more relevant to us. (default output folder of a maven job)
**
** grunt clean => mvn clean
**
*/
module.exports = (grunt) => {
grunt.initConfig({
env: {
test: {
... |
const Promise = require('promise')
const UAParser = require('ua-parser-js')
const request = require('request')
const url = require('url')
const crypto = require('crypto')
const db = require('../db')
const log = require('../util/log')
module.exports = class Link {
constructor (l) {
this.l = l
}
addClick (click) {... |
const { NotImplementedError } = require('../extensions/index.js');
const { Node } = require('../extensions/list-tree.js');
/**
* Implement simple binary search tree according to task description
* using Node from extensions
*/
module.exports = class BinarySearchTree {
constructor() {
this.rooten = n... |
export { fetchItems, addItem, removeItem, sortItems } from "./appData";
export {
authSignin,
authLogin,
authCheckState,
logout,
getUserNameByEmail,
clearError,
playTutorial,
endTutorial,
} from "./auth";
export { saveChanges, fetchSettings } from "./settings";
export {
activateWalletMode,
deactivateWalletMod... |
/*
* jQuery.fullscreen library v0.4.2
* Copyright (c) 2013 Vladimir Zhuravlev
*
* @license https://github.com/private-face/jquery.fullscreen/blob/master/LICENSE
*
* Date: Tue Jul 22 11:54:54 CDT 2014
**/
;
(function($) {
function defined(a) {
return typeof a !== 'undefined';
}
function extend(child, parent, p... |
const path = require("path");
const fs = require("fs-extra");
const getUserConfig = require("../../helperFunctions/userConfig/getUserConfig");
module.exports = async function (opts) {
const userConfig = await getUserConfig();
global.__transferProgressTimeout = userConfig.get(
"process.transferProgressTimeout"... |
/**
* @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext
* @typedef {import('micromark-util-types').Tokenizer} Tokenizer
* @typedef {import('micromark-util-types').Effects} Effects
* @typedef {import('micromark-util-types').State} State
* @typedef {import('micromark-util-types').Code} Code
... |
/* istanbul instrument in package npmtest_diff */
/*jslint
bitwise: true,
browser: true,
maxerr: 8,
maxlen: 96,
node: true,
nomen: true,
regexp: true,
stupid: true
*/
(function () {
'use strict';
var local;
// run shared js-env code - pre-init
(function () {
//... |
// automatically generated by the FlatBuffers compiler, do not modify
/**
* @const
* @namespace
*/
var MiniVille = MiniVille || {};
/**
* @const
* @namespace
*/
MiniVille.Dumb = MiniVille.Dumb || {};
/**
* @constructor
*/
MiniVille.Dumb.Notes = function() {
/**
* @type {flatbuffers.ByteBuffer}
*/
t... |
var mainRouter = angular.module("MainRouter", ["ui.router"])
mainRouter.config(["$stateProvider", "$urlRouterProvider", function ($stateProvider, $urlRouterProvider) {
$urlRouterProvider.when("", "/home");
$urlRouterProvider.when("/", "/home");
$urlRouterProvider.otherwise("/home");
$stateProvider
.state("auth... |
import $ from 'jquery'
import axios from 'axios'
import Swal from 'sweetalert2'
const Toast = Swal.mixin({
toast: true,
position: 'bottom',
showConfirmButton: false,
timer: 3000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener('mouseenter', Swal.stopTimer)
t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.