code stringlengths 2 1.05M |
|---|
/*
* Fathom.js v1.2.4
* Copyright 2012, Mark Dalgleish
*
* This content is released under the MIT License
* markdalgleish.mit-license.org
*/
(function($, window, undefined){
var Fathom = function(container, options){
this.container = container;
this.options = options;
return this.init();
},
$wi... |
var toPaths = require('./toPaths');
var toTree = require('./toTree');
module.exports = function collapse(paths) {
var collapseMap = paths.
reduce(function(acc, path) {
var len = path.length;
if (!acc[len]) {
acc[len] = [];
}
acc[len].push(path... |
var strain = require('./strain');
describe('strain', function() {
it('keeps on empty array returns empty array', function() {
expect(strain.keep([], function(e) { return e < 10; })).toEqual([]);
});
xit('keeps everything ', function() {
expect(strain.keep([1, 2, 3], function(e) { return e < 10; })).toE... |
'use strict';
angular.module("ngLocale", [], ["$provide", function ($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"\u062f\u0646",
... |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(function(){"use strict";var L={};L.render=function(R,c){R.write("<div");R.writeControlData(c);R.addClass("sapUiLocalBusy... |
/*global defineSuite*/
defineSuite([
'DataSources/PolylineOutlineMaterialProperty',
'Core/Color',
'Core/JulianDate',
'Core/TimeInterval',
'DataSources/ConstantProperty',
'DataSources/TimeIntervalCollectionProperty'
], function(
PolylineOutlineMaterialProperty,... |
import {bindable, inject, BindingEngine, customElement, processContent, TargetInstruction } from 'aurelia-framework';
import {GridColumn} from './grid-column';
import {ViewCompiler, ViewSlot, ViewResources, Container} from 'aurelia-framework';
@customElement('grid')
@processContent(function(viewCompiler, viewResources... |
/****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a cop... |
import { Actions } from "flummox";
import ApplicationApi from "../api/ApplicationApi";
import Application from "../models/Application";
import Event from "../models/Event";
const applicationApi = new ApplicationApi();
class ApplicationActions extends Actions {
async applyToEvent(payload) {
return await null;
... |
/*!
* Vue.js v2.4.2
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
'use strict';
/* */
// these helpers produces better vm code in JS engines due to their
// explicitness and function inlining
function isUndef (v) {
return v === undefined || v === null
}
function isDef (v) {
return v !== unde... |
import PageManager from './page-manager';
import stateCountry from './common/state-country';
import $ from 'jquery';
import nod from './common/nod';
import validation from './common/form-validation';
import forms from './common/models/forms';
import { classifyForm, Validators } from './common/form-utils';
export defau... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'link', 'fr', {
acccessKey: 'Touche d\'accessibilité',
advanced: 'Avancé',
advisoryContentType: 'Type de contenu (ex: text/html)',
advisor... |
/*
Translation by FreezeSoul
*/
scheduler.config.day_date="%M %d日 %D";
scheduler.config.default_date="%Y年 %M %d日";
scheduler.config.month_date="%Y年 %M";
scheduler.locale={
date: {
month_full: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
month_short: ["1月", "2月", "3月", "4月", "5月", "6... |
/*!
* jQuery JavaScript Library v2.0.2 -sizzle,-wrap,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-offset,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jqu... |
version https://git-lfs.github.com/spec/v1
oid sha256:152cba3b9e4c6af434c7b67609f4a835b50bb96dcdb4b1a24c61fc1f8eb8db81
size 5641
|
/* YeAPF 0.8.54-53 built on 2017-03-07 17:28 (-3 DST) Copyright (C) 2004-2017 Esteban Daniel Dortta - dortta@yahoo.com */
importScripts("yloader.js");yCommWorker=function(b){var a=b.data;switch(a.cmd){case "start":var c=a.invoker.callbackFunction;a.invoker.callbackFunction=function(b){a.invoker.callbackFunction=c;self.... |
// @flow
import type { DatePickerCoreApi } from 'pickadate/types'
import type { DatePickerState } from 'pickadate/types'
import type { EventName } from 'pickadate/constants'
import * as dateUtil from 'pickadate/utils/dateUtil'
import { EVENT_NAME } from 'pickadate/constants'
import createDateStore from 'pickadate/crea... |
/**
* bootstrap-table - An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3).
*
* @version v1.14.1
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
... |
var __ScalaJSEnv = { exportsNamespace: exports };
(function(){'use strict';
function d(){return function(){}}function g(a){return function(b){this[a]=b}}function l(a){return function(){return this[a]}}function n(a){return function(){return a}}var p,q="object"===typeof __ScalaJSEnv&&__ScalaJSEnv?__ScalaJSEnv:{},r="objec... |
/* *
*
* (c) 2010-2021 Grzegorz Blachlinski, Sebastian Bochan
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var React = require('react');
var core = require('primereact/core');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefaultLegacy... |
import { test } from '../qunit';
import { localeModule } from '../qunit-locale';
import moment from '../../moment';
localeModule('nl');
test('parse', function (assert) {
var tests = 'januari jan._februari feb._maart mrt._april apr._mei mei._juni jun._juli jul._augustus aug._september sep._oktober okt._november nov... |
/*eslint-disable max-len */
'use strict';
var EOL = require('os').EOL;
var path = require('path');
var combine = require('stream-combiner2');
var expect = require('chai').expect;
var File = require('vinyl');
var minifyCSS = require('..');
var PluginError = require('gulp-util').PluginError;
var sourceMaps = require('g... |
function numbers ( i ) {
var array = new Array( i );
while ( i-- ) array[i] = i + 1;
return array;
}
assert.deepEqual( numbers( 5 ), [ 1, 2, 3, 4, 5 ] );
|
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var DefaultDecorators = [{
component: _react2['default'].cr... |
/*
_ _ _ _
___| (_) ___| | __ (_)___
/ __| | |/ __| |/ / | / __|
\__ \ | | (__| < _ | \__ \
|___/_|_|\___|_|\_(_)/ |___/
|__/
Version: 1.5.3
Author: Ken Wheeler
Website: http://kenwheeler.github.io
Docs: http://kenwheeler.github.io/slick
Repo: http://github.com/kenwh... |
/**
it's coming time for an overhaul of how runners are setup.
better to provide support for running all tests and rolling them into one big report. (with status and totals)
also, i've since learnt about process.cwd() etc.
adapters should be detected here (and should they even be called adapters)
also... |
import React, { Component } from 'react';
class Page500 extends Component {
render() {
return (
<div className="container">
<div className="row justify-content-center">
<div className="col-md-6">
<div className="clearfix">
<h1 className="float-left display-3 mr-2... |
// shared module
export var x = "x";
export * from "shared2";
|
'use strict';
var StringMask = require('string-mask');
function ScientificNotationMaskDirective($locale, $parse) {
var decimalDelimiter = $locale.NUMBER_FORMATS.DECIMAL_SEP,
defaultPrecision = 2;
function significandMaskBuilder(decimals) {
var mask = '0';
if (decimals > 0) {
mask += decimalDelimiter;
... |
import { computed, addObserver, get } from 'ember-metal';
import EmberObject from '../../lib/system/object';
import { moduleFor, AbstractTestCase } from 'internal-test-helpers';
moduleFor(
'mixins/observable',
class extends AbstractTestCase {
['@test should be able to use getProperties to get a POJO of provide... |
define(function(require) {
'use strict';
var WidgetSetupModalView;
var _ = require('underscore');
var __ = require('orotranslation/js/translator');
var Modal = require('oroui/js/modal');
WidgetSetupModalView = Modal.extend({
/** @property {String} */
className: 'modal oro-modal... |
var component = require('../core/component');
var THREE = require('../lib/three');
var bind = require('../utils/bind');
var registerComponent = component.registerComponent;
/**
* Shadow component.
*
* When applied to an entity, that entity's geometry and any descendants will cast or receive
* shadows as specified ... |
define({main:{"mt-MT":{identity:{version:{_number:"$Revision: 11914 $",_cldrVersion:"29"},language:"mt",territory:"MT"},dates:{calendars:{gregorian:{months:{format:{abbreviated:{1:"Jan",2:"Fra",3:"Mar",4:"Apr",5:"Mej",6:"Ġun",7:"Lul",8:"Aww",9:"Set",10:"Ott",11:"Nov",12:"Diċ"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"Ġ... |
/**
@module ember
@submodule ember-testing
*/
import {
helpers,
registerHelper,
registerAsyncHelper,
unregisterHelper
} from './test/helpers';
import { onInjectHelpers } from './test/on_inject_helpers';
import TestPromise, {
promise,
resolve
} from './test/promise';
import {
checkWaiters,
registerWa... |
var Checker = require('../../lib/checker');
var assert = require('assert');
describe('rules/disallow-implicit-type-conversion', function() {
var checker;
beforeEach(function() {
checker = new Checker();
checker.registerDefaultRules();
});
it('should report implicit numeric conversion', ... |
var PropsStateValueMixin = {
componentWillReceiveProps: function (newProps) {
this.setState({value: newProps.value});
}
}
module.exports = PropsStateValueMixin; |
/*!
* CanJS - 2.1.2
* http://canjs.us/
* Copyright (c) 2014 Bitovi
* Mon, 16 Jun 2014 20:44:18 GMT
* Licensed MIT
* Includes: CanJS default build
* Download from: http://canjs.us/
*/
define(["can/view", "can/view/elements", "can/view/live", "can/util/string"], function (can, elements, live) {
/**
* Helper(s... |
/**
* @fileoverview Schema of an Abstract Syntax Tree Node.
* This schema only describes the properies that are mandatory across all nodes.
* Additional attrs can exist depending on the entity the Node represents.
*
* @author Raghav Dua <duaraghav8@gmail.com>
*/
"use strict";
// A fully qualified, minimal objec... |
version https://git-lfs.github.com/spec/v1
oid sha256:60e17f7cda8062411e5a3618f5c3336166975e78621ac13110768a61dbca2b35
size 1606
|
'use strict';
module.exports = function (marty) {
marty.autoDispatch = require('./autoDispatch');
marty.ActionCreators = require('./actionCreators');
marty.createActionCreators = require('./createActionCreatorsClass');
}; |
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Payment Payment
* @ingroup UnaModules
*
* @{
*/
function BxPaymentProviderStripe(oOptions) {
this.init(oOptions);
}
BxPaymentProviderStripe.prototype = new BxPaymentMain();
BxPaymentProvide... |
// Main executable can now be found inline inside of the index.html file
// of this example! |
gXMLBuffer ="<?xml version=\"1.0\" encoding=\"utf-8\" ?><data src=\"toc5.js\" name=\"Field tab tasks\"><item name=\"Fields tab tasks overview\" url=\"Language_Forge_Tasks/Manger_and_Proj_Owner_tasks/Dictionary_Configuration/Fields_tab_tasks/Fields_tab_tasks_overview.htm\" /><item name=\"Change the setup of a field\" ... |
/**
* @fileoverview Disallows or enforces spaces inside of brackets.
* @author Ian Christian Myers
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const path = require(... |
'use strict';
var numbro = require('../../numbro'),
language = require('../../languages/es-AR');
numbro.language(language.langLocaleCode, language);
exports['language:es-AR'] = {
setUp: function (callback) {
numbro.language('es-AR');
callback();
},
tearDown: function (callback) {
... |
import assert from 'ember-cli-mirage/assert';
import BaseShorthandRouteHandler from './base';
import { Response } from 'ember-cli-mirage';
import { singularize, camelize } from 'ember-cli-mirage/utils/inflector';
export default class GetShorthandRouteHandler extends BaseShorthandRouteHandler {
/*
Retrieve a mod... |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import { isFragment } from 'react-is';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { unstable_composeCla... |
frappe.provide("frappe.core")
frappe.core.Workflow = frappe.ui.form.Controller.extend({
refresh: function(doc) {
this.frm.set_intro("");
if(doc.is_active) {
this.frm.set_intro("This Workflow is active.");
}
this.load_document_type(doc);
},
document_type: function(doc) {
this.load_document_type(doc);
}... |
'use strict';
/*globals MozWebSocket */
/**
* Minimum viable Faye-WebSocket client. This function is stringified and
* added in our client-side library.
*
* @runat client
* @api private
*/
module.exports = function client() {
var primus = this
, socket;
//
// Select an available Faye-WebSocket factory... |
'use strict';
// in this file you can append custom step methods to 'I' object
module.exports = function() {
return actor({
// Define custom steps here, use 'this' to access default methods of I.
// It is recommended to place a general 'login' function here.
});
}
|
/**
* @fileoverview Rule to require parens in arrow function arguments.
* @author Jxck
* @copyright 2015 Jxck. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//----------------------------------------------------------------... |
;_mocha_version = "1.17.1";
;(function(){
// CommonJS require()
function require(p){
var path = require.resolve(p)
, mod = require.modules[path];
if (!mod) throw new Error('failed to require "' + p + '"');
if (!mod.exports) {
mod.exports = {};
mod.call(mod.exports, mod, mod.exports, requ... |
/**
* @class Material.components.ProgressCircular
*
* This class is to define an existing control, progress circular in new HTML structure.
* */
Ext.define('Material.components.ProgressCircular', {
extend: 'Ext.Mask',
xtype: 'md-progress-circular',
config: {
/**
* @cfg {B... |
import { Migrations } from '../../../app/migrations';
Migrations.add({
version: 97,
up() {
// Migration moved to 099.js to fix a bug
},
});
|
import { Migrations } from '../../../app/migrations';
import { Users } from '../../../app/models';
import { generateUsernameSuggestion } from '../../../app/lib';
Migrations.add({
version: 1,
up() {
return Users.find({
username: {
$exists: false,
},
lastLogin: {
$exists: true,
},
}).forEach((u... |
var $$UMFP; // reference to $UrlMatcherFactoryProvider
/**
* @ngdoc object
* @name ui.router.util.type:UrlMatcher
*
* @description
* Matches URLs against patterns and extracts named parameters from the path or the search
* part of the URL. A URL pattern consists of a path pattern, optionally followed by '?' and ... |
'use strict';
/* ! VARIABLE/FUNCTION NAMING CONVENTIONS THAT APPLY TO THIS FILE!
*
* DOM-related variables:
*
* - "node" - DOM Node
* - "element" - DOM Element or Node
* - "$node" or "$element" - jqLite-wrapped node or element
*
*
* Compiler related stuff:
*
* - "linkFn" - linking fn of a single directive
... |
import React from 'react'
import { Icon, Table } from 'semantic-ui-react'
const TableExampleCollapsingCell = () => {
return (
<Table>
<Table.Body>
<Table.Row>
<Table.Cell collapsing>
<Icon name='folder' />
node_modules
</Table.Cell>
<Table.Cell>... |
import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
import Button from 'react-native-button';
import { Actions } from 'react-native-router-flux';
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F... |
import WebGLManager from './WebGLManager';
/**
* @class
* @extends PIXI.WebGLManager
* @memberof PIXI
*/
export default class StencilManager extends WebGLManager
{
/**
* @param {PIXI.WebGLRenderer} renderer - The renderer this manager works for.
*/
constructor(renderer)
{
super(render... |
/////////////////////////////////////////////////////////////////////
// Copyright (c) Autodesk, Inc. All rights reserved
// Written by Forge Partner Development
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that... |
export class Drawer {
constructor(container, particle) {
this.container = container;
this.particle = particle;
}
draw() {
const container = this.container;
const particle = this.particle;
container.canvas.drawParticle(particle);
}
}
|
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import transitions from '../styles/transitions';
import EnhancedButton from '../internal/EnhancedButton';
import StepLabel from './StepLabel';
const isLabel = (child) => {
return child && child.type && child.type.muiName === 'StepLabel';
};
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Rectangle = void 0;
var tslib_1 = require("tslib");
var Range_1 = require("./Range");
var Rectangle = (function (_super) {
tslib_1.__extends(Rectangle, _super);
function Rectangle(x, y, width, height) {
var _this = _sup... |
export { default } from 'sl-ember-components/components/sl-grid';
|
var when = require('when'),
_ = require('lodash'),
utils;
utils = {
checkObject: function (object, docName) {
if (_.isEmpty(object) || _.isEmpty(object[docName]) || _.isEmpty(object[docName][0])) {
return when.reject({type: 'BadRequest', message: 'No root key (\'' + docName + '... |
describe('datetimepicker', function() {
describe('utility functions', function() {
var util = $.timepicker._util;
describe('extendRemove', function() {
var target,
props;
beforeEach(function() {
target = {};
props = {};
});
it('should add a nonexistent property to the target', function()... |
"use strict";
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 = Refl... |
namespace global {}
module global {}
global {}
declare global {}
|
import initializeTorii from 'torii/initializers/initialize-torii';
import initializeToriiCallback from 'torii/initializers/initialize-torii-callback';
import initializeToriiSession from 'torii/initializers/initialize-torii-session';
export default function(Application){
Application.initializer( initializeToriiCallba... |
(function() {
"use strict";
var AbstractCompiler, GlobalsCompiler, isEmpty,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.proto... |
define(["avalon"], function(avalon) {
//组合键绑定
var specialKeys = {
8: "backspace", 9: "tab", 10: "return", 13: "return", 16: "shift", 17: "ctrl", 18: "alt", 19: "pause",
20: "capslock", 27: "esc", 32: "space", 33: "pageup", 34: "pagedown", 35: "end", 36: "home",
37: "left", 38: "up", 39: ... |
'use strict';
var extend = require('xtend');
var svg = require('virtual-dom/virtual-hyperscript/svg');
var pointDefaults = {
'stroke': 'black',
'strokeWidth': '2',
'fill': 'blue',
'r': '5'
};
var segmentDefaults = {
'stroke': 'black',
'stroke-width': '2'
};
var circleDefaults = {
'fill'... |
/*
* client.js: Database client for HP Trove Databases
*
* (C) 2014 Hewlett-Packard Development Company, L.P.
*
*/
var util = require('util'),
urlJoin = require('url-join'),
hp = require('../../client'),
auth = require('../../../common/auth.js'),
_ = require('underscore');
var... |
/**
* +--------------------------------------------------------------------+
* | This HTML_CodeSniffer file is Copyright (c) |
* | Squiz Pty Ltd (ABN 77 084 670 600) |
* +--------------------------------------------------------------------+
* | IMPORTANT: Your... |
/* eslint-disable */
;(function(root, factory) {
if (typeof define === 'function' && define.amd) { // AMD
define(['../core'], factory);
} else if (typeof exports === 'object') { // Node.js
module.exports = factory(require('../core'));
} else { // Browser
root.Blockly.Msg = factory(root.Blockly);
}
}... |
goog.require('ol.Attribution');
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.layer.Tile');
goog.require('ol.proj');
goog.require('ol.source.OSM');
goog.require('ol.source.XYZ');
var mapMinZoom = 1;
var mapMaxZoom = 15;
var mapExtent = [-112.261791, 35.983744, -112.113981, 36.132062];
var map = ne... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('hoist-non-inferno-statics'), require('inferno'), require('redux')) :
typeof define === 'function' && define.amd ? define(['exports', 'hoist-non-inferno-statics', 'inferno', 'redux'], factory) :
(... |
/**
* @fileoverview Rule to check empty newline after "var" statement
* @author Gopal Venkatesan
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = {
... |
/*
* Copyright (c) 2013-2014 Chukong Technologies Inc.
*
* 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 use, copy, mod... |
module.exports={A:{A:{"2":"H E G C B A WB"},B:{"1":"D u g I J"},C:{"2":"0 1 2 3 4 5 6 UB x F L H E G C B A D u g I J Y O e P Q R S T U V W X v Z a b c d N f M h i j k l m n o p q r s t y K SB RB"},D:{"1":"0 1 2 3 4 5 6 k l m n o p q r s t y K GB AB CB VB DB EB","2":"F L H E G C B A D u g I J Y O e P Q R S T U V W X v Z... |
define({
"_widgetLabel": "Lokasi Saya",
"title": "Temukan lokasi saya",
"browserError": "Geolokasi tidak didukung oleh browser ini.",
"failureFinding": "Tidak dapat menemukan lokasi Anda. Harap periksa browser Anda untuk memastikan bahwa lokasi Anda sudah dibagikan.",
"httpNotSupportError": "Widget ini hanya ... |
const stylelint = require('stylelint');
const ruleName = 'material/no-nested-mixin';
const messages = stylelint.utils.ruleMessages(ruleName, {
expected: () => 'Nested mixins are not allowed.',
});
/**
* Stylelint plugin that prevents nesting SASS mixins.
*/
const plugin = stylelint.createPlugin(ruleNa... |
'use strict'
var path = require('path')
, tap = require('tap')
, test = tap.test
, helper = require('../../lib/agent_helper')
test("c. async transaction with setImmediate (0.9+)", function (t) {
t.plan(1)
var agent = helper.loadMockedAgent()
function handler() {
t.ok(agent.getTransaction(),... |
// Copyright 2011 Software Freedom Conservancy. 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 req... |
steal('jquery/model/list','jquery/lang/object', function($){
var same = $.Object.same,
trigger = function(obj, event, args){
$.event.trigger(event, args, obj, true)
},
$method = function( name ) {
return function( eventType, handler ) {
return $.fn[name].apply($([this]), arguments);
}
},
bind = $method('... |
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// ... |
var testUtils = require('../../utils'),
should = require('should'),
_ = require('lodash'),
// Stuff we are testing
PostAPI = require('../../../server/api/posts'),
TagAPI = require('../../../server/api/tags'),
UserAPI = require('../../../server/api/users');
describe('Filter Param ... |
define( function() {
"use strict";
function nodeName( elem, name ) {
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
}
return nodeName;
} );
|
/**
* angular-input-masks
* Personalized input masks for AngularJS
* @version v2.6.0
* @link http://github.com/assisrafael/angular-input-masks
* @license MIT
*/
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var ... |
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { setupComponentTest } from 'ember-mocha';<% if (testType === 'integration') { %>
import hbs from 'htmlbars-inline-precompile';<% } %>
describe('<%= friendlyTestDescription %>', function() {
setupComponentTest('<%= componentPathName %>', {
... |
'use strict';
var root = require('../../../'),
bfsShortestPath = root.Graph.bfsShortestPath,
Graph = root.DataStructures.Graph,
assert = require('assert');
describe('BFS Shortest Path Algorithm', function () {
it('should return the shortest paths to all nodes from a given origin',
function () {
... |
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M277.375 85v259.704l119.702-119.702L427 256 256 427 85 256l29.924-29.922 119.701 118.626V85h42.75z"/></svg>','md-arrow-down'); |
//>>built
define("dojox/grid/nls/DataGrid_it-it",{"dijit/nls/loading":{"_localized":{},"loadingState":"Caricamento in corso...","errorState":"Si è verificato un errore"}});
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var getDisplayName = function getDisplayName(Comp) {
return Comp.displayName || Comp.name || 'Component';
};
exports.default = getDisplayName; |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
'use strict';
var util = require('util');
var async = require('async');
var msRest = require('ms-rest');
var PollingState = require('./pollingState');
var LroSt... |
/*
* /MathJax/localization/bg/FontWarnings.js
*
* Copyright (c) 2009-2017 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/l... |
/*************************************************************
*
* MathJax/localization/fa/MathMenu.js
*
* Copyright (c) 2009-2016 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... |
module.exports={title:"Windows Terminal",slug:"windowsterminal",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Windows Terminal icon</title><path d="M8.165 6V3h7.665v3H8.165zm-.5-3H1c-.55 0-1 .45-1 1v2h7.665V3zM23 3h-6.67v3H24V4c0-.55-.45-1-1-1zM0 6.5h24V20c0 .55-.45 1-1 1H1c-.55 0-1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.