text stringlengths 2 1.04M |
|---|
import deck from '../../data/deck.json'
import lands from '../../data/lands.json'
import * as selectors from '@/store/modules/draft/selectors'
describe('Arena 60 Card Decks', () => {
let deck60 = selectors.arena60CardDeck('rna', false, deck);
let decklist60 = selectors.arena60CardDeckList('rna', false, deck);
... |
angular.module('eappApp').controller('SelectStoreController', function ($scope, $mdDialog, eapp, appService, profileData)
{
$scope.loading = false;
var ctrl = this;
$scope.storeName = "";
$scope.storesAvailable = false;
$scope.Init = function()
{
$scope.storeName... |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2007-2008 1&1 Internet AG, Germany, http://www.1und1.de
License:
MIT: https://opensource.org/licenses/MIT
See the LICENSE file in the project'... |
let nock = require('nock');
module.exports.testInfo = {"share":"share156775323087205083","dir":"dir156775323127003882","file":"file156775323168500167"}
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
.put('/share156775323087205083')
.query(true)
.reply(201, "", [ 'Conte... |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
if(window.SimpleSlide){
new SimpleSlide({
slide: 'quote', // nome do atributo data-slide="principal"
nav: false, // se deve ou não mostrar a navegação
auto: true, // se o slide deve passar automaticamente
time: 5000, // tempo de transição dos slides
});
new SimpleSlide({
slide: 'portfolio',... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@styled-icons/fa-solid/ExpandArrowsAlt"), exports); |
import React from 'react';
import styled, { css } from 'react-emotion';
import { MdArrowDropDown } from 'react-icons/md';
import { MdArrowDropUp } from 'react-icons/md';
import UserContext from '../../../context/UserContext';
import { button } from '../../../utils/styles';
const Button = styled('button')`
${button.d... |
'use strict';
const types = require('../types');
/**
* Comparison function to sort Commit Groups.
*
* @param {Object} group1 commit group object with a `title` attribute.
* @param {Object} group2 commit group object with a `title` attribute.
* @return {integer} -1 if `group1` should be displayed before `group2`,... |
var r = function (s, local) {
return local ? s : require.resolve(s);
};
export var getStorybookBabelConfig = function ({
local = false
} = {}) {
return {
sourceType: 'unambiguous',
presets: [[r('@babel/preset-env', local), {
shippedProposals: true,
loose: true
}], r('@babel/preset-typescr... |
$(function() {
var context = $.extend(APP_CONFIG, {
'template_path': 'jst/example.html',
'config': JSON.stringify(APP_CONFIG, null, 4),
'copy': JSON.stringify(COPY, null, 4)
});
var html = JST.example(context);
$('#template-example').html(html);
}); |
// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
//
$(document).on('turbolinks:load', function() {
var $addPersonForm = $('#addPersonAndEnrollment form');
$addPersonForm.on('ajax:success', function(e, data, status, xh... |
import Ember from 'ember'
const {Helper, getWithDefault: emberGetWithDefault} = Ember
/**
* Sets a default value for an object's property in a template
*
* This is being used to remove the setting of `itemExpansion` in frost-list.hbs when
* the usage is not for a "typed" list-item. In the case when this is a "type... |
import request from '@/utils/request'
// IP资源使用日志列表
export function resourceLogList(data, schema) {
return request({
url: `/resource/log/ownerLog/list${schema ? schema === 'prepare' ? '?_prepare=1' : '?_schema=1' : ''}`,
method: schema ? 'get' : 'post',
data: data
})
}
// 操作日志
export function opLogList... |
const {body} = require('express-validator');
module.exports = [
body('title')
.notEmpty().withMessage("Questions must have a title").bail()
.isLength({min: 5, max: 256}).withMessage("title must be between 5 and 256 characters"),
body('tags')
.notEmpty().withMessage("You must have at lea... |
import React, { useState, useContext } from "react";
import { useHistory } from 'react-router-dom';
import { BucketListsContext } from '../context/BucketListsContext';
import { axiosWithAuth } from "../utils/axiosWithAuth";
const CreateBucketList = props => {
const [userData, setUserData] = useState({
name: "",
... |
import React from "react";
import PropTypes from "prop-types";
import clsx from "clsx";
import { makeStyles } from "@material-ui/core/styles";
import { mergeClasses } from "../../../Utils/utilFunctions";
const useStyles = makeStyles(theme => ({
root: {
backgroundColor: theme.palette.background.main1,
... |
'use strict';
// Генератор файлов блока
// Использование: node createBlock.js [имя блока] [доп. расширения через пробел]
const fs = require('fs');
const projectConfig = require('./projectConfig.json');
const dirs = projectConfig.dirs;
const mkdirp = require('mkdirp');
const blockName = process.argv[2]; ... |
// {id} will be changed with current product id
var YC_BREADCRUMBS_SELECTOR = '.breadcrumbs li[class^="item category"]',
YC_BREADCRUMBS_VALUE = 'innerHTML',
YC_ARTICLE_RATING_FORM_SELECTOR = '#review-form',
YC_ARTICLE_RATING_FORM_RADIO_SELECTOR = '[name^="ratings"]:checked',
YC_BASKET_FORMS_SELECTOR = '... |
/* jshint unused: false */
var rbExamples = [
{ name: 'Fibonacci',
code:
'// Recursive fibonacci algorithm\n' +
'function fib(n) {\n' +
' if (n == 0) {\n' +
' return 0;\n' +
' } else if (n == 1) {\n' +
' return 1;\n' +
' } else {\n' +
' return fib(n-1)+fib(n-2);\n' +
' }\n' +
'}\n' +
'\n' +
'var output;\... |
const PendingState = require('../../../rooms/welcome/PendingState.js').PendingState;
const RoomLink = require('../../../rooms/RoomLink.js').RoomLink;
const MyServer = require('../../../my/MyServer.js').MyServer;
const MyClient = require('../../../my/MyClient.js').MyClient;
const CommandLibrary = require('... |
module.exports = {
configureWebpack: {
resolve: {
alias: {
'views': '@/views',
'components': '@/components',
'network': '@/network',
'common': '@/common',
'assets': '@/assets',
'router': '@/router',
}
}
},
publicPath: '/',
outputDir: 'dist',
}
... |
import { defineConfig } from "vite";
export default defineConfig(({ mode }) => ({
base: mode === "production" ? "/kata-clusters/" : "",
})); |
const fs = require("fs");
const path = require("path");
module.exports = (dir) => {
let listOfPdfs = [];
fs.readdirSync(dir).forEach(file => {
if (path.extname(file).toLowerCase() === ".pdf") {
listOfPdfs.push(dir+"/"+file);
}
});
return listOfPdfs;
} |
//set this variable true if the cached Bok-xml should be used if the service is not available. Set false if just an error shoudl be displayed
var USE_CACHED_XML = true;
//last retrieval of the chached version of bok xml (located under bok_local/gistbok1hierarchy.xml)
var CACHE_RETRIEVAL_DATE = "Dec 30th, 2014";
var ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert = require("assert");
const backoff_1 = require("./backoff");
const rate_limiter_1 = require("./rate-limiter");
const timestamp_1 = require("./timestamp");
const util_1 = require("./util");
const write_batch_1 = require("./write-ba... |
angular.module('treehouseCourse', [])
.controller('stageFourCtrl', function ($scope, People) {
$scope.people = People.get();
$scope.receipt = {
"Steak": 21.99,
"Salad": 8.99,
"Chips": 1.50,
"Drink": 2.00
}
})
.factory('People', function ($http) {
var people = [];
retu... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
const { TelemetryClient } = require('applicationinsights');
/**
* Middleware for logging incoming activities into Application Insights.
* In addition, registers a service so other components can log telemetry.
* If this... |
<script>
jQuery(document).ready(function($){
var $form_modal = $('.user-modal'),
$form_login = $form_modal.find('#login'),
$form_signup = $form_modal.find('#signup'),
$form_forgot_password = $form_modal.find('#reset-password'),
$form_modal_tab = $('.switcher'),
$tab_login = $form_modal_tab.chil... |
import history from "../components/history";
import { ROOTURL } from "../constants";
const createNewPlantFetch = (plantData) => {
return (dispatch) => {
const data = {
plant: {
common_name: plantData.commonName,
scientific_name: plantData.scientificName,
location: plantData.location... |
var Ginger = $CL.namespace("Ginger");
$CL.require("Cl.Application.Application");
Ginger.AppInitializer = function(){};
Ginger.AppInitializer.prototype = {
init : function() {
$CL.log('loaded modules: ', $APPLICATION_MODULES);
var application = $CL.makeObj("Cl.Application.Application", {
... |
mycallback( {"CONTRIBUTOR OCCUPATION": "ECONOMIST", "CONTRIBUTION AMOUNT (F3L Bundled)": "250.00", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "SELF", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "4326 UPLAND DRIVE", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR CAND... |
'use strict';
const getChannelURL = require('ember-source-channel-url');
const { embroiderSafe, embroiderOptimized } = require('@embroider/test-setup');
module.exports = async function () {
return {
scenarios: [
{
name: 'ember-lts-3.20',
npm: {
devDependencies: {
'emb... |
module.exports = {
siteMetadata: {
title: `Chris J Mears`,
description: `I'm a Data Scientist with experience in Machine Learning, Deep Learning, Python, SQL, JavaScript and Tableau.`,
author: `@chrisjm`,
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${... |
"use strict";
/**
* Contains 3D Secure details for this transaction
*/
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ThreeDSecure.js.map |
// MyStoreCheckout.js
import React from 'react';
import {Elements} from 'react-stripe-elements';
import CheckoutForm from './CheckoutForm';
class MyStoreCheckout extends React.Component {
constructor(props){
super(props)
}
render() {
return (
<Elements>
<CheckoutForm handleSubmit={(e, strip... |
/*
* Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
... |
//ubah jadi grup mu
let handler = async m => m.reply(`
╭═════════════════
║ 𝐆𝐑𝐎𝐔𝐏 𝐎𝐅𝐅𝐈𝐂𝐈𝐀𝐋
║https://chat.whatsapp.com/HrmHALYnHsxIwAIbftmdLr
╰══════════════════
`.trim())
handler.help = ['gcbot']
handler.tags = ['main']
handler.command = /^(gcbot)$/i
handler.owner = false
handler.mods = false
handler.... |
import agent from './agent'
import client from './client'
export {
agent,
client
} |
import React from 'react'
import { configure, mount } from 'enzyme'
import Adapter from '@wojtekmaj/enzyme-adapter-react-17'
import renderer from 'react-test-renderer';
import CFormText from '../CFormText'
configure({ adapter: new Adapter() })
describe('CFormText', () => {
it('renders basic wrapper correctly', () ... |
module.exports = {
description: 'does not rewrite class expression IDs',
options: {
moduleName: 'myModule'
}
}; |
/*global define,dojo,alert,dojoConfig,console,$, gapi*/
/*jslint browser:true,sloppy:true,nomen:true,unparam:true,plusplus:true,indent:4 */
/** @license
| Copyright 2013 Esri
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| Yo... |
import * as Rx from "rx";
import { DOM_SINK, getInputValue, preventDefault } from "@rxcc/utils"
import { button, div, input } from "cycle-snabbdom"
import { ROUTE_PARAMS } from "@rxcc/components"
import {
ACTIVITIES, activityFactory, ADD_NEW_TASK, LOG_NEW_ACTIVITY, taskFactory, TASKS
} from "../../../../src/domain"
i... |
/*!
* AdminLTE v3.0.1 (https://adminlte.io)
* Copyright 2014-2019 Colorlib <http://colorlib.com>
* Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === ... |
"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... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
// ***************************************************************
// - [#] indicates a test step (e.g. # Go to a page)
// - [*] indicates an assertion (e.g. * Check the title)
// - Use element ID when selec... |
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
// Get json file from the google-fonts API
curl: {
'google-fonts-source': {
src: 'https://www.googleapis.com/webfonts/v1/webfonts?sort=alpha&key=AIzaSyCDiOc36EIOmwdwspLG3LYwCg9avqC5YLs',
dest: 'assets/json/webfonts.json'
}
},
//... |
import { LightningElement, api, track } from 'lwc';
export default class NksSafJournalpost extends LightningElement {
_journalpost;
@track mainDocument = null;
@track attachments = null;
numberOfAttachments = 0;
fromToType = null;
journalpostDate = null;
@api set journalpost(value) {
... |
/**
* Theme: Zircos admin Template
* Author: Coderthemes
* Component: Datatable
*
*/
var handleDataTableButtons = function() {
"use strict";
0 !== $("#datatable-buttons").length && $("#datatable-buttons").DataTable({
dom: "Bfrtip",
buttons: [{
extend: "copy"... |
import { LocationApi, LocalStorageApi, Weather, Dom } from "./loc&WeatherApi.js";
const loc = new LocationApi();
const weather = new Weather();
const dom = new Dom();
const storage = new LocalStorageApi();
const btnWeather = document.getElementById("weather");
const inputCity = document.getElementById("input_city");
... |
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
https://github.com/mishoo/UglifyJS2
-------------------------------- (C) ---------------------------------
Author: Mihai Bazon
... |
"use strict";
const CACHE_NAME_PREFIX = "offline";
function GetCacheBaseName()
{
// e.g. "offline-https://example.com/"
return CACHE_NAME_PREFIX + "-" + self.registration.scope;
};
function GetCacheVersionName(version)
{
// e.g. "offline-https://example.com/-v2"
return GetCacheBaseName() + "-v" + version;
};
fu... |
const program = require('commander');
const pkg = require('../package.json');
const configure = require('../commands/configure');
const helpers = require('../lib/helpers');
program
.version(pkg.version);
program
.command('key')
.description('Add your Uptime Robot API key')
.action(() => configure
.key(hel... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.VueTemplateCompiler = {}));
}(this, function (exports) { 'use strict';
var splitRE... |
//------ VARIABLES ------\\
// Stores the text from the Ink story as a list (see Inky documentation).
var story = new inkjs.Story(storyContent);
// Empty strings to store the story state and body element classes.
var savePoint = "";
var currentClasses = "";
// Variables to select various elements on the HTML DOM
var... |
/*
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
define("dojo/rpc/JsonpService",["../_base/array","../_base/declare","../_base/lang","./RpcService","../io/script"],f... |
module.exports={A:{A:{"2":"O D G E A B lB"},B:{"1":"M KB N R YB T PB","2":"C I F P J K L"},C:{"1":"5 6 7 8 9 AB BB CB DB EB NB GB HB IB JB Q LB FB W V U QB RB SB TB UB VB WB M KB N sB R","2":"vB OB H Y O D G E A B C I F P J K L Z a b c d e kB jB","194":"w x y","450":"f g h i j k l m n o p q r s t u v","2242":"0 1 2 3 4... |
const tty = require('tty')
const isCI =
process.env.CI ||
process.env.WT_SESSION ||
process.env.ConEmuTask === '{cmd::Cmder}' ||
process.env.TERM_PROGRAM === 'vscode' ||
process.env.TERM === 'xterm-256color' ||
process.env.TERM === 'alacritty'
const isTTY = tty.isatty(1) && process.env.TERM !== 'dumb' && !... |
/**
* @ignore
* Main module entry point that provides the AirSupply class and
* factory function.
*
* @example
* const { AirSupply } = require('air-supply');
*
* @example
* // Assuming native NodeJS support
* import { AirSupply, airSupply } from 'air-supply/index';
*
* @module air-supply
*/
const AirSuppl... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _createSvgIcon = _interopRequireDefault(require("../../createSvgIcon"));
var _Bug = _interopRequireDefault(require("@rsuite/icon-font/lib/legacy/Bug"));
//... |
/**
* @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... |
/*
* Copyright (c) 2019. The copyright is reserved by Ghode of Harbin Institute
* of Technology. Users are free to copy, change or remove. Because no one
* will read this. Only I know is that Repeaters are the best of the world.
* Only I know is that Repeaters are the best of the world. Only I know is
* that Repea... |
const { expect } = require('chai')
const { ethers, waffle, network } = require('hardhat')
const provider = waffle.provider
const toWei = ethers.utils.parseEther
const format = function (amount) {
return ethers.utils.formatUnits(amount, 18)
}
const toUnits = function (value) {
return ethers.utils.parseUnits(value, ... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.Meanderer = factory());
}(this, (function () { 'use strict';
function _classCallCheck(instanc... |
import builder from "@daybrush/builder";
const defaultOptions = {
tsconfig: "tsconfig.build.json",
external: {
"@daybrush/utils": "utils",
"gesto": "Gesto",
"@egjs/axes": "eg.Axes",
"react": "React",
"keycon": "KeyController",
"react-dom": "ReactDOM",
"re... |
var searchData=
[
['readme_2emd',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]],
['reject',['REJECT',['../lex_8yy_8c.html#a835f10dd1ab4bf9a80c4cd80ee6e3058',1,'lex.yy.c']]]
]; |
import Http from './Http'
export default {
create (data) {
return Http.post('stars', data)
},
delete (data) {
return Http.delete(`stars/${data.postId}`)
}
} |
'use strict';
var configFactory = require('./config');
var t = require('chai').assert;
var fs = require('fs');
var path = require('path');
describe('config', function () {
var Config, config;
beforeEach(function (done) {
delete process.env.REDIS_URI;
delete process.env.REDIS_AUTH;
Config = configFacto... |
(function() {var implementors = {};
implementors["rnd"] = [];
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() |
/*
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( 'div', 'en', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Advisory Title',
cssClassInputLabel: 'Stylesheet Classes',
edit: ... |
// I18N constants
// LANG: "de", ENCODING: UTF-8
// Author: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
{
"Abbreviation": "Abkürzung",
"Expansion:": "Erklärung:",
"Delete": "Löschen"
}; |
import React, { useState } from 'react';
import { Link, useParams } from 'react-router-dom';
import gql from 'graphql-tag';
import { useQuery, useMutation } from 'react-apollo';
import ErrorBox from '../shared/ErrorBox';
import Spinner from '../shared/Spinner';
import SurveyView from '../shared/SurveyView';
// Get t... |
"use strict";
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.15.5
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator... |
(function() {
'use strict';
angular.module('mcms.mediaLibrary')
.controller('MediaLibraryHomeController',Controller);
Controller.$inject = [];
function Controller() {
var vm = this;
}
})(); |
var load=new Loader();
load.start();
load.addText();
load.animateText();
function getNews(){
const marquee=document.querySelector("marquee");
let url2="https://newsapi.org/v2/everything?q=Apple&from=2022-03-18&sortBy=recent&apiKey=efccfeb7138d4fa3849625cafc3d4294";
fetch(url2).then(response=>
response.json()).t... |
function solve() {
const input = document.querySelector('#text');
const result = document.querySelector('#result');
function convert(string) {
let word = '';
string.split(' ').forEach(element => {
if (Number(element)) {
word += String.fromCharCode(element);
... |
window.__NUXT__=(function(a,b,c,d){return {staticAssetsBase:"\u002Fstatic\u002F1597376630",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"e-AlQur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark",bgColor:"#071e3d",fgColor:"#fff"},se... |
import 'source-map-support/register'
import debugLevels from 'resolve-debug-levels'
import initBroker from './init-broker'
import initPerformanceTracer from './init-performance-tracer'
import initExpress from './init-express'
import initWebsockets from './init-websockets'
import startExpress from './start-express'
imp... |
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames |
! function(e) {
var t = {};
function r(n) {
if (t[n]) return t[n].exports;
var o = t[n] = {
i: n,
l: !1,
exports: {}
};
return e[n].call(o.exports, o, o.exports, r), o.l = !0, o.exports
}
r.m = e, r.c = t, r.d = function(e, t, n) {
... |
const fs = require('fs');
const path = require('path');
module.exports = function (app) {
fs.readdirSync(__dirname, {withFileTypes: true}).forEach(file => {
if (file.name != path.basename(__filename)) {
require(path.join(__dirname, file.name))(app);
}
});
}; |
/*
Copyright 2019 Adobe. All rights reserved.
This file is licensed to you 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 agre... |
/*
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.json.ref"]){ //_hasResource checks added by build. Do not use _hasResource directly in your co... |
var inherit = require('./inherit');
var meshFeature = require('./meshFeature');
/**
* Contour feature specification.
*
* @typedef {geo.feature.spec} geo.contourFeature.spec
* @property {object[]} [data=[]] An array of arbitrary objects used to
* construct the feature.
* @property {geo.contourFeature.styleSpec... |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pr... |
/**
* This module exposes a special reducer for handling the fetch status of any fetch action processed by our fetch saga.
*
* The key based reducer doesn't require any kind of manual configurations. Works out of the box with the fetch saga.
*
* The fetch key based reducer is for handling cases where we might want... |
/* eslint-disable quote-props */
export default {
'alert': require('./alert').default,
'badge': require('./badge').default,
'breadcrumb': require('./breadcrumb').default,
'button': require('./button').default,
'button-group': require('./button-group').default,
'card': require('./card').default,... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('@angular/core'),require('@angular/common/http'),require('ngx-highlightjs'),exports, require('@angular/core'), require('@angular/common/http'), require('ngx-highlightjs'), require('rxjs'), require('rxjs/oper... |
module.exports = {
context: __dirname,
entry: [ "./app.jsx" ],
output: {
path: __dirname + "/public/js",
filename: "app.js"
},
module: {
loaders: [
{ test: /\.jsx$/, exclude: /node-modules/, loader: "babel-loader" }
]
},
resolve: {
extensions: [ "", ".js", ".jsx" ]
}
}; |
module.exports = {
root: true,
extends: ['kata/react', 'prettier', 'prettier/@typescript-eslint', 'plugin:prettier/recommended'],
plugins: ['prettier'],
rules: {
'prettier/prettier': 'error'
}
} |
import Layout from 'components/Layout';
import Result from 'components/Result';
import moment from 'moment';
import React, { useContext, useState } from 'react';
import Button from 'react-bootstrap/Button';
import Table from 'react-bootstrap/Table';
import { AppContext } from '../../state/store';
let ScrapeResults = (... |
#!/usr/local/bin/node
'use strict';
var Cache = require('../index.js')
var convar = require('convar')
var ttl = convar('ttl') || 60
var namespace = convar('namespace')
function help(msg) {
var pkg = require('../package.json')
if (msg) {
console.error(msg)
console.log('')
}
console.error(pkg.name, '... |
/*---------------------------------------------------------------------------*/
/* innovaphone.pbxwebsocket.OrtcPeerConnection.js */
/* A library for adding WebRTC call functionality to websites using the */
/* innovaphone PBX */
... |
/**
* The Czech (Čeština) language file for Shadowbox.
*
* This file is part of Shadowbox.
*
* Shadowbox is an online media viewer application that supports all of the
* web's most popular media publishing formats. Shadowbox is written entirely
* in JavaScript and CSS and is highly customizable. Using Shadowbox,... |
/**
* grunt/pipeline.js
*
* The order in which your css, javascript, and template files should be
* compiled and linked from your views and static HTML files.
*
* (Note that you can take advantage of Grunt-style wildcard/glob/splat expressions
* for matching multiple files.)
*/
// CSS files to inject in orde... |
deepmacDetailCallback("00bb1c000000/24",[{"d":"2019-08-31","t":"add","s":"ieee-oui.csv","a":"No.2 of Xincheng Road, Songshan Lake Zone Dongguan Guangdong CN 523808","c":"CN","o":"Huawei Device Co., Ltd."}]); |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {bindActionCreators} from 'redux';
import {connect} from 'react-redux';
import {getCurrentTeamId, getMySortedTeamIds, getJoinableTeamIds} from 'mattermost-redux/selectors/entities/teams';
import {get... |
const express = require('express')
const app = express()
app.set('views', __dirname + '/views')
app.set('view engine', 'jsx')
app.engine('jsx', require('express-react-views').createEngine())
module.exports = (storage, http) => {
app.get('/recipe', (req, res) => {
res.render('recipes', {
title: 'recipes',
... |
const test = require("tape");
const ViewRegistry = require("../../lib/render_process/view_registry");
test("ViewRegistry", t => {
t.test("props", t => {
const registry = new ViewRegistry();
// Adding initial views
registry.update({
updated: [
{ component_name: "component-1", view_id: 1, pr... |
var _ = require('lodash');
var apidoc = require('apidoc-core');
var fs = require('fs-extra');
var path = require('path');
var winston = require('winston');
var Markdown = require('markdown-it');
var PackageInfo = require('./package_info');
var defaults = {
dest : path.join(__dirname, '../do... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.