code stringlengths 2 1.05M |
|---|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.10.2.7_A1_T2;
* @section: 15.10.2.7;
* @assertion: The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ...;
* @description: Execute /... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
function setNavigation() {
var path = window.location.pathname;
path = path.replace(/\/$/, "");
path = decodeURIComponent(path);
$('nav a').each(function() {
var href = $(this).attr('href');
if (path.substring(path.length - href.length, path.length) === href) {
$(this).close... |
/**
* Resize your icon/image files for your theme to pick-up as css classes.
*
* node resize.js <src folder> <dist folder> [--size 64] [--targets png,jpg,jpeg]
*
* @author Tim Lauv
* @created 2015.09.04
*/
require('colors');
var fs = require('fs-extra'),
path = require('path'),
globule = require('globule'),
gm ... |
import _ from 'lodash';
import dispatcher from '../dispatcher';
export default class BaseStore {
/**
* Init with constructor
*/
constructor() {
this.state = this.getInitialState();
this.listeners = [];
// register to dispatcher
_.each(dispatcher, (register, name) => {
let method = thi... |
module.exports = function(evt, cb) {
cb(null, true);
};
module.exports.id = "customName";
|
/**
* @class Ext.scroll.DomScroller
* @private
*/
Ext.define('Ext.scroll.DomScroller', {
extend: 'Ext.scroll.Scroller',
alias: 'scroller.dom',
isDomScroller: true,
getMaxPosition: function() {
var element = this.getElement(),
x = 0,
y = 0,
dom;
i... |
var expect = require('chai').expect;
var repattern = require('../../lib');
describe("repattern", function() {
describe("_$cam", function() {
it('should return "favoriteColor" when given "favorite_color"', function() {
expect(repattern("_$cam", "favorite_color")).to.equal("favoriteColor");
});
it('should ret... |
var df = require('dateformat')
, common = require('../common')
, autonomy = require(common.root)
, mockClient = require('./mock/client')
;
var client = new mockClient();
var controller = new autonomy.Controller(client);
var mission = new autonomy.Mission(client, controller);
mission.log("mission-" + df... |
/**
* Created by James on 2/26/15.
*/
define([
'angular',
'angular-mocks',
'app'
], function () {
'use strict';
describe('Controller: HelloWorldController1', function () {
var helloCtrl,
scope,
stateParamsMock;
beforeEach(angular.mock.module('lsseedApp'))... |
$.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase());
$.browser.ipad = /ipad/.test(navigator.userAgent.toLowerCase());
/**
* Initializes page contents for progressive enhancement.
*/
function initializeContents()
{
// hide all more buttons because they are not needed with JS
$(".element a.mo... |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><circle cx="12" cy="12" r="3.2" /><path d="M22 4h-5.17L15 2H9L7.17 4H2v16h20V4zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z" /></React.Fragment>
, 'LocalSeeSharp');
|
PrimeFaces.locales['pt'] = {
closeText: 'Fechar',
prevText: 'Anterior',
nextText: 'Próximo',
currentText: 'Começo',
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... |
const colorList = [
'black',
'red',
'green',
'yellow',
'blue',
'magenta',
'cyan',
'white',
'lightBlack',
'lightRed',
'lightGreen',
'lightYellow',
'lightBlue',
'lightMagenta',
'lightCyan',
'lightWhite',
'colorCubes',
'grayscale'
];
export function getColorList (colors) {
// For bac... |
/*! jQuery UI - v1.11.4 - 2015-05-16
* http://jqueryui.com
* Includes: core.js, widget.js, mouse.js, position.js, draggable.js, resizable.js, button.js, dialog.js
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
//... |
import should from 'should';
import sinon from 'sinon';
import path from 'path';
import Resource from '../../../lib/resource.js';
import { getUnixPath } from '../../../lib/utils/index.js';
import ResourceHandler from '../../../lib/resource-handler/index.js';
describe('ResourceHandler', function() {
describe('constru... |
var searchData=
[
['handlecc',['handleCC',['../class_s_i_d_voice.html#a047a46d6412d26cbfe90d18c444df9e2',1,'SIDVoice']]]
];
|
const Promise = require('bluebird');
var equal = require('assert').equal;
var helpers = require('./helpers');
module.exports = function(Bookshelf) {
describe('Relations', function() {
var output = require('./output/Relations');
var dialect = Bookshelf.knex.client.dialect;
var json = function(model) {
... |
var searchData=
[
['main',['main',['../main_8cpp.html#ac0f2228420376f4db7e1274f2b41667c',1,'main.cpp']]]
];
|
var concat = require('broccoli-concat');
var funnel = require('broccoli-funnel');
var mergeTrees = require('broccoli-merge-trees');
var fs = require('fs');
function I18nAssetMerger(inputNode, options) {
options = options || {};
var directories = getDirectories(inputNode);
var concatenatedProperties = [];
//Co... |
import React from 'react';
import assert from 'assert';
import { shallow } from 'enzyme';
import { File, FileReader } from 'file-api';
import { ImageField } from '../field/ImageField';
import { ImageInput } from './ImageInput';
describe('<ImageInput />', () => {
before(() => {
global.File = File;
... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","sq",{title:"Udhëzimet e Qasjes",contents:"Përmbajtja ndihmëse. Për ta mbyllur dialogun shtyp ESC.",legend:[{name:"Të përgjithshme",items:... |
/**
* @fileOverview 使用wrapper
* @ignore
*/
var $ = require('jquery'),
ArrayUtil = require('../../array'),
JSON = require('../../json'),
prefixCls = BUI.prefix,
FIELD_PREFIX = 'data-',
FIELD_CFG = FIELD_PREFIX + 'cfg',
PARSER = 'PARSER',
Manager = require('../manage'),
RE_DASH_WORD = /-([a-z])/g,
... |
import { Meteor } from 'meteor/meteor';
import { ReactiveVar } from 'meteor/reactive-var';
import { Session } from 'meteor/session';
import { Template } from 'meteor/templating';
import { TAPi18n } from 'meteor/rocketchat:tap-i18n';
import _ from 'underscore';
import { hasAllPermission } from '../../authorization';
im... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.8.4_A4.11;
* @section: 11.8.4, 11.8.5;
* @assertion: If y is a prefix of x, return true;
* @description: x and y are string primitives;
*/
//CHECK#1
if (("x" ... |
version https://git-lfs.github.com/spec/v1
oid sha256:e9246a88bf661b4b555a823ed747db93df05561fef9b5b129a43154021009667
size 34826
|
/*
* 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.
*/
'... |
angular.module('sparrowFit')
.controller('CreateWorkoutCtrl', function() {
})
.component('createWorkout', {
controller: 'CreateWorkoutCtrl',
templateUrl: 'client/components/create-workout-component/createWorkout/createWorkout.html'
});
|
// Ionic Starter App
// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
// 'starter.controllers' is found in controllers.js
an... |
'use strict';
/* global jQuery:false */
var EventEmitter = require('events').EventEmitter;
var Events = {
init: function(plotObj) {
/*
* If we have already instantiated an emitter for this plot
* return early.
*/
if(plotObj._ev instanceof EventEmitter) return plotObj;
... |
export { default } from 'ember-form-builder/data-adapters/base';
|
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
/* eslint-disable global-require */
const pkg = requir... |
/*! glm-js built 2016-04-30 21:41:47-04:00 | (c) humbletim | http://humbletim.github.io/glm-js */
(function declare_glmjs_glmatrix(globals, $GLM_log, $GLM_console_log) { var GLM, GLMAT, GLMAT_VERSION, GLMJS_PREFIX, $GLM_console_factory, glm; ArrayBuffer.exists;
/*
-----------------------------------------------------... |
"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")... |
/**
*
* Roomshop.js Made By Dragotic.
* Pokemon Showdown plugin to create a shop for a room.
*
*/
'use strict';
const fs = require('fs');
const db = require('origindb')('./config/db');
const MAX_ITEMS = 12;
/*currencyName: function (_cost){
if (_cost == 1){
return "buck";
}else{
ret... |
import { module, test } from 'qunit';
import { setupApplicationTest } from 'ember-qunit';
import setupAuthentication from 'ilios/tests/helpers/setup-authentication';
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
import page from 'ilios/tests/pages/curriculum-inventory-sequence-block';
module('A... |
//////////////////////////////////////////////////////////////////////////////
// arjs-hit-testing
//////////////////////////////////////////////////////////////////////////////
AFRAME.registerComponent('arjs-hit-testing', {
dependencies: ['arjs', 'artoolkit'],
schema: {
enabled : {
type: 'boolean',
default:... |
/*
* 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.
*/
'... |
/**
* @flow
*/
'use strict';
import apisauce from 'apisauce';
const Status = {
OK: 200,
ERROR_404: 404,
};
const create = (baseURL = 'https://clip-sub.com/api/') => {
const api = apisauce.create({
baseURL,
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
Accept: 'applicati... |
'use strict';
const gplay = require('../index');
const assertValidApp = require('./common').assertValidApp;
const assert = require('chai').assert;
const R = require('ramda');
describe('Search method', () => {
it('should fetch a valid application list', () => {
return gplay.search({term: 'Panda vs Zombies'})
... |
/* eslint strict: 0 */
/**
* Plugin for jQuery Validation
* Handle complex password
*/
jQuery.validator.addMethod("complexPassword", function(value) {
// Min to Max length is already handled - just have to handle complexity
var hasUpper = false, hasLower = false, hasNumeric = false, hasSymbol = false;
... |
var chai = require('chai');
var expect = chai.expect;
var substitute = require('..');
describe('shellsubstitute', function () {
it('can substitute a simple variable', function () {
expect(substitute('user: $USER', {USER: 'harry'})).to.eql('user: harry');
});
it('can substitute a simple variable with numbers... |
// flow-typed signature: 20fbb30f0cfa27e7c0aed6d95b1eb971
// flow-typed version: <<STUB>>/material-ui-icons_v1.0.0-alpha.19/flow_v0.52.0
/**
* This is an autogenerated libdef stub for:
*
* 'material-ui-icons'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to sha... |
import React from 'react'
import Helmet from 'react-helmet'
import { prefixLink } from 'gatsby-helpers'
import { GoogleFont, TypographyStyle } from 'react-typography'
import typography from './utils/typography'
const BUILD_TIME = new Date().getTime()
module.exports = React.createClass({
displayName: 'HTML',
propT... |
var util = require('util');
var TimeoutError = module.exports = function(time) {
Error.captureStackTrace(this, this);
this.time = time;
this.message = 'Future did not resolve in ' + this.time + ' ms';
};
util.inherits(TimeoutError, Error);
TimeoutError.prototype.name = 'TimeoutError'; |
define(['knockout'], function(ko) {
var initialize = function(articleId) {
article('article' + articleId);
}
var article = ko.observable();
return {
article: article,
initialize: initialize
};
}); |
var CubeMapNodeMultisampleMinimum = require('./MultisampleMinimum');
var BaseNodeOut = require('./BaseOut');
function CubeMapNodeSuperMultisampleMinimum(renderer, input, blurStrength, iterations) {
iterations = iterations || 3;
var last = input;
while(iterations > 0) {
blurStrength *= 0.5;
iterations--;
last ... |
/**
* React Native Playground
* https://github.com/jsierles/rnplay
*/
'use strict';
var React = require('react-native');
var Explore = require('./Explore');
var MyAppsContainer = require('./MyAppsContainer');
var CustomApp = require('./CustomApp');
var Settings = require('./Settings');
var About = require('./About... |
"use strict"
var o = require("ospec")
var callAsync = require("../../test-utils/callAsync")
var components = require("../../test-utils/components")
var domMock = require("../../test-utils/domMock")
var vdom = require("../../render/render")
var Promise = require("../../promise/promise")
o.spec("onbeforeremove", functi... |
'use strict';
let requestCount = 1;
let requestGroupCount = 1;
const FORMAT_MAP = {
json: 'application/json',
xml: 'application/xml',
form: 'application/x-www-form-urlencoded',
text: 'text/plain'
};
module.exports.id = 'insomnia-1';
module.exports.name = 'Insomnia v1';
module.exports.description = 'Legacy In... |
/**
Theme test routines for HackMyResume. Test all preinstalled HackMyResume themes
along with a handful of JSON Resume themes for good measure. Uses the HMR verb
interface.
@module test-themes.js
@license MIT. See LICENSE.md for details.
*/
var chai = require('chai')
, expect = chai.expect
, should = chai.should... |
'use strict';
const validator = require('../lib/validator');
describe(`validator`, () => {
describe(`methods`, () => {
describe(`params()`, () => {
it(`should be a function`, () => {
expect(validator.params).to.be.a('function');
});
it(`should return a schema`, () => {
expect(... |
// Generated by CoffeeScript 1.10.0
(function() {
var Data, Directory,
slice = [].slice;
Data = require('../data');
Directory = (function() {
var checksum;
function Directory(data) {
var entry, i, j, ref;
this.scalarType = data.readInt();
this.tableCount = data.readShort();
... |
dojo.provide("plugins.dojox.Timing");
/*
1. REPEATEDLY POLL WHILE WAITING FOR EVENTS TO FINISH
2. CARRY OUT A SPECIFIED ACTION ON COMPLETION
*/
// TIMER
dojo.require("dojox.timing");
// INHERITS
//dojo.require("plugins.core.Common");
dojo.declare( "plugins.dojox.Timing",
//[ plugins.core.Common ],
null,
... |
'use strict';
module.exports = function (sandbox) {
for (let pkg of Object.values(sandbox.config.packages)) {
for (let file_info of pkg.files.bin || []) {
sandbox.bundler.createClass('file', {
logicalPath: file_info.path,
plugins: [ 'load_bin' ]
});
}
}
};
|
$(function () {
if ($(window).width() < 991) {
$(".menu").click (function () {
if ($(this).hasClass('active')) {
$(this).removeClass('active');
$(".wrapper-masthead nav").hide();
}
else{
$(this).addClass('active');
$(".wrapper-masthead nav").show();
}
return false;
});
... |
var page = require('webpage').create(),
system = require('system');
if (system.args.length < 7) {
console.log('Usage: printmargins.js URL filename LEFT TOP RIGHT BOTTOM');
console.log(' margin examples: "1cm", "10px", "7mm", "5in"');
phantom.exit();
} else {
var address = system.args[1];
var o... |
/*
* Power BI Visualizations
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
* MIT License
*
* 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 restricti... |
var get = Ember.get, map = Ember.ArrayPolyfills.map;
function toArray(arr) {
map.call(arr, function(a) { return a; });
}
var EnumerableExt = Ember.Mixin.create({
/**
*/
isEqual: function(ary) {
if (!ary) { return false ; }
if (ary === this) { return true; }
var loc = get(ary, 'length');
if (... |
/**
* Class b2Bound
*
* @param
*
*/
b2Bound = Box2D.Collision.b2Bound = function b2Bound() {};
b2Bound.constructor = b2Bound;
b2Bound.prototype.value = 0;
b2Bound.prototype.proxy = null;
b2Bound.prototype.stabbingCount = 0;
/**
* IsLower
*
* @param
*
*/... |
import LanguageUtils from '../src/LanguageUtils';
describe('LanguageUtils', () => {
describe('toResolveHierarchy()', () => {
var cu;
before(() => {
cu = new LanguageUtils({ fallbackLng: 'en' });
});
var tests = [
{args: ['en'], expected: ['en']},
{args: ['de'], expected: ['de', '... |
"use strict"
var detectPitch = require("../pitch.js")
function runTest(t, n, freq_list) {
var signal = new Float32Array(n)
var omega = 2.0 * Math.PI / n
for(var i=0; i<freq_list.length; ++i) {
var f = freq_list[i]
for(var j=0; j<1024; ++j) {
signal[j] = Math.sin(f * j * omega)
}
t.equal... |
var _ = require('underscore'),
log4js = require('log4js');
var config = require('./config');
module.exports = function(tag, options) {
var logger = log4js.getLogger(tag);
logger.setLevel(options && options.level ? options.level : 'TRACE');
if (options && options.filter) {
var originalLog = logger.log... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
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]; } }... |
version https://git-lfs.github.com/spec/v1
oid sha256:9046dac7edd31de1a9d847c12991caab0d0ea7ee925ce0840a98e779cfc489fc
size 173843
|
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup UnaCore UNA Core
* @{
*/
(function($) {
$.fn.dolPopupDefaultOptions = {
parent: 'body', // parent element selector
closeOnOuterClick: true,
removeOnClose: false,
... |
!function($) {
'use strict';
// if group is group then use multiple selection model.
// if group is false then use single selection model.
// if group is undefined then use single selection model execept for this.type === radio
$.fn.vals = function(group) {
var input = $(this);
var type = input.attr('type')... |
export { foo } from "foo.json";
|
/* */
"format cjs";
/*!
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/* global define */
(function () {
'use strict';
var classNames = (function () {
function _parseArray (resultSet, array) {
var length = array.length;
for (var i =... |
/**
* 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 {enableFlareAPI} from 'shared/ReactFeatureFlags';
type PropertyType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
// A reserve... |
function RateLimiter(allowed, within){
var events = [];
return {
another: function(){
var now = Date.now();
if(events.length >= allowed && (now - events[0]) < within)
return false;
events.push(now);
if(events.length > allowed)
events.shift();
return true;
},
allowed: allowed... |
/**
* Serialize callback chain. It will wrap next method as a callback to previous one.
* Every method should call its callback to continue the chain.
*
* @param {Array.<function (..., callback)>} methods: contains callback chain as an Array.
* |--@arg {function (err, ...)} callback
* @param {function} finalHan... |
'use strict';
var clear = require('es5-ext/array/#/clear')
, callable = require('es5-ext/object/valid-callable')
, assign = require('es5-ext/object/assign')
, normalizeOpts = require('es5-ext/object/normalize-options')
, Set = require('es6-set')
, d = require('... |
'use strict';
var Channel = require('../channels').Channel;
var WriteChannel = require('../channels').WriteChannel;
var ReadChannel = require('../channels').ReadChannel;
var inherits = require('inherits');
var EventEmitter = require('events').EventEmitter;
function MemoryReadChannel(session, id) {
R... |
define('amd/complexCircleDependency2/h1',
['require', 'amd/complexCircleDependency2/h2'],function ( require ) {
var h2 = require('amd/complexCircleDependency2/h2');
return {
name: 'amd/complexCircleDependency2/h1',
check: function () {
var valid =
... |
(function(angular) {
'use strict';
angular.module('FileManagerApp').provider('fileManagerConfig', function() {
var values = {
appName: 'https://github.com/joni2back/angular-filemanager',
defaultLang: 'en',
listUrl: 'bridges/php/handler.php',
uploadUrl: '... |
describe("Cursor", function() {
var board = new Board({
width: 15,
height: 10
});
describe("#square", function() {
it("returns the board square that the cursor is on", function() {
var cursor = new Cursor({
x: 3,
y: 5,
board: board
});
var actual = cursor.squ... |
/* eslint-env mocha */
import expect from 'expect';
import React from 'react';
import cloneChildren from '../cloneChildren';
describe('utils', () => {
describe('cloneChildren', () => {
it('should take the children and the map of props in params', () => {
const children = [
<div>... |
try {
require('newrelic');
} catch (e) {
// No newrelic's config found. Won't report stats to them
}
require('./index');
|
var searchData=
[
['aarect_2ecpp',['AARect.cpp',['../_a_a_rect_8cpp.html',1,'']]],
['aarect_2eh',['AARect.h',['../_a_a_rect_8h.html',1,'']]],
['aboutscene_2ecpp',['AboutScene.cpp',['../_about_scene_8cpp.html',1,'']]],
['aboutscene_2eh',['AboutScene.h',['../_about_scene_8h.html',1,'']]],
['action_2ecpp',['Acti... |
;
chrome.notifications.onButtonClicked.addListener(function(notificationId, buttonIndex)
{
if (notificationId === 'wrong_extension')
window.open('http://www.omgchrome.com/cast-chrome-tab-to-tv-no-extension/');
});
window.onload = function ()
{
var win = chrome.app.window.current();
$('#btn-close').click(function ... |
var fs = require('graceful-fs')
var path = require('path')
var mkdirp = require('mkdirp')
var mr = require('npm-registry-mock')
var osenv = require('osenv')
var rimraf = require('rimraf')
var test = require('tap').test
var npm = require('../../')
var common = require('../common-tap')
var pkg = path.resolve(__dirname... |
/**
* System configuration for Angular samples
* Adjust as necessary for your application needs.
*/
(function (global) {
System.config({
paths: {
// paths serve as alias
'npm:': 'node_modules/'
},
// map tells the System loader where to look for things
map: {
demo: 'demo',
s... |
/*eslint no-console: "off"*/
/*global getSchema should assert*/
describe('Add Defaults', function () {
var testConnector, testConnector2, db, db2;
before(function (done) {
require('./init.js');
var settings = getSettings();
settings.log = 'error';
db = getDataSource(settings);
... |
'use strict';
module.exports = function(app) {
// Root routing
var spotify = require('../../app/controllers/spotify.server.controller');
app.route('/spotify').get(spotify.spotify);
}; |
var structrobotis__manipulator_1_1_kinematic_pose =
[
[ "orientation", "structrobotis__manipulator_1_1_kinematic_pose.html#a0506da3cc344d21656fdd1befdd7fa27", null ],
[ "position", "structrobotis__manipulator_1_1_kinematic_pose.html#a8700e7ae2388242cf540e884d52fd97a", null ]
]; |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
(function () {
var BTableColumnTogglePrototype = Object.create(HTMLElement.prototype, {
table: {
enumerable: true,
get: function () {
return document.getElementById(this.getAttribute('for'));
}
},
thead: {
... |
/*!
* jQuery Fork stuff
*/
/* global pageID */
/**
* Meta-handler
*/
(function ($) {
$.fn.doMeta = function (options) {
// define defaults
var defaults = {
metaIdSelector: '#metaId',
pageTitleSelector: '#pageTitle',
pageTitleOverwriteSelector: '#pageTitleOverwrite',
navigationTitl... |
// Copyright 2006 The Closure Library Authors. 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 requ... |
/*!
* .closestDescendant( selector [, findAll ] )
* https://github.com/tlindig/jquery-closest-descendant
*
* v0.1.2 - 2014-02-17
*
* Copyright (c) 2014 Tobias Lindig
* http://tlindig.de/
*
* License: MIT
*
* Author: Tobias Lindig <dev@tlindig.de>
*/
(function($) {
/**
* Get the first element(s)... |
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
const _ = require("underscore")
const path = require("path")
const jade = require("jade")
const fs = require("fs")
const mo... |
/*
* JSON-optimized proxy, reader and writer
* TODO: document config options and JSON format for errors/success
**/
if(Ext.encode !== JSON.stringify) Ext.encode = JSON.stringify// ensure this one
Ext.define('App.proxy.CRUD',{
extend: Ext.data.proxy.Rest,
alias: 'proxy.crud',
//url(abstract): is defined ... |
define(["jquery"],function(n){var i=function(n,i){var r=t(n,i);r<0?(r*=-1,$input.siblings(".chars-remaining").html("<small class='error-text'>"+r+" characters over the limit</small>")):$input.siblings(".chars-remaining").html("<small>"+r+" characters remaining</small>")},t=function(i,t){var r=n(i).val(),a=parseInt(t),e... |
define("dojox/dgauges/GaugeBase", ["dojo/_base/lang", "dojo/_base/declare", "dojo/dom-geometry", "dijit/registry", "dijit/_WidgetBase", "dojo/_base/html",
"dojo/_base/event", "dojox/gfx", "dojox/widget/_Invalidating","./ScaleBase", "dojox/gfx/matrix", "dojox/gfx/canvas"],
function(lang, // lang.extend
declare, do... |
// set project module type
bjs.set("ctype", "cmd");
// set source path of modules
bjs.set("src", "./src");
// set dest path of modules
bjs.set("dst", '../resource/src');
// set dest path of files
bjs.set("dist", "../resource");
// set view dist path for distributed .tpl using smarty
bjs.set("view", "../views/src");... |
$(function () {
var elems = Array.prototype.slice.call(document.querySelectorAll('.check-permission'));
var i = 0;
elems.forEach(function (html) {
eval("switchery" + i + " = new Switchery(html, {size:'small'})");
i++;
});
$('.check-permission').change(function () {
var page =... |
var LightNode;
(function (LightNode) {
"use strict";
angular.module("app", ["lightNode"])
.constant("rootEndPoint", "http://localhost:12345/api")
.config(["lightNodeClientProvider", "rootEndPoint",
function (lightNodeClientProvider, rootEndPoint) {
lightNodeClientProvider.roo... |
/*
* Copyright 2016 Hewlett-Packard Enterprise Development Company, L.P.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
*/
define([
'jquery',
'backbone',
'find/app/page/search/related-concepts/related-concepts-view',
'find/app/model... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.