text stringlengths 2 1.04M |
|---|
/**
* Author: Lakshman Veti
* Type: Modal
* Objective: To render fields and labels in search tables
* Usage: Search
*/
const fields = {
fileListFields : [
{ key: 'row', label:'S.no' },
{ key: 'filename', label:'Filename' },
{ key: 'user', label:'Uploaded By' },
{ key: 'createdAt', label:'Upload ... |
const path = require('path');
const express = require('express');
const bodyParser = require('body-parser');
const app = express();
const publicPath = path.join(__dirname, '..', 'public');
const port = process.env.PORT || 3000;
app.use(express.static(publicPath));
app.use(bodyParser.json({limit: "50mb"}));
app.use(bo... |
// Author: Simon J. Hogan
// Modifed: 24/04/2016
// Sith'ari Consulting Australia
// --------------------------------------------
var lastidx = 0;
var idx = 0;
function User() {
this.current = "emby.settings.current.user";
this.users;
this.lostfocus;
}
User.prototype.close = function(){
dom.off("body","keydown... |
/*
* 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... |
'use strict'
var sharp = require('sharp')
module.exports = function(imagePath) {
// Improves the performance of `resize`, `blur` and `sharpen` operations
const simd = sharp.simd(true)
var image = sharp(imagePath)
return {
metadata: function metadata() {
return image.metadata()
},
resize: f... |
function jump_to_page(pag){
injectedObject.jumpToPage(pag);
} |
'use strict'
const LegacyService = require('../legacy-service')
const { makeBadgeData: getBadgeData } = require('../../lib/badge-data')
module.exports = class ContinuousPhp extends LegacyService {
static get url() {
return { base: 'continuousphp' }
}
static registerLegacyRouteHandler({ camp, cache }) {
... |
import {
Color,
DoubleSide,
ShaderMaterial,
ShaderLib,
UniformsUtils,
Vector3,
} from './three.js';
class Lightmap extends ShaderMaterial {
constructor({
baseShader = 'basic',
blending = 1,
channels,
intensity = 1,
origin,
size,
textures,
}) {
const { uniforms, vertexSha... |
const webpack = require("webpack");
const merge = require("webpack-merge");
const base = require("./webpack.base.config");
const nodeExternals = require("webpack-node-externals");
const VueSSRServerPlugin = require("vue-server-renderer/server-plugin");
module.exports = merge(base, {
target: "node",
devtool: "#sour... |
/*!
* jQuery JavaScript Library v3.4.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2019-05-01T21:04Z
*/
/*!
* jQuery JavaScript Library v3.4.1
* https://jquer... |
const elixir = require('laravel-elixir');
require('laravel-elixir-vue');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some b... |
/*
* Copyright (C) 2017 Dremio Corporation
*
* 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... |
var fromCodePoint = require('./from-code-point.js');
var entityToChar = require('./html5-entities.js').entityToChar;
// Constants for character codes:
var C_NEWLINE = 10;
var C_SPACE = 32;
var C_ASTERISK = 42;
var C_UNDERSCORE = 95;
var C_BACKTICK = 96;
var C_OPEN_BRACKET = 91;
var C_CLOSE_BRACKET = 93;
var C_LESSTHA... |
const table = require('table'),
csv = require('fast-csv'),
through2 = require('through2');
module.exports = (stream, format, columns, headers = true, maxLength = 30) => {
/*
if (columns) {
rows = rows.map(row =>
Object.entries(row)
.filter(entry => columns.includes(e... |
import { h, defineComponent, ref, computed, watch, getCurrentInstance } from 'vue'
import QDialog from '../dialog/QDialog.js'
import QMenu from '../menu/QMenu.js'
import useAnchor, { useAnchorProps } from '../../composables/private/use-anchor.js'
import { hSlot } from '../../utils/private/render.js'
export default d... |
const { filterFileExtension, getFileExtension } = require('../utilities/fileUtilities');
class FaviconEditor {
/**
* @param root {HTMLElement}
*/
constructor (root) {
/**
* <link/> references
* @type {Array<{ node: HTMLLinkElement, cachedHref: string }>}
*/
... |
const express = require('express');
const authController = require('../controllers/authController');
const userController = require('../controllers/userController');
const sessionController = require('../controllers/sessionController');
const router = express.Router();
require('dotenv').config();
// Get request to Gi... |
/**
* Created by fniu on 9/10/2015.
*/
(function() {
mstrmojo.requiresCls("mstrmojo.plugins.VisMicroChart.MicroChartVisBase",
"mstrmojo.plugins.VisMicroChart.VisChartUtils",
"mstrmojo.plugins.VisMicroChart.VisChartData",
"mstrmojo.boxmodel"
);
function getTooltipName(ch, s) {
... |
define(function (require, exports, module) {
"use strict";
/* === LOAD BRACKET MODULES === */
var CommandManager = brackets.getModule("command/CommandManager"),
Menus = brackets.getModule("command/Menus"),
DocumentManager = brackets.getModule("document/DocumentManager"),
... |
/* Generated by Opal 0.11.4 */
(function(Opal) {
function $rb_ge(lhs, rhs) {
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs >= rhs : lhs['$>='](rhs);
}
function $rb_plus(lhs, rhs) {
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
}
funct... |
/*
* 2002-2016 TemplateMonster
*
* TM Search
*
* NOTICE OF LICENSE
*
* This source file is subject to the General Public License (GPL 2.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/GPL-2.0
*
* DISCLAIMER
*... |
/*
* The aspiredb project
*
* Copyright (c) 2013 University of British Columbia
*
* 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
... |
// GENERATED CODE
// Manual modification is NOT RECOMMENDED as changes will be overwritten the next time the class is generated.
import { setPropertiesFromJSON, uuid, FHIRHelper } from '../json-helper';
import ClassRegistry from '../ClassRegistry';
import CancerHistologicGrade from '../oncocore/CancerHistologicGrade... |
$('.image_loader').on('click', function(){
$('.list_image_library').find('.I-image').remove();
$.ajax({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
url: "/gallery/getLibrary",
type: "GET",
succe... |
import express from 'express';
import authRouter from './AuthRouter';
import userRouter from './UserRouter';
import schoolRouter from './SchoolRouter';
import classRouter from './ClassRouter';
import countryRouter from './CountryRouter';
import studentRouter from './StudentRouter';
import stateRouter from './StateRoute... |
๏ปฟ(function(c) {
var b = 0;
var a = null;
c.fn.resetBreakpoints = function() {
c(window).unbind("resize");
if (a) {
clearInterval(a)
}
b = 0
};
c.fn.setBreakpoints = function(e) {
var d = jQuery.extend({
distinct : true,
breakpoints : new Array(320, 480, 768, 1024)
}, e);
a = setInterval(func... |
module.exports = function(api, opts) {
return {
presets: [
[
require('./lib').default,
require('@umijs/utils').deepmerge(
{
typescript: true,
react: true,
env: {
targets: {
node: 'current',
},
... |
module.exports = {
extends: [
require('./extends')('eslint-config-godaddy'),
'plugin:eslint-plugin-react/recommended'
],
parser: 'babel-eslint',
plugins: ['react'],
parserOptions: {
ecmaFeatures: {
jsx: true,
experimentalObjectRestSpread: true
}
},
rules: {
'react/display-n... |
import _extends from "@babel/runtime/helpers/builtin/extends";
import _objectSpread from "@babel/runtime/helpers/builtin/objectSpread";
import _objectWithoutProperties from "@babel/runtime/helpers/builtin/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'cl... |
/**
* 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
* distribut... |
import AppMain from '@/layout/components/AppMain.vue';
const roleRoutes = {
path: '/role',
name: 'RoleManagement',
component: AppMain,
redirect: '/role/list',
meta: {
title: 'Role Management',
icon: 'lock',
activeMenu: '/general/role',
},
children: [
{
path: 'list',
component:... |
import RulerAlt16 from "./RulerAlt16.svelte";
export default RulerAlt16; |
const PLAYER_START_X = 200;
const PLAYER_START_Y = 400;
const DISTANCE_FOR_LOSE_X = 70;
const DISTANCE_FOR_LOSE_Y = 50;
const END_GAME_FIELD_FOR_ENEMY = 650;
const ENEMY_START_SPEED = 100;
const PLAYER_STEP_LENGTH = 30;
const PLAYER_GAME_FIELD = {
left : -40,
up : 450,
right : 450,
down : 40
}
const ENE... |
'use strict';
// Development specific configuration
// ==================================
module.exports = {
port: 8080
}; |
$(document).ready(function() {
$('ul.nav li.dropdown').hover(function() {
$(this).find('.dropdown-menu').stop(true, true).delay(0).fadeIn(0);
}, function() {
$(this).find('.dropdown-menu').stop(true, true).delay(0).fadeOut(0);
});
$('#div-404').click(function(){
$.ajax({
ty... |
'use strict';
const Node = require('../node/basic-node');
const NodeType = require('../node/node-types');
const TokenType = require('../token-types');
let tokens;
let tokensLength;
let pos;
const contexts = {
'arguments': () => {
return checkArguments(pos) && getArguments();
},
'atkeyword': () => {
ret... |
/**
* 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');
window.Vue = require('vue');
/**
* The following block of code may be ... |
import NotificationService, { NOTIF_HANDLE_FOCUS } from './notification-service';
const ns = new NotificationService();
let instance = null;
const components = [];
let focusedElem;
export default class FocusService {
constructor() {
if (!instance) {
instance = this;
}
return ... |
/*!
* Copyright (c) 2017-2020, Okta, Inc. and/or its affiliates. All rights reserved.
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
*
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
* Unless required by ... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React from 'react';
import Preferences from '@mm-redux/constants/preferences';
import {shallowWithIntl} from '@test/intl-test-helper';
import AddMembers from './add_members';
jest.mock('@utils/them... |
import { NotImplementedError } from '../extensions/index.js';
/**
* Extract season from given date and expose the enemy scout!
*
* @param {Date | FakeDate} date real or fake date
* @returns {String} time of the year
*
* @example
*
* getSeason(new Date(2020, 02, 31)) => 'spring'
*
*/
export default function g... |
'use strict'
process.env.BABEL_ENV = 'main'
const path = require('path')
const { dependencies } = require('../package.json')
const webpack = require('webpack')
const BabiliWebpackPlugin = require('babili-webpack-plugin')
let mainConfig = {
entry: {
main: path.join(__dirname, '../src/main/index.js')
},
ext... |
const utils = require('./utils')
const isProduction = process.env.NODE_ENV === 'production'
module.exports = {
loaders: utils.cssLoaders({
sourceMap: false,
extract: isProduction
}),
transformToRequire: {
video: 'src',
source: 'src',
img: 'src',
image: 'xlink:href'
}
} |
/*
* user-socket
* Copyright(c) 2017 Nicholas M. Dantas
* MIT Licensed
*/
'use strict';
var TIMEOUT = 1000 * 60 * 20; // 20 minutos
var io = require('socket.io')();
var da = require('./../app/data-access');
/**
* Expose 'initialize()'.
*/
function initialize(namespace) {
var nsp = namespace || '/';
... |
/**
* Copyright (c) Amyr Ahmady - 2020 | MIT License
**/
import React, { Component } from 'react';
import { Image } from 'react-native';
export default class ProgressiveImage extends Component {
static defaultProps = {
errorImage: { uri: '' },
defaultImage: { uri: '' },
source: { uri: '' },
style:... |
import { colorize } from './swu-colorize';
import { code2swu } from '../convert';
it('should pass', () => {
expect(true).toBe(true);
})
it('should return the right color for a symbol key', () => {
expect(colorize(code2swu(0x40001))).toBe('#0000CC');
expect(colorize(code2swu(0x461e0))).toBe('#0000CC');
expect(... |
import Vue from 'vue'
import VueRouter from 'vue-router'
import axios from 'axios'
import Admin from './components/Admin'
import Login from './components/Login'
import Register from './components/Register'
import Roles from './components/Roles'
Vue.use(VueRouter)
const routes = [
{
path:'/',
redirect:'/login... |
/* eslint-disable prettier/prettier */
import React, { memo, useEffect } from 'react';
import PropTypes from 'prop-types';
import { withRouter } from 'react-router-dom';
import {
MuiPickersUtilsProvider,
KeyboardTimePicker,
KeyboardDatePicker,
} from '@material-ui/pickers';
import DateFnsUtils from '@date-io/date... |
'use strict'
/*
* Create a `getFirst` function that takes an array or a string
* and return the first element
*
* @notions Data-Structures, Get
*/
// Your code :
function getFirst(array) {
return array = array[0];
};
//* Begin of tests
const assert = require('assert')
assert.strictEqual(getFirst([ 2, 42 ]), ... |
/**
* @license
* Copyright Google Inc. 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
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
(function(global) {
glo... |
define({
"root": {
// Banner
"title": "Welcome to ALVR",
"subtitle": "This setup wizard will guide you to the basic setup of ALVR",
// Hardware page
"titleHardwareReq": "Hardware requirements",
"textHardwareReq": "ALVR requires a dedicated and recent graphics card. <b... |
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 = Reflect.decorate(d... |
// THIS FILE IS AUTO GENERATED
import { GenIcon } from '../lib';
export function DiSenchatouch (props) {
}; |
export class Tamagotchi {
constructor(name) {
this.name = name;
this.timer = 30;
// foodLvl=10;
}
//
// setWatch() {
// setInterval(() => {
// this.timer--;
// }, 1000);
// }
setWatch(powerSwitch=true){
let watch = setInterval (() => {
if (this.timer === 0 || !powerSwit... |
var searchData=
[
['hal_20configuration',['HAL Configuration',['../group__config.html',1,'']]],
['hardware_20abstraction_20layer_20_28hal_29_20api_20reference',['Hardware Abstraction Layer (HAL) API Reference',['../group__hal.html',1,'']]],
['hal_20library_20callbacks',['HAL Library Callbacks',['../group__hal-lib... |
"use strict";
const JSON_URL = "data/deities.json";
const STR_REPRINTED = "reprinted";
window.onload = function load () {
ExcludeUtil.initialise();
DataUtil.loadJSON(JSON_URL, onJsonLoad);
};
let list;
const sourceFilter = getSourceFilter();
const pantheonFilter = new Filter({
header: "Pantheon",
items: [
"Cel... |
module.exports={A:{A:{"1":"G A B","2":"J E F lB"},B:{"1":"C K L D M N O P Q R U V W X Y Z a b c S d e H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D M N O 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 GB HB IB JB eB KB fB LB MB T NB OB PB QB RB SB TB UB VB WB XB YB ZB aB P Q R nB U V W X Y Z a b c S d e H gB","2":"mB dB... |
function decomment(x)
{
var i = 0, s = 0, o = "";
while (i < x.length)
{
var c = x[i++], d = x[i];
if ( c == "\n" )
o += c;
else if ( s==2 && c=="*" && d== '/' )
s = 0, i++;
else if ( s==1 && d == '\n' )
s = 0;
else if ( s==0 )
{
if ( c == "/" && (s={"/":1,"*... |
jQuery(document).ready(function() {
// for search bar
$('#searchIcon').on("click", function() {
$(this).parents('.header_search').find("#shide").css('top', '0px')
$(this).parents('.header_search').find("#shide").css('display', 'block')
});
$('.remove').on("click", function() {
$(... |
import firebase from '@firebase/app';
import { Component } from '@firebase/component';
import { ErrorFactory, FirebaseError } from '@firebase/util';
import { openDb } from 'idb';
const name = "@firebase/installations";
const version = "0.4.17";
/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apa... |
/**
* @ignore
* dom event facade
* @author yiminghe@gmail.com
*/
KISSY.add('event/dom/base', function (S, Event, KeyCodes, _DOMUtils, Gesture, Special) {
S.mix(Event, {
KeyCodes: KeyCodes,
_DOMUtils: _DOMUtils,
Gesture: Gesture,
_Special: Special
});
return Event;
}, {
... |
import React, {Component} from 'react';
import {
ActivityIndicator,
StyleSheet,
View,
Animated,
Easing,
Text,
Image,
Vibration,
Platform,
PixelRatio,
StatusBar
} from 'react-native';
/**
* ๆซๆ็้ข้ฎ็ฝฉ
* ๅ็ฌๅไธไธช็ฑป๏ผๆนไพฟๆท่ดไฝฟ็จ
*/
export default class QRScannerView extends Component {
static defaultProps = {... |
// Github: https://github.com/shdwjk/Roll20API/blob/master/ColorEmote/ColorEmote.js
// By: The Aaron, Arcane Scriptomancer
// Contact: https://app.roll20.net/users/104025/the-aaron
var ColorEmote = ColorEmote || (function() {
'use strict';
var version = '0.1.4',
lastUpdate = 1490368906,
... |
var util = require('util');
var Duplex = require('stream').Duplex;
function MockSerial() {
Duplex.call(this);
this.isOpen = false;
this.data = '';
}
util.inherits(MockSerial, Duplex);
MockSerial.prototype._read = function _read() {
};
MockSerial.prototype.write = function write(chunk) {
this.data += chunk;
};
M... |
/**
* 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.
*/
import axios from 'axios';
import Datepicker from 'vuejs-datepicker';
window.Vue = require('vue'... |
// โโโโโโโโโโโโโโโ[Packages]โโโโโโโโโโโโโโโ
const request = require('node-superfetch');
const { MessageEmbed } = require('discord.js');
const client = require('../../bot');
const embedCreate = require('../../handlers/embedCreate');
module.exports = {
name: "Military",
aliases: ["military"],
description: "N... |
exports.donate = (id, MRCRACKED, corohelp, tampilTanggal, tampilWaktu, instagram, nomer, aktif, groupwa, youtube) => {
return `
โโโโโโโโโโโโ
Hi. *${id.split("@s.whatsapp.net")[0]}* ๐๏ธ
โโโโโโโโโโโโ
โโโ
๐ *${tampilTanggal}*
โฑ๏ธ *${tampilWaktu}*
๐ข Bot Aktif ; *${aktif}*
โโโ
โโโโโโโโโโโ... |
import React from "react";
export default function Sponsors() {
return (
<section className="sponsors section">
<div className="sponsors__container bd-grid">
{/* logo 1 */}
<div className="sponsors__logo">
<img src="/img/logo1.png" />
</div>
{/* logo 2 */}
... |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... |
// Constants:
const DEFAULT_REPORT_DIRECTORY = './tractor/reports';
const DEFAULT_SUPPORT_DIRECTORY = './tractor/support';
export function config (tractorConfig) {
tractorConfig.cucumber = tractorConfig.cucumber || {};
let { cucumber } = tractorConfig;
cucumber.reportsDirectory = cucumber.reportsDirectory ... |
import React from 'react';
import Helmet from 'react-helmet';
import { Link } from 'gatsby';
import PropTypes from 'prop-types';
import Layout from '../components/Layout';
import DocNav from '../components/layout/DocNav';
import nav from './docs/current/nav.yml';
const RenderInnerList = ({ anchors, path }) => (
<ol>... |
import axios from '@/libs/api.request'
export const getRoleList = (data) => {
return axios.request({
url: 'rbac/role/list',
method: 'post',
data
})
}
// createRole
export const createRole = (data) => {
return axios.request({
url: 'rbac/role/create',
method: 'post',
data
})
}
//loadRol... |
'use strict';
const {Transform} = require('stream');
const noCommaAfter = {startObject: 1, startArray: 1, endKey: 1, keyValue: 1},
noSpaceAfter = {endObject: 1, endArray: 1, '': 1},
noSpaceBefore = {startObject: 1, startArray: 1},
depthIncrement = {startObject: 1, startArray: 1},
depthDecrement = {endObject: ... |
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax
(function() {
var key = "s";
function f(object) { return object[key]; };
f("");
f("");
%OptimizeFunctionOnNe... |
const path = require('path');
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
module.exports = merge(common, {
devtool: 'source-map',
... |
module.exports = {
tolerance: 0.0055,
config: {
type: 'bar',
options: {
scales: {
x: {
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
},
y: {
display: false,
min: 0,
max: 25
}
},
plugins: {
... |
/**
* Scubawhere API Documentation
* This is the documentation for scubawhere's RMS API. This API is only to be used by authorized parties with valid auth tokens. [Learn about scubawhere](http://www.scubawhere.com) to become an authorized consumer of our API
*
* OpenAPI spec version: 1.0.0
* Contact: bryan@scuba... |
// -- Sammy -- /plugins/sammy.ejs.js
// http://code.quirkey.com/sammy
// Version: 0.6.1
// Built: Sat Sep 25 11:06:16 +0200 2010 |
import { Application, Router, validate } from '@cfworker/web'
// re-export pieces from @cfworker as a convenience
export { Router, validate }
export default function () {
// initialize a cfworker app
const app = new Application()
// init global error handler/logger
// return the app
return app
} |
import React, { useRef, useEffect } from 'react';
import Select from 'react-select';
import { useField } from '@rocketseat/unform';
export default function ReactSelect({
name,
label,
options,
multiple,
...rest
}) {
const ref = useRef(null);
const { fieldName, registerField, defaultValue, error } = useFi... |
/* eslint-disable prefer-arrow-callback, no-var, func-names */
const {
SELECTOR_ACTIVE,
SELECTOR_TEXT_LAYER,
SELECTOR_ANNOTATIONS_LOADED,
SELECTOR_ANNOTATION_HIGHLIGHT_DIALOG,
SELECTOR_ANNOTATION_DIALOG,
SELECTOR_ADD_HIGHLIGHT_BTN,
SELECTOR_HIGHLIGHT_LABEL
} = require('../helpers/constants')... |
/* global assert, setup, suite, test */
require('aframe');
require('../index.js');
var entityFactory = require('./helpers').entityFactory;
suite('aframe-boids component', function () {
var component;
var el;
setup(function (done) {
el = entityFactory();
el.addEventListener('componentinitialized', functi... |
require('./item');
require('./user'); |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@aws-cdk/core");
/**
* The input to send to the event target
*/
class RuleTargetInput {
/**
* Pass text to the event target
*
* May contain strings returned by EventField.from() to substitute in par... |
import React from 'react'
import PropTypes from 'prop-types'
import classnames from 'classnames'
import './actionsMenuItem.scss'
import Tooltip from '../../common/Tooltip/Tooltip'
import TextTooltipTemplate from '../TooltipTemplate/TextTooltipTemplate'
const ActionsMenuItem = ({ dataItem, isIconDisplayed, menuItem }... |
import axios from 'axios'
import jwtDecode from 'jwt-decode'
require('dotenv').config()
import { DOMAIN_LIST } from './util'
export const BASE_API = process.env.VUE_APP_BACKEND_URL
// export const BASE_API = 'http://localhost:5000'
// export const BASE_API = 'https://urinotsecure.revampcybersecurity.com'
const getAu... |
//# sourceMappingURL=main.min.js.map |
const moduleAlias = require('module-alias')
const fastify = require('fastify')({
logger: false
})
const {
listen: { port, ip, queue }
} = require('./common/config.js')
// ๆทปๅ aliasๅฏผๅ
moduleAlias.addAliases({
'@': __dirname
})
require('./common/decorate.js')(fastify) //ๆณจๅ่ฃ
้ฅฐๅจ
require('./common/intercept.js')(fasti... |
// Copyright 2011 Tart. 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 required by applicable law ... |
import PropTypes from 'prop-types';
import Header from "./Header";
import styled, {createGlobalStyle} from "styled-components";
const GlobalStyles = createGlobalStyle`
@font-face {
/* font-family: 'radnika_next'; */
font-family: 'GalaxiePolaris-Book', sans-serif;
/* src: url('/static/radnikanext-medium-w... |
import Card from "./Card.js"
export class Deck {
constructor(...cards) {
this.deck = [];
if ([...cards].length > 0) {
for (let i = 0; i < [...cards].length; i++) {
this.deck.push([...cards][i]);
}
}
}
// Methods
shuffleDeck() {
th... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@fortawesome/angular-fontawesome')) :
typeof define === 'function' && define.amd ? define('@fortawesome/angular-fontawesome/testing', ['exports', '@angular/core', '@fo... |
/* Magnific Popup */
/*! Morphext - v2.4.4 - 2015-05-21 */
!function(a){"use strict";function b(b,c){this.element=a(b),this.settings=a.extend({},d,c),this._defaults=d,this._init()}var c="Morphext",d={animation:"bounceIn",separator:",",speed:2e3,complete:a.noop};b.prototype={_init:function(){var b=this;this.phrases=[]... |
#! /usr/bin/env node
// MIT License
//
// Copyright 2016-2020 Electric Imp
//
// SPDX-License-Identifier: MIT
//
// 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, inclu... |
import './theme/lumo/vaadin-time-picker.js';
export * from './src/vaadin-time-picker.js'; |
import { PLUGIN_ID } from '../tokens';
import { Token } from '@lumino/coreutils';
export const ILSPCodeOverridesManager = new Token(PLUGIN_ID + ':ILSPCodeOverridesManager');
//# sourceMappingURL=tokens.js.map |
import { Meteor } from 'meteor/meteor';
import { Messages } from '../../../../../app/models';
import { ReadReceipt } from '../../lib/ReadReceipt';
Meteor.methods({
getReadReceipts({ messageId }) {
if (!Meteor.userId()) {
throw new Meteor.Error('error-invalid-user', 'Invalid user', { method: 'getReadReceipts' })... |
export const SORTING_CREATE_TIME_ASCENDING = 'SORTING_CREATE_TIME_ASCENDING';
export const SORTING_CREATE_TIME_DESCENDING = 'SORTING_CREATE_TIME_DESCENDING';
export const SORTING_TITLE_ASCENDING = 'SORTING_TITLE_ASCENDING';
export const SORTING_TITLE_DESCENDING = 'SORTING_TITLE_DESCENDING'; |
import axios from 'axios';
import {setAlert} from './alert';
import {
GET_PROFILE,
PROFILE_ERROR
} from './types';
// Get the current users profile
export const getCurrentProfile = () => async dispatch => {
try {
const res = await axios.get('/api/profile/me');
dispatch({
type... |
import board from '../js/board';
const {
boardArray,
updateBoardArray,
checkWin,
checkDraw,
switchCurrentPlayer,
} = board;
test('It return an array of length 9, with empty string', () => {
expect(boardArray).toEqual(['', '', '', '', '', '', '', '', '']);
});
test('It updates the board array', () => {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.