code stringlengths 2 1.05M |
|---|
exp_poiimportante = {
"type": "FeatureCollection",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [{ "type": "Feature", "properties": {
"color_qgis2leaf": "#c783d8", "radius_qgis2leaf... |
import EditFormNewRoute from 'ember-flexberry/routes/edit-form-new';
export default EditFormNewRoute.extend({
/**
* Name of model projection to be used as record's properties limitation.
*
* @property modelProjection
* @type String
* @default 'SuggestionTypeE'
*/
modelProjection: 'SuggestionTypeE... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative ... |
define([], function() {
var plugin = function() { };
plugin.prototype = {
init: function( graph, options ) {
this._zoomingSquare = document.createElementNS(graph.ns, 'rect');
graph.setAttributeTo(this._zoomingSquare, {
'display': 'none',
'fill': 'rgba(171,12,12,0.2)',
'stroke': 'rgba(171,12... |
var fs = require('fs');
var shell = require('shelljs');
module.exports.readJsonFile = function(fileLocation, callback) {
fs.readFile(shell.pwd() + fileLocation, 'UTF8', function(err, fileContents) {
if(err){
callback(true, err);
}else{
callback(null, JSON.parse(fileContents));
}
});
};
mo... |
'use babel';
import SelectListView from './select-list-view';
import Utils from './utils';
import { CompositeDisposable } from 'atom';
export default {
selectList: null,
utils: null,
subscriptions: null,
componentsDir: null,
activate(state) {
this.selectList = new SelectListView();
this.utils = new Utils()... |
function FactigisModuleList(){
return [
{module: 'GENERAR_FACTIBILIDAD', alias: 'CREAR', widgets:["CREAR_FACTIBILIDAD","BUSCAR_FOLIO","CREAR_DIRECCION"] , Available: 'yes', Permission: 'no', Insert: 'no', Update: 'no', Delete: 'no', url:'factigis.html', color: 'transparent', img:'dist/css/images/factigis_imag... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _objectWithoutPropertiesLoose2 = _inte... |
/*!
* DevExtreme (dx.messages.it.js)
* Version: 21.2.4
* Build date: Mon Dec 06 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" === typeof define &... |
/*!
* DevExtreme (dx.messages.hu.js)
* Version: 20.1.11 (build 21090-0315)
* Build date: Wed Mar 31 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"... |
/*
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("language","pl",{button:"Ustaw język",remove:"Usuń język"}); |
import{W as t}from"./index-fa69192f.js";class s extends t{static get formatter(){}static get params(){return{localized:!0}}init(){super.init()}connected(){super.connected(),this.apply()}changed(t,s){super.changed(t,s),t in this.props&&this.isConnected&&this.apply()}apply(){this.locale||this.setLocale(this.lang),this.ho... |
import './index-903a7eb6.js';
import InputBehavior from './input-e16f7aac.js';
class TextAreaBehavior extends InputBehavior {
static get params() {
return {
tag: 'textarea',
};
}
}
export default TextAreaBehavior;
|
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... |
/*!
* vue-i18n v9.2.0-beta.12
* (c) 2021 kazuya kawaguchi
* Released under the MIT License.
*/
import { ref, getCurrentInstance, computed, watch, createVNode, Text, defineComponent, Fragment, h, nextTick, inject, onMounted, onUnmounted, isRef } from 'vue';
/**
* Original Utilities
* written by kazuya kawag... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define("zoid", [], factory);
else if(typeof exports === 'object')
exports["zoid"] = factory();
else
root["... |
/**
* Tom Select v2.0.0-rc.5
* Licensed under the Apache License, Version 2.0 (the "License");
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== '... |
/*!
* froala_editor v3.2.4 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2020 Froala Labs
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) :
typeof define === 'function... |
/**
* Tom Select v1.7.2
* Licensed under the Apache License, Version 2.0 (the "License");
*/
import TomSelect from '../../tom-select.js';
var defaults = {
options: [],
optgroups: [],
plugins: [],
delimiter: ',',
splitOn: null,
// regexp or string for splitting up values from a paste command
persist: tru... |
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 { isElement, isValidElementType, ForwardRef } from 'react-is';
import Stylis from '@emotion/stylis';
import _insertRulePlugin from 'stylis-rule-sheet';
import unitless from '@emotion/unitless';
import validAttr from '@emotion/is-prop-valid';
import merge from 'merge-anything';
import React, { useContext, useStat... |
/*
* /MathJax-v2/localization/ce/HTML-CSS.js
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* 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/li... |
/*!
* DevExtreme (dx.messages.fi.js)
* Version: 20.2.4
* Build date: Tue Dec 01 2020
*
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
"use strict";
! function(root, factory) {
if ("function" === typeof define &... |
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... |
it(
"A membrane-like proxy set always returns the same object for a prototype lookup",
function() {
"use strict";
const ShadowKeyMap = new WeakMap();
/**
* Define a shadow target, so we can manipulate the proxy independently of the
* original target.
*
* @argument value {Object} Th... |
"use strict";
class ExitError extends Error {
constructor(message, fileName, lineNumber) {
super(message, fileName, lineNumber);
this.exit = true;
}
}
module.exports = ExitError; |
/*global define*/
define([
'Core/clone',
'Core/defaultValue',
'Core/defined',
'Core/queryToObject',
'Renderer/Context',
'Specs/createCanvas',
'Specs/createFrameState'
], function(
clone,
defaultValue,
defined,
queryToObject,
... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
AsyncStorage: {}
}; |
'use strict';
const assert = require('assert');
const { capture } = require('..');
describe('.capture()', () => {
it('should return null if no match', () => {
assert.equal(capture('test/*', 'hi/123'), null);
});
it('should return an empty array if there are no captures', () => {
assert.deepEqual(captur... |
/*
* 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.
*/
'... |
'use strict';
var path = require('path');
/**
* Receives a `namespace`, and an Hash of `options` to invoke a given
* generator. The usual list of arguments can be set with `options.args`
* (ex. nopt's argv.remain array)
*
* @param {String} namespace
* @param {Object} options
* @param {Function} cb
*
* @mixin
... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... |
module.exports = isPromise;
function isPromise(obj) {
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
}
|
// Karma configuration
// Generated on Sun Jun 26 2016 14:46:31 GMT+0200 (CEST)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '../..',
// frameworks to use
// available frameworks: https://npmjs.org/browse/key... |
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
const updatePasswordSchema = new SimpleSchema({
old: {
type: String,
max: 50,
},
new: {
type: String,
min: 6,
max: 20,
},
confirm: {
type: String,
min: 6,
max: 20,
// TODO: Resolve consistent-return
// eslint-... |
(function (angular, window) {
'use strict';
var regModules = ['ng', 'oc.lazyLoad'],
regInvokes = {},
regConfigs = [],
modulesToLoad = [],
// modules to load from angular.module or other sources
realModules = [],
// real modules called from angular.module
recordDe... |
import Ember from "ember-metal/core"; // Ember.Logger, Ember.LOG_BINDINGS, assert
import { get } from "ember-metal/property_get";
import { trySet } from "ember-metal/property_set";
import { guidFor } from "ember-metal/utils";
import {
addObserver,
removeObserver,
_suspendObserver
} from "ember-metal/observer";
im... |
var expect = require('expect.js'),
$ = require('../'),
fruits = require('./fixtures').fruits;
describe('$(...)', function() {
describe('.find', function() {
it('() : should return this', function() {
expect($('ul', fruits).find()[0].name).to.equal('ul');
});
it('(single) : should find on... |
var Chain = Divhide.Chain;
var Maths = new Chain(
/// the chaining fns
{
sum: function(i,j){
return i + j;
},
sub: function(i, j){
return i - j;
}
},
/// the evaluation fns
{
calculate: function(result, err){
return re... |
/*
* L.TileLayer.Cordova
* A subclass of L.TileLayer which provides caching of tiles to a local filesystem using Cordova's File API
* as well as methods for "switching" the layer between online mode (load from URLs) or offline mode (load from local stash)
* Intended use is with Cordova/Phonegap applications, to cac... |
/* globals Promise:true */
var _ = require('lodash')
var Promise = require('bluebird')
var errors = require('../../../../lib/errors')
var SQL = require('../../sql')
var qutil = require('../util/query')
module.exports.v1 = {}
module.exports.v2 = {}
function latest (req) {
return req.storage.executeQuery(SQL.select... |
/**
* @author Geert Fokke [geert@sector22.com]
* @www sector22.com
*/
//@formatter:off
var Result = require('./Result');
var inherits = require('../../core/utils/inherits');
//@formatter:on
inherits(DataResult, Result);
/**
* An object containing result data with a data object
* @param data {*}... |
$(function() {
$.getJSON('api', updateFeedback);
$('.feedback-form').submit(function(e) {
e.preventDefault();
$.post('api', {
name: $('#feedback-form-name').val(),
title: $('#feedback-form-title').val(),
message: $('#feedback-form-message').val()
}, updateFeedback);
});
$('.feedb... |
var NRS = (function(NRS, $, undefined) {
NRS.forms.errorMessages.startForging = {
"5": "您无法锻造,主要是您余额是0,而且帐号太新了(至少要超过一天的时间)."
};
NRS.forms.startForgingComplete = function(response, data) {
if ("deadline" in response) {
$("#forging_indicator").addClass("forging");
$("#forging_indicator span").html("Forging... |
// MooTools: the javascript framework.
// Load this file's selection again by visiting: http://mootools.net/more/8eff294bf56290a32b86a9b78d3695b6
// Or build this file again with packager using: packager build More/Chain.Wait More/Array.Extras More/Date.Extras More/Number.Format More/URI.Relative More/Hash.Extras More/... |
import tokenize from './tokenizer';
const assert = require('assert');
const inspect = require('util').inspect;
const tests = [
{
jacks: [
'if (x < 153) { let city = "Paris"; }',
'if (x<153) // comment\n{ let city = "Paris"; }',
'if (x < 153) { /* comment */ let city = "... |
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
var config = require('./env/' + process.env.NODE_ENV);
module.exports = config;
|
'use strict';
var chai = require('chai');
var chaiHttp = require('chai-http');
chai.use(chaiHttp);
var expect = chai.expect;
process.env.MONGO_URL = 'mongodb://localhost/user_test';
require(__dirname + '/../server');
var mongoose = require('mongoose');
var User = require(__dirname + '/../models/user');
var host = 'loc... |
define(function(require) {
var zrUtil = require('zrender/core/util');
var graphic = require('../../util/graphic');
var DataDiffer = require('../../data/DataDiffer');
var helper = require('./helper');
var Breadcrumb = require('./Breadcrumb');
var RoamController = require('../../component/helper... |
const express = require('express')
const app = express()
const bodyParser = require('body-parser')
app.use(bodyParser.json())
const users = [{
id: 1,
name: 'Christian Alfoni',
githubUsername: 'christianalfoni'
}, {
id: 2,
name: 'Aleksey tha man'
}, {
id: 3,
name: 'Brian Fitch'
}, {
id: 4,
name: 'Gar... |
// Platform specific overrides will be placed in the merges folder versions of this file |
var _ = require("underscore");
var Fiber = require("fibers");
exports.parallelEach = function (collection, callback, context) {
const errors = [];
context = context || null;
const results = Promise.all(_.map(collection, (...args) => {
async function run() {
return callback.apply(context, args);
}
... |
(function () {
var app = angular.module('app', ['firebase', 'ui.router'])
.constant('firebaseUrl', "https://popping-torch-4767.firebaseio.com/");
app.config(function ($stateProvider, $urlRouterProvider, firebaseUrl) {
$urlRouterProvider.otherwise('/home');
$stateProvi... |
// @flow strict-local
import createSheet from '../../styles/create-sheet';
export type Data = { disabled: boolean };
export default createSheet('Label', {
label: {
display: 'flex',
alignItems: 'center',
},
text: {
padding: '4px 4px 4px 8px',
userSelect: 'none',
cursor: (data: Data) => (dat... |
// 20170424172403
// https://raw.githubusercontent.com/nodemailer/nodemailer/master/lib/well-known/services.json
module.exports = {
"126": {
"host": "smtp.126.com",
"port": 465,
"secure": true
},
"163": {
"host": "smtp.163.com",
"port": 465,
"secure": true
},
"1und1": {
"host": "s... |
/**
* Copyright (c) 2008-2011 The Open Planning Project
*
* Published under the BSD license.
* See https://github.com/opengeo/gxp/raw/master/license.txt for the full text
* of the license.
*/
/**
* @requires plugins/LayerSource.js
*/
/** api: (define)
* module = gxp.plugins
* class = Google... |
function mapFilenames(filenames) {
return filenames.map(filename => `"${filename}"`).join(' ');
}
module.exports = {
'*': () => [
'yarn run test',
'yarn run test:ts',
],
'*.ts': (filenames) => [
`eslint --fix --cache ${mapFilenames(filenames)}`,
],
};
|
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['specs/e2e/ng-sticky-element.js'],
capabilities: {
'browserName': 'firefox'
}
};
|
import React from 'react'
import Icon from 'react-icon-base'
const FaPhone = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m35.9 27.7q0 0.6-0.2 1.6t-0.5 1.5q-0.4 1.1-2.7 2.3-2.1 1.2-4.1 1.2-0.6 0-1.2-0.1t-1.3-0.3-1.1-0.3-1.2-0.5-1.1-0.4q-2.2-0.7-3.9-1.8-2.8-1.8-5.9-4.8t-4.8-5.9q-1.1-1.7-1.9... |
BlazeComponent.extendComponent({
onCreated() {
this.subscribe('allRules');
this.subscribe('allTriggers');
this.subscribe('allActions');
},
trigger() {
const ruleId = this.data().ruleId;
const rule = Rules.findOne({
_id: ruleId.get(),
});
const trigger = Triggers.findOne({
... |
const arrayRemove = require('unordered-array-remove')
const bencode = require('bencode')
const compact2string = require('compact2string')
const debug = require('debug')('bittorrent-tracker:http-tracker')
const get = require('simple-get')
const common = require('../common')
const Tracker = require('./tracker')
const H... |
module.exports = class ReporterProxy {
constructor () {
this.reporter = null
this.timingsQueue = []
this.eventType = 'find-and-replace-v1'
}
setReporter (reporter) {
this.reporter = reporter
let timingsEvent
while ((timingsEvent = this.timingsQueue.shift())) {
this.reporter.add... |
'use strict'
var Seneca = require('seneca')
var Shared = require('seneca-store-test')
var Lab = require('lab')
var lab = exports.lab = Lab.script()
var before = lab.before
var describe = lab.describe
var DBConfig = require('./dbconfig')
var si = Seneca({
default_plugins: {
'mem-store': false
}
})
describe(... |
'use strict'
let immstruct = require('immstruct')
let ReactDom = require('react-dom')
let router = require('./router')
let Logger = require('@arve.knudsen/js-logger')
let ajax = require('./ajax')
let routeMap = require('./workshopsRouteMap')
require('./styles/fonts.css')
Logger.useDefaults({
formatter: (messages, ... |
(function (angular) {
"use strict";
angular.module("mfl.facility_mgmt.states.upgrade_downgrade", [
"ui.router"
])
.config(["$stateProvider", function ($stateProvider) {
$stateProvider
.state("facilities.upgrade", {
url: "upgrade/:facility_id/",
views: {
... |
declare module 'expo-constants' {
declare export type AppOwnership = 'standalone' | 'expo' | 'guest';
declare export type UserInterfaceIdiom = 'handset' | 'tablet' | 'unsupported';
declare export type IOSManifest = {
buildNumber: string,
platform: string,
model: string,
userInterfaceIdiom: UserI... |
import React, { Component, PropTypes } from 'react';
import { Link } from 'react-router';
import config from '../../config';
import { connect } from 'react-redux';
import { logout, loadAuthCookie, loadPersonalInfo } from 'redux/modules/auth';
import { load as loadGenre } from 'redux/modules/genre';
import { loadCartInf... |
const A = require('./A');
//class B extends A { }
module.exports = B;
|
import React from 'react';
class Square extends React.Component
{
render()
{
const { black } = this.props;
const backgroundColor = black ? 'black' : 'white';
const color = black ? 'white' : 'black';
return (
<div style={{
color,
backgroundColor... |
import fs from 'fs';
import gulp from 'gulp';
import gutil from 'gulp-util';
import jade from 'gulp-jade';
import rename from 'gulp-rename';
import webpack from 'webpack';
import WebpackDevServer from 'webpack-dev-server';
import prodConfig from './webpack/prod.config';
import devConfig from './webpack/dev.config';
co... |
import CONST from '../../canvas-const';
import Browser from '../../browser-api';
import PixelateTool from './pixelate-tool';
/**
* Default Pixelate options.
*/
const defaultToolProps = {
label: 'Pixelate',
activeColor: CONST.DEFAULT_ACTIVE_COLOR,
activeOpacity: 0.3,
blocksize: 8
};
Browser.getFromWindow('re... |
// @koala-append "custom/_minicart.js"
|
//>>built
define({instructions:"A k\u00f6zvetlen beilleszt\u00e9s le van tiltva. A b\u00f6ng\u00e9sz\u0151 szokv\u00e1nyos beilleszt\u00e9si billenty\u0171kombin\u00e1ci\u00f3j\u00e1val vagy men\u00fcparancs\u00e1val illessze be a tartalmat ebbe a p\u00e1rbesz\u00e9dpanelbe. Ha a beilleszteni k\u00edv\u00e1nt tartalom ... |
const chai = require('chai');
const metadataValidator = require('../src/metadata/validator/MetadataValidator.js');
const assert = chai.assert;
describe('metadataValidator', function() {
it('validate - Required', function() {
let metadata = [
{
name: 'name',
required... |
/* global angular */
(function () {
'use strict';
function SummaryModalButtonController(bbModal) {
var ctrl = this;
ctrl.open = function (fullPage) {
bbModal.open(
{
controller: 'SummaryActionbarTestController as summaryCtrl',
... |
"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")... |
/*
+----------------------------------------------------------------------+
| BBT StackManager |
| --- StackManager --- |
| Module File |
+--------... |
const { Test, Post, server } = require('./lib/server')
const { describe, it, expect } = global
const { afterAll, fail } = global
const _ = require('lodash')
afterAll(() => { server.close() })
describe('model', function () {
it('validate', async () => {
const data = {
title: 'a',
content: 'b',
... |
function baseinputnumber(widget_id, url, skin, parameters)
{
// Will be using "self" throughout for the various flavors of "this"
// so for consistency ...
self = this
// Initialization
self.widget_id = widget_id
// Store on brightness or fallback to a default
// Parameters may come in ... |
/**
* guiders.js
*
* version 1.1.1
*
* Developed at Optimizely. (www.optimizely.com)
* We make A/B testing you'll actually use.
*
* Released under the Apache License 2.0.
* www.apache.org/licenses/LICENSE-2.0.html
*
* Questions about Guiders or Optimizely?
* Email us at jeff+pickhardt@optimizely.com or hel... |
/* =========================================================
* bootstrap-datepicker.js
* Repo: https://github.com/eternicode/bootstrap-datepicker/
* Demo: http://eternicode.github.io/bootstrap-datepicker/
* Docs: http://bootstrap-datepicker.readthedocs.org/
* Forked from http://www.eyecon.ro/bootstrap-datepicker
... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d... |
/*
* Copyright (c) 2008-2014 The Open Source Geospatial Foundation
*
* Published under the BSD license.
* See https://github.com/geoext/geoext2/blob/master/license.txt for the full
* text of the license.
*/
/*
* @include OpenLayers/Format/JSON.js
* @include OpenLayers/Format/GeoJSON.js
* @include OpenLayers/U... |
exports = {}; |
/*global define*/
define([
'jquery',
'orotranslation/js/translator',
'underscore',
'oroui/js/mediator',
'routing',
'oroui/js/app/views/base/view',
'oroui/js/messenger'
], function($, __, _, mediator, routing, BaseView, messenger) {
'use strict';
var EmailNotificationView;
Email... |
describe('ionRefresher directive', function() {
beforeEach(module('ionic'));
function setup(attrs, scopeProps) {
var el;
inject(function($compile, $rootScope) {
var scope = $rootScope.$new();
var ionicScrollCtrl = {
_setRefresher: jasmine.createSpy('setRefresher'),
scrollView: {... |
// Copyright 2015-2021 JC Fisher
import isfalsy from "./isfalsy";
// Returns true when the value is not falsey
// https://developer.mozilla.org/en-US/docs/Glossary/Truthy
export default function istruthy(value) {
return !isfalsy(value);
}
|
/** @babel */
import {Emitter, Disposable, CompositeDisposable} from 'event-kit'
import {Point, Range} from 'text-buffer'
import TextEditor from './text-editor'
import ScopeDescriptor from './scope-descriptor'
const EDITOR_PARAMS_BY_SETTING_KEY = [
['core.fileEncoding', 'encoding'],
['editor.atomicSoftTabs', 'ato... |
'use strict';
module.exports = TinyQueue;
function TinyQueue(data, compare) {
this.data = data || [];
this.length = this.data.length;
this.compare = compare || defaultCompare;
if (data) for (var i = Math.floor(this.length / 2); i >= 0; i--) this._down(i);
}
function defaultCompare(a, b) {
return... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Notify = factory());
}(this, (function () { 'use strict';
var _typeof = typeof Symbol === "function" && typeof Symbol.it... |
app.pages['gamble'] = function(params) {
if ($('.slideWrapper1 div').length == 0) {
sliderInit();
}
if (params.secretPhrase) {
app.gamble(params.secretPhrase);
}
$btn = $('.btn_roll');
$btn.off();
$btn.click(function() {
if (!app.vars.secretPhrase) {
app.showLoginModal({ nextPage: 'gamble' });
} ... |
import Ember from 'ember';
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
import wait from 'ember-test-helpers/wait';
const { Object:EmberObject, RSVP } = Ember;
const { resolve } = RSVP;
moduleForComponent('session-objective-list-item', 'Integration | Component ... |
'use strict';
module.exports = function (t, a) {
a(t('arar'), false, "String");
a(t(12), false, "Number");
a(t(true), false, "Boolean");
a(t(new Date()), false, "Date");
a(t(String('raz')), false, "String object");
a(t({}), false, "Plain object");
a(t(/a/), true, "Regular expression");
a(t(new RegExp('a')), tr... |
/**
* gonebusy
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io )
*/
'use strict';
const stream = require('stream');
class APIHelper {
/**
* Replaces template parameters in the given url
* @param {String} queryBuilder The query string builder to replace the tem... |
import OSMFire_Core from 'MainCore'
//******************************************************
//Responsible for making AJAX calls to server API
//******************************************************
OSMFire_Core.jQueryAjaxEngine = (function () {
let self = {},
response, callbackFunc, page
self.makeAjaxCall = ... |
/**
* 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.
*
* @flow
*/
import type {Fiber} from './ReactInternalTypes';
import type {ExpirationTime} from './ReactFiberExpirationTime.old';
i... |
var assert = require('assert')
, es = require('event-stream')
, StreamQueue = require('../src')
, PlatformStream = require('stream')
, Stream = require('readable-stream')
;
// Test each type of stream
[PlatformStream, Stream].slice(PlatformStream.Readable ? 0 : 1)
.forEach(function(Stream) {
// T... |
"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")... |
version https://git-lfs.github.com/spec/v1
oid sha256:f3bd05882d550e93186316a597c70ee687ecd2af0b3a555e9630af0e580f63cd
size 15702
|
/**
* The MIT License (MIT)
*
* Copyright (c) 2014 Marco Grätsch
*
* 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 rights
* to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.