code
stringlengths
2
1.05M
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['1429',"Tlece.Recruitment.Models Namespace","topic_00000000000007B3.html"],['1462',"CardPayment Class","topic_0000000000000A41.html"],['1463',"Properties","topic_0000000000000A41_props--.html"]];
/* * * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * */ 'use strict'; import H from '../parts/Globals.js'; import U from '../parts/Utilities.js'; var isArray = U.isArray; var seriesType = H.seriesType; /* eslint-disable valid-jsdoc */ // Util...
'use strict'; mrMainNavitagion.$inject = ['$location', '$cookies', '$window']; function mrMainNavitagion($location, $cookies, $window) { return { templateUrl: 'assets/templates/navigation.html', link: function (scope) { scope.isCurrentPath = function (value) { return $lo...
/*! * DevExtreme (dx.messages.sl.js) * Version: 21.1.5 * Build date: Mon Aug 02 2021 * * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; ! function(root, factory) { if ("function" === typeof define &...
/* * JSINQ, JavaScript integrated query * Copyright (c) 2010 Kai Jäger. Some rights reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the license.txt file. */ new Test.Unit.Runner({ // jsinq.Lookup.applyResultSelector testApplyResultSelector: function() { var ...
exports.routes = function(mpd) { var routes = {}; function doMPDCmd(cmd, req, res) { mpd.socket.setTimeout(60000, function() { res.send(408); console.log('MPD: timed out'); mpd.onMPDFail(); }); mpd.send(cmd, function(r) { try { res.json(r, r._OK ? 200 : 400); } catch (e) { } mpd.so...
var vows = require('vows'); var assert = require('assert'); var url = require('url'); var util = require('util'); var accessToken = require('middleware/accessToken'); function MockRequest() { } function MockResponse() { this._headers = {}; this._data = ''; } MockResponse.prototype.setHeader = function(name, val...
( function( root, factory ) { "use strict"; // Set up appropriately for the environment. // Start with AMD. /* istanbul ignore next */ if ( typeof define === 'function' && define.amd ) { define( [ 'underscore' ], function( _ ) { ...
// Dependencies var Sort = require('..'), should = require('should'); // Globals var sort , unsorted , sortedCustom , unsortedCustom , comparePeople; // Before Each Test Case beforeEach(function(){ sort = new Sort(); unsorted = new Array(); unsortedCustom = { people: [ { name: "Bob", age: 1 }, ...
/** debugpp Copyright(c) 2015-2016 Sasha Rudan <mprinc@gmail.com> MIT Licensed Augmented (namespaces, ...) debug nodejs package * ```js var debugpp = require('debugpp'); ``` */ (function () { // This prevents problems when concatenating scripts that aren't strict. 'use strict'; /** @description ## Info This package e...
var express = require('express'); var app = express(); var server = require('http').createServer(app); var five = require('johnny-five'); var io = require('socket.io'); var socket = io.listen(server); var board = new five.Board(); var port = 3000; var toggleAlarm = true; var toggleLight = false; var message; var choose...
import STORE from '../../redux-store/index'; // endpoints import { onAuthorized, signOut, checkAuthUser } from '../../actions/auth'; import {getCookie} from '../../utils/commons'; // Service Adapter const AuthService = { checkBasicAuth() { STORE.dispatch(checkAuthUser()) }, authUser(data) { STORE.dispatc...
/*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/ /*jslint regexp: true, nomen: true*/ // generic iframe tarteaucitron.services.iframe = { "key": "iframe", "type": "other", "name": "Web content", "uri": "", "needConsent...
describe("Frame", function() { var frame; beforeEach(function() { frame = new Frame(); }); it("should expect two balls remianing given the beginning of a frame", function() { expect(frame.bowlsRemaining()).toEqual(2); }); it("should expect one more ball given one non strike ball is recordScore o...
import { auto, setup as setup$1 } from '@twind/runtime'; export { tw } from '@twind/runtime'; export * from '@twind/core'; const cancelAutoSetup = auto(setup); function setup(config = {}, sheet, target) { cancelAutoSetup(); return setup$1(config, sheet, target); } export { setup }; //# sourceMappingURL=core.e...
/* * @license * chartjs-plugin-streaming * https://github.com/nagix/chartjs-plugin-streaming/ * Version: 1.7.0 * * Copyright 2018 Akihiko Kusanagi * Released under the MIT license * https://github.com/nagix/chartjs-plugin-streaming/blob/master/LICENSE.md */ (function (global, factory) { typeof exports === 'ob...
!(function (e, r) { 'object' == typeof exports && 'object' == typeof module ? (module.exports = r()) : 'function' == typeof define && define.amd ? define([], r) : 'object' == typeof exports ? (exports.colors = r()) : ((e.britecharts = e.britecharts || {}), (e.britecha...
/** * @license Highstock JS v9.3.3 (2022-02-01) * * Indicator series type for Highcharts Stock * * (c) 2010-2021 Daniel Studencki * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; m...
/*-------------------------------------------------------------------------- * linq.js - LINQ for JavaScript * licensed under MIT License *------------------------------------------------------------------------*/ (function (root, undefined) { // ReadOnly Function var Functions = { Identity...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.1.2 (2019-11-19) */ !function(o){"use strict";var i=tiny...
/*! * DevExtreme (dx.messages.el.js) * Version: 22.1.0 (build 21357-0315) * Build date: Thu Dec 23 2021 * * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; ! function(root, factory) { if ("function" ...
/* Highstock JS v8.0.2 (2020-03-03) Indicator series type for Highstock (c) 2010-2019 Kacper Madej License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/roc",["highcharts"...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Paginator = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _ClassNames = require("../utils/ClassNames"); var _FirstPageLink = require("./FirstP...
'use strict'; var colors = require('colors/safe'); var opn = require('opn'); var strings = require('../../resources/index'); module.exports = function(dependencies){ var logger = dependencies.logger, registry = dependencies.registry; return function(opts){ registry.getComponentPreviewUrlByUrl(opts.co...
// @flow import { describe, it } from "flow-typed-test"; import { fork } from "redux-saga/effects"; describe("fork effect", () => { describe("structure", () => { const c = fork(() => {}); it('type must be equal "FORK"', () => { (c.type: "FORK"); }); it("returned object must be read only", () ...
import React from 'react' import 'bootstrap/dist/css/bootstrap.min.css'; import BTable from 'react-bootstrap/Table'; import { useTable } from 'react-table' import makeData from './makeData' function Table({ columns, data }) { // Use the state and functions returned from useTable to build your UI const { getTab...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M5.5 10.5h2v1h-2zM20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zM9 11.5c0 .85-.65 1.5-1.5 1.5h-2v2H4V9h3.5c.85 0...
'use strict'; var Utils = require('./utils') , Mixin = require('./associations/mixin') , InstanceValidator = require('./instance-validator') , DataTypes = require('./data-types') , Promise = require("./promise") , _ = require('lodash') , defaultsOptions = { raw: true } , deprecatedSeen = {} , deprecate...
define(['../lang/isArguments', '../lang/isArray', '../internal/isIndex', '../internal/isLength', '../lang/isObject', '../support'], function(isArguments, isArray, isIndex, isLength, isObject, support) { /** Used for native method references. */ var objectProto = Object.prototype; /** Used to check objects for o...
"use strict"; function traverseDoc(doc, onEnter, onExit, shouldTraverseConditionalGroups) { function traverseDocRec(doc) { let shouldRecurse = true; if (onEnter) { if (onEnter(doc) === false) { shouldRecurse = false; } } if (shouldRecurse) { if (doc.type === "concat" || doc...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var KeyCodes = require('./KeyCodes'); var KeyMap = {}; for (var key in KeyCodes) { KeyMap[KeyCodes[key]] = key; } module.exports = KeyMap...
#!/usr/bin/env node var speak = require('../app'); speak.speak([ 'hello', 'this system is using better-say', 'for the current version, better-say can speak with many input sentences' ], { voice: 'Vicki', callback: function() { console.log('this is a callback'); }, writetext: true });
'use strict'; const assert = require('./../../assert'); const common = require('./../../common'); let battle; describe('Trump Card', function () { afterEach(function () { battle.destroy(); }); it('should power-up the less PP the move has', function () { battle = common.createBattle([ [{species: 'Eevee', a...
app.config(function($stateProvider, $routeProvider){ $stateProvider .state('showKeys', { url: "", views: { "keys": { templateUrl: window.basePath + "/templates/keys.html.erb", controller: 'ListKeysController' }, "key": { templateUrl: window.basePat...
'use strict'; var mongoose = require('mongoose'), Schema = mongoose.Schema, ObjectId = Schema.Types.ObjectId; var SchoolSchema = new Schema({ name: String, info: String, active: Boolean, users: [{type: ObjectId, ref: 'User'}], assignments: [{type: ObjectId, ref: 'Assignment'}] }); module.exports = ...
/* Retrieve, filter and preprocess events from a google calendar, return list of objects. You probably want to do something like this: $.getJSON(GCal.apiURL(...), response => { var events = GCal.getMatchingEvents(...); // Do somthing sensible with the events. )} See eventInfo() for more info on eve...
const decideEventClass = e => { let start = moment(e.start_date, "MMMM D, YYYY"), end = moment(e.end_date, "MMMM D, YYYY"), now = moment(), toStart = start.diff(now, 'days'), toEnd = end.diff(now, 'days') if (toStart > 4) return "event-info" if (toStart > 4) return "event-im...
import React, { Component } from 'react'; import { Button, Dropdown, Form, Icon, List, Modal, } from 'semantic-ui-react'; import _ from 'lodash'; import { getKeyPathsArray, getKeyPathStrings } from '../../utils/objectKeyPaths'; import { getLocalizationData } from '../../localization/all'; // Get copy o...
import mustache from 'mustache'; import shortId from 'shortid'; import { readSync as read } from 'read-file-relative'; import { EventEmitter } from 'events'; import { parse as parseUrl } from 'url'; import Cookies from './cookies'; import UploadStorage from '../upload/storage'; import COMMAND from './command'; import {...
"use strict"; /* -------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * --------------------------------------------------...
'use strict'; var vm = require('vm'); function poser (type) { var sandbox = {}; vm.runInNewContext('stolen=' + type + ';', sandbox, 'poser.vm'); return sandbox.stolen; } module.exports = poser;
Package.describe({ name: "nova:comments", summary: "Telescope comments package", version: "0.27.1-nova", git: "https://github.com/TelescopeJS/Telescope.git" }); Package.onUse(function (api) { api.versionsFrom(['METEOR@1.0']); api.use([ 'nova:lib@0.27.1-nova', 'nova:settings@0.27.1-nova', 'nov...
//Focus.reference.builder.loadListByName('papas').then(function(data){Focus.dispatcher.dispatch({action: {type: "update",data: {papas: data}}})}) import storeGetter from 'focus-core/reference/built-in-store'; import builtInActionReferenceLoader from 'focus-core/reference/built-in-action'; const isEmpty = require('loda...
"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")...
#!/usr/bin/env node 'use strict'; var path = require('path'); var fs = require('fs'); var Canvas = require('canvas'); var pica = require('../'); var Image = Canvas.Image; var image = new Image(); image.src = fs.readFileSync(path.join(__dirname, 'samples', 'sample-3264x2448.jpg')); var canvas =...
/* * jQuery UI Effects Scale 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Effects/Scale * * Depends: * jquery.effects.core.js */ (function ($, undefined) { $.effects.p...
var Migrations = artifacts.require("./Migrations.sol"); module.exports = function (deployer) { deployer.deploy(Migrations); };
var xmlURL = "https://mattie432.com/YouTweak/message.xml"; //checkReview(); //requestMsg(); chrome.runtime.sendMessage({method: "checkReview"}, function() {}); /** * Sends a request to the listener in the eventpage class. * Asks for it to check for new messages on the web. */ function requestMsg(){ chrome.runtime...
/* * Copyright (c) 2014, GMO GlobalSign * All rights reserved. * * Author 2014, Yury Strozhevsky <www.strozhevsky.com>. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code mu...
define({ Ac : "Actinium", Ag : "Silver", Al : "Aluminium (Aluminum)", Am : "Americium", Ar : "Argon", As : "Arsenic", At : "Astatine", Au : "Gold", B : "Boron", Ba : "Barium", Be : "Beryllium", Bh : "Bohrium", Bi : "Bismuth", Bk : "Berkelium", Br : "Bromine", C : "Carbon", Ca : "Calcium", Cd : "Cadmiu...
var config = require('config'); var sonumiLogger = require('sonumi-logger'); var io = require('socket.io')(); var logger, deviceManager, SONUMI_PORT = 3100; function BridgeServer(dependencies) { if (!dependencies || !dependencies.devicemanager) { throw new Error('Device manager dependency is requi...
import { processOpcodes } from "htmlbars/compiler/utils"; import { expandEntities } from "htmlbars/compiler/entities"; import { string } from "htmlbars/compiler/quoting"; export function FragmentCompiler() { this.fn = null; this.depth = 0; } FragmentCompiler.prototype.compile = function(opcodes) { this.depth = ...
/** * 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. */ import assign from 'object-assign'; import * as Scheduler from 'scheduler'; import ReactCurrentDispatcher from '../ReactCurrentDis...
/* Czech initialisation for the jQuery UI date picker plugin. */ jQuery(function(a){a.datepicker.regional.cs={closeText:"Zav\u0159\u00edt",prevText:"&#x3c;D\u0159\u00edve",nextText:"Pozd\u011bji&#x3e;",currentText:"Nyn\u00ed",monthNames:"leden \u00fanor b\u0159ezen duben kv\u011bten \u010derven \u010dervenec srpen z\u...
/*! * Stickyfill -- `position: sticky` polyfill * v. 1.1.1 | https://github.com/wilddeer/stickyfill * Copyright Oleg Korsunsky | http://wd.dizaina.net/ * * MIT License */ module.exports = (function(doc, win) { if (!doc) { doc = document; } if (!win) { win = window; } var...
basePath = '../'; files = [ JASMINE, JASMINE_ADAPTER, 'src/lib/jquery.js', 'src/lib/underscore.js', 'src/lib/leaflet.js', 'src/lib/handlebars.js', 'src/js/app.js', 'src/js/*.js', 'test/unit/**/*.js' ]; autoWatch = true; browsers = ['Chrome']; junitReporter = { outputFile: 'test_out/unit.xml', ...
var Style = function() { var self = this; self.Name = ''; self.Category = ''; self.CategoryNumber = ''; // BJCP style guide int self.StyleLetter = ''; // BJCP style letter self.StyleGuide = ''; // "BJCP", "AHA", etc self.Type = ''; // can be "Lager", "Ale", "Mead", "Wheat", "Mixed" or "Cider" self.OGMin...
goog.provide('ol.source.TileArcGISRest'); goog.require('goog.asserts'); goog.require('goog.uri.utils'); goog.require('ol'); goog.require('ol.extent'); goog.require('ol.object'); goog.require('ol.math'); goog.require('ol.proj'); goog.require('ol.size'); goog.require('ol.source.TileImage'); goog.require('ol.tilecoord');...
/* * Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the bottom of this file. */ (function () { angular .module('artCuratorApp') .controller('SettingsController', SettingsController); // Inject dependencies to protect app from minification. SettingsC...
// import { assert } from 'chai'; // eslint-disable-line import/extensions import generateLut from '../../src/internal/generateLut.js'; describe('generateLutNew', function () { beforeEach(function () { this.windowWidth = 255; this.windowCenter = 127; this.voiLUT = { firstValueMapped: 0, num...
Function.prototype.bind = Function.prototype.bind || require('function-bind'); var bespoke = require('../../lib/bespoke.js'); describe("bespoke", function() { var PARENT_TAG = 'article', SLIDE_TAG = 'section', NO_OF_SLIDES = 10, article, deck; describe('init', function() { var deactivatedSli...
/*globals BenchWarmer:true jQuery Benchmark*/ BenchWarmer = function(emberPath, logger, profile) { this.emberPath = emberPath; this.profile = profile; this.logger = logger; }; BenchWarmer.evalString = function(string, emberPath, logger, profile) { var benchWarmer = new BenchWarmer(emberPath, logger, profile);...
 var speakersApp = angular.module("speakersApp", ["ngRoute"]); //Routes speakersApp.config(function ($routeProvider) { $routeProvider .when("/speakers", { templateUrl: "partial-views/speakers.html", controller: "SpeakersController" }) .when("/sessions", { ...
var config = require('config'); var restify = require('restify'); var bunyan = require('bunyan'); var restify_endpoints = require('restify-endpoints'); // Setup logger var logger = bunyan.createLogger({ name: 'docker-index', stream: process.stdout, level: config.loglevel, src: true, serializers: { req: b...
cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = [ { "file": "plugins/cordova-plugin-geolocation/www/Coordinates.js", "id": "cordova-plugin-geolocation.Coordinates", "pluginId": "cordova-plugin-geolocation", "clobbers": [ "Coordi...
/* Automatically generated by shapeshifter. Do not modify! */ /* eslint-disable */ import PropTypes from 'prop-types'; import ArrayDefault from '../stub'; export const ARRAY_NUM = 123; export const ArrayShape = PropTypes.shape({ arrayField: PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.string)), boolField: PropT...
import angular from 'angular' function RoomsService (Room, Message) { this.find = () => Room.find().$promise this.findById = (id) => Room .findById({ id, filter: { include: { relation: 'messages', scope: { order: 'created ASC', include: 'user' ...
import { Enum } from '../flow2/Enum'; /** * Valid stateId's for GitFlowManager. */ const GitCreationState = new Enum({ LOADING_CREDENTIALS: 'loading_credentials', STEP_CONNECT: 'step_connect', CREATE_PIPELINE: 'create_pipeline', STEP_RENAME: 'step_rename', STEP_COMPLETE_SUCCESS: 'step_complete_su...
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. define([ '../Core/_Global', '../Core/_Base', '../Core/_BaseUtils', '../Core/_ErrorFromName', '../Core/_Events', '../Core/_Log', '../Core/...
//Converts polar coordinates to cartesian var cartesian = function(d,l,M){M=Math;return[M.floor(l*M.cos(d*2*M.PI/360))*d>90||d<270?1:-1,M.floor(l*M.sin(d*2*M.PI/360))*d>180?1:-1]} //Converts cartesian coordinates to polar var polar = function(x,y,M){M=Math;return[M.atan(y/x)*360/2/M.PI+(x<0&&y>=0)||(x<0&&y<0)?180:x...
define([ "dojo/_base/declare", "dojo/_base/array", "dojo/json", "dojo/on", "dojo/when", "dojo/_base/lang", "dojo/dom-attr", "dojo/dom-class", "plugins/infusion/Data", "plugins/core/Common", "plugins/infusion/Dialog/Project", "plugins/infusion/Dialog/Sample", "plugins/infusion/Dialog/Flowcell", "plugins/in...
(function () { 'use strict'; function _launchFullScreen(element) { if(element.requestFullscreen) element.requestFullscreen(); else if(element.mozRequestFullScreen) element.mozRequestFullScreen(); else if(element.webkitRequestFullscreen) element.webkitRequestFullscreen(); else if(element.msRequestFullscreen)...
version https://git-lfs.github.com/spec/v1 oid sha256:08ab2e5fed078ac94edd6d78dbad23aabfe73f0e433d706bbda436b34651e2cc size 1616
define(function(require) { 'use strict'; var module = require('./module'); module.config(configureStates); //--- configureStates.$inject = ['$stateProvider', '$urlRouterProvider']; function configureStates($stateProvider, $urlRouterProvider) { $stateProvider .state('home', { url: '/h...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-.4 4.25-7.07 4.42c-.32.2-.74.2-1.06 0L4.4 8.25c-.25-.16-.4-.43-.4-.72 0...
require('./src/satellite.css') module.exports = require('./src')
/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'a11yhelp', 'az', { title: 'Əlillərə dəstək üzrə təlimat', contents: 'Kömək. Pəncərəni bağlamaq üçün ESC basın.', legend: [ { ...
'use strict'; // Use applicaion configuration module to register a new module ApplicationConfiguration.registerModule('contactnotes');
import {parseAndGetStatementInVariableDeclarator} from '../../../utils'; import {expect} from 'chai'; describe('VariableDeclarator', () => { it('should return correct type', () => { expect(parseAndGetStatementInVariableDeclarator('x').type).to.equal('VariableDeclarator'); }); it('should accept dec...
const User = require('../../../models/user'); module.exports = { canApply: (key, data) => key === 'search' && data.field === 'author', getFilter(data) { return User.find({username: {$regex: data.text, $options: 'i'}}) .then(users => { let authorIds = users.map(user => ({aut...
{ "name": "qoopido.js", "url": "https://github.com/dlueth/qoopido.js.git" }
import template from './about-app.html'; import styles from './about-app.scss'; export default { template, controller }; function controller() { this.styles = styles; }
/** * 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 */ 'use strict'; import type {Fiber} from 'react-reconciler/src/ReactFiber'; import type {FiberRoot} from 'react-reconciler/sr...
export { default } from './ActionButton';
version https://git-lfs.github.com/spec/v1 oid sha256:108c888b3b0665c11c6129f7ab7e96572ef3c7856e4a4042b42527d7de40d0d9 size 25999
// Learning Processing // Daniel Shiffman // http://www.learningprocessing.com // Example 15-9: Adjusting image brightness based on pixel location (Flashlight effect) var img; function preload() { img = loadImage("data/sunflower.jpg"); } function setup() { createCanvas(400, 400); // Temporary-ish fix for ret...
describe('validator.presence', function() { var presence = validate.validators.presence.bind(validate.validators.presence); afterEach(function() { delete validate.validators.presence.message; delete validate.validators.presence.options; }); it("doesn't allow empty values", function() { expect(pres...
import Ember from 'ember'; import hbs from 'htmlbars-inline-precompile'; import { moduleForComponent, test } from 'ember-qunit'; moduleForComponent('number-field', 'Integration | Component | {{number-field}}', { integration: true, beforeEach: function() { this.on('update', function(value) { this.set('num...
/*! * Module dependencies. */ var EventEmitter = require('events').EventEmitter , VirtualType = require('./virtualtype') , utils = require('./utils') , NamedScope , Query , Types /** * Schema constructor. * * ####Example: * * var child = new Schema({ name: String }); * var s...
version https://git-lfs.github.com/spec/v1 oid sha256:c05cf36c777a27411a8c11a6d5ec0e1a7dc84721b06427289e377199e8a824d5 size 1548784
// @flow import { NativeEventEmitter, NativeModules } from 'react-native'; import invariant from 'invariant'; const PedometerEventEmitter = new NativeEventEmitter( NativeModules.ExponentPedometer ); type PedometerResult = { steps: number }; type PedometerUpdateCallback = (result: PedometerResult) => void; type Ped...
(function () { "use strict"; var of = require('../core/lib/object_factory'); var Pattern = require('../core/lib/object_factory').Pattern; exports['Pattern initialization'] = { 'test Pattern initializes correctly' : function (test) { var p = new Pattern('00-atoms/00-global/00-colors.mustache', { d: 123}); ...
define([ 'angular', 'jquery', 'alert-util', 'js/common/ajax-loader/angular/ajax-loader.httpInterceptors', 'angular-ui-bootstrap', 'js/services' ], function (angular, $, alertUtil) { var module = angular.module('formctrl', [ 'ui.bootstrap', 'ui.bootstrap.tpls', ]); mo...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _Select = require('./Select'); var _Select2 = _interopRe...
$(function () { $(".chosen-select" ).chosen({ width: '100%' }); var project = $("#data-project").data("project"); var page = $("#data-project").data("page"); var section = $("#data-project").data("section"); $(".trigger-select").change(function () { var name = $(this).attr("name"); ...
'use strict'; var fs = require('fs'), expect = require('chai').expect, changeDetector = require('../../../lib/utils/changeDetector'); describe('Utils/ChangeDetector', function () { var options = { src: [ 'test/fixtures/images/src/*.png' ], stylesheetPath: 'test/fixtures...
var utils = require('../../lib/utils'); describe('lib/utils', function () { describe('clean', function () { it("should format a single line test function", function () { var fn = [ "function () {" , " var a = 1;" , "}" ].join("\n"); utils.clean(fn).should.equal("var a =...
'use strict'; System.register('flarum/akismet/main', ['flarum/extend', 'flarum/app', 'flarum/utils/PostControls', 'flarum/components/CommentPost'], function (_export, _context) { var extend, override, app, PostControls, CommentPost; return { setters: [function (_flarumExtend) { extend = _flarumExtend.ext...
import colors from "./colors" module.exports = { mobile: `(min-width: 320px)`, Mobile: `@media (min-width: 320px)`, phablet: `(min-width: 550px)`, Phablet: `@media (min-width: 550px)`, tablet: `(min-width: 750px)`, Tablet: `@media (min-width: 750px)`, desktop: `(min-width: 1000px)`, Desktop: `@media (m...
/** * tty.js: config.js * Copyright (c) 2012-2014, Christopher Jeffrey (MIT License) */ var path = require('path') , fs = require('fs') , logger = require('./logger') , optimist = require('optimist') , nunjucks = require('nunjucks') ; /** * Options */ var options; /** * Read Config */ function re...