code
stringlengths
2
1.05M
const BaseEvent = require('./base') const { EVENT_UPDATE_TASK } = require('../utils/constants') const taskSerializer = require('../serializers/task') class UpdateTaskEvent extends BaseEvent { constructor (task) { const data = taskSerializer(task, { preview: true }) if (task.isInitial()) { super(EVENT_U...
var util = require('util'); var logger = require('pomelo-logger').getLogger(__filename); var utils = module.exports; /** * Invoke callback with check */ utils.invokeCallback = function (cb) { if (!!cb && typeof cb === 'function') { cb.apply(null, Array.prototype.slice.call(arguments, 1)); } }; /** * Get the c...
module.exports = require('./lib/imagesize');
version https://git-lfs.github.com/spec/v1 oid sha256:cbdbcc4f4f30dcc5647630554208a2fc507a43f31c7e6aa2e15ed4071cf758bb size 2680
requirejs.config( { paths: { "main-gsap": "vendor/gsap/main-gsap", "tocify": "vendor/tocify/jquery.tocify.min", "jquery-ui": "vendor/jquery-ui/js/jquery-ui-1.10.3.minimal.min", "jquery-1.11.0.min": "vendor/jquery-1.11.0.min", "bootstrap": "vendor/bootstrap.min", "front-neon-slider...
/* @flow */ export default function FelaThemeFactory( createElement: Function, ThemeContext: any ): any { function FelaTheme({ children }) { const renderFn = children return createElement(ThemeContext.Consumer, undefined, renderFn) } return FelaTheme }
(function(){ 'use strict'; Global.define('Sample.controller.Top',{ extend: Global.app.Controller, init: function(config) { this._super(config); $('.pagename').text('page top'); console.log('init page top'); }, restart: function() { ...
'use strict'; var ensureDate = require('es5-ext/date/valid-date') , ensureString = require('es5-ext/object/validate-stringifiable-value') , db = require('../db') , toDateInTimeZone = require('./to-date-in-time-zone') , daysOff = db.globalPrimitives.holidays.map(Number); var i...
"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")...
import Ember from 'ember'; export default Ember.Helper.helper((params, hash) => { return hash; });
require('ember-bootstrap/mixins/item_selection_support'); require('ember-bootstrap/mixins/item_view_href_support'); var A = Ember.A; Bootstrap.Pagination = Ember.CollectionView.extend({ tagName: 'ul', classNames: ['pagination'], itemTitleKey: 'title', itemHrefKey: 'href', init: function() { this._super(...
/* Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.widget.FilePicker"]){ dojo._hasResource["dojox.widget.FilePicker"]=true; dojo.provide("dojox.w...
module.exports = { all : ['frontend/app/**/*.js'], options: { jshintrc : '.jshintrc' } };
(function($){ $.fn.go_top = function(params){ var defaults = { "top":200, "in":200, "out":200, "duration":400, }; var options = jQuery.extend(defaults, params); var go_top = $(this); $(window).on('load scroll', function(){ if ($(this).scrollTop() > options.to...
Eatsery = new Mongo.Collection('eatsery');
define([ 'backbone', 'moment', 'underscore', 'find/app/util/array-equality', 'find/app/model/dates-filter-model' ], function(Backbone, moment, _, arraysEqual, DatesFilterModel) { "use strict"; /** * Models representing the state of a search. * @typedef {Object} QueryState * @...
import { create, visitable } from 'ember-cli-page-object'; import details from './components/program-year/details'; import overview from './components/program-year/overview'; import header from './components/program-year/header'; export default create({ visit: visitable('/programs/:programId/programyears/:programYea...
var Bob = require('./bob.js'); describe('Bob', function() { var bob = new Bob(); it('stating something', function() { var result = bob.hey('Tom-ay-to, tom-aaaah-to.'); expect(result).toEqual('Whatever.'); }); xit('shouting', function() { var result = bob.hey('WATCH OUT!'); expect(result).toEq...
(function() { angular.module('builder', ['builder.directive']); }).call(this);
import run from "ember-metal/run_loop"; import Namespace from 'ember-runtime/system/namespace'; import { Registry } from "ember-runtime/system/container"; import EmberView from "ember-views/views/view"; import ObjectProxy from "ember-runtime/system/object_proxy"; import EmberObject from "ember-runtime/system/object"; i...
const fs = require('fs-extra'); const path = require('path'); const tmpDir = path.join(__dirname, 'tmp'); const REAR_PROCESS_TEST = 'REAR_PROCESS_TEST'; const REAR_DOTENV_TEST = 'REAR_DOTENV_TEST'; const REAR_PACKAGE_TEST = 'REAR_PACKAGE_TEST'; const PKG_FILE = path.join(tmpDir, 'package.json'); const DOTENV_FILE = pa...
function ScampDashboard($scope) { var scope = $scope; //var ws = new ScampWebSocket(scope, "local", ""); var resourceUsageEscalationLevels = [ { maxUsage: 50, cssClass: "success" }, { maxUsage: 70, cssClass: "info" }, { maxUsage: 85, cssClass: "warning" }, { maxUsage: ...
lyrics(["head", "and", "toes"].concat(parts));
import FEATURE_TOGGLE from '../../src/feature-toggle'; export default class Vector { constructor(settings) { settings = settings || {}; settings.x = settings.x || 0; settings.y = settings.y || 0; settings.length = settings.length || 0; settings.angle = settings.angle || 0; this._x = setting...
import { StyleSheet, Platform, } from 'react-native'; let webFixes = (Platform.OS === 'web') ? { listText: { }, } : {}; let iosFixes = (Platform.OS === 'ios') ? { layoutTabIconStyle: { }, } : {}; const styles = StyleSheet.create(Object.assign({ listTextContainer:{ flexDirect...
exports.withoutBreaking = [ { closes: [], breaks: [], hash: '1d4f604363094d4eee3b4d7b1ca01133edaad344', subject: 'did one thing', body: '', type: 'fix', component: '$scope' }, { closes: [], breaks: [], hash: '1d4f604363094d4eee3b4d7b1ca01133edaad344', subject: 'did 2 th...
var net = require('net'); var noble = require('noble'); var util = require('util'); var server = net.createServer(function(client) { client.vehicles = []; client.on("error", (err) => { console.log("connection error"); // client disconnected? client.vehicles.forEach((vehicle) => vehicle.disconnect...
var path = require('path'); module.exports = { root: [path.join(__dirname, '..')] };
(function() { var Query; Query = window._test.Query; describe('Query', function() { var query; query = null; beforeEach(function() { return query = new Query(2); }); describe('#initialize', function() { return it('sets the minLength property to the provided parameter', function() {...
/*global describe, it, beforeEach, expect, xit, jasmine */ /*jshint laxbreak:true */ describe("Multigraph JSON parsing", function () { "use strict"; var ArrayData = require('../../../src/core/array_data.js'), Axis = require('../../../src/core/axis.js'), Background = require('../../../src/core/...
/** * @arguments _none_ * @example * "0.5".asInteger(); // => 0 * [1, 2, 3.14].asInteger(); // => [1, 2, 3] */ sc.define("asInteger", { Number: function() { return this|0; }, Array: function() { return this.map(function(x) { return x.asInteger(); }); }, String: function() { return this|0; ...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M3 5v14h18V5H3zm5.33 12H5V7h3.33v10zm5.34 0h-3.33v-4h3.33v4zM19 17h-3.33v-4H19v4zm0-6h-8.67V7H19v4z" }), 'ViewQuiltOutlined');
import React, { Component } from 'react'; import { Text, View, Image, TextInput, ListView, TouchableHighlight, TouchableOpacity, Switch } from 'react-native'; import helpers from '../helpers/helpers.js'; import styles from '../styles.ios.js'; import FoodpairResults from './FoodpairResults.ios.js'; import AddIngredientC...
(function() { 'use strict'; angular .module('app.station') .controller('StationCamsAndPhotosPhotosCtrl', StationCamsAndPhotosPhotosCtrl); StationCamsAndPhotosPhotosCtrl.$inject = ['$scope', '$mdDialog', '$mdMedia', 'stationStorage', 'StationWebcamsFactory']; function Stati...
'use strict';// Promises are put into their own facade file so that they can be used without // introducing a dependency on rxjs. They are re-exported through facade/async. var PromiseWrapper = (function () { function PromiseWrapper() { } PromiseWrapper.resolve = function (obj) { return Promise.resolve(obj)...
// Copyright 2015-2021 JC Fisher import reduce from "./reduce"; // CONCATENATE reduces a list of values into a single string. export default function concatenate(...values) { // Combine into a single string value return reduce(values, (acc, item) => `${acc}${item}`, ""); }
donut = { name: "donut", ingredients: [frosting] //depends on the global sugar.js being available };
'use strict'; // Modules var path = require('path'); var fs = require('fs'); var _ = require('lodash'); // "Constants" var PLUGIN_NAME = 'kalabox-plugin-pantheon'; module.exports = function(kbox) { var globalConfig = kbox.core.deps.get('globalConfig'); var events = kbox.core.events; var engine = kbox.engine; ...
/* * index.js: Database client for MongoHQ Cloud Databases * * (C) 2012 Nodejitsu Inc. * */ var util = require('util'), urlJoin = require('url-join'), base = require('../../../core/base'), auth = require('../../../common/auth'), url = require('url'), request = require(...
'use strict'; var express = require('express'); var controller = require('./problem.controller'); var router = express.Router(); router.get('/', controller.index); router.get('/:id', controller.show); router.post('/', controller.create); router.put('/:id', controller.update); router.patch('/:id', controller.update);...
this.primereact = this.primereact || {}; this.primereact.tooltip = (function (exports, React, ReactDOM, utils, portal, PrimeReact) { 'use strict'; function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var React__default = /*#__PURE__*/_interopDefaultL...
/* * * * Networkgraph series * * (c) 2010-2020 Paweł Fus * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ import Chart from '../../parts/Chart.js'; import H from '../../parts/Globals.js'; import U from '../../parts/Utilities.js'; v...
import"./switch-case.js";import"./bind-attr.js";import"./if.js";import"./repeat.js";
/* Highstock JS v8.2.0 (2020-08-20) All technical indicators for Highstock (c) 2010-2019 Pawel Fus License: www.highcharts.com/license */ (function(h){"object"===typeof module&&module.exports?(h["default"]=h,module.exports=h):"function"===typeof define&&define.amd?define("highcharts/indicators/indicators-all",["...
import cheerio from 'cheerio' import fetch from 'node-fetch' function scrapeProperties(html) { const $ = cheerio.load(html) const columnMap = { 'Style Element': 'subject', 'Outlook 2007/10/13 +': 'outlook', 'Outlook 03/Express/Mail': 'outlook-legacy', 'iPhone iOS 7/iPad': 'apple-ios', 'Outlook...
var browserify = require('browserify'); var browserSync = require('browser-sync'); var source = require('vinyl-source-stream'); var paths = require('../config/paths.js'); var glob = require('glob'); var mochaPhantomJS = require('gulp-mocha-phantomjs'); var taskSignature = '<[ Browserify-Test-Task ]>'...
/* */ "format global"; (function (tree) { tree.importVisitor = function(importer, finish, evalEnv) { this._visitor = new tree.visitor(this); this._importer = importer; this._finish = finish; this.env = evalEnv || new tree.evalEnv(); this.importCount = 0; }; tree.imp...
import ownerDocument from '../ownerDocument'; import css from '../style'; function nodeName(node) { return node.nodeName && node.nodeName.toLowerCase(); } export default function offsetParent(node) { var doc = ownerDocument(node) , offsetParent = node && node.offsetParent; while (offsetParent && nodeName(n...
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. 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.ap...
describe('uiGridFooterCell', function () { var grid, data, columnDefs, $scope, $compile, $document, recompile, uiGridConstants, $httpBackend; data = [ { name: 'Bob', age: 35 }, { name: 'Bill', age: 25 }, { name: 'Sam', age: 17 }, { name: 'Jane', age: 19 } ]; columnDefs = [ { name: 'name', ...
/*! * jquery.fancytree.menu.js * * Enable jQuery UI Menu as context menu for tree nodes. * (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/) * * @see http://api.jqueryui.com/menu/ * * Copyright (c) 2008-2017, Martin Wendt (http://wwWendt.de) * * Released under the MIT license * ...
/* global __PATH_PREFIX__ CMS_PUBLIC_PATH */ import netlifyIdentityWidget from "netlify-identity-widget" window.netlifyIdentity = netlifyIdentityWidget const addLoginListener = () => netlifyIdentityWidget.on(`login`, () => { document.location.href = `${__PATH_PREFIX__}/${CMS_PUBLIC_PATH}/` }) netlifyIdentity...
/**************************************************************************** Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org 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 th...
/* */ "format cjs"; if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function(require, exports, module) { var SourceMapConsumer = require('../../lib/source-map/source-map-consumer').SourceMapConsumer; var SourceMapGenerator = require('../../lib/source-map/source-map...
function meaningOfLife() { throw new Error(42); } function boom() { throw new Error('boom'); } function somethingElse() { throw new Error("somethign else"); } //# sourceMappingURL=foo/bad-link.map
/** * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'a11yhelp', 'ro', { title: 'Instrucțiuni de accesibilitate', contents: 'Cuprins. Pentru a închide acest dialog, apăsați tas...
import Ember from 'ember'; var DuplicateName = Ember.Object.extend({ hello: function() { console.log('hello'); } }); export default DuplicateName;
import React from "react"; import { Link } from "react-router-dom"; import { Block, Row, Inline } from "jsxstyle"; import { SMALL_SCREEN, LIGHT_GRAY } from "../../Theme.js"; import Logo from "../Logo.js"; import SmallScreen from "../SmallScreen.js"; function NavLink({ href, ...props }) { return <Block component="a"...
"use strict"; jest.mock("@lerna/child-process"); const childProcess = require("@lerna/child-process"); const { hasNpmVersion } = require("../lib/has-npm-version"); childProcess.execSync.mockReturnValue("5.6.0"); test("hasNpmVersion() returns boolean if range is satisfied by npm --version", () => { expect(hasNpmVe...
/* * @name 웹캠을 사용한 셰이더 * @description 웹캠을 텍스처로서 셰이더에 보낼 수 있습니다. * <br> p5.js로 셰이더를 사용하는 방법에 대해 더 알고 싶다면: <a href="https://itp-xstory.github.io/p5js-shaders/">p5.js Shaders</a> */ // 이 변수는 셰이더 객체를 담습니다. let theShader; // 이 변수는 웹캠 비디오를 담습니다. let cam; function preload(){ // 셰이더 불러오기 theShader = loadShade...
/* * 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. */ '...
"use strict"; const chalk = require("chalk"); const tempy = require("tempy"); const Tacks = require("tacks"); const { Project } = require("@lerna/project"); const { loggingOutput } = require("@lerna-test/logging-output"); const listable = require(".."); const { File, Dir } = Tacks; // keep snapshots stable cross-pl...
/*! * jQuery JavaScript Library v2.1.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-dimensions,-effects,-effects/Tween,-effects/animatedSelector,-event-alias,-css/hiddenVisibleSelectors,-wrap * http://jquery.com/ * * Incl...
import 'classmentors/components/index.js'; import 'classmentors/components/ace/ace.specs.js'; import 'classmentors/components/admin/admin.specs.js'; import 'classmentors/components/classmentors/classmentors.specs.js'; import 'classmentors/components/service-card/service-card.specs.js'; // import 'classmentors/componen...
/** * Created by alexmadrzyk on 1/29/17. */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="...
/*! * FileInput Hungarian Translations * * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or * any HTML markup tags in the messages must not be converted or translated. * * @see http://github.com/kartik-v/bootstrap-fileinput * * NOTE: this file must be saved in UTF-8 encoding. */ (func...
var searchData= [ ['nome',['Nome',['../class_nome.html',1,'']]] ];
'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": [ "a.\u00a0m.", "p.\u00a0m." ], "DAY": [ "domi...
export {default as ActionAccessibility} from './action/accessibility'; export {default as ActionAccessible} from './action/accessible'; export {default as ActionAccountBalanceWallet} from './action/account-balance-wallet'; export {default as ActionAccountBalance} from './action/account-balance'; export {default as Acti...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("a11yhelp","sl",{title:"Navodila za dostopnost",contents:"Vsebina pomoči. Če želite zapreti pogovorno okno, pritisnite ESC.",legend:[{name:"Splošno",i...
import Helper from './_helper'; import { module, test } from 'qunit'; module('Integration | ORM | Has Many | Named | instantiating', function(hooks) { hooks.beforeEach(function() { this.helper = new Helper(); this.schema = this.helper.schema; }); test('the parent accepts a saved child id', function(asse...
var format = require('util').format; var css2str = require('css2str'); var cleancss = require('clean-css'); var commonParser = require('./common'); exports.init = function(grunt) { return commonParser.init(grunt, { type: 'css', factoryParser: css2js }); }; exports.css2js = function(code, id, options, fileO...
import isArrayEqual from '../util/isArrayEqual' import Coordinate from './Coordinate' /* Adapter for Coordinate oriented implementations. E.g. Coordinate transforms can be applied to update selections using OT. @internal */ class CoordinateAdapter extends Coordinate { constructor(owner, pathProperty, offse...
import request from 'ROOT_SOURCE/utils/request' import { CURRENT_PAGE, PAGE_SIZE, TOTAL, RESPONSE_DESTRUST_KEY, RESPONSE_LIST_DESTRUST_KEY } from 'ROOT_SOURCE/base/BaseConfig' import { MOD_PREFIX } from '../constants' export const LIST__UPDATE_FORM_DATA = `${MOD_PREFIX}__LIST__UPDATE_FORM_DATA` export cons...
import React from 'react' import warning from './routerWarning' import invariant from 'invariant' import { createRouteFromReactElement } from './RouteUtils' import { component, components, falsy } from './InternalPropTypes' const { func } = React.PropTypes /** * An <IndexRoute> is used to specify its parent's <Route...
import parser from 'css'; // TODO: (tchen) this file hasn't been finished. /** * Use all kinds of rules to transform HTML file. */ class CssProcessor { constructor(doc) { this._doc = doc; this._ast = undefined; this._css = ''; this._rules = []; } /** * Register a new rule * * @param ...
class ModelUsers extends RocketChat.models._Base { constructor() { super(...arguments); this.tryEnsureIndex({ 'roles': 1 }, { sparse: 1 }); this.tryEnsureIndex({ 'name': 1 }); this.tryEnsureIndex({ 'lastLogin': 1 }); this.tryEnsureIndex({ 'status': 1 }); this.tryEnsureIndex({ 'active': 1 }, { sparse: 1 })...
function render() { const ul = <ul>{lis.map((li) => { return <li /> })}</ul>; return <root>{ul}</root>; }
var webpack = require('webpack'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var devFlagPlugin = new webpack.DefinePlugin({ __DEV__: JSON.stringify(JSON.parse(process.env.DEBUG || 'false')) }); module.exports = { entry: [ './js/index.js' ], output: { path: __dirname + '/static/', ...
/* * @package jsDAV * @subpackage CardDAV * @copyright Copyright(c) 2013 Mike de Boer. <info AT mikedeboer DOT nl> * @author Mike de Boer <info AT mikedeboer DOT nl> * @license http://github.com/mikedeboer/jsDAV/blob/master/LICENSE MIT License */ "use strict"; var jsCardDAV_iBackend = require("./../interfaces/iB...
version https://git-lfs.github.com/spec/v1 oid sha256:2a2b3dd9a94dffa9096c9d624c2b8f3ff1ea597cadbc30c4312d35d25d95c2af size 490
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _AX6Util = require("../AX6Util"); var _AX6Util2 = _interopRequireDefault(_AX6Util); var _AX6Mustache = require("../AX6Mustache"); var _AX6Mustache2 = _interopRequireDefault(_AX6Mustache); function _interopRequireDefault(obj) { retu...
define(['./unique', './filter', './some', './contains'], function (unique, filter, some, contains) { /** * Return a new Array with elements that aren't present in the other Arrays. */ function difference(arr) { var arrs = Array.prototype.slice.call(arguments, 1), result = filter(unique(arr), f...
/*! * reveal.js * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2016 Hakim El Hattab, http://hakim.se */ (function( root, factory ) { if( typeof define === 'function' && define.amd ) { // AMD. Register as an anonymous module. define( function() { root.Reveal = factory(); return root.Re...
var express = require('express'); var app = express(); app.use('/', express.static(__dirname + '/src', { maxAge: 31536000000 })); app.listen(process.env.PORT || 3000); console.log("Server running ...");
/** * Populate an association * GET /:model/:parentId/:relation * GET /:model/:parentId/:relation/:id * * Expand response with populated data from relations in models. */ module.exports = require('sails/lib/hooks/blueprints/actions/populate');
/*global tarteaucitron */ tarteaucitron.lang = { "middleBarHead": "☝ 🍪", "adblock": "Merhaba! Bu site şeffaflıkla oynar ve size etkinleştirilecek üçüncü taraf hizmetleri seçeneği sunar.", "adblock_call": "Kişiselleştirmeye başlamak için lütfen reklam engelleyicinizi devre dışı bırakın.", "reload": "Sa...
if(!dojo._hasResource["dojox.dtl.utils.date"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojox.dtl.utils.date"] = true; dojo.provide("dojox.dtl.utils.date"); dojo.require("dojox.date.php"); dojox.dtl.utils.date.DateFormat = function(/*String*/ format){ d...
/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */ import * as React from 'react'; import * as ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import ownerDocument from '../utils/ownerDocument'; import useForkRef from '../utils/useForkRef'; /** * @ignore - internal component. *...
CKEDITOR.plugins.setLang("docprops","sv",{bgColor:"Bakgrundsfärg",bgFixed:"Fast bakgrund",bgImage:"Bakgrundsbildens URL",charset:"Teckenuppsättningar",charsetASCII:"ASCII",charsetCE:"Central Europa",charsetCR:"Kyrillisk",charsetCT:"Traditionell Kinesisk (Big5)",charsetGR:"Grekiska",charsetJP:"Japanska",charsetKR:"Kore...
suite('ViewQueue', function() { setup(function(){ wdi.Debug.debug = false; //disable debugging, it slows tests }); suite('#getLength()', function() { test('Should return 0 for empty queue', function() { var q = new wdi.ViewQueue(); assert.strictEqual(q.getLength(), 0); }); }); suite('#push()', ...
version https://git-lfs.github.com/spec/v1 oid sha256:138071c9db4b470525a8ede2b8dd26a4a62cca564c6a50323d1590d010a5a8ae size 725
var expect = this.chai.expect; describe('Views.Page', function () { var model; var view; before(function () { model = new Backbone.Model({ message: 'Hello world' }); view = new Application.Views.Page({ model: model, template: _.template('<span>{{me...
steal('funcunit/qunit','jquery/lang/observe',function(){ module('jquery/lang/observe/delegate') var matches = $.Observe.prototype.delegate.matches; test("matches", function(){ equals( matches(['**'], ['foo','bar','0']) , 'foo.bar.0' , "everything" ); equals( matches(['*.**'], ['foo']) , null , "everythin...
/** * Collection: Administrators of a Dashboard * */ var Users = require('./Users'), User = require('./User'); module.exports = Users.extend({ model: User, idAttribute: "_id", url: function(){ return hackdash.apiURL + '/' + this.domain + '/admins'; }, addAdmin: function(userId){ $.ajax({ ...
import React, { useEffect } from 'react'; import Header from '../../../components/Header'; import { useEndpoint } from '../../../contexts/ServerContext'; import { AsyncStatePhase, useAsyncState } from '../../../hooks/useAsyncState'; import ParentRoom from './ParentRoom'; const ParentRoomWithEndpointData = ({ rid }) =...
// Write a function that returns the specified string in uppercase // Parameter S is a String. function uppercase(s) { var result = s.toUpperCase(); return result; } module.exports = uppercase;
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
import r from 'restructure'; // An array of predefined values accessible by instructions export default new r.Struct({ controlValues: new r.Array(r.int16) });
var axon = require('..') , should = require('should'); var req = axon.socket('req') , rep = axon.socket('rep'); req.bind(4000); rep.connect(4000); rep.on('message', function(msg, reply){ reply('got "' + msg + '"', function(){ req.close(); rep.close(); }); }); req.send('hello');