code
stringlengths
2
1.05M
/*! * Copyright 2016 E.J.I.E., S.A. * * Licencia con arreglo a la EUPL, Versión 1.1 exclusivamente (la «Licencia»); * Solo podrá usarse esta obra si se respeta la Licencia. * Puede obtenerse una copia de la Licencia en * * http://ec.europa.eu/idabc/eupl.html * * Salvo cuando lo exija la legislación aplica...
/* License Copyright (c) 2015 Nathan Cahill 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, publ...
/** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of ...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M20 4H4v13.17L5.17 16H20V4zm-6 10H6v-2h8v2zm4-3H6V9h12v2zm0-3H6V6h12v2z", opacity: ".3" }, "0"), /*#__PURE__*/_jsx("path", { d: "M20 18c1.1 0 2-.9 2-2V4...
import Ember from 'ember'; import { moduleForComponent, test } from 'ember-qunit'; import startApp from '../../helpers/start-app'; var App; moduleForComponent('zip-code-input', 'zip-code-input component', { setup: function() { App = startApp(); }, teardown: function() { Ember.run(App, 'destroy'); }, ...
var grow = grow || {}; window.grow = grow; (function(grow){ var toolConfig = {}; grow.ui = grow.ui || {}; grow.ui.showNotice = function(text) { var notice = document.createElement('div'); notice.classList.add('grow_tool__notice'); if (text) { notice.appendChild(document.createTextNode(text))...
var RELANG = {}; RELANG['sq'] = { html: 'HTML', video: 'Video', image: 'Fotografi', table: 'Tabelë', link: 'Link', link_insert: 'Lidh linq ...', unlink: 'Hiq linkun', formatting: 'Stilet', paragraph: 'Paragraf', quote: 'Kuotë', code: 'Kod', header1: 'Header 1', header2: 'Header 2', header3: 'Hea...
'use strict'; const chalk = require('chalk'); const Task = require('../models/task'); const Watcher = require('../models/watcher'); const Builder = require('../models/builder'); const pDefer = require('p-defer'); class BuildWatchTask extends Task { constructor(options) { super(options); this._builder = nul...
module.exports={A:{A:{"1":"E A B","2":"H C G EB"},B:{"1":"D p x J L N I"},C:{"1":"0 1 2 3 4 5 6 8 9 R S T U V W X Y Z b c d e f g h i j k l m n o M q r s t u v w y","2":"YB BB","132":"F K H C G E A B D p x J L N I O P Q WB QB"},D:{"1":"0 1 2 3 4 5 6 8 9 F K H C G E A B D p x J L N I O P Q R S T U V W X Y Z b c d e f g ...
/** * Imports */ import React from 'react'; import {FormattedMessage} from 'react-intl'; // Flux import IntlStore from '../../../stores/Application/IntlStore'; // Required components import Button from '../buttons/Button'; import Text from '../typography/Text'; // Translation data for this component import intlDat...
'use strict'; var constants = require('../../lifx').constants; var Packet = { size: 21 }; /** * Converts packet specific data from a buffer to an object * @param {Buffer} buf Buffer containing only packet specific data no header * @return {Object} Information contained in packet */ Packet.toObject = funct...
import { createReducer } from 'redux-act'; import { fetchSystemStatus } from 'actions'; import { loadState, loadStart, loadError, loadComplete } from 'reducers/util'; const initialState = loadState(); export default createReducer({ [fetchSystemStatus.START]: state => loadStart(state), [fetchSystemStatus.ERROR]: ...
define(['durandal/app','lib/pagelayout', 'lib/prettify'], function (app, pagelayout, prettify) { var activePage = ko.observable(), hash = "", oc; return { compositionComplete : function() { var that = this; oc = Stashy.OffCanvas("#sticky", { enableTouch : true })...
/* to package "eslint": "^1.7.3", "eslint-config-rackt": "^1.1.0", "eslint-plugin-react": "^3.6.3", */ require('es6-promise').polyfill(); // old node 0.10 var path = require('path'); var webpack = require('webpack'); module.exports = { externals: { jquery: "jQuery", autobahn: "autobahn" }, ...
require('uppercase-core'); require('./DIST/NODE.js');
define("foo", [ "./bar", "./baz/baz" ], function(require, exports, module) { require("./bar"); require("./baz/baz"); });
exports.config = { specs: require('./index-webdriver.js').specs(), framework: 'qunit', baseUrl: './', capabilities: [{ browserName: 'phantomjs', exclude: require('./index-webdriver.js').exclude('phantomjs') }], updateJob: false, waitforTimeout: 1000, logLevel: 'silent',...
var equal = require('assert').equal, notEqual = require('assert').notEqual, Pool = require('../lib').Pool; describe('Pool', function () { it('should run multiple scripts', function (finished) { var pool = new Pool({numberOfInstances: 5}); var scriptsExited = 0; for (var i = 0; i < 20; ++i) { ...
////////////////////////////////////////// // // ONLY EDIT babel-plugin.js at ./src/babel-plugin.js, not ./babel-plugin.js! // ////////////////////////////////////////// var plugin = function(babel) { return { visitor: { ObjectExpression(path) { path.node.properties.forEach(fun...
'use strict'; module.exports = function(app) { var users = require('../../app/controllers/users.server.controller'); var companies = require('../../app/controllers/companies.server.controller'); var fields = require('../../app/controllers/fields.server.controller'); var schedules = require('../../app/controllers/s...
import phantom from 'phantom'; import logger from '../Logger'; export default class PhantomFetcher { initialize() { if (this.instance && this.page) { return Promise.resolve(this.page); } logger.info('Creating new PhantomJS instance'); return phantom.create() .then( (instance) => ...
const path = require('path'); const env = require('yargs').argv.mode; const webpack = require('webpack'); const projectRoot = path.resolve(__dirname, '/'); const UglifyJsPlugin = webpack.optimize.UglifyJsPlugin; const libraryName = '<%= libraryName %>'; const plugins = []; let outputFile; if (env === 'build...
var searchData= [ ['makeexternal',['MakeExternal',['../classv8_1_1String.html#a5efd1eba40c1fa8a6aae2c4a175a63be',1,'v8::String::MakeExternal(ExternalStringResource *resource)'],['../classv8_1_1String.html#a19db11c97e2ce01244e06f5cbcd094f2',1,'v8::String::MakeExternal(ExternalAsciiStringResource *resource)']]], ['ma...
AUTOBAHN_DEBUG = true; var autobahn = require('autobahn'); var program = require('commander'); program .option('-p, --port <port>', 'Server IP port', parseInt,9000) .option('-i, --ip <ip>', 'Server IP address','127.0.0.1') .parse(process.argv); var connection = new autobahn.Connection({ url: 'ws://' +...
'use strict'; ((window, document) => { })(window, document);
/* Time Count TimeCount class, useful for incremental games By Luke Nickerson, 2015 */ (function(){ var TimeCount = function(){ this.lastTime = null; } TimeCount.prototype.setLastTime = function(){ } // Install into RocketBoots if it exists, otherwise make global if (typeof RocketBoots == "object") { ...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.4...
//>>built define({descTemplate:"${2} - ${3}/${1} ${0}",firstTip:"\uccab \ud398\uc774\uc9c0",lastTip:"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0",nextTip:"\ub2e4\uc74c \ud398\uc774\uc9c0",prevTip:"\uc774\uc804 \ud398\uc774\uc9c0",itemTitle:"\ud56d\ubaa9",singularItemTitle:"\ud56d\ubaa9",pageStepLabelTemplate:"${0} \ud398\uc7...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'indent', 'eu', { indent: 'Handitu koska', outdent: 'Txikitu koska' } );
const path = require('path'); const consoleLogger = require('./logger'); const _ = require('lodash'); module.exports = (config, logger, metrics, next) => { if (!next) { next = metrics; metrics = { increment: _.noop }; } if (!next) { next = logger; logger = consoleLogger; } require('../db')(config, logger, (err,...
'use strict'; describe('Service: Location', function () { // load the service's module beforeEach(module('treasuremapApp')); // instantiate service var Location; beforeEach(inject(function (_Location_) { Location = _Location_; })); it('should do something', function () { expect(!!Location).toB...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M23.64 7c-.45-.34-4.93-4-11.64-4-1.5 0-2.89.19-4.15.48L18.18 13.8 23.64 7zm-6.6 8.22L3.27 1.44 2 2.72l2.05 2.06C1.91 5.76.59 6.82.36 7l11.63 14.49...
(function() { var checkVersion = Dagaz.Model.checkVersion; Dagaz.Model.checkVersion = function(design, name, value) { if (name != "magyar-no-pass") { checkVersion(design, name, value); } } var CheckInvariants = Dagaz.Model.CheckInvariants; Dagaz.Model.CheckInvariants = function(board) { var ...
/* * UserLogin Messages * * This contains all the text for the UserLogin component. */ import { defineMessages } from 'react-intl'; export default defineMessages({ header: { id: 'app.containers.UserLogin.header', defaultMessage: 'This is UserLogin container !', }, usernameInput: { id: 'app.contai...
"use babel"; // @flow export function filterAtomEnv(env: Object) { const filteredVars = ["ATOM_HOME", "NODE_PATH"]; return Object.entries(env).reduce((newEnv, [key, value]) => { if (filteredVars.find(v => v === key) != null) return newEnv; return { ...newEnv, [key]: value }; }, {}); }
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = clean; var _path = require('path'); var _del = require('del'); var _del2 = _interopRequireDefault(_del); var _config = require('../config'); var _config2 = _interopRequireDefault(_config); function _interopRequireDef...
import { expect } from 'chai'; import { Promise } from 'es6-promise'; import { Db } from 'mongodb'; import { Factory } from '../src/index'; import { hooks } from '../src/hooks'; describe('API spec', function() { const Adapter = Factory(); it('Adapter object API', function() { expect(Adapter).to.have.all.key...
import { checkTest } from './utils'; var MethodCallTracker = function(env, methodName) { this._env = env; this._methodName = methodName; this._isExpectingNoCalls = false; this._expecteds = []; this._actuals = []; }; MethodCallTracker.prototype = { stubMethod() { if (this._originalMethod) { // Me...
/** * Example on how to use regular NodeJS files, the (module)exports is used */ var config = require('../../index')(); console.log(config.message); // $> node example.js -> "We are in development" // $> NODE_ENV=production node example.js -> "We are in production"
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.qs=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o...
var env = require('./environment.js'); exports.config = { seleniumAddress: env.seleniumAddress, framework: 'jasmine', specs: ['pass_spec.js'], baseUrl: env.baseUrl, plugins: [{ path: '../index.js', failOnWarning: false, failOnError: false }] };
#!/usr/bin/env node /* * * Copyright 2013 Anis Kadri * * 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 applicab...
import {CYCLE_STATES, PRACTICE, REFLECTION, COMPLETE} from 'src/common/models/cycle' import {userCan} from 'src/common/util' import getUser from 'src/server/actions/getUser' import assertUserIsMember from 'src/server/actions/assertUserIsMember' import createNextCycleForChapter from 'src/server/actions/createNextCycleF...
/** * Created by sunNode on 16/10/16. */ var should = require('should') var app = require('../app') var request = require('supertest') describe('upload temporyary testing', function () { it('uploadTemporyary should be return success', function (done) { request(app) .get('/admin/crawler') ...
module.exports = { str: "7.5.0" };
/** * AUTOMATICALLY GENERATED FILE, DO NOT EDIT MANUALLY! * Update this file by running `lerna run webpack-updater` in the monorepo root folder. */ var ClientSideRowModelModule = require('../../community-modules/client-side-row-model'); var GridCoreModule = require('../../community-modules/core'); var CsvExportModul...
"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0});const d3_selection_1=require("d3-selection"),d3_color_1=require("d3-color"),utils_1=__importDefault(require("../utils")),evaluate_1=__importDefault(requir...
/* * * * (c) 2009-2019 Øystein Moseng * * Accessibility component for chart info region and table. * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from '../../../parts/Globals.js'; var doc = H.win.document, ...
/*global require, module*/ var webpack = require('webpack'); var webpackConfig = require('./webpack.config.js'); webpackConfig.plugins = webpackConfig.plugins || []; webpackConfig.plugins.push(new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify('production') } })); module.exports = functio...
/** * 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. */ import {accumulateEnterLeaveDispatches} from 'events/EventPropagators'; import { TOP_MOUSE_OUT, TOP_MOUSE_OVER, TOP_POINTER_OUT, ...
/** * Tools.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * This class contains various utlity functions. These are also exposed * directly on the tinymce nam...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ 'use strict'; const glob = require('glob'); const path = require('path'); /** * Find the main file for the C# project * * @param {String} folder Name of the folder where to seek * @return {String} */ module.ex...
module.exports = { settings: { }, commands: { }, };
var fs = require('fs'); var pkg = require('../package.json'); console.log('Creating dist/js-data-debug.js...'); var file = fs.readFileSync('dist/js-data-debug.js', { encoding: 'utf-8' }); var lines = file.split('\n'); var newLines = []; lines.forEach(function (line) { if (line.indexOf('logFn(') === -1) { new...
// "Borrowed" from node-inspector var CallbackHandler = { /** * Create a callback container * @return {Object} that wraps callbacks and returns a one-time id. */ create: function () { var lastId = 1, callbacks = {} return Object.create({}, { wrap: { value: function (callback)...
version https://git-lfs.github.com/spec/v1 oid sha256:a5b63c6dfd15dccd31cce53e9713057b4a280de478598a0046a6b1221e6564d0 size 42396
import baseCallback from '../internal/baseCallback'; import basePullAt from '../internal/basePullAt'; /** * Removes all elements from `array` that `predicate` returns truthy for * and returns an array of the removed elements. The predicate is bound to * `thisArg` and invoked with three arguments: (value, index, arr...
var roundTrip = module.exports = require('azure-mobile-apps').table(); roundTrip.update(function (context) { return context.execute() .catch(function (error) { if(context.req.query.conflictPolicy === 'clientWins') { context.item.version = error.item.version; retu...
/** * @fileoverview This option sets a specific tab width for your code * @author Dmitriy Shekhovtsov * @author Gyandeep Singh */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------...
app.service('programmingLandingService', function ($http) { //get user profile information this.getGymObj = function (gymId) { return $http({ method: 'GET', url: 'api/gyms/pathway/' + gymId, }) .then(function (response) { return response.data;...
define({ "add": "Κάντε κλικ για προσθήκη νέου", "title": "Τίτλος", "placeholderBookmarkName": "Όνομα σελιδοδείκτη", "ok": "ΟΚ", "cancel": "Ακύρωση", "warning": "Ολοκληρώστε την επεξεργασία!", "edit": "Επεξεργασία σελιδοδείκτη", "errorNameExist": "Ο σελιδοδείκτης υπάρχει!", "errorNameNull": "Μη έγκυρο ...
const DrawCard = require('../../drawcard.js'); class BrothersRobes extends DrawCard { setupCardAbilities() { this.attachmentRestriction({ trait: 'The Seven' }); this.reaction({ when: { onCardKneeled: event => event.card === this.parent }, target: ...
module.exports = { tests: { unit: ['test/unit/helpers/**/*.coffee', 'test/unit/**/*.coffee'], integration: ['test/integration/**/*.coffee'] }, helpers: ['test/unit/helpers/**/*.coffee'], lib: ['lib/**/*.js'] };
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'paste', function( editor ) { var lang = editor.lang.clipboard; var isCustomDomain = CKEDITOR.env.isCustomDomain(); function onPasteFrameLo...
var Tape = function() { var pos = 0, tape = [0]; this.inc = function() { tape[pos]++; } this.dec = function() { tape[pos]--; } this.advance = function() { pos++; if (tape.length <= pos) tape.push(0); } this.devance = function() { if (pos > 0) pos--; } this.get = function() { return tape[pos]; } } var Brainfuck ...
var Image = require('./image'); var imageFields = ["fieldname", "originalname", "encoding", "mimetype", "destination", "filename", "path", "size"]; module.exports = { create: function (req, cb) { var newImage = new Image(); //go through array fields which are the fields that are //given from mutler...
/** * @desc notify() * - http://notifyjs.com/ for examples / docs * * @param {Function} fn - the function to curry * @param {Number} [len] - specifies the number of arguments needed to call the function * * @return {Function} - the curried function */ const url = '//rawgit.com/clearhead/clearhead/master/bower_...
'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": [ "nt\u0254\u0301ng\u0254\u0301", "mp\u00f3kwa" ], "...
/*! * jQuery JavaScript Library v@VERSION * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: @DATE */ (function( global, factory ) { if ( typeof m...
'use strict'; const chalk = require('chalk'); const detect = require('detect-port-alt'); const getProcessForPort = require('./getProcessForPort'); function isRoot() { return process.getuid && process.getuid() === 0; } function checkDetectPort(port, host) { port = parseInt(port, 10) || 0; return new Promise((resol...
// Copyright 2012 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...
const middleware = {} export default middleware
// Generated by CoffeeScript 1.3.3 (function() { var nock, should, wd; wd = require('../common/wd-with-cov'); nock = require('nock'); should = require('should'); describe("wd", function() { return describe("unit", function() { return describe("callback tests", function() { var server; ...
'use strict'; const path = require('path'); const webpack = require('webpack'); const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); module.exports = { bail : true, entry : path.join(__dirname, 'src/main/main.js'), target: 'electron-main', outp...
//分页插件 /** 2014-08-05 ch **/ (function($){ var ms = { init:function(obj,args){ return (function(){ ms.fillHtml(obj,args); ms.bindEvent(obj,args); })(); }, //填充html fillHtml:function(obj,args){ return (function(){ obj.empty(); //上一页 if(args.current > 1){ obj.append('<a href="ja...
var files = { "webgl": [ "webgl_animation_cloth", "webgl_animation_keyframes", "webgl_animation_skinning_blending", "webgl_animation_skinning_morph", "webgl_animation_multiple", "webgl_camera", "webgl_camera_array", "webgl_camera_cinematic", "webgl_camera_logarithmicdepthbuffer", "webgl_clipping", ...
/* * Copyright (C) 2010 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...
var optionValueKeyMarkdown = require('../markdown/js/properties/optionValueKey').body; var optionValueKeyProp = { nameAttr: "optionValueKey", renderString: optionValueKeyMarkdown }; module.exports = optionValueKeyProp;
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- module.exports = function () { return { sql: "CREATE TABLE [__types] ([table] T...
module.exports = { description: 'auto-indents with indent: true', options: { moduleName: 'foo', indent: true } };
TEST('GRAPHICSMAGICK_READ_METADATA', (check) => { GRAPHICSMAGICK_READ_METADATA('UPPERCASE-CORE/sample.png', (metadata) => { console.log(metadata); }); GRAPHICSMAGICK_READ_METADATA('UPPERCASE-CORE/sample.png', { error : () => { console.log('ERROR!'); }, success : (metadata) => { console.log(metadata);...
/** * Created by Pencroff on 04-Sep-16. */ window.test = { id: '384A61CA-DA2E-4FD2-A113-080010D4A42B', name: 'object literal iteration', description: 'Performance case for iteration object properties. Comparison for StackOverflow question: How do I loop through or enumerate a JavaScript object? (<a href=...
(function(){ up.Font = Font; up.Font.NORMAL = "normal"; up.Font.ITALIC = "italic"; up.Font.OBLIQUE = "oblique"; up.Font.BOLD = "bold"; up.Font.SMALL_CAPS = "small-caps"; function Font(_family, _size, _lineHeight, _style, _weight, _variant){ this.family = "Arial"; this.si...
import Ember from 'ember'; export default Ember.Component.extend({ classNames: ['pending-invitation'] });
/* Browser holds the browser main object */ function Browser(container){ this.$container = $(container); this.ready = false; this.rows = []; this.data = Global.data; this.parser = Global.parser; this.offline = window.location.hash == '#random' || window.location.hash == '#disney'; this.resizeTimer; this.scroll...
import React from 'react' import styles from './weather.less' function Weather (props) { const {city, icon, dateTime, temperature, name} = props return <div className={styles.weather}> <div className={styles.left}> <div className={styles.icon} style={{ backgroundImage: `url(${icon})` }} /> ...
/** * Copyright 2013 Ionică Bizău * * A Node.JS module, which provides an object oriented wrapper for the Youtube v3 API. * Author: Ionică Bizău <bizauionica@gmail.com> * **/ var Util = require("../../util"); function list (options, callback) { var self = this; var url = Util.createUrl.apply(self, [...
// Copyright 2014 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 list of ...
module.exports = { description: 'throw an error when accessing members of null or undefined' };
var $path = require('path'); module.exports = function(grunt) { grunt.initConfig({ localBase : $path.resolve(__dirname), pkg: grunt.file.readJSON('package.json'), litheConcat : { options : { cwd: '<%=localBase%>' }, publish : { src : 'public/js/', dest : 'public/js/dist/', ...
flock.synth({ synthDef: { ugen: "flock.ugen.sin", freq: { ugen: "flock.ugen.value", rate: "audio", value: 400, add: { ugen: "flock.ugen.sin", freq: { ugen: "flock.ugen.mouse.cursor", ...
import cn from 'classnames' import Image from 'next/image' import Link from 'next/link' export default function CoverImage({ title, url, slug }) { const image = ( <Image width={2000} height={1000} alt={`Cover Image for ${title}`} src={url} className={cn('shadow-small', { 'ho...
{ "ALLOWED_FILE_TYPE": "Only following files are allowed : ", "AUTHORIZATION_REQUIRED": "No estás autorizado para usar el administrador de archivos.", "DIRECTORY_ALREADY_EXISTS": "La carpeta '%s' ya existe.", "DIRECTORY_NOT_EXIST": "La carpeta %s no existe.", "DISALLOWED_FILE_TYPE": "Following f...
export default function promiseMiddleware() { return next => action => { const { promise, type, ...rest } = action; if (!promise) return next(action); const SUCCESS = type + '_SUCCESS'; const REQUEST = type + '_REQUEST'; const FAILURE = type + '_FAILURE'; next({ ...rest, type: REQUEST ...
// These properties are special and can open client libraries to security // issues var ignoreProperties = ['__proto__', 'constructor', 'prototype']; /** * Returns the value of object `o` at the given `path`. * * ####Example: * * var obj = { * comments: [ * { title: 'exciting!', _doc: { ...
(function() { var def, __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; def = require('./utils').def; Object["new"] = function(a) { var o; o = {}; a.step(2, function(k, v) { return o[k] =...
describe('CreateController', function() { beforeEach(module('mainModule')); var $scope, $controller, $httpBackend, $state; beforeEach(inject(function(_$controller_, _$httpBackend_, _$state_) { $httpBackend = _$httpBackend_; $state = _$state_; $scope = {}; $controller = _$co...
// Generated by CoffeeScript 1.4.0 (function() { var $, Ajax, Base, Collection, Extend, Include, Model, Queue, Singleton, Spine, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) ...
/* * * * (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 * as React from 'react'; import { assert } from 'chai'; function assertDOMNode(node) { // duck typing a DOM node assert.ok(node.nodeName); } /** * Utility method to make assertions about the ref on an element * @param {React.ReactElement} element - The element should have a component wrapped * ...