code stringlengths 2 1.05M |
|---|
"use strict";
var config = require('../config');
var commander = config('commander-harmony');
var profile = config('profile');
var fs = require('fs');
var node_path = require('path');
var semver = require('semver-extra');
// {"request/0.1.0":[func,func,func]}
var installing_mods = {};
function validate_format(path)... |
const NAMESPACE = 'ionicons';
let scopeId;
let hostTagName;
let isSvgMode = false;
let queuePending = false;
const win = typeof window !== 'undefined' ? window : {};
const doc = win.document || { head: {} };
const plt = {
$flags$: 0,
$resourcesUrl$: '',
jmp: (h) => h(),
raf: (h) => requestAnimationFram... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
import PropTypes from 'prop-types';
import withStyles from '../styles/withStyles';
import { emphasize } from '../styles/colorManipula... |
var dataEl;
var stripePublicKey;
module.exports = function() {
// When the DOM is ready...
$(init)
}
var noKey = function() {
console.error("No element found with data-stripe-public-key attribute");
}
var init = function() {
// External stripe scripts are not loaded on all pages
if (typeof Stripe === "und... |
/*globals describe,it,before,beforeEach,after*/
var PluginHelpers = require("../src/shim/PluginHelpers"),
assert = require("assert");
var checkType = function (args, option) {
"use strict";
it("should have correct type for " + option.name, function () {
var value = args[option.name];
if (value) {
... |
import 'babel-core/polyfill';
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import App from './containers/App';
import configureStore from './store/configureStore';
import 'todomvc-app-css/index.css';
const store = configureStore();
render(
<Provider store={s... |
'use strict';
var prefix = '(node) ';
// All the internal deprecations have to use this function only, as this will
// prepend the prefix to the actual message.
exports.deprecate = function(fn, msg) {
return exports._deprecate(fn, `${prefix}${msg}`);
};
// All the internal deprecations have to use this function on... |
/**
* The ExperimentsPresenter.
*
* @return ExperimentsPresenter class
*/
define([
'underscore',
'mps',
'map/presenters/PresenterClass'
], function(_, mps, PresenterClass) {
'use strict';
var ExperimentsPresenter = PresenterClass.extend({
init: function() {
this._super();
this._experime... |
var expect = require('expect.js');
var Xktta = require('../../temp/xktta.js');
describe('Validator', function() {
before(function() {
Xktta
.init
.Validator('Custom', function(value, attrName, object, options){
return {
success: value,
fail: {
messageName: 'cu... |
'use strict';
/* https://github.com/angular/protractor/blob/master/docs/toc.md */
describe('my app', function() {
it('should automatically redirect to /view when location hash/fragment is empty', function() {
browser.get('index.html');
expect(browser.getLocationAbsUrl()).toMatch("/view");
});
descri... |
/*
* Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com)
*
* sisane: The stunning micro-library that helps you to develop easily
* AJAX web applications by using Angular.js 1.x & sisane-server
* sisane is distributed under the MIT License (MIT)
* Sources at https://github.com... |
var assert = require('assert'),
fs = require('fs'),
xmlenc = require('../lib');
var crypto = require('crypto');
var xmldom = require('xmldom');
var xpath = require('xpath');
describe('encrypt', function() {
it('should encrypt and decrypt xml (aes256-cbc)', function (done) {
// cert created with:
//... |
var player;
var inPlay = false;
function render () {
console.clear();
if (inPlay) {
theCrypt.placeView.render(player.getPlace());
theCrypt.playerView.render(player);
}
}
function renderMessage (message) {
theCrypt.messageView.render(message);
... |
/**
* Math.js can easily be extended with functions and variables using the
* `import` function. The function `import` accepts a module name or an object
* containing functions and variables.
*/
// load math.js (using node.js)
const { create, all } = require('..')
const math = create(all)
/**
* Define new functi... |
import Ember from 'ember';
import layout from '../templates/components/sl-tab-panel';
import { containsValue, warn } from '../utils/all';
/**
* Valid `align` property values
*
* @memberof module:components/sl-tab-panel
* @enum {String}
*/
const Alignment = Object.freeze({
LEFT: 'left',
RIGHT: 'right'
});
... |
import DS from 'ember-data';
import {module, test} from 'qunit';
module('unit/transform - DS.StringTransform');
test('#serialize', function(assert) {
let transform = new DS.StringTransform();
assert.equal(transform.serialize(null), null);
assert.equal(transform.serialize(undefined), null);
assert.equal(tra... |
/* global Flash */
import BalsamiqViewer from './balsamiq/balsamiq_viewer';
function onError() {
const flash = new window.Flash('Balsamiq file could not be loaded.');
return flash;
}
function loadBalsamiqFile() {
const viewer = document.getElementById('js-balsamiq-viewer');
if (!(viewer instanceof Element)... |
/**
* @fileoverview Disallow trailing spaces at the end of lines.
* @author Nodeca Team <https://github.com/nodeca>
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
cons... |
'use strict';
module.exports = function (math, config) {
var util = require('../../util/index'),
BigNumber = math.type.BigNumber,
Complex = require('../../type/Complex'),
Unit = require('../../type/Unit'),
collection = require('../../type/collection'),
isNumber = util.number.isNumber,... |
var map = undefined;
var osmLayer = L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>',
maxZoom: 18
});
var hotLayer = L.tile... |
/* */
"format global";
/**
* Copyright 2015 Telerik AD
*
* 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 appl... |
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails oncall+relay
* @flow
* @format
*/
// flowlint ambiguous-object-type:error
'use strict';
const useRefetchableFragm... |
'use strict';
var $ = require('jquery');
var EventDelegator = require('./event-delegator');
/**
* Create a new Selectivity instance or invoke a method on an instance.
*
* @param methodName Optional name of a method to call. If omitted, a Selectivity instance is
* created for each element in the... |
/* Copyright (c) 2007 Scott Lembcke
*
* 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, modify, merge, publish... |
/* eslint import/no-extraneous-dependencies: ["error", {"devDependencies": true}] */
// Generates a client-only bundle. For times when you don't want a full
// web server, or you need to host a static site.
// ----------------------
// IMPORTS
// Path lib
import path from 'path';
// We'll use `webpack-config` to e... |
/**
* @author bhouston / http://exocortex.com
* @author TristanVALCKE / https://github.com/Itee
*/
/* global QUnit */
import { Triangle } from '../../../../src/math/Triangle';
import { Vector3 } from '../../../../src/math/Vector3';
import {
zero3,
one3,
two3
} from './Constants.tests';
export default QUnit.modu... |
/**
* measureListingDirective.js
*
* Describe the ballot measure with details like name, number, and text.
**/
'use strict';
function measureListingDirective() {
return {
restrict: 'E',
scope: {
measure: '='
},
template: require('./measureListing.html')
};
}
module.exports = measureList... |
// ----------------------------------------------------------------------------
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
var table = require('azure-mobile-apps').table(),
logger = require('azure-mobile-apps/src/... |
/*jshint expr: true*/
"use strict";
var chai = require("chai");
var chaiAsPromised = require("chai-as-promised");
var mockHelper = require("./helpers/mock_helper");
chai.use(chaiAsPromised);
var expect = chai.expect;
chai.config.includeStack = true;
import * as Alexa from "..";
describe("Alexa", function() {
descri... |
/*! jQuery UI - v1.10.4 - 2014-03-23
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional.bg={closeText:"затвори",prevText:"<назад",nextText:"напред>",nextBigText:">>",currentText:"днес",monthNames:["Януари","Февру... |
var should = require('should'),
sinon = require('sinon'),
hbs = require('express-hbs'),
utils = require('./utils'),
configUtils = require('../../utils/configUtils'),
handlebars = hbs.handlebars,
sandbox = sinon.sandbox.create(),
helpers ... |
/*
* jQuery One Page Nav Plugin
* http://github.com/davist11/jQuery-One-Page-Nav
*
* Copyright (c) 2010 Trevor Davis (http://trevordavis.net)
* Dual licensed under the MIT and GPL licenses.
* Uses the same license as jQuery, see:
* http://jquery.org/license
*
* @version 3.0.0
*
* Example usage:
* $('#nav').... |
(function() {
var __slice = Array.prototype.slice, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
_.defaults(this, {
YouAreDaBomb: __bind(function() {
var combinator, functionNames, object;
object = arguments[0], functionNames = 2 <= arguments.length ? __slice.ca... |
'use strict'
function getObjectKeys (obj, excludeListItemAccessorsBelowLength) {
const keys = []
let size = 0
// Sort property names, they should never be order-sensitive
const nameCandidates = Object.getOwnPropertyNames(obj).sort()
// Comparators should verify symbols in an order-insensitive manner if
//... |
/**
* Copyright (c) Microsoft. 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 applicable law or ag... |
/**
* @class
* @extends {Subclass.Class.ClassBuilder}
*/
Subclass.Class.Type.Interface.InterfaceBuilder = (function()
{
function InterfaceBuilder(classManager, classType, className)
{
InterfaceBuilder.$parent.call(this, classManager, classType, className);
}
InterfaceBuilder.$parent = Subcla... |
'use strict';
module.exports = function (t, a) {
a(typeof t, 'function');
a(typeof EventSource, 'undefined', "Not exposed");
};
|
// Copyright (c) 2013 - present UTN-LIS
/* eslint quotes: 0 */
/**
* PUMASCRIPT ECMA-8 TEST SUITE
* @file: Types Test Suite
*/
define(['pumascript', 'esprima'], function (puma, esprima) {
QUnit.module("8.1 The Undefined Type");
test("undefined 1", function(assert){
var result = puma.evalPuma("va... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ retu... |
"use strict";
var config = require('app.config'),
_ = require('underscore'),
moment = require('moment');
articleListController.$inject = [ 'api'];
function articleListController( api ) {
var self = this;
api.getArticles().then(function(articles){
self.articles = articles;
})
}
module.ex... |
/*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* 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 conditio... |
class Textfield extends React.Component {
static defaultProps = {
icon: "fa fa-tag",
};
render() {
const {value, name, onChange, icon, style={}} = this.props;
const id = this.props.id || name;
let label;
const props = {
value: value,
onChange: onChange.bind(this, id)... |
define({
"_widgetLabel": "Smart Editor",
"noEditPrivileges": "Ihrem Konto sind keine Berechtigungen zum Erstellen oder Ändern von Daten zugewiesen.",
"widgetActive": "Aktiv",
"widgetNotActive": "Nicht aktiv",
"pressStr": "Drücken Sie ",
"ctrlStr": " STRG ",
"snapStr": " , um die Fangfunktion zu aktivieren... |
/* */
"format global";
/**
* Copyright 2015 Telerik AD
*
* 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 appl... |
define({
"chartSettingLabel": "Definições de gráfico",
"addNewLabel": "Adicionar novo",
"generalSettingLabel": "Configurações gerais",
"searchSourceSettingLabel": "Definições de Fonte de Pesquisa",
"layerChooser": {
"title": "Seleccionar camada para gráfico",
"selectPolygonLayerLabel": "Seleccionar Ca... |
var config = require('../config')
var gulp = require('gulp')
var path = require('path')
var watch = require('gulp-watch')
var watchTask = function() {
var watchableTasks = ['fonts', 'images', 'svgSprite','html', 'css']
watchableTasks.forEach(function(taskName) {
var task = config.tasks[taskName]
if(t... |
describe('False Plans', function() {
integration(function() {
beforeEach(function() {
const deck1 = this.buildDeck('martell', [
'A Noble Cause',
'False Plans', 'House Dayne Knight'
]);
const deck2 = this.buildDeck('martell', [
... |
/**
* UIFormToggleSwitch is a toggle switch pseudo-input of a form
*
* @class UIFormToggleSwitch
* @extends UI
* @constructor
* @module UI
* @author Emilio Mariscal (emi420 [at] gmail.com)
*/
(function ($, Mootor) {
"use strict";
var UIFormToggleSwitch,
UI;
// Dependences
UI = Moot... |
module.exports = {
/** Session timeout: in minutes **/
timeout: 30,
/** Default session driver: file, memory **/
driver: "file",
/** Session driver storage path **/
driverPath: "/libs/session-drivers",
/** Session storage path **/
storage: __dir + "/storage/sessions"
}; |
/**
@module ember
@submodule ember-templates
*/
import { assert } from 'ember-metal/debug';
import EmptyObject from 'ember-metal/empty_object';
import EmberError from 'ember-metal/error';
import { isStream, read } from 'ember-htmlbars/streams/utils';
import generateController from 'ember-routing/system/generate_contro... |
import React, { PropTypes } from 'react'
import { findDOMNode } from 'react-dom'
import Component from 'react-class'
import TimeInput from './TimeInput'
import moment from 'moment'
import assign from 'object-assign'
import toMoment from './toMoment'
import join from './join'
import Clock from './Clock'
import {Flex... |
'use strict';
//Answers service used to communicate Answers REST endpoints
angular.module('answers').factory('Answers', ['$resource',
function($resource) {
return $resource('answers/:answerId', { answerId: '@_id'
}, {
update: {
method: 'PUT'
}
});
}
]);
|
/**
* Get an user from mongoDB
*/
var userModel = require('../../data/models/user/account');
function loadUser(req, res, next) {
if (req.params && req.params.name) {
userModel.findOne({username: req.params.name}, function(err, user) {
if (err) {
return res.send(err);
... |
/* memsequence.js */
define ([
'1401/settings',
'1401/objects/behaviors/nodes/base'
], function (
SETTINGS,
BaseNode
) {
/** BehaviorTree Sequence ***************************************************\
A MemSequenceNode is a type of composite that returns SUCCESS ONLY IF
all its children return are successful. ... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.DataView = exports.DataViewLayoutOptions = void 0;
var _react = _interopRequireWildcard(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _Paginator = require("../paginator/Paginator");
var _... |
/* *
*
* (c) 2010-2021 Torstein Honsi
*
* 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) {
extendStatics = Object.s... |
import SnapIfNeededOverlayOp from '../overlay/snap/SnapIfNeededOverlayOp';
import extend from '../../../../../extend';
import OverlayOp from '../overlay/OverlayOp';
export default function UnionOp() {}
extend(UnionOp.prototype, {
interfaces_: function () {
return [];
},
getClass: function () {
return UnionOp;
}... |
version https://git-lfs.github.com/spec/v1
oid sha256:c9699047cdf5948014b8aa175ddfd8f834cfc8e3c6f1c8357a5d714f29542694
size 3912
|
define(function(require) {
// Include utility
var Class = require('../Helper/utility.js');
function _convertToHtml(folderName, urls) {
var ul = document.createElement('ul');
var li = document.createElement('li');
var nestedUl = document.createElement('ul');
for (var i = 0... |
steal("can-simple-dom", "can/view/parser", function(simpleDOM, canParser){
var document = new simpleDOM.Document();
var serializer = new simpleDOM.HTMLSerializer(simpleDOM.voidMap);
var parser = new simpleDOM.HTMLParser(function(string){
var tokens = [];
var currentTag,
currentAttr;
canParser(string, {
... |
/* @flow */
import { createRoute, isSameRoute, isIncludedRoute } from '../util/route'
import { _Vue } from '../install'
// work around weird flow bug
const toTypes: Array<Function> = [String, Object]
const eventTypes: Array<Function> = [String, Array]
export default {
name: 'router-link',
props: {
to: {
... |
var path = require('path');
var File = require('./file');
var FileDescriptor = require('./descriptor');
var Directory = require('./directory');
var SymbolicLink = require('./symlink');
var FSError = require('./error');
var constants = process.binding('constants');
/**
* Call the provided function and either return... |
/* */
"format register";
"use strict";
var _prototypeProperties = function (child, staticProps, instanceProps) {
if (staticProps) Object.defineProperties(child, staticProps);
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
};
var DirtyChecker = (function () {
function DirtyChecker()... |
/* eslint-disable */
import jsdom from 'jsdom';
const doc = jsdom.jsdom('<!doctype html><html><body></body></html>');
const win = doc.defaultView;
global.document = doc;
global.window = win;
function propagateToGlobal(window) {
for (const key in window) {
if (!window.hasOwnProperty(key)) continue;
if (key i... |
/* Copyright (c) 2006-2008 MetaCarta, Inc., published under the Clear BSD
* license. See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/**
* Class: OpenLayers.Popup
* A popup is a small div that can opened and closed on the map.
* Typically opened in response to c... |
var options = {
manager: require("../../../src/managers/garment-master-plan/style-manager"),
model: require("dl-models").garmentMasterPlan.Style,
util: require("../../data-util/garment-master-plan/style-data-util"),
validator: require("dl-models").validator.garmentMasterPlan.style,
createDuplicate: ... |
/* eslint-disable no-param-reassign */
const schemeHelpers = require('./schemeHelpers.js').schemeHelpers;
exports.MonitorSubscriber = (log) => {
const that = {};
const INTERVAL_STATS = 1000;
const TICS_PER_TRANSITION = 10;
/* BW Status
* 0 - Stable
* 1 - Won't recover
*/
const BW_STABLE = 0;
con... |
suite('plugins', function () {
function plugin (chai) {
if (chai.Assertion.prototype.testing) return;
Object.defineProperty(chai.Assertion.prototype, 'testing', {
get: function () {
return 'successful';
}
});
}
test('basic usage', function () {
chai.use(plugin);
var expe... |
dojo.provide("dojo.tests.on");
var on = dojo.require("dojo.on");
var has = dojo.require("dojo.has");
var topic = dojo.require("dojo.topic");
var Evented = dojo.require("dojo.Evented");
doh.register("tests.on",
[
function object(t){
var order = [];
var obj = new dojo.Evented();
obj.oncustom = function(event... |
'use strict';
var React = require('react');
var PureRenderMixin = require('react-addons-pure-render-mixin');
var SvgIcon = require('../../svg-icon');
var AvReplay = React.createClass({
displayName: 'AvReplay',
mixins: [PureRenderMixin],
render: function render() {
return React.createElement(
SvgIcon... |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... |
import setLang from '../lang';
const lang = {
i: {
locale: 'zh-TW',
select: {
placeholder: '請選擇',
noMatch: '無匹配資料',
loading: '加載中'
},
table: {
noDataText: '暫無資料',
noFilteredDataText: '暫無篩選結果',
confirmFilter: '篩選... |
version https://git-lfs.github.com/spec/v1
oid sha256:63193af6be64e969c0ad5d37bafdf08844f9a7f85021de60ec05926914a08e0b
size 2394
|
/*
suckerfish hover effect from htmldog.com/articles/suckerfish/
applies the sfhover to elements that get hovered for browsers that
do not fully support :hover pseudo-class;
*/
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) ... |
// Generated by CoffeeScript 2.0.0-beta7
void function () {
var cache$, construct, Identifier, identifierPart, identifierStart, Node, PROBLEMATIC_NAMES, randomElement, randomInt, RESERVED, UNRESERVED;
Node = require('../node');
RESERVED = require('../reserved');
UNRESERVED = require('../unreserved');
cache$ =... |
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/jakearchibald/es6-promise/mas... |
var express = require('express')
, passport = require('passport')
, util = require('util')
, DwollaStrategy = require('passport-dwolla').Strategy;
var DWOLLA_KEY = "--insert-dwolla-key-here--"
var DWOLLA_SECRET = "--insert-dwolla-secret-here--";
// Passport session setup.
// To support persistent login sessi... |
// twister_user.js
// 2013 Miguel Freitas
//
// Load/save current user to localStorage
// keep track of lastPostId (used for posting as defaultScreenName)
// Load/save profile (profile-edit.html)
var defaultScreenName = undefined;
var lastPostId = undefined;
// basic user functions
// -------------------------------
... |
const _ = require('lodash');
describe('testing that the environment is working properly', () => {
it('object spread', () => {
const { x, y, ...z } = { x: 1, y: 2, a: 3, b: 4 };
expect(x).toEqual(1);
expect(y).toEqual(2);
expect(z).toEqual({ a: 3, b: 4 });
});
it('async await', async () => {
... |
/*
Intel
@api private
*/
if(!window.af||"function"!==typeof af){var af=function(g){function B(a,c,b){var d=h.createDocumentFragment();if(b){for(b=a.length-1;0<=b;b--)d.insertBefore(a[b],d.firstChild);c.insertBefore(d,c.firstChild)}else{for(b=0;b<a.length;b++)d.appendChild(a[b]);c.appendChild(d)}}function y(a){return ... |
(function(window, undefined) {
var elementName = 'slide-content';
var templateName = 'slide-content-template';
var template = document.currentScript.ownerDocument.getElementById(templateName).content;
var elementPrototype = Object.create(HTMLElement.prototype);
elementPrototype.createdCallback = fu... |
/*!
* # Semantic UI 2.7.2 - Modal
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
$.isFunction = $.isFunction || function(obj) {
return typeof obj === "function" && typeo... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'contextmenu', 'sv', {
options: 'Context Menu Options'
});
|
var env = require('./environment.js');
// The main suite of Protractor tests.
exports.config = {
seleniumAddress: env.seleniumAddress,
specs: [
'onCleanUp/*_spec.js'
],
capabilities: env.capabilities,
baseUrl: env.baseUrl,
onCleanUp: function(exitCode) {
// no return
}
};
|
/* *
*
* (c) 2021 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += ar... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra, Zackary Jackson @ScriptedAlchemy, Marais Rossouw @maraisr
*/
"use strict";
const { OriginalSource, RawSource } = require("webpack-sources");
const AsyncDependenciesBlock = require("../AsyncDependenciesBlock");
const Modu... |
'use strict';
var controller = module.exports = [{
method: 'GET',
path: '/profiles/template/{name*}',
handler: function (request, reply) {
reply.view('profiles/' + request.params.name, request.locals);
}
}];
|
/**
* Copyright 2015 Telerik AD
*
* 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 law or agreed to ... |
'use strict';
describe('production mode asset server', function () {
it('should provide a route for serving javascript code');
it('should provide a route for serving web worker requests');
it('should serve requests from a cache, rather than reading a file');
it('should populate the cache ... |
define(
[
'angular',
'ng-breadcrumbs',
'public/js/service/stock-service',
'public/js/service/investor-service'
],
function(angular) {
'use strict';
angular
.module('ng-breadcrumbs-demo.stock-detail-controller', [
'ng-breadcrumbs-demo',
'ng-breadcrumbs-demo.stock-serv... |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
const path = require('path');
const chalk = require('chalk');
const Blueprint = require('ember-cli/lib/models/blueprint');
const dynamicPathParser = require('../../utilities/dynamic-path-parser');
const findParentModule = require('../../utilities/find-parent-module').default;
const getFiles = Blueprint.prototype.files;... |
var should = require('should'),
rewire = require('rewire'),
configUtils = require('../../../../test/utils/configUtils'),
// Stuff we are testing
ampContentHelper = rewire('../lib/helpers/amp_content');
// TODO: Amperize really needs to get stubbed, so we can test returning errors
// properly and make this... |
/* global PARAMS, LAMBDA, alert */
$(document).ready(function () {
var normalOrder = PARAMS.strategy === "normal";
var L = LAMBDA;
var jsavArray;
var settings = new JSAV.utils.Settings($(".jsavsettings"));
var av = new JSAV($('.avcontainer'), {settings: settings});
av.recorded();
var tell ... |
var FIXTURE = 'selected-fixture-and-editor';
describe(`ComponentPlayground (${FIXTURE}) Events Handlers`, function() {
var ComponentTree = require('react-component-tree'),
render = require('tests/lib/render-component.js'),
fixture = require(`fixtures/component-playground/${FIXTURE}.js`);
var component... |
/**
* Copyright (c) ActiveState 2013 - ALL RIGHTS RESERVED.
*/
if (typeof define !== 'function') { var define = require('amdefine')(module) }
define([
'./collection'],
function (Collection) {
var apps = function (api) {
this.api = api;
this.collection = 'apps';
};
... |
;(function($){
/**
* jqGrid Swedish Translation
* Harald Normann harald.normann@wts.se, harald.normann@gmail.com
* http://www.worldteamsoftware.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = $.jgrid || {... |
var db = require('../sequelize.js');
var Sequelize = require('sequelize');
var User = db.define('user', {
id: {
type: Sequelize.INTEGER,
primaryKey: true,
autoIncrement: true,
notNull: true,
unique: true,
},
federation_tag: Sequelize.STRING,
admin: Sequelize.BOOLEAN,
federation_name: Sequelize.STRI... |
/*! UIkit 3.0.0-rc.15 | http://www.getuikit.com | (c) 2014 - 2018 YOOtheme | MIT License */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
typeof define === 'function' && define.amd ? define('uikittooltip', ['uikit-... |
// Copyright 2006-2008 the V8 project authors. All rights reserved.
// 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 lis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.