code
stringlengths
2
1.05M
import { h } from 'preact'; import style from './style'; import { classJoin } from '../../helpers'; const CodeOfConduct = () => ( <section className={'section'}> <div className="container"> <div className="section-title"> <h1 className="title">Código de Conducta</h1> <hr /> </div> ...
var expect = require('chai').expect; var validstring = require('../lib/index') var NotEmpty = require('../lib/validations/NotEmpty') describe('ValidString', function() { it('should should append a validation when using a .appendMap()', function() { var validator = new validstring({notEmpty: true}) expe...
SourceCode({ render(){ <div class="ui segment"> <h2 class="ui header">Source Code</h2> <a class="anchor active" id="BasicsSourceCode"></a> <ul> <li>Main Library: <a target="_blank" href="https://github.com/ManuelDeLeon/viewmodel-react">viewmodel-react</a></li> <li>Babel Plugin: <...
/** * OnTheAir Firebase "Auth" Service */ (function () { 'use strict'; angular .module( 'com.missofis.OnTheAirFirebase.Auth' ) .factory( 'OnTheAirFirebaseAuth', OnTheAirFirebaseAuth ); OnTheAirFirebaseAuth.$inject = []; /** * @description * OnTheAir "Auth" Service */ function OnTheAirFirebaseAuth()...
var stateClass = function () { return { restrict: 'A', link: function (scope, element) { scope.$on('$stateChangeStart', function (event, toState) { element.attr('class', _.kebabCase(toState.name + '-state')); }) } } }; angular.module('app').direct...
/*! @2014 Leo Wang. All Rights Reserved */ define("mini-event/lib",["require"],function(){var e={};return e.extend=function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];if(i){for(var n in i)if(i.hasOwnProperty(n))e[n]=i[n]}else;}return e},e});
import IndexedTemplate from './Template/IndexedTemplate'; import Expression from '../Expression/Expression'; class Controller { constructor(engine, node, evaluate) { if (!node.children[0]) { throw new Error('No children elements.'); } this.engine = engine; this.node = node; const expr = n...
module.exports = { decimal: ",", thousands: "'", grouping: [3], currency: ["", " CHF"], dateTime: "%A, der %e. %B %Y, %X", date: "%d.%m.%Y", time: "%H:%M:%S", periods: ["AM", "PM"], // unused days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], shortDays: ["So", "...
import path from 'node:path'; import {fileURLToPath} from 'node:url'; import test from 'ava'; import {loadJsonFile, loadJsonFileSync} from './index.js'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); const fixture = path.join(__dirname, 'package.json'); test('async', async t => { const data = await ...
/** * Created by Sedar on 06/03/2015. */ angular.module("geoAnalysis") .factory("dataService",function() { var rawData, filteredData = {}, cityData = {}, categoryData = {}, cityFilter, categoryFilter; var dataPromise = {}; var readData = function() { dataPromise ...
/** * Durandal 2.1.0 Copyright (c) 2012 Blue Spire Consulting, Inc. All Rights Reserved. * Available via the MIT license. * see: http://durandaljs.com or https://github.com/BlueSpire/Durandal for details. */ /** * Enables common http request scenarios. * @module http * @requires jquery * @requires knockout */ ...
'use strict' exports = module.exports = function(app, mongoose) { var userSchema = new mongoose.Schema({ email: { type: String, unique: true }, password: String, isActive: String, roles: String, timeCreated: { type: Date, default: Date.now } }); userSchema.statics.encryptPassword = function(p...
export function fn1() { return 1; } export function fn2() { return 2; }
/*! * Native JavaScript for Bootstrap Offcanvas v4.0.0 (https://thednp.github.io/bootstrap.native/) * Copyright 2015-2021 © dnp_theme * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE) */ function queryElement(selector, parent) { const lookUp = parent && parent instanceof El...
window.App = window.App || {} window.App.n0 = window.App.n0 || {} window.App.n0.eu = window.App.n0.eu || {} window.App.n0.eu.Data = window.App.n0.eu.Data || {}; (function($) { this.questions = []; this.answers = []; this.parties = []; }).call(App.n0.eu.Data, jQuery); var questions = [ {'q5770': 'Mitä mieltä...
import 'zone.js'; import {bootstrap} from '@angular/platform-browser-dynamic'; import {enableProdMode, provide} from '@angular/core'; import {UIRouterConfig, UIROUTER_PROVIDERS, UiView} from 'ui-router-ng2'; import {LocationStrategy, PathLocationStrategy, PlatformLocation} from '@angular/common'; import {BrowserPlatf...
var express = require( 'express' ); var bodyParser = require('body-parser') var mongoose = require( 'mongoose' ); var dotenv = require( 'dotenv' ); //var azure = require( 'azure' ); -> because Azure was not working with the certificate var apn = require('apn'); // Load environment variables from .env file dotenv.load...
'use strict'; (function() { /** * Module */ var moduleName = 'directive.autohideNavbar'; var module; try { // Module exist, use it module = angular.module(moduleName); } catch(err) { // Module does not exist, create new one module = angular.module(moduleName, []); } /** * * ...
/** ***************************************** * Created by lifx * Created on 2017-08-13 14:42:04 ***************************************** */ 'use strict'; /** ***************************************** * 加载依赖 ***************************************** */ const configure = require('./dist.conf'); /** **...
'use strict'; const router = require( 'koa-router' )(); import i18n from '../i18n'; import _ from 'lodash'; // to be extended later const jsonAPI = require( '../../test/employer.json' ); function getData() { return jsonAPI; } function getNames(obj) { if ( _.has( obj, 'name' ) ) { if ( _.has( obj, 'attribute' )...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Appbase = factory()); }(this, (function () { 'use strict'; function URL(url) { var pattern = RegExp("^...
/** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v25.0.1 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { ...
search_result['1929']=["topic_00000000000004AF.html","CompanyRoleHelper.Value Property",""];
/* Highstock JS v8.0.2 (2020-03-03) Indicator series type for Highstock (c) 2010-2019 Sebastian Bochan License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/atr",["highcha...
/*global describe, it, expect */ define([], function () { 'use strict'; describe('sample spec', function () { it('should join array', function () { var arr = ['j', 'o', 'i', 'n', 'e', 'd'], str = arr.join(''); expect(str).toEqual('joined'); }); }); });
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ Ext.define('sisprod.view.ExtractionType.UpdateExtractionType', { extend: 'sisprod.view.base.BaseDataWindow', alias: 'widget.updateExtractionType', require: [ 'sisprod.view.base.BaseDataWind...
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2014 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @website http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php * @version 4.1.10 (20...
'use strict'; module.exports = { compile: require('./compile-config'), location: require('./location-config'), router: require('./router-config'), log: require('./log-config'), translate: require('./translate-config'), httpProvider: ...
'use strict'; angular.module('gb.resources', ['ngResource']); angular.module('gb.resources') .factory('Nutrition', ['$resource', function($resource) { return $resource('/data/o/nutrition/:id', { id: '@id' }); } ]) // DEPRECATED?? .factory('Social', ['$resource', function($resource) { return $resour...
/*! DataTables 1.10.13 ©2008-2016 SpryMedia Ltd - datatables.net/license */ (function(h){"function"===typeof define&&define.amd?define(["jquery"],function(E){return h(E,window,document)}):"object"===typeof exports?module.exports=function(E,H){E||(E=window);H||(H="undefined"!==typeof window?require("jquery"):require(...
import React, { Children, cloneElement } from 'react'; const GifGallery = ({ children }) => ( <div style={styles.container}> {Children.map(children, e => cloneElement(e, { ...e.props.style, style: styles.img }) )} </div> ); const styles = { container: { display: 'flex', justifyContent: 'sp...
// Copyright 2018-2021, University of Colorado Boulder /** * Dashed lines that connect the 'point on parabola' to the focus and directrix. * The visibility of the point-focus and point-directrix lines is controlled independently. * * @author Chris Malley (PixelZoom, Inc.) */ import DerivedProperty from '../../.....
/** * Created by QiYue-Lin on 2016/5/7. */ define(['jquery', '../views/LoginView', 'jquerymobile'], function($, LoginView){ var LoginController = function () { var curView = new LoginView({el: '#p-login'}); curView.render(); $.mobile.changePage('#p-login'); }; return LoginControll...
/*! * DevExtreme (dx.messages.ja.js) * Version: 20.2.9 (build 21273-1353) * Build date: Thu Sep 30 2021 * * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; ! function(root, factory) { if ("function" ...
/* * SJS 6.8.3 * Minimal SystemJS Build */ (function () { function errMsg(errCode, msg) { return (msg || "") + " (SystemJS https://git.io/JvFET#" + errCode + ")"; } var hasSymbol = typeof Symbol !== 'undefined'; var hasSelf = typeof self !== 'undefined'; var hasDocument = typeof document !== 'undefined'...
/* Highstock JS v9.2.1 (2021-08-19) Indicator series type for Highcharts Stock (c) 2010-2021 Pawe Fus License: www.highcharts.com/license */ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/rs...
this.primereact = this.primereact || {}; this.primereact.tabview = (function (exports, React, utils, ripple) { 'use strict'; function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var React__default = /*#__PURE__*/_interopDefaultLegacy(React); funct...
/** * @license Highstock JS v9.1.1 (2021-06-04) * * Indicator series type for Highcharts Stock * * (c) 2010-2021 Wojciech Chmiel * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; mo...
typeof window !== "undefined" && (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["Hls"] = f...
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _extends from "@babel/runtime/helpers/esm/extends"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeClasses as composeClasses } from '@material-ui/unsty...
/*! * DevExtreme (dx.messages.el.js) * Version: 21.1.0 (build 21064-0310) * Build date: Fri Mar 05 2021 * * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; ! function(root, factory) { if ("function" ...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import NativeSelectInput from './NativeSelectInput'; import withStyles from '../styles/withS...
import { fixture } from 'can'; import City from '../city'; const store = fixture.store([ { state: 'CA', name: 'Casadina' }, { state: 'NT', name: 'Alberny' } ], City.connection.queryLogic); fixture('/api/cities/{name}', store); export default store;
/** * * Uploads a base64 data object. * * @param {Object} data base64 data object * @type protocol * */ module.exports = function file (base64data) { this.requestHandler.create( '/session/:sessionId/file', { file: base64data }, arguments[arguments.length - 1] ); };
module.exports = (req, res, next) => { const body = req.body const match = [ 'tournament', 'breakRoom', 'breakAdjudicator' ] return global.models.create( global.db.asians.BreakBallots, body, match, res ) }
/* * Copyright 2013 The Closure Compiler 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 applicable...
'use strict'; describe('Service: loggerUtils', function () { // load the service's module beforeEach(module('ui.logger')); // instantiate service var loggerUtils; beforeEach(inject(function (_loggerUtils_) { loggerUtils = _loggerUtils_; })); xit('should do something', function () { expect(!!lo...
import React from 'react'; import { shallow } from 'enzyme'; import assert from 'assert'; import WeUI from '../src/index'; const {MediaBoxInfo, MediaBoxInfoMeta} = WeUI; const testdata = [ { label: 'no extra' }, { label: 'yes extra', extra: true } ]; describe('<MediaBoxInfo></M...
import { h, ref, computed, watch, getCurrentInstance } from 'vue' import QDialog from '../dialog/QDialog.js' import QMenu from '../menu/QMenu.js' import useAnchor, { useAnchorProps } from '../../composables/private/use-anchor.js' import { createComponent } from '../../utils/private/create.js' export default createC...
import Ember from 'ember-metal/core'; import isEnabled from 'ember-metal/features'; import Stream from 'ember-metal/streams/stream'; import { labelFor } from 'ember-metal/streams/utils'; import { read, isStream } from 'ember-metal/streams/utils'; import merge from 'ember-metal/merge'; if (isEnabled('ember-htmlbars-get...
exports.version = require('../package.json').version; exports.httpPort = process.env.PORT || 5000; exports.databaseUrl = process.env.DB || 'mongodb://localhost/softblu'; exports.sessionSecret = process.env.SESSION_SECRET; exports.bugsnag = { key: process.env.BUGSNAG_KEY, releaseStage: process.env.BUGSNAG_RELE...
const EslintWorkerPlugin = require("eslint-worker-brunch"); class Eslinter extends EslintWorkerPlugin { } Object.assign(Eslinter.prototype, { lint: Eslinter.prototype.lintcb, lintcb: undefined, brunchPlugin: false, extension: "js" }); module.exports = Eslinter;
// Returns fragment generator, where each returned fragment emits selected data for specified object 'use strict'; var aFrom = require('es5-ext/array/from') , ensureIterable = require('es5-ext/iterable/validate-object') , Set = require('es6-set') , ensureType = require('dbjs/valid-dbjs-t...
import { reportError, clearError } from "./error-overlay-handler" let socket = null let staticQueryData = {} let pageQueryData = {} let isInitialized = false export const getStaticQueryData = () => staticQueryData export const getPageQueryData = () => pageQueryData export const getIsInitialized = () => isInitialized...
/** * A parser result is the result after an XML parsing with more work in * store to be done by the FastUiBuilder. * * * It contains a list with the variables that are needed to be filled in, all the widgets that are still to be * created, and the htmlContent with the widget references removed, and replaced by e...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M8 16h12V4H8v12zm3.5-4.33 1.69 2.26 2.48-3.09L19 15H9l2.5-3.33z", opacity: ".3" }, "0"), /*#__PURE__*/_jsx("path", { d: "M8 2c-1.1 0-2 .9-2 2v12c0 1.1.9...
/*! jQuery UI - v1.10.4 - 2014-04-20 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.accordion.js, jquery.ui.autocomple...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
(function(angular) { 'use strict'; angular.module('mllApp.home') .controller('MusicianProfileController', MusicianProfileController); MusicianProfileController.$inject = [ 'userId', '$scope', 'musicianUrl', '$http' ]; function MusicianProfileController(userId, $scope) { this.userId = userId; } })(window.angu...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ var RotateAroundXY = require('./RotateAroundXY'); /** * [description] * * @function Phaser.Geom.Triangle.RotateAro...
const execIfFunc = x => (typeof x === 'function' ? x() : x); /** * This is a higher order function that accepts a boolean condition and will * return a function allowing you to provide if/else values that should be * resolved based on the boolean condition. * * @param {Boolean|() => Boolean} condition: * The ...
var fs = require('fs') var path = require('path') var test = require('tap').test var mr = require('npm-registry-mock') var common = require('../common-tap') var server var pkg = common.pkg test('setup', function (t) { mr({port: common.port, throwOnUnmatched: true}, function (err, s) { t.ifError(err, 'registry ...
'use strict'; module.exports = require('./lib/thread.js');
require("./src/app.js");
'use strict'; module.exports = function (config) { config.set({ basePath: '../../', preprocessors: { '**/*.html': ['ng-html2js'], 'client/!(bower_components)/**/*.js': 'coverage' }, files: [ 'client/bower_components/jquery/dist/jquery.js', 'client/bower_components/lodash/lod...
var assert = require('assert'); var R = require('..'); describe('eq', function() { var a = []; var b = a; it('tests for strict equality of its operands', function() { assert.strictEqual(R.eq(100, 100), true); assert.strictEqual(R.eq(100, '100'), false); assert.strictEqual(R.eq('st...
export const AppEvents = Object.freeze({ APP_ADDED: 'app/added', APP_REMOVED: 'app/removed', APP_UPDATED: 'app/updated', APP_STATUS_CHANGE: 'app/statusUpdate', APP_SETTING_UPDATED: 'app/settingUpdated', COMMAND_ADDED: 'command/added', COMMAND_DISABLED: 'command/disabled', COMMAND_UPDATED: 'command/updated', CO...
/*! * CanJS - 2.2.7 * http://canjs.com/ * Copyright (c) 2015 Bitovi * Fri, 24 Jul 2015 20:57:32 GMT * Licensed MIT */ /*can@2.2.7#view/scope/compute_data*/ var can = require('../../util/util.js'); var compute = require('../../compute/compute.js'); var getValueAndBind = require('../../compute/get_value_and_bind.j...
angular.module('orderCloud') .factory('ocCostCenters', OrderCloudCostCenters) ; function OrderCloudCostCenters($q, $uibModal, ocConfirm, OrderCloudSDK) { var service = { Create: _create, Edit: _edit, Delete: _delete, Assignments: { Get: _getAssignments, M...
import H1 from '../index'; import expect from 'expect'; import { shallow } from 'enzyme'; import React from 'react'; describe('<H1 />', () => { it('should render its text', () => { const children = 'Text'; const renderedComponent = shallow( <H1>{children}</H1> ); expect(renderedComponent.contains(...
// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it. import fn from '../../getDaysInMonth/index.js' import convertToFP from '../_lib/convertToFP/index.js' var getDaysInMonth = convertToFP(fn, 1) export default getDaysInMonth
'use strict'; var _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)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) {...
//>>built require({cache:{"url:dojorama/ui/release/widget/template/ReleaseUpdateFormWidget.html":'\x3cdiv\x3e\n \x3cdiv data-dojo-attach-point\x3d"progressNode"\x3e\x3c/div\x3e\n \n \x3cdiv data-dojo-attach-point\x3d"mainNode" style\x3d"display:none"\x3e\n \x3ch2 data-dojo-attach-point\x3d"titleNode"\x3...
import React, { PropTypes } from 'react'; import { View, Text, Image, } from 'react-native'; import Piece from './component/Piece'; import styles from './styles'; import * as colors from '../../constants/colors'; const Pieces = props => { const { red, green, blue, renderEmpty } = props; const _renderNoPie...
/// <reference path="..\..\jriappTS\jriapp.d.ts"/> /// <reference path="common.ts"/> /// <reference path="..\..\jriappTS\thirdparty\sse.d.ts"/> var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.proto...
var Device = require('../core/Device'); module.exports = function(){ return function(resource, next){ var game = this.game; if (!Device.hasAudio || !game) { return next(); } var ext = resource.url.split('?').shift().split('.').pop().toLowerCase(); var allowed ...
/** * * This is the main JavaScript file for Data Bindings. It depends on * Prototype (tested with Prototype 1.3.1; http://prototype.conio.net). * While Data Bindings currently targets CakePHP, this file can be used * independently of Cake, or indeed without any server-side support at * all. * * Data Bindings ...
var BrowserWindow = require('browser-window'); var Spawn = require('child_process').spawn; /** * The `core-level` debugger utils, when you turn on the debugger, * it actually run a [node-inspector](https://github.com/node-inspector/node-inspector) * process in the low-level, and you can use your chrome browser debu...
import DS from 'ember-data'; import JSONAPIFixtureBuilder from './jsonapi-fixture-builder'; import RESTFixtureBuilder from './rest-fixture-builder'; import JSONFixtureBuilder from './json-fixture-builder'; import DRFFixtureBuilder from './drf-fixture-builder'; import ActiveModelFixtureBuilder from './active-model-fixtu...
var path = require('path'); var grunt = require('grunt'); var s3 = require('../tasks/lib/s3').init(grunt); var S3Task = require('../tasks/lib/S3Task'); var deferred = require('underscore.deferred'); var async = grunt.util.async; var _ = grunt.util._; _.mixin(deferred); var s3Config = grunt.config("s3") , common = r...
(function ($) { "use strict"; var defaultOptions = { tagClass: function(item) { return 'badge badge-info'; }, itemValue: function(item) { return item ? item.toString() : item; }, itemText: function(item) { return this.itemValue(item); }, typeahead: { source: null...
var SMB2Message = require('../tools/smb2-message') , message = require('../tools/message') ; module.exports = message({ generate:function(connection, params){ var buffer = new Buffer(params.path, 'ucs2'); return new SMB2Message({ headers:{ 'Command':'CREATE' , 'SessionId':connec...
'use strict'; var stypes = { 'portal': 'Portal', 'tiles': 'Custom Map Tiles', 'features': 'Feature Services', 'geocode': 'Geocoding', 'nasimpleroute': 'Simple Routing', 'natsproute': 'Optimized Routing', 'nacfroute': 'Closest Facility Routing', 'naservicearea': 'Drive-Time Areas', 'navrproute': 'Mult...
"use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; const notImplemented = require("../../browser/not-implemented"); const resourceLoader = require("../../browser/resource-loader"); const DOMException = require("../../web-idl/DOMException"); function getTimeRangeDummy() { return { ...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10z" }), 'Crop54Outlined');
'use strict'; var debug = require('debug')('npmjs') , mana = require('mana'); /** * A simple npm registry interface for data retrieval. * * The following options are accepted: * * - registry: Registry URL we want to connect to. * - user: Name of the account. * - password: Password of the account. * - mirror...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * Wrap the given `value` between `min` and `max. * * @function Phaser.Math.Wrap * @since 3.0.0 * * @param {n...
/* */ import React from 'react'; function Error404() { return ( <div>Sorry, that page was not found.</div> ); } export default Error404;
/** * Module dependencies. */ var _ = require('lodash'); var sailsUtil = require('sails-util'); /** * Expose route parser. * @type {Function} */ module.exports = function (sails) { /** * interpretRouteSyntax * * "Teach" router to understand references to controllers. * This is the event handler ...
;(function () { 'use strict'; /** * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. * * @codingstandard ftlabs-jsv2 * @copyright The Financial Times Limited [All Rights Reserved] * @license MIT License (see LICENSE.txt) */ /*jslint browser:true, node:true*/ ...
Object.defineProperty(exports, "__esModule", { value: true }); exports['default'] = toLocalizedDateString; var _moment = require('moment'); var _moment2 = _interopRequireDefault(_moment); var _toMomentObject = require('./toMomentObject'); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); var _const...
define([ 'dojo/_base/declare', 'dijit/_WidgetBase', 'dojo/on', 'dojo/dom-class', 'dojo/text!./templates/SeqComparison.html', './AppBase', 'dojo/dom-construct', 'dijit/registry', 'dojo/_base/Deferred', 'dojo/aspect', 'dojo/_base/lang', 'dojo/domReady!', 'dijit/form/NumberTextBox', 'dojo/query', 'dojo/dom', 'di...
var _ = require('lodash'); module.exports = function (string, config) { string = string.replace(/\{\{\{(\w+)\}\}\}/g, function (match, p1) { var value = config[p1]; return value || match; }); return string.replace(/ /g, _.repeat(' ', config.indent)); };
var file = getFile("./oex/resources/foo.txt"); var test = async_test("Request for './resources/foo.txt' should return a File"); test.step(function() { assert_true(file && file.toString() === "[object File]", "Request for './resources/foo.txt' returns a File"); test.done(); });
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import styled from 'styled-components'; const DivWithSlightRightMargin = styled('div').attrs({ className: 'align-middle' })` /* Slightly less than the mr3 (15px) */ margin-right: 13px; `; export default class Ico...
'use strict'; const fs = require('fs'); const path = require('path'); module.exports = function (graphicsDir, bundle) { const graphics = []; // If the graphics folder exists but the nodecg.graphics property doesn't, throw an error. if (fs.existsSync(graphicsDir) && typeof bundle.graphics === 'undefined') { thro...
/*! Ridiculously Responsive Social Sharing Buttons Plus */ +(function(window, $, undefined) { 'use strict'; var schema = { size: {min: 0.1, max: 10, default: 1}, shrink: {min: 0.2, max: 1, default: 0.8}, regrow: {min: 0.2, max: 1, default: 0.8}, minRows: {min: 1, max: 99, default: 1}, ...
"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 isBrowser = typeof window === 'object'; if (!isBrowser) { require('./setup/node'); } function convertFile(testCase) { var infile = getFileName('input', testCase.in); return Converter.convert({ from: testCase.in.format, to: testCase.out.format, source: infile, }) .then(function (spec) { s...
class B { static foo() {} } class C extends B { static { this.bar = super.foo; } }