code stringlengths 2 1.05M |
|---|
import * as i0 from '@angular/core';
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, ContentChild, ContentChildren, NgModule } from '@angular/core';
import * as i1 from '@angular/common';
import { CommonModule } from '@angular/common';
import { Header, Footer, PrimeTemplate, SharedModule } from '... |
var gulp = require('gulp')
, jscs = require('gulp-jscs')
, jshint = require('gulp-jshint')
, stylish = require('gulp-jscs-stylish');
gulp.task('lint', function() {
gulp.src(['./*.js', './**/*.js', '!./node_modules/**'])
.pipe(jshint())
.pipe(jscs())
.pipe(stylish.combineWithHintResults())
.pipe... |
var unfunk;
(function (unfunk) {
var jsesc = require('jsesc');
var escapableExp = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
var meta = {
'\b': '\\b',
'\t': '\\t',
'\n': '\\n',
'\f': '\\f',
... |
var Package = require('dgeni').Package;
var jsdocPackage = require('dgeni-packages/jsdoc');
var nunjucksPackage = require('dgeni-packages/nunjucks');
var typescriptPackage = require('dgeni-packages/typescript');
var linksPackage = require('../links-package');
var gitPackage = require('dgeni-packages/git');
var path = r... |
module.exports = require('./build/webpack/graphql');
|
<div id="wrapper">
<div data-tabname="one">Tab one</div>
<div data-tabname="two">Tab two</div>
<div data-tabname="three">Tab three</div>
</div>
<script>
function asTabs(node) {
//1.Gathering all decent children (no whitespaces etc) and not displaying them
function decentChildren(node) {
var arr = ... |
// These are the pages you can go to.
// They are all wrapped in the App component, which should contain the navbar etc
// See http://blog.mxstbr.com/2016/01/react-apps-with-pages for more information
// about the code splitting business
import { getAsyncInjectors } from 'utils/asyncInjectors';
const errorLoading = (e... |
/**
* @file
* This file is used by "npm test" to selftest the succss package.
* Selftests are made from http://succss.ifzenelse.net documentation website.
*
* @see selftests/run.sh, selftests/test.sh
*
*/
var baseUrl = 'succss.ifzenelse.net';
Succss.pages = {
'home': {
url:'succss.ifzenelse.net',
di... |
module.exports = {
mysql: require('./mysql'),
sqlite3: require('./sqlite3'),
}
|
define({url:"/ajax_change_info"}); |
import GLBoost from '../../globals';
import GLBoostObject from '../../low_level/core/GLBoostObject';
export default class Expression extends GLBoostObject {
constructor(glBoostContext) {
super(glBoostContext);
this._renderPasses = [];
}
addRenderPasses(renderPasses) {
renderPasses.forEach((renderP... |
$(document).on('click', '.contact-click', function () {
var name = $("input#name-contact").val();
var surname = $("input#surname-contact").val();
var email = $("input#email-contact").val();
var message = $("textarea#message-contact").val();
var phone = $("input#phone-contact").val();
var htmlB... |
/**
* angular-ui-utils - Swiss-Army-Knife of AngularJS tools (with no external dependencies!)
* @version v0.2.2 - 2015-03-12
* @link http://angular-ui.github.com
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
// READ: http://docs-next.angularjs.org/guide/ie
// element tags are statically defined... |
module.exports = {
escape: /template_start%-([\s\S]+?)%template_end/g,
evaluate: /template_start%([\s\S]+?)%template_end/g,
interpolate: /template_start%=([\s\S]+?)%template_end/g
}
|
var value = 'foo';
module.exports = value;
|
/*
* This is the HIU version of the original respond.js with support for min-height and max-height added. It under the same GPL V2 license.
*/
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
/*! NOTE: If yo... |
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"id": "cordova-plugin-geolocation.Coordinates",
"file": "plugins/cordova-plugin-geolocation/www/Coordinates.js",
"pluginId": "cordova-plugin-geolocation",
"clobbers": [
"Coordi... |
var currentLicenseStep = $("[data-step=1A]")
var licenseWizard = $('#license-wizard')
var buttons = $('.license-wizard-step button')
$('#show-license-wizard').click(function(event){
event.preventDefault()
if (licenseWizard.hasClass('hidden')) {
licenseWizard.removeClass('hidden')
} else {
close()
}
})
... |
/*
* satellite-js v1.2
* (c) 2013 Shashwat Kandadai and UCSC
* https://github.com/shashwatak/satellite-js
* License: MIT
*/
define([
'./constants',
'./gstime/gstime'
], function(
constants,
gstime
) {
'use strict';
return function (initlParameters) {
/*----------------------------... |
//AngularJS modules define applications
var app = angular.module('myApp',[])
//AngularJS controllers control applications
app.controller('myCtrl',function($scope){
$scope.firstName = "gmr";
$scope.lastName = "90";
}); |
// Regex adapted from https://github.com/ceymard/gulp-ngcompile
module.exports = function processContent(fileContent, materialOnly) {
var NG_MODULE_REGEX = materialOnly ? /\.module\(('material\.[^']*'|"material\.[^"]*")\s*,(?:\s*\[([^\]]+)\])?/g : /\.module\(('[^']*'|"[^"]*")\s*,(?:\s*\[([^\]]+)\])?/g;
var match =... |
/* */
'use strict';
var toObject = require("./_to-object"),
toIndex = require("./_to-index"),
toLength = require("./_to-length");
module.exports = [].copyWithin || function copyWithin(target, start) {
var O = toObject(this),
len = toLength(O.length),
to = toIndex(target, len),
from = toInde... |
angular.module('myApp', [])
.controller('myController', ['$scope', 'FirstService', 'FirstFactory',
function($scope, myFirstService, myFirstFactory) {
$scope.userFromService = myFirstService.getUser();
$scope.createUserWithFactory = function(firstName, lastName) {
var user = myFirstFactory.crea... |
$(document).ready(function(){
$('.selector_busqueda').on('click', function(){
var valor = $(this).attr('value');
var nombre = $(this).attr('id') + '_input';
if ( $('#' + nombre).val() == '' ) {
$('#' + nombre).val(valor);
$(this).addClass('activo_on');
}else{
$('#' + nombre).val('');
$(this).remove... |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styles = void 0;
var _objectWithoutPr... |
App.addChild('DocumentUploader', {
el: '[data-document-uploader]',
events: {
's3_upload_complete': 'updateUploadField'
},
activate: function () {
this.$el.find('[data-s3-uploader]').S3Uploader();
},
updateUploadField: function (e, content) {
var $fileInput = $(e.currentTarget).find('[type="fi... |
'use strict';
const assert = require('assert');
const {User} = require('../users-utils');
describe('Rooms features', function () {
describe('Rooms', function () {
describe('Rooms.get', function () {
it('should be a function', function () {
assert.strictEqual(typeof Rooms.get, 'function');
});
});
de... |
const controllers = require('../controllers');
const multer = require('multer');
const auth = require('./auth');
var storage = multer.diskStorage({
destination: function (req, file, cb) {
cb(null, './content/images/')
},
filename: function (req, file, cb) {
cb(null, file.fieldname + '_' + D... |
ION.SimpleTree = new Class({
Implements: [Events, Options],
options:
{
'key': 'id',
'label': null,
'data' : [] // field of each item to add as data-x attribute
},
/**
*
* @param container
* @param items JSON object
* @param options object
*
*/
initialize:function(container, items,... |
const AbstractEndpoint = require('../endpoint')
module.exports = class NodesEndpoint extends AbstractEndpoint {
constructor (client) {
super(client)
this.url = '/v2/nodes'
this.isPaginated = true
this.isBulk = true
this.cacheTime = 24 * 60 * 60
}
}
|
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M12 4C7.7 4 3.78 5.6.79 8.24.35 8.63.32 9.3.73 9.71l10.56 10.58c.39.39 1.02.39 1.42 0L23.27 9.71c.41-.41.38-1.08-.06-1.47C20.22 5.6 16.3 4 12 4zm0 4c-2.86 0... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M2 5c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1s-1-.45-1-1V6c0-.55.45-1 1-1zm4 0c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1s-1-.45-1-1V6c0-.55.45-1 1-1zm16 0H10c-.55 0-1 .4... |
'use strict';
var Faye = {
VERSION: '0.8.9',
BAYEUX_VERSION: '1.0',
ID_LENGTH: 160,
JSONP_CALLBACK: 'jsonpcallback',
CONNECTION_TYPES: ['long-polling', 'cross-origin-long-polling', 'callback-polling', 'websocket', 'eventsource', 'in-process'],
MANDATORY_CONNECTION_TYPES: ['long-pollin... |
import expandPath from 'fireplace/utils/expand-path';
import {module, test} from 'qunit';
module('Utils - expandPath');
test('replaces placeholders from the provided context', function(assert) {
assert.equal(expandPath("/foo/{{bar}}/baz", {bar: 123}), "/foo/123/baz");
});
test('replaces nested placeholders from t... |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsxs(React.Fragment, {
children: [/*#__PURE__*/_jsx("path", {
d: "M23 16v-1.5c0-1.4-1.1... |
var runner;
runner = mocha.run();
var failedTests = [];
function logFailure(test, err) {
var flattenTitles = function (test) {
var titles = [];
while (test.parent.title) {
titles.push(test.parent.title);
test = test.parent;
}
return titles.reverse();
};
... |
'use strict';
const DigsInitValidator = require('../../lib/definitions/init-validator');
const DigsValidator = require('../../lib/definitions/validator');
const validator = require('../../lib/validator');
describe(`definitions/DigsInitValidator`, () => {
let sandbox;
beforeEach(() => {
sandbox = sinon.sandbo... |
import './test.styl';
document.body.innerHTML = '<i class="fa fa-call fa-inverse fa-5x" aria-hidden="true"></i>';
|
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as anonymous module.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node / CommonJS
factory(require('jquery'));
} else {
// Browser globals.
factory(jQuery);
}
})(function ... |
'use strict';
// Init the application configuration module for AngularJS application
var ApplicationConfiguration = (function () {
// Init module configuration options
var applicationModuleName = 'app';
var applicationModuleVendorDependencies = [
'ngResource',
'ngCookies',
... |
'use strict';
var Message = require('mongoose').model('Message');
module.exports = {
run: function() {
for (var i = 0; i < 33; i++) {
var message = {
owner : '53e7777a9efe98ec111e22c7',
fromID: '53e777fd9efe98ec111e22c9',
from : 'Pesho',
... |
var runner = require('../setup');
Sugar = runner.load('../../packages/sugar-function');
// Tests
runner.loadTest('function');
runner.run(module, 'chained', Sugar);
|
import {
messages,
ruleName,
} from ".."
import rules from "../../../rules"
import { testRule } from "../../../testUtils"
const rule = rules[ruleName]
testRule(rule, {
ruleName,
config: [[
"transform",
"background-size",
]],
accept: [ {
code: "a { background-size: cover; }",
}, {
code:... |
'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:2a4d5570aa31f4808aed3a83049c3189c8c78407e497dd3f276ed008e50384b4
size 5732
|
var electron = require('electron');
var app = electron.app;
var BrowserWindow = electron.BrowserWindow;
var chromeArgs = require('./chrome-args.js');
var menu = require('./menu.js');
var settings = require('./settings.js');
var teams = require("./teams.js");
var tray = require("./tray.js");
settings.load();
chromeArgs... |
var http = require('http');
var avault = require('avault').createVault(__dirname);
var restMap = require('./queryToRestMap.js');
var sfConnector = require('volos-salesforce');
var sfConnectorObject;
avault.get('sf', function (profileString) {
if (!profileString) {
console.log('Error: required vault not fo... |
var messaging_enabled = process.env.FH_AMQP_APP_ENABLED;
var messaging_user = process.env.FH_AMQP_USER;
var message_pass = process.env.FH_AMQP_PASS;
var messaging_nodes = process.env.FH_AMQP_NODES;
var messaging_max_cons = process.env.FH_AMQP_CONN_MAX || 10;
var messaging_vhost = process.env.FH_AMQP_VHOST;
var messag... |
"use strict";
var helpers = require("../helpers/helpers");
exports["Portugal"] = {
"guess:by:offset" : helpers.makeTestGuess("Portugal", { offset: true, expect: "Europe/London" }),
"guess:by:abbr" : helpers.makeTestGuess("Portugal", { abbr: true, expect: "Europe/Lisbon" }),
"1911" : helpers.makeTestYear("Portug... |
import eases from 'eases';
import { IDLE, OVER, SELECTED } from './LikeButtonF1States';
export default function transitions() {
return [
{
from: IDLE,
to: OVER,
animation: {
duration: 0.25,
ease: eases.backOut,
},
},
{
from: OVER,
to: IDLE,
anima... |
'use strict';
var object = require('../utils/object');
var string = require('../utils/string');
function factory (type, config, load, typed) {
var parser = load(require('./function/parser'))();
/**
* Documentation object
* @param {Object} doc Object containing properties:
* {string... |
/* global editor */
/* global caselaw */
/* global _ */
/* global CKEDITOR */
/* global $ */
/* global moment */
/* global console */
(function() {
"use strict";
var pluginName = 'basic';
CKEDITOR.plugins.add(pluginName, {
init: function(editor) {
var formats = [{
label: "Bold",
command: "bold",
... |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'it', {
title: 'Istruzioni di Accessibilità',
contents: 'Contenuti di Aiuto. Per chiudere questa finestra premi... |
'use strict';
const parser = require('./../index');
function fromJson(jsonText) {
return parser.fromJson(jsonText, [
require('./nameParser')
])
}
module.exports = { fromJson }; |
'use strict';
// Production specific configuration
// =================================
module.exports = {
// Server IP
ip: process.env.OPENSHIFT_NODEJS_IP ||
process.env.IP ||
undefined,
// Server port
port: process.env.OPENSHIFT_NODEJS_PORT ||
process.env.PORT |... |
/* eslint no-param-reassign: "off" */
import { getDocument } from 'ssr-window';
import { bindMethods } from '../../shared/utils';
import { getSupport } from '../../shared/get-support';
import { getDevice } from '../../shared/get-device';
import $ from '../../shared/dom7';
const CardExpandable = {
open(cardEl = '.car... |
/**
* Arrays
* Most of your answers should be stored in variables called q1, q2 etc..
* and the variables printed to the console.
* (i.e) console.log("Question 1" + q1)
*/
/**
* Question 1
* Create an array of image source filenames.
* Use "image1.png", "image2.png", and "image3.png" as the array values.
*/
... |
var fullPrice = $('#fullPrice');
var vipPercent = $('[name^="vipPercent"]');
var vipPrice = $('[name^="vipPrice"]');
fullPrice.on('input' ,function(){
if(isNaN(fullPrice.val())){
$('#fullPriceMsg').html('ข้อมูลไม่ถูกต้อง');
$('#submitBtn').prop('disabled', true);
}else{
$('#fullPriceMs... |
module.exports.plugins = []
module.exports.plugins.push({
register: require('good'),
options: {
opsInterval: 15000,
reporters: [{
reporter: require('good-console'),
events: {log: '*', response: '*', ops: '*', error: '*'}
}]
}
})
|
/**
* @fileOverview 表单验证
* @ignore
*/
var BUI = require('bui-common'),
Rules = require('./rules');
/**
* @class BUI.Form.ValidView
* @private
* 对控件内的字段域进行验证的视图
*/
var ValidView = function(){
};
ValidView.prototype = {
/**
* 获取错误信息的容器
* @protected
* @return {jQuery}
*/
getErrorsContainer : ... |
// 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... |
function getStartLocationFromURL() {
var curUrl = window.location.toString();
var anchor_index = curUrl.indexOf('#/');
if (anchor_index != -1) {
return curUrl.substring(anchor_index + 2);
}else{
return null;
}
}
function getUrlParameterByName(name) {
name = name.replace(/[\[]/,"\\\[").repl... |
import React from 'react';
import DataProcessor from './DataProcessor';
export default class SparklinesReferenceLine extends React.Component {
static propTypes = {
type: React.PropTypes.oneOf(['max', 'min', 'mean', 'avg', 'median']),
style: React.PropTypes.object
};
static defau... |
/* skel-viewport.js v3.0.0-dev | (c) n33 | skel.io | MIT licensed */
(function(_) { "use strict"; var __ = {
/******************************/
/* Properties */
/******************************/
/**
* Default config.
* @type {object}
*/
config: {
// Width.
width: '... |
import { equals, stringMaker, valueOf } from './data_structure_util';
/**
* @signature
* @description d
* @namespace Reader
* @memberOf dataStructures
* @property {function} of
* @param {function} run - a
* @return {dataStructures.reader} - b
*/
function Reader(run) {
return Object.create(reader, {
... |
'use strict';
//Stats service used for stats REST endpoint
angular.module('mean.stats').factory('Stats', ['$resource', function($resource) {
var stats = $resource('/stats/:roomId/:cmd',
{roomId:'@id'},
{
rooms: {method: 'GET', params:{cmd: 'rooms'}, isArray: true},
roomsbytype: {method: 'GET',... |
var searchData=
[
['getting_20started',['Getting started',['../getting_started_ref.html',1,'']]],
['groups',['groups',['../md_groups.html',1,'']]]
];
|
(function() {
var HolyCarousel;
$.fn.tojqa = function() {
var arr, i;
arr = new Array(this.length);
i = 0;
this.each(function() {
return arr[i++] = $(this);
});
return arr;
};
HolyCarousel = {
_HOLY_RAIL_HTML: '<div class="holy-rail" style="margin-left: 0; width:9999%; margin... |
"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")... |
module.exports = Set;
function Set(set) {
this.set = {};
this.infContains = function () { return true; };
if (typeof set == 'object') {
if (set instanceof Array)
for (var i = 0; i < set.length; i++)
this.set[set[i]] = true;
else
this.set = set;
} else if (typeof set == 'function') ... |
/** @global {Jymfony.Component.DependencyInjection.ContainerBuilder} container */
const ChildDefinition = Jymfony.Component.DependencyInjection.ChildDefinition;
const Container = Jymfony.Component.DependencyInjection.Container;
const Reference = Jymfony.Component.DependencyInjection.Reference;
container.register(Jymf... |
const $rdf = require('rdflib')
const SOLID = $rdf.Namespace('http://www.w3.org/ns/solid/terms#')
const VCARD = $rdf.Namespace('http://www.w3.org/2006/vcard/ns#')
module.exports.getName = getName
module.exports.getWebId = getWebId
module.exports.isValidUsername = isValidUsername
async function getName (webId, fetchGr... |
/**
* @author Ed Spencer
* TabBar is used internally by a {@link Ext.tab.Panel TabPanel} and typically should not need to be created manually.
* The tab bar automatically removes the default title provided by {@link Ext.panel.Header}
*/
Ext.define('Ext.tab.Bar', {
extend: 'Ext.panel.Header',
alias: 'widget.... |
// Change the select style drop down when a different style image is selected
$(document).on('click', "img[data-style]", function(e) {
var style = $(this).data('style');
$("select option").each(function() {
if ($(this).val() == style) {
$(this).attr('selected','selected');
}
});
}); |
frappe.provide('frappe.data_import');
frappe.data_import.DataExporter = class DataExporter {
constructor(doctype, exporting_for) {
this.doctype = doctype;
this.exporting_for = exporting_for;
frappe.model.with_doctype(doctype, () => {
this.make_dialog();
});
}
make_dialog() {
this.dialog = new frappe.u... |
"use strict";
describe("Test", function () {
it("test", function () {
// TODO : Test codes will be written
});
}); |
/**
* Session Configuration
* (sails.config.session)
*
* Sails session integration leans heavily on the great work already done by
* Express, but also unifies Socket.io with the Connect session store. It uses
* Connect's cookie parser to normalize configuration differences between Express
* and Socket.io and hoo... |
"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")... |
/**
* interact.js v1.1.2
*
* Copyright (c) 2012, 2013, 2014 Taye Adeyemi <dev@taye.me>
* Open source under the MIT License.
* https://raw.github.com/taye/interact.js/master/LICENSE
*/
(function () {
'use strict';
var document = window.document,
SVGElement = window.SVGElement ... |
/*
Based on:
Copyright (c) 2016 Wilson Page wilsonpage@me.com
https://github.com/wilsonpage/fastdom
*/
import { requestAnimationFrame } from './index';
export const fastdom = {
reads: [],
writes: [],
measure: function(task) {
this.reads.push(task);
scheduleFlush(this);
... |
export const SET_SORT = 'SET_SORT';
export const SORT_ASC = 'ASC';
export const SORT_DESC = 'DESC';
export const SET_PAGE = 'SET_PAGE';
export const SET_FILTER = 'SET_FILTER';
const oppositeOrder = direction =>
direction === SORT_DESC ? SORT_ASC : SORT_DESC;
/**
* This reducer is for the react-router query str... |
(function () {
'use strict';
// Processes overloads for a set of arguments. Should be called as
// via overload(arguments). You can pass it an array of arguments, but just using
// the built in arguments object is the intended use.
var Overload = function (args, expectedType) {
var _overload = this;
... |
/**
* 商品数量加减插件
* wll-2013/03/29
* jquery.goodnums.js
*
*
*/
jQuery(function(){
/**
* 删除商品
*
* 使用说明:
* 元素必须具备以下属性
* 必须:zid 总价ID
* 必须:xclass 每个商品小计的 class
* 必须:ValId input:text 当前改变商品数量的ID
*
* Demo:
* jQuery(".shop_good_delete").goodDelete({zid:'good_zongjia',xclass:'good_xiaojis'});
... |
module.exports = {
mode: "production",
entry: "./index",
stats: {
colors: true,
hash: false,
entrypoints: true
},
performance: {
hints: false
}
};
|
/**
* Blueprint API Configuration
* (sails.config.blueprints)
*
* These settings are for the global configuration of blueprint routes and
* request options (which impact the behavior of blueprint actions).
*
* You may also override any of these settings on a per-controller basis
* by defining a '_config' key in... |
/**
* Used by InPlaceEdit and Uneditable fields
* @module inputex-visus
*/
var lang = Y.Lang,
inputEx = Y.inputEx;
/**
* Contains the various visualization methods
* @class inputEx.visus
* @static
*/
inputEx.visus = {
/**
* Use a rendering function
* options = {visuType: 'func', func: functi... |
module.exports = {
"_data": {
"FY2013": {
"_startDate": "20130101",
"_endDate": "20131231",
"_closed": true
},
"FY2014": {
"_startDate": "20140101",
"_endDate": "20141231",
"_closed": false
},
"_status": "active",
"_lastModifiedDate": "2014-02-05T10:37:45Z"
},
"_links": {
"_self": "/5... |
'use strict';
var should = require('should');
var app = require('../../app');
var request = require('supertest');
describe('GET /api/organizations', function() {
it('should respond with JSON array', function(done) {
request(app)
.get('/api/organizations')
.expect(200)
.expect('Content-Type', ... |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Lint = require("tslint");
var sprintf_js_1 =... |
(function(size, angle, minimum, canvas, context, requestAnimationFrame){
context.translate(minimum(90*size, 2*canvas.width/3), minimum(45*size, 2*canvas.height/3));
context.strokeStyle = 'black';
var draw = function(){
context.beginPath();
context.moveTo(0,0);
context.lineTo(size, 0);
context.stroke();... |
//>>built
define({HKD_displayName:"\u05d3\u05d5\u05dc\u05e8 \u05d4\u05d5\u05e0\u05d2 \u05e7\u05d5\u05e0\u05d2\u05d9",CHF_displayName:"\u05e4\u05e8\u05e0\u05e7 \u05e9\u05d5\u05d5\u05d9\u05e6\u05e8\u05d9",JPY_symbol:"JP\u00a5",CAD_displayName:"\u05d3\u05d5\u05dc\u05e8 \u05e7\u05e0\u05d3\u05d9",HKD_symbol:"HK$",CNY_displa... |
// @flow
import I18nJs from 'i18n-js';
I18nJs.locale = 'en'; // a locale from your available translations
export const getLanguages = (): Promise<string[]> => Promise.resolve(['en']);
export default I18nJs;
|
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* 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 'react-reconciler/src/ReactFiber';
import type {
DispatchConfig,
ReactSyntheticEvent,
} from '.... |
var config = require('../../config'),
utils;
utils = {
getDeclarations: function () {
var baseUrl = config.urlFor('sitemap-xsl');
baseUrl = baseUrl.replace(/^(http:|https:)/, '');
return '<?xml version="1.0" encoding="UTF-8"?>' +
'<?xml-stylesheet type="text/xsl" hre... |
/*!
* dc-addons v0.13.1
*
* 2016-04-08 11:34:39
*
*/
(function () {
'use strict';
if (dc.serverChart) {
return false;
}
if (!('dc' in window)) {
window.dc = {};
}
dc.serverChart = function (parent) {
var _chart = {},
socket = null,
hasInit ... |
'use strict';
const assert = require('./../../assert');
const common = require('./../../common');
const Sim = require('./../../../.sim-dist');
let battle;
describe('Rage Powder', function () {
afterEach(function () {
battle.destroy();
});
it('should redirect single-target moves towards it if it is a valid targ... |
require('./setAttributes.prototype.js')
require('./setStyles.prototype.js')
require('./appendChildren.prototype.js')
|
define(['./_baseSortedIndex', './eq'], function(baseSortedIndex, eq) {
/**
* This method is like `_.indexOf` except that it performs a binary
* search on a sorted `array`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Array
* @param {Array} array The array to inspect.
* @param {*} v... |
/*
* 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.
*/
'... |
var traverseScope = require('../lib/traverse');
var validation = require('../lib/validation');
var config = require('../lib/config');
var rule;
/**
* @param {Object} context
* @param {settings} settings
* @return {Function}
*/
function handleMemberExpressions(context, settings) {
return function (node) {
var ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.