text stringlengths 2 1.05M |
|---|
import { request } from './request'
export function getDetail(iid) {
return request(
{
url: '/detail',
params: {
iid
}
}
)
}
export function getRecommend() {
return request({
url: '/recommend'
})
}
export class Goods {
constructor(itemInfo, columns, services) {
this.... |
$myCarousel = $('.carousel');
function doAnimations(elems) {
var animEndEv = 'webkitAnimationEnd animationend';
elems.each(function () {
var $this = $(this),
$animationType = $this.data('animation');
// Add animate.css classes to
// the elements to be animated
// Remove ... |
import { removeUndefined, validate } from '../../utils/index';
/**
* Index Service
* @param {Object} args
* @param {String} args.type
* @param {Object} args.body
* @param {String} args.id
*/
function indexApi(args) {
const parsedArgs = removeUndefined(args);
// Validate arguments
const valid = validate(par... |
import { Howl } from 'howler';
import { Loader, Texture, Spritesheet } from 'pixi.js';
import config from '../config';
const context = require.context(
'../assets',
true,
/\.(jpg|png|wav|m4a|ogg|mp3)$/im
);
const IMG_EXTENSIONS = ['jpeg', 'jpg', 'png'];
const SOUND_EXTENSIONS = ['wav', 'ogg', 'm4a', 'mp3'];
/*... |
import React, { useRef, useState, useEffect } from 'react';
function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
... |
/*
* This file runs in a Node context (it's NOT transpiled by Babel), so use only
* the ES6 features that are supported by your Node version. https://node.green/
*/
// Configuration for your app
// https://v2.quasar.dev/quasar-cli/quasar-conf-js
/* eslint-env node */
const ESLintPlugin = require("eslint-webpack-pl... |
import * as data from '../utils/_DATA'
export const RECEIVE_QUESTIONS = 'RECEIVE_QUESTIONS'
export const ADD_QUESTION = 'ADD_QUESTION'
export const ANSWER_QUESTION = 'ANSWER_QUESTION'
export function receiveQuestions(questions) {
return {
type: RECEIVE_QUESTIONS,
questions,
}
}
export function loadQuesti... |
module.exports = require('@spraoi/prettier-config');
|
import React from "react"
import { getCurrentLanguageString, createProperty } from "../../utility/helper"
import { connect } from "react-redux"
import PropTypes from "prop-types"
import { size } from "../../index.styles";
import { TextBlock, PageTitle } from "../../templates/page.styles";
import styled from 'styled-com... |
importScripts("/src/cotonic.mqtt.js");
function init() {
self.publish("connect-wait-deps/done", true);
}
self.connect({name: "connect-wait-deps",
provides: [ "model/connect-wait-deps" ],
depends: [ "model/a", "model/b" ]}).then(init);
|
webpackHotUpdate(0,{
/***/ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\"}!./src/index.css":
/*!***************************************************************************************************************************!*\
!*** ./node_modul... |
import React from 'react'
import { graphql, StaticQuery } from 'gatsby'
import Reveal from 'react-reveal/Reveal';
// Shared Assets
import { SectionHeader } from '../../utils/shared'
import Img from 'gatsby-image'
import SVG from '../svg'
import './companies.scss'
const CompanyItemImage = ({ name, image, link, delay }... |
import React, { Component } from "react";
import { connect } from "react-redux";
import { bindActionCreators } from "redux";
import {
getAllapiarios,
detalhesApiario,
deleteApiario
} from "../../redux/actions/apiarioActions";
import ModalApiario from "../../pages/Dashboard/subpages/Apiarios/ModalApiario";
import ... |
import fetch from 'isomorphic-unfetch';
import {useState,useEffect} from 'react';
import { Form } from 'semantic-ui-react';
import {useRouter} from 'next/router';
import {Confirm,Button,Loader} from 'semantic-ui-react';
const Note = ({note}) => {
const [confirm, setConfirm] = useState(false);
const [isDeleting... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview This implements a combobutton control.
*/
cr.define('cr.ui', function() {
/**
* Creates a new combobutton element.
* @p... |
"use strict";
// /* eslint-disable no-undef */
// /* eslint-disable import/extensions */
// /* eslint-disable import/no-unresolved */
// import supertest from 'supertest';
// import app from '../../server';
// const request = supertest(app);
// describe('Test Category endpoint responses', async () => {
// it('create ... |
import site from '../config/siteInfo'
import voiceData from '../config/voice'
import { NO_LIVE } from '../config/enmu';
// import http from 'http'
// 组合Voice路径
const pathComplete = (voice) => {
var base_url = site.cloud || "%PUBLIC_URL%/voice/";
if(site.cloud){
base_url = site.cloud.slice(-1) === '/' ?... |
/*! jQuery v1.8.2 jquery.com | jquery.org/license */
(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d===... |
(function (){
angular.module('ebid')
.directive('stats', stats);
function stats() {
return {
restrict: 'E',
templateUrl: 'app/components/stats/stats.html',
controller: 'StatsController',
controllerAs: '$stats'
};
}
})();
|
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp", "af", {
title: "Toeganglikheid instruksies",
contents: "Hulp inhoud. Druk ESC om toe te maak.",
legend: [{
name: "Alg... |
const StickerBot = require('../stickerBot');
const createAnimatedPack = require('../createAnimatedPack');
const c = require('../menuConstants');
const res = require('../responses');
const mockSendMessage = jest.fn();
const mockBlankUser = jest.fn();
const mockGetFile = () => { 'a file'; };
const mockCreatePackAnimated... |
/**
* skylark-selectize - A version of jquery.appendgrid that ported to running on skylarkjs ui.
* @author Hudaokeji, Inc.
* @version v0.9.0
* @link https://github.com/skylark-integration/skylark-selectize/
* @license MIT
*/
define(["skylark-jquery","../../Selectize","../../constants","../../utils"],function(t,e,... |
const { ethers } = require('hardhat');
const { BigNumber } = require('ethers');
const fs = require('fs');
const address = require(`../constants/address_${network.name}.js`);
const abi = require("../constants/abi.js");
async function main() {
const [deployer] = await ethers.getSigners();
console.log("Account:... |
import React from "react";
import PropTypes from "prop-types";
import Button from "@material-ui/core/Button";
import Dialog from "@material-ui/core/Dialog";
import DialogActions from "@material-ui/core/DialogActions";
import DialogContent from "@material-ui/core/DialogContent";
import DialogContentText from "@material-... |
app.factory('httpRequestInterceptor', ['$rootScope', function($rootScope) {
return {
request: function($config) {
if($rootScope.auth_login!='')
{
$config.headers['Authorization'] = 'Basic ' + $rootScope.auth_login;
}
return $config;
}
};
}]); |
export default class Node {
ancestor(level) {
let node = this;
while (level--) {
node = node.parent;
if (!node) return null;
}
return node;
}
contains(node) {
while (node) {
if (node === this) return true;
node = node.parent;
}
return false;
}
findLexicalBoundary() {
return this.par... |
"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
function getMutationDefinit... |
import React from 'react'
import { useDispatch, useSelector } from 'react-redux'
import { Icon, Popup } from 'semantic-ui-react'
import { Button } from 'react-bootstrap'
import { FormattedMessage, useIntl } from 'react-intl'
import { setFocusedSpan, setHighlightRange } from 'Utilities/redux/annotationsReducer'
const L... |
import BattleBackground from "../rom/BattleBackground";
import Block from "./Block";
const UNCOMPRESSED_BLOCK = 0;
const RUN_LENGTH_ENCODED_BYTE = 1;
const RUN_LENGTH_ENCODED_SHORT = 2;
const INCREMENTAL_SEQUENCE = 3;
const REPEAT_PREVIOUS_DATA = 4;
const REVERSE_BITS = 5;
const UNKNOWN_1 = 6;
const UNKNOWN_2 = 7;
fun... |
const mysql = require('../mysql')
const categoryTableSQL = `CREATE TABLE IF NOT EXISTS categories (
id INT AUTO_INCREMENT PRIMARY KEY,
cate_name VARCHAR(1024),
cate_order VARCHAR(1024),
cate_num INT NOT NULL DEFAULT 0,
create_date VARCHAR(1024),
update_date VARCHAR(1024),
is_delete INT,
... |
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
})... |
import React from 'react'
import "./portfolio.css"
import IMG from '../../assets/img/man4.jpg'
const data = [
{
id: 1,
image: IMG,
title: 'tempiltin web site 1',
github: 'https://github.com',
demo: 'https://tempiltin-click-clon.netlify.app/'
},
{
id: 2,
image: IMG,
title: 'tempilti... |
import a1 from '@/assets/images/product/vegetables/bolt/core/c1.svg';
import a2 from '@/assets/images/product/vegetables/bolt/core/c2.svg';
import a3 from '@/assets/images/product/vegetables/bolt/core/c3.svg';
import a4 from '@/assets/images/product/vegetables/bolt/core/c4.svg';
import a5 from '@/assets/images/product/... |
import React, { useState } from 'react';
const AuthContext = React.createContext({
token: '',
isLoggedIn: false,
login: (token) => {},
logout: () => {},
});
export const AuthContextProvider = (props) => {
const initialToken = localStorage.getItem('token');
const [token, setToken] = useState(in... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["bullet"] = factory();
else
root["britec... |
var linkHT = function (url) {
return `<li><a href='${url}'>${url}</a></li>`
}
var instanceNodeHT = function (url) {
return `<li class="instance-item url">${url}</li>`
}
// need to deal with <> with prefixes
var property_object_uriHT = function (subject, property, object) {
return `<span class="triple">
... |
export const ic_list = { "viewBox": "0 0 24 24", "children": [{"name":"path","attribs":{"d":"M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"},"children":[]}] }; |
require('babel-register')
require('dotenv').config()
const webpackConfig = require('../webpack.config.babel.js')
const staticServerPort = process.env.PORT || 4567
const services = ['webpack', 'static-server']
const sauceEnabled = process.env.SAUCE_ENABLED === 'true'
const sauceUser = process.env.SAUCE_USERNAME
const s... |
import config from '../config';
export function getApiUrl(url) {
return `${config.apiUrl}/${url ? url : ''}`;
};
|
const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const Endereco = new Schema({
id_usuario: {
type: Schema.Types.ObjectId,
ref: "usuarios",
required: true
},
nome: {
type: String,
minLength: 3,
required: true
},
numero: {
t... |
import { bisector, line, curveLinear } from 'd3';
import PropTypes from 'prop-types';
import React from 'react';
import * as CustomPropTypes from './utils/CustomPropTypes';
import { getValue } from './utils/Data';
import xyPropsEqual from './utils/xyPropsEqual';
/**
* `LineChart` displays a series of points connected... |
/* -------------------------------------------------+
Title: Mate Rio - Admin Template
Framework: Materialize
Version: 1.0 stable
Author: Jozef Dvorský, http://www.creatingo.com
+-------------------------------------------------- */
(function($){
$(function(){
"use strict";
var window_... |
/*
* gin-vue-admin web框架组
*
* */
// 加载网站配置文件夹
import { register } from './global'
export default {
install: (app) => {
register(app)
console.log(`
欢迎使用 Gin-Vue-Admin
当前版本:V2.4.5 beta.1
加群方式:微信:shouzi_1994 QQ群:622360840
默认自动化文档地址:http://127.0.0.1:${import.meta.env.VITE_SERVER_PO... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.slangify = exports.deslangify = void 0;
var regexpressions_1 = require("./regexpressions");
/**
* Function to check whether the match is fully uppercase or just first char capitalized
* @param str string to check
* @returns n... |
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: isDevelopment ? 'development' : 'production',
devtool: i... |
function ensureLoaderSuffix(name) {
const loaderSuffixRegexp = /-loader$/
return loaderSuffixRegexp.test(name) ? name : `${name}-loader`
}
class VueLoaderOptionPlugin {
constructor(options = {}) {
this.options = options
this.vueLoaderIdentifier = 'vue-loader/lib/selector'
}
apply(compiler) {
c... |
class Token {
constructor(type, value, line) {
this.type = type;
this.value = value;
this.line = line;
}
}
class Node {
constructor(tag, line) {
this.tag = tag;
this.line = line;
}
}
class Primitive {
constructor(implementation) {
this.tag = "primitive";
this.implementation = implementation;
}
}
... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... |
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
import "./index.css";
ReactDOM.render(
<App />,
document.getElementById("root") // eslint-disable-line no-undef
);
|
'use strict';
var _regeneratorRuntime = require('babel-runtime/regenerator')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
var _setupBase = require("../setup-base");
var _setupBase2 = _interopRequireDefault(_setupBase);
var _desired = require('./desir... |
let order = []
let clickedOrder = []
let score = 0;
const blue = document.querySelector('.blue')
const red = document.querySelector('.red')
const green = document.querySelector('.green')
const yellow = document.querySelector('.yellow')
const lightcolor = (elementCo... |
import Model, { attr } from '@ember-data/model';
export default Model.extend({
invited_by_username: attr('string'),
crate_name: attr('string'),
crate_id: attr('number'),
created_at: attr('date'),
accepted: attr('boolean', { defaultValue: false }),
});
|
module.exports = {
displayName: 'covid-data-api-nest',
preset: '../../jest.preset.js',
globals: {
'ts-jest': {
tsConfig: '<rootDir>/tsconfig.spec.json'
}
},
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../coverage/apps/cov... |
let start;
function setup() {
createCanvas(windowWidth, windowHeight)
start = millis();
}
let anginc = 0.01
let xoff = 0.0085
let x = 5
let angle = 0
let j = 0
function draw() {
background(0, 0, 30, 35)
//first make a point accelerate
for (let i = 0; i< 100; i++) {
strokeWeight(1+ map(sin(i), -1, 1, ... |
// Copyright 2022 Google Inc. 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 applicabl... |
import { Row, Col, Card } from 'antd'
export default function Dashboard() {
return (
<Row gutter={[10, 10]}>
<Col span={12}>
<Card title="title">Content</Card>
</Col>
<Col span={12}>
<Card title="title">Content</Card>
</Col>
<Col span={12}>
<Card title="title... |
"use strict";
// eslint-disable-next-line prefer-const
let gameSpeed = 1;
const baseManaPerSecond = 50;
let curTime = new Date();
let gameTicksLeft = 0;
let refund = false;
let radarUpdateTime = 0;
let timeCounter = 0;
function getSpeedMult(zone = curTown) {
let speedMult = 1;
// dark ritual
if (zone ==... |
/**
* Gets user credentials by user id.
* @param {object} db - firebase database object
* @param {string} userId - firebase user id
*/
export const readUserFromFirebase = async (db, userId) => {
const snapshot = await db.ref(`/user/${userId}`).once('value');
return snapshot.val() || {};
};
/**
* Updates user... |
const _ = require(`lodash`);
const crypto = require(`crypto`);
const changeCase = require(`change-case`);
const stringify = require(`json-stringify-safe`);
/**
* Parses a content item to rebuild the 'elements' property.
* @param {object} contentItem - The content item to be parsed.
* @return {object} Parsed content... |
import Immutable from 'immutable';
import { AvatarImage } from './ImageModel';
export const Profile = Immutable.Record({
familyName: 'family name',
givenName: 'given name',
description: 'product author',
avatarImage: new AvatarImage(),
profileURL: 'https://example.com/anonym',
username: 'username',
});
co... |
import React from 'react';
import { MenuButtons } from './MenuButtons';
import { ScriptName } from './ScriptName';
import { Drawing } from './Drawing';
import { StatementHistory } from './StatementHistory';
import { Prompt } from './Prompt';
import { PromptError } from './PromptError';
export const App = () => (
<di... |
import React, {Component, Children} from 'react';
import UploadTile from '../../components/upload-tile';
import {GetUploadList, DeleteUploadApp} from 'serves/appTile';
import {deleteAppImage} from 'serves/imageCata';
import {Message, Row} from 'tinper-bee';
import {lintAppListData} from 'components/util';
import PageLo... |
exports.config = {
allScriptsTimeout: 11000,
specs: [
'*.js'
],
capabilities: {
'browserName': 'chrome'
},
baseUrl: 'http://localhost:8080',
framework: 'jasmine',
jasmineNodeOpts: {
defaultTimeoutInterval: 30000
}
};
|
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import json from 'rollup-plugin-json';
import resolve from 'rollup-plugin-node-resolve';
import { terser } from 'rollup-plugin-terser';
const env = process.env.NODE_ENV;
const config = {
plugins: [
resolve({
jsnext: tru... |
import React from "react";
import { shallow } from "enzyme";
import { ExpenseList } from "../../components/ExpenseList";
import expenses from "../fixtures/expenses";
test("should render ExpenseList with expenses", () => {
const wrapper = shallow(<ExpenseList expenses={expenses}/>);
expect(wrapper).toMatchSnaps... |
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
requir... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.lang['nl']={"wsc":{"btnIgnore":"Negeren","btnIgnoreAll":"Alles negeren","btnReplace":"Vervangen","btnReplaceAll":"Alles vervangen","btnUndo":"Ongedaan maken","c... |
/**
* 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 Apache License, Version 2.0 (the
* "License"); you... |
var test = require('tap').test;
var write = require('../lib/write.js');
var through = require('through');
test('writes', function (t) {
var output = '';
var stream = through(function (buf) { output += buf });
var w = write(stream);
w(200, 'ok');
t.deepEqual(output, '200 ok\r\n');
output = ... |
//// [genericArrayAssignment1.js]
var s;
var n;
s = n;
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _createSvgIcon = require('./utils/createSvgIcon');
var _createSvgIcon2 = _interopRequireDefault(_createSvgIcon);
function _interopRequireDefault(obj) { re... |
//>>built
define("dojox/date/buddhist/Date", [
"dojo/_base/kernel",
"dojo/_base/declare",
"dojo/date"
], function(dojo, declare, dd){
dojo.getObject("date.buddhist.Date", true, dojox);
dojo.experimental("dojox.date.buddhist.Date");
dojo.declare("dojox.date.buddhist.Date", null, {
_date: 0,
_month: 0,
_year: 0,... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var types_1 = require("../types");
var typeMaps = {
"string": "string",
"number": "number",
"boolean": "boolean",
"int8": "number",
"uint8": "number",
"int16": "number",
"uint16": "number",
"int32": "number",
... |
/*
scrollorama - The jQuery plugin for doing cool scrolly stuff
by John Polacek (@johnpolacek)
Dual licensed under MIT and GPL.
*/
(function($) {
$.scrollorama = function(options) {
var scrollorama = this,
blocks = [],
browserPrefix = '',
onBlockChange = function() {},
latestKnownScrollY = 0,
... |
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/* eslint-disable max-lines */
/* eslint-disable @typescript-eslint/no-explicit-any */
var core_1 = require("@sentry/core");
var tracing_1 = require("@sentry/tracing");
var utils_1 = require("@sentry/utils");
var domain = req... |
import React from 'react';
import Link from '../../components/Link';
import WorkItem from '../work/WorkItem';
import s from './FeaturedWork.css';
import scandiImage from '../work/scandi/hero.jpg';
import deweyImage from '../work/dewey/hero.jpg';
const FeaturedWork = () =>
<section className={s.featuredWork}>
<h1... |
import { Factory, faker } from '@bigtest/mirage';
export default Factory.extend({
id: faker.random.uuid,
name: faker.commerce.productName,
metadata: {
createdByUserId: faker.random.uuid,
createdByUsername: faker.name.firstName,
createdDate: () => faker.date.past(2),
updatedByUserId: faker.random.... |
// components/vscrollSwiper/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
|
var view=function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t){if(!(e instanceof t))throw new TypeError(... |
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[939],{96156:function(l,e,a){"use strict";function r(l,e,a){return e in l?Object.defineProperty(l,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):l[e]=a,l}a.d(e,{Z:function(){return r}})},63769:function(l,e,a){"use strict";a.d(e,{Z:function(){return c}});va... |
'use strict';
var path = require('path');
var gulp = require('gulp');
var conf = require('./conf');
var $ = require('gulp-load-plugins')();
var wiredep = require('wiredep').stream;
var _ = require('lodash');
var browserSync = require('browser-sync');
gulp.task('inject-reload', ['inject'], function () {
browserSy... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'sourcearea', 'oc', {
toolbar: 'Font'
} );
|
console.log('load _drum_70_18_FluidR3_GM_sf2_file');
var _drum_70_18_FluidR3_GM_sf2_file={
zones:[
{
midi:128
,loopStart:0
,loopEnd:0
,keyRangeLow:70
,keyRangeHigh:70
,sampleRate:44100
,coarseTune:0
,fineTune:0
,originalPitch:7000
,file:'SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU3LjcyLjEwMQAAA... |
define(['marionette', 'tpl!templates/ieform.html'],
function (Marionette, IEFormTemplate) {
return Marionette.ItemView.extend({
template: IEFormTemplate,
events: {
'click .cancel': 'gotoBackToListView',
'click .guardar': 'guardar'
},
gotoBackToListView: function (evt) {
evt.preventDefault();
t... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[69],{426:function(module,exports,__webpack_require__){module.exports=function(_){"use strict";_=_&&_.hasOwnProperty("default")?_.default:_;var e={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апре... |
/* eslint-disable no-unused-vars */
import { expect } from 'chai';
import validate from '../helper/validation';
const login = {
email: 'testingapp@gmail.com',
password: 'Kazeem27',
};
const user = {
email: 'testingapp@gmail.com',
firstName: 'tester',
lastName: 'testing',
password: 'Kazeem27',
address: '... |
'use strict'
const _sum = require('lodash/sum')
const _isFinite = require('lodash/isFinite')
const SMA = require('./sma')
const StdDeviation = require('./stddev')
const Indicator = require('./indicator')
class BollingerBands extends Indicator {
constructor (args = []) {
const [ period = 20, mul = 2 ] = args
... |
function GeneralLights(scene) {
var subscene = new THREE.Object3D();
subscene.name = "GeneralLights";
scene.add(subscene);
// There Are, 3, THREE Lights
var lights = [];
lights[ 0 ] = new THREE.PointLight( 0xffffff, 1, 0 );
lights[ 1 ] = new THREE.PointLight( 0xffffff, 1, 0 );
lights[ 2 ] = new THR... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[46],{
/***/ "./frontend/src/@core/utils/validations/validations.js":
/*!*************************************************************!*\
!*** ./frontend/src/@core/utils/validations/validations.js ***!
\**************************************************... |
function generateSmallWorldEdgePush(edges, n , p, k) {
for (var nodeID = 0; nodeID < n; nodeID++) {
for (var edgeID = 0; edgeID < k; edgeID++) {
var diff = Math.floor((edgeID / 2) + 1);
if (edgeID%2 === 1) diff *= -1;
var newIndex = nodeID + diff;
if (newIndex < 0) newIndex += n;
... |
var crypto = require('crypto');
/**
* Return a random alphanumerical string of length len
* There is a very small probability (less than 1/1,000,000) for the length to be less than len
* (il the base64 conversion yields too many pluses and slashes) but
* that's not an issue here
* The probability of a coll... |
export default {
badge: 'Badge',
close: 'Close',
dataIterator: {
noResultsText: 'No matching records found',
loadingText: 'Loading items...'
},
dataTable: {
itemsPerPageText: 'Rows per page:',
ariaLabel: {
sortDescending: 'Sorted descending.',
sortAscending: 'Sorted ascending.',
... |
// Number: 118
// Title: Pascal's Triangle
/*
Given a non-negative integer numRows, generate the first numRows of Pascal's triangle.
In Pascal's triangle, each number is the sum of the two numbers directly above it.
Example:
Input: 5
Output:
[
[1],
[1,1],
[1,2,1],
[1,3,3,1],
[1,4,6,4,1]
]
*/
/*
Runti... |
export default {
CATS_INIT: 'CATS_INIT',
CATS_PAGE: 'CATS_PAGE'
}
|
describe('Employee - Assign teams', function () {
it('should assign a team and remove it as administrator', function () {
cy.loginLegacy();
cy.createCompany();
cy.createTeam('product');
cy.visit('/1/employees/1');
// Open the modal to assign a team and select the first line
cy.get('[data-c... |
function module_initPORTAL() {
patientFile_loadScreen({portal:true});
$(document).attr('title', app_practiceClientProperties['portal.app.title']);
app_viewStack('signin-screen', DO_SCROLL);
$('#portal-welcome-screen-image').attr('src', 'assets/images/practice/'+PRACTICE+'/'+app_practiceClientProperties['... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@styled-icons/crypto/Mtl"), exports);
|
const { MessageEmbed } = require("discord.js");
const Profile = require("../models/profile.js")
const dayjs = require("dayjs");
const localizedFormat = require('dayjs/plugin/localizedFormat');
const { getMember } = require("../utils/functions.js");
dayjs.extend(localizedFormat);
module.exports.run = async (client, m... |
// flow-typed signature: 90448158f7585274ad62ef0febb8626d
// flow-typed version: 48a1b7b5fd/redux-saga_v1.x.x/flow_>=v0.76.0
declare module "redux-saga" {
// These types are copied directly from the redux libdef.
// Importing them in this libdef causes a loss in type coverage.
// * uncomment next line:
// imp... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{"HaE+":function(n,e,t){"use strict";function r(n,e,t,r,i,o,a){try{var l=n[o](a),s=l.value}catch(c){return void t(c)}l.done?e(s):Promise.resolve(s).then(r,i)}function i(n){return function(){var e=this,t=arguments;return new Promise((function(i,o){var a=n.apply(e,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.