text stringlengths 2 1.05M |
|---|
//=require rspec.js
|
const winston = require("winston");
const common = require("./common")
require('winston-daily-rotate-file');
const tsFormat = () => (new Date()).toLocaleTimeString();
var logger = new(winston.Logger)({
transports: [
// colorize the output to the console
new(winston.transports.Console)({
... |
var HeaderFW = Object.getPrototypeOf(app).HeaderFW = new Component("headerFW");
// HeaderFW.debug = false;
HeaderFW.createdAt = "1.0.0";
HeaderFW.lastUpdate = "1.4.10";
HeaderFW.version = "1.3.1";
// HeaderFW.loadingMsg = "This message will display in the console when component will be loaded.";
He... |
import Cookies from 'js-cookie'
const TokenKey = 'Authorization'
export function getToken() {
return null
// Cookies.get(TokenKey)
}
export function setToken(token) {
return Cookies.set(TokenKey, token)
}
export function removeToken() {
return Cookies.remove(TokenKey)
}
|
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_vue_views_Articles_vue"],{
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/vue/components/Articles/Articles.vue?vue&type=script&lang=j... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Html5Fill = {
name: 'html5',
theme: 'fill',
icon: {
tag: 'svg',
attrs: { viewBox: '64 64 896 896', focusable: false },
children: [
{
tag: 'path',
attrs: {
... |
import React, { Component } from 'react'
import { getIpfsGateway } from 'utils/config'
class Gallery extends Component {
state = { active: 0 }
render() {
const { pics } = this.props
const active = pics[this.state.active]
const ipfsGateway = getIpfsGateway()
if (!active) return null
return (
... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
import { NgModule, InjectionToken } from '@angular/core';
import { FlatpickrDirective } from './flatpickr.directive';
import { FlatpickrDefaults } from './flatpickr-defaults.service';
import * as ɵngcc0 from '@angular/core';
export const... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var util_1 = require("./parser/util");
var isExportArray = function (e) {
return e.startsWith('[') && e.endsWith(']');
};
var parseExportArray = function (e) {
return e
.replace('[', '')
.replace(']', '')
.split... |
// Must turn these off so we don't have CA file supplied automatically.
TestData.usex509 = false;
TestData.useSSL = false;
var SERVER_CERT = "jstests/libs/server.pem";
var CLIENT_CERT = "jstests/libs/client.pem";
var CLIENT_USER = "C=US,ST=New York,L=New York City,O=MongoDB,OU=KernelUser,CN=client";
jsTest.log("Asser... |
sourceset_dependencies='{":flippable:dokkaHtml/androidTestRelease":[],":flippable:dokkaHtml/debug":[],":flippable:dokkaHtml/main":[],":flippable:dokkaHtml/release":[]}'
|
// 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... |
export function treatAsUTC(date) {
var result = new Date(date);
result.setMinutes(result.getMinutes() - result.getTimezoneOffset());
return result;
}
export const millisecondsPerDay = 24 * 60 * 60 * 1000;
export function daysBetween(startDate, endDate) {
return (treatAsUTC(endDate) - treatAsUTC(startDa... |
/**
* @typedef {Object} Item
* @name items
* @property {string} name Unique name for the item.
* @property {string} label Label of the item.
* @property {string} iconName The Lightning Design System name of the icon displayed before the item label. Names are written in the format 'standard:account' where 'standard... |
( function( $ ) {
$('.swipebox').swipebox();
} )( jQuery );
var loadImgs = function(jsonPath) {
$.getJSON(jsonPath, function(data){
$("title").text(data["title"]);
var imgHtml = "";
$.each(data["imgs"], function(imgIndex, img){
imgHtml += "<li><img src=\"$src$\" alt=\"$alt$\"/></li>".replace... |
if (typeof console === 'undefined') {
window.console = {
warn: function () {},
error: function () {}
}
}
function hasWarned (msg) {
var count = console.error.calls.count()
var args
while (count--) {
args = console.error.calls.argsFor(count)
if (args.some(containsMsg)) {
return true
... |
const express = require('express');
const router = express.Router();
const controller = require('../controllers/document.controller');
router.post('/', controller.post);
module.exports = router; |
// Packages
import fetch from'isomorphic-unfetch';import retry from'async-retry';import{parse as parseContentType}from'content-type';const fetchAPI=function(path,token=null,opts={}){try{const headers=opts.headers||{};if(token){headers.Authorization=`bearer ${token}`;}// accept path to be a full url or a relative path
/... |
// This file is part of InvenioRequests
// Copyright (C) 2022 CERN.
//
// Invenio RDM Records is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
import { IS_LOADING, SUCCESS, HAS_ERROR, IS_REFRESHING } from "./actions";
export const ini... |
/**
* @license
* Copyright 2013 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... |
var GUI =
(window["webpackJsonpGUI"] = window["webpackJsonpGUI"] || []).push([[1],{
/***/ 1480:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
/* harmony... |
/*
jQWidgets v4.0.0 (2016-Jan)
Copyright (c) 2011-2016 jQWidgets.
License: http://jqwidgets.com/license/
*/
(function(a){a.extend(a.jqx._jqxGrid.prototype,{exportdata:function(q,z,y,o,r,t,f){if(!a.jqx.dataAdapter.ArrayExporter){throw"jqxGrid: Missing reference to jqxdata.export.js!"}if(y==undefined){y=true}var H=this;... |
'use strict';
var dependencies = [
/* 3rd party */
'ngCookies',
'ngResource',
'ngSanitize',
'ngAnimate',
'ui.router',
'ui.bootstrap',
/* modules */
require('./layout/layout.module.js').name,
require('./home/home.module.js').name,
];
module.exports = angular.module('app', dependencies)
.config(require('./ap... |
export function rewriteRequest(){
try {
const originRequest = wx.request;
Object.defineProperty(wx, 'request', {
configurable:true,
enumerable: true,
writable: true,
value: function(){
let options = arguments[0] || {};
//对于发送错误信息的接口不收集,防止死循环
var regexp = new RegExp("https://xxxx/... |
var path = require('path')
var babelrc = JSON.parse(require('fs').readFileSync('.babelrc').toString())
var pkg = require('./package.json')
var webpack = require('webpack')
var ignore = [
new webpack.IgnorePlugin(/react\/addons/),
new webpack.IgnorePlugin(/react\/lib\/ReactContext/),
new webpack.IgnorePlugi... |
/*
Copyright (c) 2004-2012, 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.lang.oo.aop"]){dojo._hasResource["dojox.lang.oo.aop"]=true;dojo.provide("dojox.lang.oo.aop");d... |
import React from 'react'
import PropTypes from 'prop-types'
import styled from 'styled-components'
import { Link } from 'react-router-dom'
import IconTask from './assets/task.svg'
import IconAccount from './assets/account.svg'
const Nav = styled.nav`
align-items: center;
display: flex;
margin: 0;
position: f... |
define([
'app/config',
'app/map/MapController',
'app/search/Stream',
'dojo/dom-construct',
'dojo/promise/Promise',
'esri/map',
'sinon',
'sinon-chai'
], function (
config,
MapController,
Stream,
domConstruct,
Promise,
Map,
sinon,
sinonChai
) {
c... |
import axios from 'axios'
import { toastr } from 'react-redux-toastr'
import { reset as resetForm, initialize } from 'redux-form'
const BASE_URL = 'http://localhost:3003/api'
export function getList() {
const request = axios.get(`${BASE_URL}/sysMenus`)
return {
type: 'BILLING_CYCLES_FETCHED',
... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[70],{208:function(e,n,t){"use strict";t.r(n),t.d(n,"frontMatter",(function(){return l})),t.d(n,"metadata",(function(){return i})),t.d(n,"rightToc",(function(){return c})),t.d(n,"default",(function(){return d}));var r=t(2),a=t(9),o=(t(0),t(224)),l={id:"install",title:... |
// COPYRIGHT © 2018 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute... |
const question = [[162, 332], [182, 299], [141, 292], [158, 264], [141, 408], [160, 400], [177, 430], [151, 442], [155, 425], [134, 430], [126, 447], [139, 466], [160, 471], [167, 447], [182, 466], [192, 442], [187, 413], [173, 403], [168, 425], [153, 413], [179, 275], [163, 292], [134, 270], [143, 315], [177, 320], [1... |
const Sequelize = require('sequelize')
const db = require('../db')
const TripPlace = db.define('tripplace', {
date: {
type: Sequelize.DATE,
allowNull: false,
validate: {notEmpty: true}
}
})
module.exports = TripPlace
|
//Load modules
const npm = require("../modules/NPM.js");
npm.npm();
//load database
dbinit = require("../modules/dbinit.js");
dbinit.dbinit();
//start
module.exports = {
name: "unmute",
description: "[mod] unmute MENTION",
explain: `When a user is muted you can use this command with the users mention to unmute ... |
import Converter from './converter'
import Style from './style/converter'
export default class Drawing extends Converter{
convertStyle(el){
super.convertStyle(...arguments)
var style=this.wordModel.getDirectStyle()
style && style.parse([new this.constructor.Properties(el.style,this)])
}
}
class Properties ex... |
/*!jQuery Knob*/
/**
* Downward compatible, touchable dial
*
* Version: 1.2.9
* Requires: jQuery v1.7+
*
* Copyright (c) 2012 Anthony Terrien
* Under MIT License (http://www.opensource.org/licenses/mit-license.php)
*
* Thanks to vor, eskimoblood, spiffistan, FabrizioC
*/
(function (factory) {
if (typeof d... |
/* eslint-env mocha */
'use strict'
const { expect } = require('aegir/utils/chai')
const http = require('../../utils/http')
const sinon = require('sinon')
const testHttpMethod = require('../../utils/test-http-method')
const { AbortSignal } = require('native-abort-controller')
const defaultOptions = {
cidVersion: 0,... |
var namespaces_dup =
[
[ "cmd", "namespacecmd.html", null ],
[ "cuba", "namespacecuba.html", null ],
[ "ruba", "namespaceruba.html", null ]
]; |
const { AuthError, InputError } = require('@kansa/common/errors')
const isTrueish = require('@kansa/common/trueish')
module.exports = function logout(db, req) {
const data = Object.assign({}, req.query, req.body)
const opt = isTrueish(data.reset)
? 'reset'
: isTrueish(data.all)
? 'all'
: null
... |
/// <reference types="Cypress" />
context('basic', () => {
beforeEach(() => {
cy.visit('http://localhost:9000', {
timeout: 9000,
});
});
after(() => {
cy.exec('yarn kill-app');
});
it('should display passing test count', () => {
cy.wait(2000);
cy.getByText('test-all-good.spec.js')... |
import { Resource } from '@qgrid/core';
export class ColumnChooserState {
constructor() {
this.resource = new Resource();
this.canAggregate = false;
this.canSort = true;
}
}
|
import Uniqid from "../../generator/Uniqid"
export default class CollectionItemController {
constructor() {
this.replace = {
title: '$TITLE$',
text: '$TEXT$'
}
this.id = Uniqid()
this.html = `
<li id="` + this.id + `" class="collection-item">
... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
(factory((global.SlateReactPlaceholder = {}),global.React));
}(this, (function (exports,React) { 'use ... |
function getCell(planet, x, y) {
return planet.cells[x + y * planet.dimensions.x];
}
function pointerPosition(pos, domNode) {
// pixel pos to grid pos
let rect = domNode.getBoundingClientRect();
return {
x: Math.floor((pos.clientX - rect.left) / scale),
y: Math.floor((pos.clientY - rec... |
import AssetSerializer from '@apps/maha/serializers/asset_serializer'
import Profile from '@apps/maha/models/profile'
import googlephotos from './googlephotos/create'
import Asset from '@apps/maha/models/asset'
import instagram from './instagram/create'
import facebook from './facebook/create'
const getCreate = (servi... |
import * as ActionType from './actions'
export default (history) => () => (next) => (action) => {
switch (action.type) {
case ActionType.PUSH_HISTORY:
history.push(action.payload.href)
break
case ActionType.REPLACE_HISTORY:
history.replace(action.payload.href)
... |
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.set-typedarray-offset
description: >
Throws a TypeError if targetBuffer is detached on ToInteger(offset)
info: >
22.2.3.23.2 %TypedArray%.p... |
// flow-typed signature: e0056fd09a33a332c0ad120f7d50308d
// flow-typed version: 452cd002ef/@testing-library/react_v9.x.x/flow_>=v0.104.x
declare module '@testing-library/react' {
// This type comes from
// https://github.com/facebook/flow/blob/v0.104.0/lib/react-dom.js#L64
declare type ReactDOMTestUtilsThenable... |
const { injectBabelPlugin } = require('react-app-rewired');
module.exports = function override(config) {
config = injectBabelPlugin(['import', { libraryName: 'antd', libraryDirectory: 'es', style: 'css' }], config);
return config;
}; |
import React from 'react';
import { expect } from 'chai';
import { mount } from 'enzyme';
import { Box } from '@material-ui/core';
import { Checkboxes } from './Checkboxes';
import { renderWithStore } from '../../../../test/utils/redux';
import InputComponent from './InputComponent';
let component;
const onChange1 = ... |
CKEDITOR.plugins.setLang("sourcedialog","en-au",{toolbar:"Source",title:"Source"}); |
// Copyright (C) 2019-2020 Paul Rosen (paul at paulrosen dot net)
//
// 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 right... |
var classPHP__Token__ENDIF =
[
[ "__toString", "classPHP__Token__ENDIF.html#acaceb755d410d45b3b701ff0d13c6b76", null ],
[ "getId", "classPHP__Token__ENDIF.html#a2a16dabb2bbd437c2ba1f83d05af3a8a", null ],
[ "getLine", "classPHP__Token__ENDIF.html#a65b3ac33c6861378ee7aa071ba6539eb", null ],
[ "$id", "clas... |
"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";
var $fwindow = $(window);
// portfolio menu controler
$fwindow.on("load", function() {
// Animate loader off screen
$(".loader_wrapper").fadeOut("5000");
if ($('.grid').length > 0) {
var $grid = $('.grid').isotope({
// options
itemSelector: '.gr... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[119],{635:function(n,t,e){"use strict";e.r(t),t.default="/* globals d3 */\nconst vertex = `\n precision highp float;\n precision highp int;\n\n attribute vec3 position;\n attribute vec4 color;\n attribute vec2 uv;\n\n uniform mat4 modelViewMatrix;\n uniform ma... |
var loaderUtils = require('loader-utils');
var coffee = require("coffeescript");
var esprima = require('esprima');
var CoverageInstrumentor = require('coffee-coverage/lib/coffeeCoverage').CoverageInstrumentor;
var instrumentor = new CoverageInstrumentor({
instrumentor: 'istanbul'
});
module.exports = function(so... |
function updateSize () {
canvas.width = innerWidth * devicePixelRatio;
canvas.height = innerHeight * devicePixelRatio;
canvas.style.width = innerWidth + 'px';
canvas.style.height = innerHeight + 'px';
}
updateSize();
window.addEventListener('resize', updateSize);
function render() {
var t = performanc... |
'use strict'
const express = require('express');
const produtos = express.Router();
const produtoController = require('../controllers/produtoController')
const get = produtos.get('/:id',produtoController.get);
const gets = produtos.get('/',produtoController.gets);
const create = produtos.post('/',produtoControlle... |
// end point of JavaScript
$(function(){
'use strict';
// global setting for ajax
$.ajaxSetup({
dataType: 'json',
timeout: 60000,
error : function(jqXHR, textStatus) {
var data;
if (textStatus === 'abort') {
return;
}
... |
var lists = Alloy.Collections.list;
function createListWithTitle(title) {
var list = Alloy.createModel('List');
// TODO if there is a userID set, add it to the list
list.save({ title: title }, {
success: function() {
lists.fetch();
},
error: function(e) {
Ti.UI.createAlertDialog({
... |
function mensageiroIniciar() {
document.getElementById("main-block-component-body-card-form-0").classList.add('main-block-component-body-card-form-hidden');
document.getElementById("main-block-component-body-card-form-0").classList.remove('main-block-component-body-card-form');
document.getElementById("mai... |
import { expect } from "chai";
import Graph from "../../src";
function weightFn(g) {
return e => g.edge(e);
}
export default function tests(sp) {
describe("allShortestPaths", () => {
it("returns 0 for the node itself", () => {
const g = new Graph();
g.setNode("a");
expect(sp(g)).to.eql({ a:... |
import React from 'react';
import Locales from '../../../../strings';
import { passEventForKeys, focusOnMainContent } from '../../../../services/events';
const SkipContent = () => (
<a
data-skip-link
// eslint-disable-next-line no-script-url
href="javascript:void(0)"
onClick={focusO... |
import{p as s,a,f as t,c as p,b as e,d as o,t as r,u as d}from"./vendor.82ab3a02.js";s("data-v-725a3895");const c={class:"split time"};a();const i={props:{id:Number},setup(s){const a=s,i=t(),n=p((()=>i.getters.splitOfId(a.id)));return(s,a)=>(e(),o("p",c,r(d(n)),1))},__scopeId:"data-v-725a3895"};export{i as _};
|
import React from "react";
import PropTypes from "prop-types";
import { graphql } from "gatsby";
import Layout from "../components/Layout";
import Features from "../components/Features";
import BlogRoll from "../components/BlogRoll";
export const IndexPageTemplate = ({ intro }) => (
<main>
<div className="l-con... |
import React from 'react';
import { connect, useDispatch, useSelector } from 'react-redux';
import Window from '../../Window';
import Field from './Field';
import FriendlyUnit from './FriendlyUnit';
import EnemyUnit from './EnemyUnit';
import ReduxActions from '../../../js/redux/actions';
import WindowLocation from '..... |
import Document, { Head, Main, NextScript } from "next/document";
/**
* Default lang code
*
* @type {string}
* @private
*/
const _defaultLang = "en-US";
/**
* Custom document for nextjs that includes the lang attribute
*/
export default class MyDocument extends Document {
/**
* Loads in the initial query ... |
"use strict";
var SixFlagsPark = require("./index");
/**
* Six Flags Hurricane Harbor, Arlington
* @class
* @extends SixFlagsPark
*/
class SixFlagsHurricaneHarborArlington extends SixFlagsPark {
/**
* Create a new SixFlagsHurricaneHarborArlington object
*/
constructor(options = {}) {
opt... |
(function(C){var A=function(Q){var S=Q.rows;var K=S.length;var P=[];for(var I=0;I<K;I++){var R=S[I].cells;var O=R.length;for(var H=0;H<O;H++){var N=R[H];var M=N.rowSpan||1;var J=N.colSpan||1;var L=-1;if(!P[I]){P[I]=[]}var E=P[I];while(E[++L]){}N.realIndex=L;for(var G=I;G<I+M;G++){if(!P[G]){P[G]=[]}var D=P[G];for(var F=... |
module.exports = {
"39.0.2171.65": [
"0.20.0",
"0.20.1",
"0.20.2",
"0.20.3",
"0.20.4",
"0.20.5",
"0.20.6",
"0.20.7",
"0.20.8"
],
"40.0.2214.91": [
"0.21.0",
"0.21.1",
"0.21.2"
],
"41.0.2272.76": [
"0.21.3",
"0.22.1",
"0.22.2",
"0.22.3",
"0.23.0",
"0.24.0"
],
"42.0.2311.107": [... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])... |
import React from 'react'
import {useObservableState} from '@/common/hooks/useObservableState'
import {useExperimentGraph} from "@/common/model/task-graph";
import {EdgeContextMenu} from './context-menu/edge-context-menu'
import {GraphContextMenu} from './context-menu/graph-context-menu'
import {NodeContextMenu} from '... |
export default class Cart {
constructor(selector) {
this.cart = document.querySelector(selector);
}
get cartNode() {
return this.cart;
}
set cartNode(selector) {
console.log(selector);
this.cart = document.querySelector(selector)
}
}
|
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel appli... |
import React from "react";
import { Icon } from "components";
import Label from "utils/translationNode";
const items = {
citizen: {
sections: {
one: {
items: [
{
primaryText: <Label label="CS_HOME_HOMEHEADER" />,
route: "/citizen",
leftIcon: <Icon actio... |
import { createMuiTheme } from '@material-ui/core';
const palette = {
primary: {
main: '#303388',
light: '#635db9',
dark: '#000e5a',
contrastText: '#ffffff',
},
secondary: {
main: '#22a2dd',
light: '#6ad3ff',
dark: '#0073ab',
contrastText: '#FFFDE7',
},
error: { main: '#f44336... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{192:function(t,e,i){"use strict";i.r(e);i(92);var M=i(5),n=i(0),j=i.n(n),u=i(223),L=i(235),a=i(411),g=i(412),c=i.n(g);var r=i(30),o=function(){var t=Object(n.useState)(r.globalHistory.location),e=t[0],i=t[1];return Object(n.useEffect)(function(){var t=r.globalHis... |
'use strict'
const { User } = require('lib/models')
const getAuthResponse = require('./get-auth-response')
const signin = require('./signin')
const parse = require('co-body')
module.exports = async (ctx) => {
try {
// try signing in to see if the user already exists
await signin(ctx)
return
} catch (... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],{
/***/ "./frontend/src/views/settings/create_categories.vue":
/*!***********************************************************!*\
!*** ./frontend/src/views/settings/create_categories.vue ***!
\*********************************************************... |
/* eslint-env node */
//add extra modules root
process.env.NODE_PATH = 'src';
module.constructor._initPaths();
//debug log
global.dump = require('debug')('allure-face:test');
//jsdom
const jsdom = require('jsdom').jsdom;
global.document = jsdom('<html><head></head><body></body></html>', {
url: 'http://localhost'... |
import React from 'react';
import { TouchableOpacity, View } from 'react-native';
import { TabView, SceneMap } from 'react-native-tab-view';
import BackButton from '../../components/BackButton';
import styles from '../../constants/Connections/ConnectionTabs';
import Animated from 'react-native-reanimated';
import Peop... |
"use strict";
var _MiniProfiler = (function() {
var _arguments = arguments;
var options,
container,
controls,
fetchedIds = (window.MiniProfiler && window.MiniProfiler.fetchedIds) || [],
fetchingIds =
(window.MiniProfiler && window.MiniProfiler.fetchingIds) || [],
// so we never pull down ... |
/* global $, QUnit, swal */
QUnit.test('dialog aria attributes', (assert) => {
swal('Modal dialog')
assert.equal($('.swal2-modal').attr('role'), 'dialog')
assert.equal($('.swal2-modal').attr('aria-live'), 'assertive')
assert.equal($('.swal2-modal').attr('aria-modal'), 'true')
})
QUnit.test('toast aria attribu... |
import isTimeSignatureString from '../../../../src/parser/matchers/isTimeSignatureString';
describe('isTimeSignatureString', () => {
test('Module', () => {
expect(isTimeSignatureString).toBeInstanceOf(Function);
});
});
describe.each([
['2/2', true],
['3/2', true],
['2/4', true],
['3/4', true],
['4/4', true... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var esprima = require("esprima");
var Tapable = require("tapable");
var BasicEvaluatedExpression = require("./BasicEvaluatedExpression");
function Parser(options) {
Tapable.call(this);
this.options = options;
this.in... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[91],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Pages/Admin/customers/show.vue?vue&type=script&lang=js&":
/*!*************************************************************************************... |
describe('theme', function() {
it('can be changed dynamically', function() {
affix('#cal');
$('#cal').fullCalendar({
defaultView: 'agendaWeek'
});
expect($('.fc')).toHaveClass('fc-unthemed');
expect($('.fc')).not.toHaveClass('ui-widget');
expect($('.fc-toolbar button .fc-icon').length).toBeGreaterThan... |
import React, { useEffect, useState } from "react"
import { useStateValue } from '../StateProvider'
import Layout from "../components/layout"
import FormController from "../components/FunnelForm/FormController"
const Funnel = () => {
return (
<Layout>
<FormController/>
</Layout>
... |
const mongoose = require('mongoose');
const moment = require('moment');
const PostSchema = new mongoose.Schema({
title: {
type: String,
unique: true,
required: true,
trim: true
},
description: {
type: String,
required: true,
trim: true
},
auth... |
function TableViewWindow(tabbed_window,show_navbar,title,acs_win_id,acs_table_root_id) {
var win = Ti.UI.createWindow({
title:title,
backgroundColor:'white',
navBarHidden:false
});
var osname = Ti.Platform.osname,
version = Ti.Platform.version,
height = Ti.Platform.displayCaps.platformHeight,
width = Ti... |
module.exports={A:{A:{"2":"H D G E A B eB"},B:{"1":"N I","2":"0 C p J L"},C:{"1":"1 4 5 7 8 9 u v w x y z AB BB CB","2":"0 2 3 cB F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t aB UB"},D:{"1":"1 4 5 7 8 9 j k l m n o M q r s t u v w x y z AB BB CB OB GB fB JB HB KB LB MB","2":... |
module.exports = function(config) {
config.set({
files: [
'node_modules/jquery/dist/jquery.js',
'dist/jquery.boilerplate.min.js',
'test/setup.js',
'test/spec/*'
],
frameworks: ['qunit'],
autoWatch: true
});
};
|
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*-------------------------------------------------... |
/*
* Copyright 2020 The Magma Authors.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
*... |
// create the about section
const generateAbout = aboutText => {
if (!aboutText) {
return '';
}
return `
<section class="my-3" id="about">
<h2 class="text-dark bg-primary p-2 display-inline-block">About Me</h2>
<p>${aboutText}</p>
</section>
`;
};
const ... |
define([
'./defined'
], function(
defined) {
'use strict';
var a;
/**
* Given a URL, determine whether that URL is considered cross-origin to the current page.
*
* @private
*/
function isCrossOriginUrl(url) {
if (!defined(a)) {
... |
import $ from "jquery";
import resizeCallbacks from "core/utils/resize_callbacks";
import responsiveBoxScreenMock from "../../helpers/responsiveBoxScreenMock.js";
import keyboardMock from "../../helpers/keyboardMock.js";
import typeUtils from "core/utils/type";
import browser from "core/utils/browser";
import domUtils ... |
var googleDocURL = 'https://docs.google.com/spreadsheets/d/1qaLgv4ZomJS6ZlAE5S6Ps5DS04xI3j88MxCeCt_cC0M/edit#gid=0';
|
'use strict';
(function() {
function AuthService($location, $http, $cookieStore, $q, appConfig, Util, User) {
var currentUser = {};
var safeCb = Util.safeCb;
var currentUser = {};
var smallgroup = {};
var userRoles = appConfig.userRoles || [];
if ($cookieStore.get('token') && $location.path() !=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.