code stringlengths 2 1.05M |
|---|
var mage = require('../../../mage');
exports.acl = ['*'];
exports.execute = function (state, engineName, command, params, cb) {
var engine;
try {
engine = mage.ident.getEngine(engineName);
} catch (error) {
return state.error('ident', error, cb);
}
if (!engine.run) {
return state.error('ident', 'Engine h... |
Template.header.helpers({
pageTitle: function() {
return Session.get('pageTitle') || 'Qiao Door' ;
} ,
audioLetEnabled: function() {
return Meteor.isCordova ;
}
});
Template.header.events({
'click .audiolet': function(e) {
e.preventDefault();
AudioLet.wavPlay('0E07|2|290|26|68|41|0111111... |
/*
* GoJS v2.1.19 JavaScript Library for HTML Diagrams, https://gojs.net
* GoJS and Northwoods Software are registered trademarks of Northwoods Software Corporation, https://www.nwoods.com.
* Copyright (C) 1998-2020 by Northwoods Software Corporation. All Rights Reserved.
* THIS SOFTWARE IS LICENSED. THE LICENSE ... |
define(['./utils/utils', './xm'], function(utils, xm) {
var defaultCfg = {
debug: false
};
return {
config: function(cfg) {
},
create: function(opt) {
return new xm(opt);
}
}
}); |
require.config({
// baseUrl: "../dist/js",
baseUrl: "/static/js",
paths: {
"jquery": ["libs/jquery-2.1.4.min", "libs/jquery-1.7.2.min", "http://libs.baidu.com/jquery/2.0.3/jquery"],
"zepto": "libs/zepto.min",
"mobile": "libs/date/jquery.mobile-1.4.5.min",
"mobiscroll": "libs/... |
/*!
* libvorbis plugin for videojs-record
* @version 4.3.0
* @see https://github.com/collab-project/videojs-record
* @copyright 2014-2021 Collab
* @license MIT
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(r... |
import { OpKind, RpcClient } from '@taquito/rpc';
export { OpKind } from '@taquito/rpc';
import { combineLatest, ReplaySubject, from, defer, timer, throwError, of, range, concat, Subject, NEVER, Observable } from 'rxjs';
import { distinctUntilChanged, map, takeWhile, tap, shareReplay, filter, first, switchMap, distinct... |
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* Tabulator v4.5.1 (c) Oliver Folkerd */
var Ed... |
/*!
* DevExtreme-Quill Editor v.0.10.3
* https://js.devexpress.com/
* Copyright (c) 2020, Developer Express Inc.
* Copyright (c) 2017, Slab
* Copyright (c) 2014, Jason Chen
* Copyright (c) 2013, salesforce.com
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeo... |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.9.2 (2021-09-08)
*/
(function () {
'use strict';
... |
import{B as Behavior,k as enableFocus,m as generateId,n as query,q as queryById,o as removeInnerRef,p as setInnerRef,t as setAriaRef}from"./index-da59e341.js";class LabelBehavior extends Behavior{init(){const{host:e}=this;e.addEventListener("click",()=>{const e=this.link();e&&(e.focus(),e.click(),enableFocus())})}conne... |
/**
* @license Highstock JS v9.1.1 (2021-06-04)
*
* All technical indicators for Highcharts Stock
*
* (c) 2010-2021 Pawel Fus
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
modul... |
/**! Qoopido.nucleus 3.2.6 | http://nucleus.qoopido.com | (c) 2020 Dirk Lueth */
!function(e){"use strict";provide(["/demand/pledge","../todataurl"],(function(t,a){var n=t.defer();return a.then((function(){0===e.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp")?n.resolve():n.reject()}),n.reject... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
require('./chunk-805257cc.js');
var __chunk_5 = require('./chunk-13e039f5.js');
require('./chunk-c5b5b708.js');
var __chunk_12 = require('./chunk-385dea12.js');
var Plugin = {
install: function install(Vue) {
__chunk_5.registerCompone... |
'use strict'
let cli = require('heroku-cli-util')
let co = require('co')
function * run (context, heroku) {
const resolve = require('../../lib/resolve')
let id = context.args.addon.split(':')[0]
let addon = yield heroku.get(`/addon-services/${encodeURIComponent(id)}`).catch(() => null)
if (!addon) addon = (y... |
var path = require('path'),
problem = require('../problem');
function testIt(tape, result, value, done) {
tape.deepEqual(
result,
{value: value, done: done},
'iterator.next().value == {value: ' + value + ', done: ' + done + '}'
);
}
function testRange(tape, solution, isEven, min, max) {
var tes... |
'use strict'
const jsonfile = require('jsonfile')
const spawn = require('child_process').spawn
const exec = require('child_process').exec
const path = require('path')
const source = path.join(__dirname, 'fixtures/injection-endpoints.json')
const async = require('async')
const chalk = require('chalk')
const endpoints ... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
var _ = require('lodash');
module.exports = function(Bookshelf) {
var Knex = require('knex');
var config = require(process.env.BOOKSHELF_TEST || './integration/helpers/config');
var Promise = global.testPromise;
var MySQL = Bookshelf.initialize({
client: 'mysql',
connection: config.mysq... |
/*!
* # Semantic UI - Dropdown
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2014 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ( $, window, document, undefined ) {
"use strict";
$.fn.dropdown = function(parameters) {
var
$allModules... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
(function ($) {
'use strict';
$.fn.extend({
moveBlocks: function () {
var $element = $(this);
$element.on('click', '.app-move-up', function (event) {
event.preventDefault();
var $block = $(this).closest('[data-form-collection=item]');
... |
'use strict'
module.exports = function (dep) {
const storagePath = function () {
const { join, process } = dep
return join(process.cwd(), 'patata.yml')
}
const get = function () {
const { yaml, shell, validation, help } = dep
const path = path()
if (!validation.isPatataRootDir()) {
he... |
(function() {
'use strict';
angular
.module('app.widgets')
.directive('confirmPassword', confirmPassword);
function confirmPassword() {
var directive = {
restrict: 'A',
require: 'ngModel',
link: link
};
return directive;
function link(scope, element, a... |
var status = require("../status.json");
var questions = require("../questions.json");
var userData = require("../userData.json");
exports.play = function(req, res)
{
status["loginStatus"]["questionNumber"]=0;
status["loginStatus"]["score"]=0;
status["loginStatus"]["totalScore"]=0;
var course=status["loginStat... |
var express = require('express'),
config = require('../config/config'),
glob = require('glob'),
mongoose = require('mongoose');
var db = {};
mongoose.connect(config.db);
mongoose.set('debug', true);
var connection = mongoose.connection;
connection.on('connected', function () {
console.log('資料庫連接成功');... |
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'Magento_Ui/js/form/element/select',
'Magento_Catalog/js/components/visible-on-option/strategy'
], function (Element, strategy) {
'use strict';
return Element.extend(strategy);
});
|
foo?.(...[], 1);
foo?.bar(...[], 1)
foo.bar?.(foo.bar, ...[], 1)
foo?.bar?.(foo.bar, ...[], 1)
foo?.(...[], 1).bar
foo?.(...[], 1)?.bar
foo.bar?.(...[], 1).baz
foo.bar?.(...[], 1)?.baz
foo?.bar?.(...[], 1).baz
foo?.bar?.(...[], 1)?.baz
|
module('JSHint - controllers');
test('controllers/contacts.js should pass jshint', function() {
ok(true, 'controllers/contacts.js should pass jshint.');
});
|
var searchData=
[
['primarykeyviolated',['PrimaryKeyViolated',['../namespaceResults.html#a104d9a9b355e69cdd867b0681474dba9ad96397a017d11ff569cbb1fab8a9c234',1,'Results']]]
];
|
/**
* @class escape
* @namespace util
* @module hexo
* @static
*/
/**
* Converts the string to a proper filename.
*
* Transform:
* - 1: Lower case
* - 2: Upper case
*
* @method filename
* @param {String} str
* @param {Number} [transform]
* @return {String}
* @static
*/
exports.filename = function(str, transform){... |
module.exports = {
Button: require('./Button'),
DropdownButton: require('./DropdownButton'),
Form: require('./Form'),
FormField: require('./FormField'),
FormInput: require('./FormInput'),
FormLabel: require('./FormLabel'),
FormNote: require('./FormNote'),
Glyph: require('./Glyph'),
GlyphButton: require('./Glyp... |
angular.module('KHO_CRM').factory('Todos', dataTodos);
dataTodos.$inject = ['$http', '$resource'];
function dataTodos($http, $resource) {
return {
get : function() {
return $http.get('/api/todos');
},
create : function(todoData) {
return $http.post('/api/todos', todoData);
},
delete :... |
//
// 91websql.js
// WebSQL database support
// (c) 2014, Andrey Gershun
//
var SQLITE = alasql.engines.SQLITE = function (){};
SQLITE.createDatabase = function(wdbid, args, ifnotexists, dbid, cb){
throw new Error('Connot create SQLITE database in memory. Attach it.');
};
SQLITE.dropDatabase = function(databaseid){... |
/*!
simple-js-views
Version 0.1.1
Copyright © 2015 Juhana Räsänen
Licensed under the MIT license.
*/
(function() {
'use strict';
var oldWindowLoad = window.onload;
var initializers = {};
function SimpleViews() {
// Empty for now
}
/* Executes an initializer function if one ... |
(function () {
"use strict";
angular.module('public')
.component('menuCategory', {
templateUrl: 'js/public/menu-category/menu-category.html',
bindings: {
category: '<'
}
});
})();
|
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
'use strict';
( function() {
CKEDITOR.plugins.add( 'link', {
requires: 'dialog,fakeobjects',
// jscs:disable maximumLineLength
lang: 'af,ar... |
import React from 'react'
import Icon from 'react-icon-base'
const MdHdrWeak = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m28.4 26.6c3.6 0 6.6-2.9 6.6-6.6s-3-6.6-6.6-6.6-6.8 2.9-6.8 6.6 3.1 6.6 6.8 6.6z m0-16.6c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.4-10 10-10z m-20 3.4c3.6 0 6.... |
$(document).ready(function(){
var touch = $('#resp-menu');
var menu = $('.menu');
$(touch).on('click', function(e) {
e.preventDefault();
menu.slideToggle();
});
$(window).resize(function(){
var w = $(window).width();
if(w > 767 && menu.is(':hidden')) {
menu.removeAttr('style');
}
... |
// It is required by normal call on onReady callbacks
describe("Launching tests", function() {
jasmine.DEFAULT_TIMEOUT_INTERVAL = 400;
it("and setting launch timeout", function(done) {
setTimeout(function() {
done();
}, 300);
});
}); |
var Foo = /*#__PURE__*/function (_Bar) {
"use strict";
babelHelpers.inherits(Foo, _Bar);
var _super = babelHelpers.createSuper(Foo);
function Foo(...args) {
var _this;
babelHelpers.classCallCheck(this, Foo);
_this = _super.call(this, ...args);
babelHelpers.defineProperty(babelHelpers.assertT... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
// Transposes the elements of the given matrix (array of arrays).
// The transpose of a matrix is a new matrix whose r... |
#!/usr/bin/env node
/**
* Tmplify prototype.
*/
'use strict'
process.chdir(`${__dirname}/..`)
const path = require('path')
const fs = require('fs')
const { runTasks } = require('ape-tasking')
const tmplconv = require('tmplconv')
const scaffold = require('../lib')
let demo = path.dirname(require.resolve('apeman-... |
'use strict';
module.exports = function(Chart) {
var helpers = Chart.helpers;
Chart.defaults.bar = {
hover: {
mode: 'label'
},
scales: {
xAxes: [{
type: 'category',
// Specific to Bar Controller
categoryPercentage: 0.8,
barPercentage: 0.9,
// grid line settings
gridLines: {
... |
/**
* ProjectController
*
* @module :: Controller
* @description :: A set of functions called `actions`.
*
* Actions contain code telling Sails how to respond to a certain type of request.
* (i.e. do stuff, then send some JSON, show an HTML page, or redirect to another URL)
... |
define(["require", "exports", '../validation/utilities'], function (require, exports, utilities_1) {
exports.data = {
settings: {
'numericRegex': /^-?(?:\d+)(?:\,\d+)?$/
},
messages: {
'isRequired': 'est obligatoire',
'onValidateCallback': "n'est pas une v... |
var test = require("tape")
var multiline = require("multiline")
var logger = require("./util/logger")
var runner = require("./util/runner")
test("heading 1", function (t) {
var md = multiline.stripIndent(function () {/*
# Hello World
Boring text
* Item one
* Sub item one
* Sub item two
... |
import path from 'path';
import { execSync } from 'child_process';
import fs from 'fs';
import { dependencies } from '../../app/package.json';
const nodeModulesPath = path.join(__dirname, '..', '..', 'app', 'node_modules');
if (
Object.keys(dependencies || {}).length > 0 &&
fs.existsSync(nodeModulesPath)
) {
co... |
var path = require('path');
var url = require('url');
var closure = require('closure-util');
var nomnom = require('nomnom');
var log = closure.log;
var options = nomnom.options({
port: {
abbr: 'p',
'default': 3000,
help: 'Port for incoming connections',
metavar: 'PORT'
},
loglevel: {
abbr: ... |
version https://git-lfs.github.com/spec/v1
oid sha256:a9f560cca4fcf758103b61db9beab23af2138e9d0d108de8d23d959293e6223f
size 6290
|
/**
* Angular directive to render Markdown text. It's built on blazingly fast markdown parser 'marked'.
* @version v1.1.1 - 2015-11-24
* @link https://github.com/tinkkit/tink-md-angular
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
/* global angular, hljs, marked */
'use strict';
angular.module... |
// External Requirements
var React = require('react');
var MortarJS = require('../../../../../app-container').MortarJS;
// Bricks
var Br = MortarJS.require('components', 'Row', 'Column', 'Form', 'Table', 'Modal');
// Stores
var FormStore = MortarJS.Store... |
'use strict';
const BRACKET_MINIMUM_UPDATE_INTERVAL = 2 * 1000;
const AUTO_DISQUALIFY_WARNING_TIMEOUT = 30 * 1000;
const AUTO_START_MINIMUM_TIMEOUT = 30 * 1000;
const MAX_REASON_LENGTH = 300;
let TournamentGenerators = Object.create(null);
let generatorFiles = {
'roundrobin': 'generator-round-robin.js',
'eliminatio... |
import React, { Component } from 'react'
import { FlexGrid, Button } from 'components'
import { setMetrikaTarget } from 'helpers'
import s from './ItemPageParameters.sass'
import { itempage as config } from 'config'
export default class ItemPageParameters extends Component {
state = {isOpen: false};
maxLength = ... |
import { Meteor } from 'meteor/meteor';
import { WebApp } from 'meteor/webapp';
import { OAuth2Server } from 'meteor/rocketchat:oauth2-server';
import { OAuthApps, Users } from '../../../models';
import { API } from '../../../api';
const oauth2server = new OAuth2Server({
accessTokensCollectionName: 'rocketchat_oauth... |
"use strict";
var PioneerDeploymentScheduleView = Backbone.View.extend({
initialize: function() {
_.bindAll(this, "render");
var self = this;
self.render();
},
template: JST['ooiui/static/js/partials/PioneerDeploymentSchedule.html'],
render: function() {
this.$el.html(this.template());
}
}... |
angular.module('AuctionItemService', []).factory('AuctionItem', ['$resource',
function ($resource) {
return $resource('/api/auctionitem/:itemId', {
itemId: '@id'
}, {
update: {
method: 'PUT'
}
});
}
]); |
import Model from "ember-data/system/model/model";
import {
Map
} from "ember-data/system/map";
/**
@module ember-data
*/
var get = Ember.get;
/**
@class Model
@namespace DS
*/
Model.reopenClass({
/**
A map whose keys are the attributes of the model (properties
described by DS.attr) and whose value... |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M15 21h2v-2h-2v2zm4 0h2v-2h-2v2zM7 21h2v-2H7v2zm4 0h2v-2h-2v2zm8-4h2v-2h-2v2zm0-4h2v-2h-2v2zM3 3v18h2V5h16V3H3zm16 6h2V7h-2v2z" />
, 'BorderStyleSharp');
|
//OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url=";
// reference local blank image
Ext.BLANK_IMAGE_URL = 'mfbase/ext/resources/images/default/s.gif';
var map;
var popup;
var minOpacity = 0.1;
var selectFeat;
var clickedPopup;
function toggleClicked(){
clickedPopup = (clickedPopup != true);
}
function feature_info_hove... |
/**
* Copyright (C) 2014 KO GmbH <copyright@kogmbh.com>
*
* @licstart
* This file is part of WebODF.
*
* WebODF is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License (GNU AGPL)
* as published by the Free Software Foundation, either version 3 of
* ... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'colordialog', 'fr-ca', {
clear: 'Effacer',
highlight: 'Surligner',
options: 'Options de couleur',
selected: 'Couleur sélectionnée',
tit... |
(function($){
$( document ).ready( function() {
var ET_Select_Image = function(element, options){
this.element = element;
this.custom_select_link = null;
this.custom_dropdown = null;
this.frontend_customizer = $('body').hasClass( 'et_frontend_customizer' ) ? true : false;
this.options = jQuery.extend... |
/**
* Copyright 2015 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 appli... |
"use strict";
var sec = require('./security');
module.exports = function () {
var sapp = this;
var remotes = this.remotes;
var authorize = authorizer(sapp);
remotes.before('**', function (ctx, next, method) {
var req = ctx.request;
var Model = method.ctor;
var modelInstance = ... |
/* */
"format global";
var captionPlaceholder = {};
ko.bindingHandlers['options'] = {
'init': function(element) {
if (ko.utils.tagNameLower(element) !== "select")
throw new Error("options binding applies only to SELECT elements");
// Remove all existing <option>s.
while (elemen... |
import Vue from 'vue'
import App from './App'
new Vue(App).$mount('app')
|
{
"name": "flattenr.js",
"url": "https://github.com/raitucarp/flattenr.js.git"
}
|
version https://git-lfs.github.com/spec/v1
oid sha256:2ff7595a63720fdf0e7997235b2084a91df4bc23986d12dc3583de03d5102002
size 128807
|
/* Widget: columnSelector (responsive table widget) - updated 2018-08-03 (v2.31.2) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Justin Hallett & Rob Garrison
*/
/*jshint browser:true, jquery:true, unused:false */
/*global jQuery: false */
;(function($) {
'use strict';
var ts = $.tablesorter,
namespace ... |
var UserForm = {
init: function(options)
{
var ops = $.extend(true, this.getDefaultOptions(), options);
Validation.init(ops);
},
getDefaultOptions: function()
{
return {
src: '.form',
isAjax: false,
submitAjax: function(validation)
... |
/*
*
* Copyright (c) 2012-2014 Adobe Systems Incorporated. All rights reserved.
* 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 ri... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var index_1 = require("../index");
/**
* If entity is a child table of some table, it should have a discriminator value.
* This decorator sets custom discriminator value for the entity.
*/
function DiscriminatorValue(value) {
return fun... |
// Our custom component is managing whether the Modal is visible
var CustomModalTrigger = React.createClass({
mixins: [OverlayMixin],
getInitialState: function () {
return {
isModalOpen: false
};
},
handleToggle: function () {
this.setState({
isModalOpen: !this.state.isModalOpen
})... |
/**
* Created by lundfall on 9/28/16.
*/
var _ = require('lodash');
exports.onHandleAST = function (ev) {
/*var mockedData = {
type: 'ExportNamedDeclaration',
start: 0,
end: 10,
loc: {start: {line: 24, column: 0}, end: {line: 24, column: 0}},
specifiers: [],
sour... |
// In IE stylesheets that are added via innerHTML are not applied
// fix is to reset their 'href' attributes after they're inserted into DOM
// We need to do it just in IE (that's why `link.sizes` check) as in other browsers
// it may produce flash of unstyled content
'use strict';
var isParentNode = require('dom-ext... |
/*! @license Firebase v4.4.0
Build: rev-380121f
Terms: https://firebase.google.com/terms/ */
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.WriteTreeRef = exports.WriteTree = undefined;
var _obj = require('../../utils/obj');
var _assert = require('../../utils/assert');
var... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<af471072358e1505cd0d27587edcebdf>>
* @flow
* @lightSyntaxTransform
* @nogrep
*/
/* eslint-disable ... |
run_spec(__dirname, ["flow", "typescript"], { bracketSameLine: true });
run_spec(__dirname, ["flow", "typescript"], { bracketSameLine: false });
|
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
var vows = require('vows');
var assert = require('assert');
var util = require('util');
var YahooStrategy = require('passport-yahoo/strategy');
vows.describe('YahooStrategy').addBatch({
'strategy': {
topic: function() {
return new YahooStrategy({ returnURL: 'https://www.example.com/auth/yahoo/return' }... |
'use strict';
var expect = require('chai').expect;
var merge = require('ember-cli-lodash-subset').merge;
var MockUI = require('../../helpers/mock-ui');
var MockAnalytics = require('../../helpers/mock-analytics');
var Command = require('../../../lib/models/command');
var Yam ... |
/**
* A shape configuration holds common configuration data for constructing a shape.
* Shape configurations can be reused safely.
* @author saharan
*/
OIMO.ShapeConfig = function(){
// The position of the shape in parent's coordinate system.
this.relativePosition = new OIMO.Vec3();
// The rotation matrix... |
'use strict';
/**
* Module dependencies.
*/
var _ = require('lodash'),
chalk = require('chalk'),
glob = require('glob'),
fs = require('fs'),
path = require('path');
/**
* Get files by glob patterns
*/
var getGlobbedPaths = function (globPatterns, excludes) {
// URL paths regex
var urlRegex = new RegEx... |
angular.module('app', ['ngRoute', 'ui.bootstrap', 'angular.filter', 'ngAnimate'])
// Initialize Firebase
firebase.initializeApp ({
apiKey: "AIzaSyC_yMinncyZrC7PgC8ItDbDx-PZF96yFg4",
authDomain: "fed-capstone.firebaseapp.com",
databaseURL: "https://fed-capstone.firebaseio.com",
storageBucket: "fed-c... |
import styled from 'styled-components';
export default styled.section`
position: relative;
overflow: hidden;
width: 100vw;
transition: height .3s linear;
height: calc(100vh - ${p => p.yOffset ? p.yOffset : '0px'});
`;
|
{
"ADP_currencyISO" : "Peseta Andorrana",
"ADP_currencySymbol" : "ADP",
"AED_currencyISO" : "Dirham degli Emirati Arabi Uniti",
"AED_currencySymbol" : "AED",
"AFA_currencyISO" : "Afgani (1927-2002)",
"AFA_currencySymbol" : "AFA",
"AFN_currencyISO" : "Afgani",
"AFN_currencySymbol" : "Af",
"ALK_currencyISO" : "A... |
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:delete
* @fileoverview Tokenise strikethrough.
*/
'use strict';
/* Dependencies. */
var whitespace = require('is-whitespace-character');
var locate = require('../locate/delete');
/* Expose. */
module.export... |
import { expirationOptions, privacyOptions } from '../config/constants';
const maxFileSize = 50000000;
const maxTextLength = 50000000;
const minTextLength = 3;
export const fileValidation = (file) => {
let errors = [];
if (file.size > maxFileSize) {
errors.push('File larger than 50mb file size limit.');
}
... |
import { module, test } from 'qunit';
import Ember from "ember";
import { visit } from 'ember-native-dom-helpers';
import require from 'require';
const { run, A: emberA, Application } = Ember;
let EmberDebug;
let port, name, message;
let App;
function setupApp() {
App = Application.create();
App.setupForTesting()... |
'use strict';
var crypto = require('crypto');
var x11hash = require('x11-hash');
var bignum = require('bignum');
var Binary = require('binary');
var Put = require('bufferput');
var buffertools = require('buffertools');
var sjcl = require('../lib/sjcl');
if (process.browser) {
var hashjs = require('hash.js');
}
expo... |
"use strict";
module.exports = EntryWriter;
var tar = require("../tar.js"),
TarHeader = require("./header.js"),
Entry = require("./entry.js"),
inherits = require("inherits"),
BlockStream = require("block-stream"),
ExtendedHeaderWriter,
Stream = require("stream").Stream,
EOF = {};
inherits... |
'use strict';
var React = require('react');
var SvgIcon = require('../../svg-icon');
var AvPlayCircleFilled = React.createClass({
displayName: 'AvPlayCircleFilled',
render: function render() {
return React.createElement(
SvgIcon,
this.props,
React.createElement('path', { d: 'M12 2C6.48 2 2 ... |
(function() {
'use strict';
angular
.module('siteApp')
.config(stateConfig);
stateConfig.$inject = ['$stateProvider'];
function stateConfig($stateProvider) {
$stateProvider.state('jhi-health', {
parent: 'admin',
url: '/health',
data: {
... |
var fragmentShaderHeader = ['' // PREDEFINED STUFF FOR FRAGMENT SHADERS
,' precision highp float;'
].join('\n');
function SceneObject(vertices) {
var bpe = Float32Array.BYTES_PER_ELEMENT;
this.vertexSize = 6;
this.setVertices = function(vertices) {
this.vertices = vertices;
}
t... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M12 12.75c1.63 0 3.07.39 4.24.9 1.08.48 1.76 1.56 1.76 2.73V18H6v-1.61c0-1.18.68-2.26 1.76-2.73 1.17-.52 2.61-.91 4.24-.91zM4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 ... |
(function ()
{
'use strict';
angular
.module('app.pages.viewCv', [])
.config(config);
/** @ngInject */
function config($stateProvider, $translatePartialLoaderProvider, msApiProvider, msNavigationServiceProvider)
{
// State
$stateProvider
.state('app.view... |
'use strict';
const expect = require('chai').expect;
const EventEmitter = require('events');
const risk = require('../../lib');
describe('start game', function () {
const gameListener = new EventEmitter();
const playerListener = new EventEmitter();
const options = {
listener: gameListener,
... |
/*
jquery.nexTree.checkbox.js
http://www.extgrid.com
author:nobo
qq:505931977
QQ交流群:13197510
email:zere.nobo@gmail.com or QQ邮箱
+----------------------------------------------------------------------------------------------------------------------------+
*/
;(function($){
"use strict";
$.fn.toTree = function(cfg){//如... |
/*!
* Bootstrap v5.0.0-beta2 (https://getbootstrap.com/)
* Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.