code
stringlengths
2
1.05M
/** * Manages uploading and streaming of video files. * * @module video */ 'use strict'; var fs, uploadPath, supportedTypes; fs = require('fs'); uploadPath = __dirname + '/../../public/games'; console.log("uploadPath:", uploadPath); supportedTypes = [ 'video/mp4', 'video/webm', 'video/ogg' ]; module....
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
/* global describe, xit, jsPDF, expect */ /** * Standard spec tests */ describe("Module: Context2D: HTML comparison tests", () => { xit("default values like a real 2d-context", () => { var doc = new jsPDF(); var ctx = doc.canvas.getContext("2d"); expect(ctx.fillStyle).toEqual("#000000"); expect(c...
/* // Scheduled Backup Launcher // Copyright (c) 2011-2015, Adam Rehn // // 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...
/*! angular-xeditable - 0.1.7 Edit-in-place for angular.js Build date: 2013-10-26 */ /* angular-xeditable module */ angular.module('xeditable', []) .value('editableOptions', { theme: 'default', //bs2, bs3, buttons: 'right', blur: 'cancel' }); /* Angular-ui bootstrap datepicker http://angular-ui.github.io/boots...
/** * @file Ingress-ICE, common utilities, not related to Google/Niantic * @license MIT */ /*global version */ /*global phantom */ /** * console.log() wrapper * @param {String} str - what to announce */ function announce(str) { console.log(getDateTime(0) + ': ' + str); } /** * Returns Date and time * @param {numbe...
"use strict"; var AbstractView = require('./abstract'), util = require('util'), Inflector = require('../inflector/inflector'); /** * This is the main view object. * Which is also used by default. * * @class ViewJson * @extends AbstractView * @param {Object} config The config object ...
window.onload=function() { document.getElementById("meetup-login").addEventListener("click", function () { window.location = TWIG.logoutUrl; }); }
const a = []; export default a;
function preLoad() { if (!this.support.loading) { alert("You need the Flash Player to use SWFUpload."); return false; } else if (!this.support.imageResize) { alert("You need Flash Player 10 to upload resized images."); return false; } } function loadFailed() { alert("Something went wrong while loa...
/** * Welcome to your Workbox-powered service worker! * * You'll need to register this file in your web app and you should * disable HTTP caching for this file too. * See https://goo.gl/nhQhGp * * The rest of the code is auto-generated. Please don't update this file * directly; instead, make changes to your Wor...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M8.14 9.3l-1.01 2.89h2.09L8.2 9.3z" /><path d="M22.42 8c-.27 0-.51.19-.57.45l-1.1 4.65h-.06l-1.33-4.57c-.09-.31-.38-.53-.71-.53-.32 0-.61.21-.7.52l-1.4 4.59h-.05l-1.1-4.66c-.06-.2...
(function() { mw.loader.using(['jquery', 'oojs-ui', 'mediawiki.util', 'mediawiki.api'], function() { if ($.inArray('合理使用理據待檢查影像', mw.config.get('wgCategories')) === -1) { return; } function mark() { var templates = [ 'Euro coin copyright tag', ...
window.fbAsyncInit = function() { FB.init({ appId : '667375806717283', xfbml : true, version : 'v2.2' }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "//connect.facebook.ne...
define(function (require, exports, module) { 'use strict'; /*global tinymce:true */ (function() { tinymce.create('tinymce.plugins.BBCodePlugin', { init : function(ed) { var self = this, dialect = ed.getParam('bbcode_dialect', 'punbb').toLowerCase(); ed.on('beforeSetContent', function(e) { e.content = ...
var webpack = require("webpack"); var path = require("path"); var autoprefixer = require("autoprefixer"); module.exports = { context: __dirname, entry: { "application": "./assets/application.js", "application_server": "./assets/application_server.js" }, output: { path: path.join(__dirname, "public/...
import { Button, Card, Icon, Image as ImageComponent, Item, Label } from 'semantic-ui-react'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; class CarsItem extends Component { constructor(props) { super(props); this.handleClick = this.handleClick.bind(this); // this.handleAddCli...
module.exports = function (pages, done) { pages.forEach(function (val, key) { if (key - 1 > -1) { pages[key].next = pages[key - 1] } if (key + 1 < pages.length) { pages[key].previous = pages[key + 1] } }) done(null, pages) }
var find = require('dom-select'); var EVENT = require('../../../model/model').socketEvents; var SERVERNAME = window.location.origin; var Cookies = require('cookies-js'); var Import = require('./shapes/Import'); module.exports = function(io, framework, AppState){ var curSession = window.location.href; curSession = ...
module.exports = { endpoint: "http://example.com" }
const os = require('os'); const shelljs = require('shelljs'); const nixt = require('nixt'); const cliPath = `${__dirname}/../node_modules/.bin/yo`; const tmpDir = `${os.tmpdir()}/generator-angular-lib-test`; describe('generator', () => { it('should run successfully', done => { console.info('Testing generator in...
import {combineReducers} from 'redux'; import {routeReducer} from 'redux-simple-router'; import users from './users'; import app from './app'; import files from './files'; import data from './data'; export default combineReducers({ routing: routeReducer, app, users, files, data });
import path from 'path'; import baseConfig from './base.config'; export default baseConfig({ input: { app: [path.join(__dirname, '../src/web/index')] }, output: { path: path.join(__dirname, '../build/electron/js') }, globals: { 'process.env': { NODE_ENV: '"production"' } } });
(function() { var LineBuffer, Stream, async, exec, fs, getUserShell, parseEnv, path, spawn, __hasProp = Object.prototype.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ct...
!function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var e={};return n.m=t,n.c=e,n.p="",n(0)}([function(t,n,e){"use strict";e(4),function(t,n,e){function r(n,r){var s=arguments.length>2&&arguments[2]!==e?arguments[2...
import controller from './upArrow.controller' export default function upArrow(){ return { restrict: 'EA', scope: { }, template: require("./upArrow.tpl.html"), controller: controller.UID, controllerAs: "vm", bindToController: true, link: (scope, el, attr, ctrl) => { } } }
// layout defaults var LayoutDefaults = { 'lineHeight': 1.2, 'margin': .5, 'pageWidth': 8.5, 'pageHeight': 11, 'transpose': 0, 'capo': 0, 'flats': false, 'fontSize': 14, 'fontFiles': { 'regular': 'fonts/OpenSans/OpenSans-Regular.ttf', 'bold': 'fonts/OpenSans/OpenSans-Bold.ttf' }, // song i...
'use strict'; module.exports = function(app) { var users = require('../../app/controllers/users.server.controller'); var trips = require('../../app/controllers/trips.server.controller'); // Trips Routes app.route('/trips') .get(trips.list) .post(users.requiresLogin, trips.create); app.route('/trips/:tripId'...
version https://git-lfs.github.com/spec/v1 oid sha256:6c9c8a94f3233ce93cf461951456edee840d47380250675151562b842bded867 size 21793
'use strict'; (function () { var BASE64_MARKER = ';base64,'; function convertDataURIToBinary(dataURI) { var base64Index = dataURI.indexOf(BASE64_MARKER) + BASE64_MARKER.length; var base64 = dataURI.substring(base64Index); var raw = window.atob(base64); var rawLength = raw.leng...
var helpers = require('../../helpers'); module.exports = function(context, stepInfo) { var img = context.processedImage; helpers.dimension.resolveStep(img, stepInfo); if (stepInfo.width < 1 || stepInfo.height < 1) { // don't permit <= 0 inputs throw new Error('resize width or height cannot be <=...
define([ 'aux/ajax' ], function (Ajax) { /** * A module to perform several AJAX calls * @exports multi-ajax */ function MultiAjax () { this._ajax = new Ajax(); } /** * Return a function that can be used as a callback for the Json loading requests. * * @member...
const debug = require('debug')('app:webpack:loaders'); const env = require('../base-config/environment'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const isDev = env.isDev; const isProd = env.isProd; module.exports = () => { const rules = [{ test: /\.(js|jsx)$/, exclude: /node_modules...
import Enum from '../../lib/Enum'; export default new Enum([ 'init', 'initSuccess', 'reset', 'resetSuccess', ], 'dateTimeFormat');
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("val...
import path from 'path'; import fs from 'fs'; import test from 'ava'; import proxyquire from 'proxyquire'; import hasha from 'hasha'; import makeDir from 'make-dir'; import sinon from 'sinon'; import rimraf from 'rimraf'; // Istanbul (used by nyc to instrument the code) won't load when mock-fs is // installed. Require...
import assertString from './util/assertString'; /* Based on https://tools.ietf.org/html/rfc3339#section-5.6 */ const dateFullYear = /[0-9]{4}/; const dateMonth = /(0[1-9]|1[0-2])/; const dateMDay = /([12]\d|0[1-9]|3[01])/; const timeHour = /([01][0-9]|2[0-3])/; const timeMinute = /[0-5][0-9]/; const timeSecond = /([...
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var session = require('express-session'); var bodyParser = require('body-parser'); var multer = require('multer'); var mongoose = require('m...
'use strict'; module.exports = { db: 'mongodb://localhost/uCtrl' };
import React from "react" import Link from "gatsby-link" import Layout from "../layouts/layout" import Head from "../components/head" const AboutMe = () => { return( <Layout> <Head title="About Me" /> <h2>Ismael Melendez</h2> <br/> <p>I am a software and web...
"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")...
// #1 // function evenNumbers(array, number) { // const result = []; // for (let i = 0; i <= array.length; i++) { // if (array[i] % 2 == 0) result.push(array[i]); // } // return result.splice(result.length - number, number); // } // #2 // function evenNumbers(array, number) { // const result = []; // ...
/** * @overview The based service function. * @author Chao Wang (hit9) * @copyright 2015 Eleme, Inc. All rights reserved. */ 'use strict'; const events = require('events'); const fivebeans = require('fivebeans'); const net = require('net'); const ssdb = require('ssdb'); const Sequelize = require('sequelize');...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames); var _propTypes = require('pro...
// Generated by CoffeeScript 1.10.0 (function() { var UI_JS, VERSION, Weya, template; VERSION = 9; Weya = (require('weya')).Weya; UI_JS = ['static', 'parser', 'reader', 'nodes', 'render']; template = function() { return this.html(function() { this.head(function() { this.meta({ ...
// additional template-script require( ['jquery', 'underscore', 'backbone'], function( $, _, Backbone ) {'use strict'; var Template = Backbone.View.extend( { render : function( ) { return; }, events : {}, initialize : function( ) { _.bindAll( this, 'render' ); this.render( ); } } ); var ...
objective('Javascript', function() { it('can write singular values') // module.exports = 1 });
{ "type": "cbml", "nodes": [ { "type": "block", "pos": 0, "endpos": 101, "value": "/*<header info=\"file\">*/\n/**\n * (*<replace encoding=\"base64\">2014-10-16</replace>*)\n */\n/*</header>*/", "tag": "header", "language": "c", "attrs": { "info": "file" }...
/** * Created by Dmitry_Fisenko on 12/21/13. */ exports.get = function(req, res){ res.render('frontpage'); };
'use strict'; angular.module('ngTextcomplete', []) /** * Utils. */ .factory('utils', [ function() { /** * Exclusive execution control utility. */ function lock(func) { var free, locked, queuedArgsToReplay; free = function(...
/** * @author Toru Nagashima * @copyright 2017 Toru Nagashima. All rights reserved. * See LICENSE file in root directory for full license. */ 'use strict' /* This script updates `lib/index.js` file from rule's meta data. */ const fs = require('fs') const path = require('path') const eslint = require('eslint') con...
require("system/application_ext"); require("adapters");
version https://git-lfs.github.com/spec/v1 oid sha256:0a181475c9a61a28e1cc32f92a97386ba3176bb08ee096c15d73666f25fe2dd9 size 1038
window.addEventListener('load', () => { setTimeout(() => { window.location.replace('/pages/level.html'); }, 1000); });
(function () { 'use strict'; angular .module('cards') .controller('CardsController', CardsController); CardsController.$inject = ['$scope', '$state', 'cardResolve', '$window', 'Authentication']; function CardsController($scope, $state, card, $window, Authentication) { var vm = this; vm.card ...
module.exports = { env: { es6: true }, parserOptions: { ecmaVersion: 6, sourceType: 'module' }, plugins: [ 'import' ], settings: { 'import/resolver': { node: { extensions: ['.js', '.json'] } }, 'import/extensions': [ '.js', '.jsx', ], 'i...
// import { // createStore, // compose, // combineReducers, // } from 'redux'; // import { routerReducer } from 'react-router-redux'; // import DevTools from 'containers/DevTools'; // import env from 'util/env'; // import reducers from './reducers'; // console.log(env); // const finalCreateStore = compose( // /...
import {fetch, Request, Response, Headers, Promise} from '../core/Externals'; import * as utils from '../core/Utils'; /** * Creates a response * @param stringBody * @param init * @return {Response} */ export function createResponse(stringBody, init) { init = init || {}; var response = new Response(strin...
var assert = require('assert'); var sinon = require('sinon'); var evently = require('../index'); describe('evently', function () { describe('Dispatcher', function () { describe('#once', function () { it('should fire once', function () { var dispatcher = new evently.Dispatcher()...
var nb = require("./"); var server = new nb.VimServer({ debug: false }); server.on("clientAuthed", function (vim) { vim.on("newBuffer", function (buffer) { buffer.startDocumentListen(); buffer.setDot(0); console.log("Inserting welcome message."); buffer.insert(0, "Press control-i to insert a timestamp.\n\n")...
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not ed...
tinymce.PluginManager.add("fullpage", function (e) { function t() { var t = n(); e.windowManager.open({title: "Document properties", data: t, defaults: {type: "textbox", size: 40}, body: [ {name: "title", label: "Title"}, {name: "keywords", label: "Keywords"}, {na...
var fs = require('fs'); var https = require('https'); var Moonboots = require('moonboots-express'); var express = require('express'); var helmet = require('helmet'); var xssFilter = require('x-xss-protection'); var frameguard = require('frameguard'); var config = require('getconfig'); var templatizer = require('templat...
$.extend({ replaceTag: function (currentElem, newTagObj, keepProps) { var $currentElem = $(currentElem); var $newTag = $(newTagObj).clone(true, true); if (keepProps) { $.each($currentElem.prop('attributes'), function () { $newTag.attr(this.name, this.value); ...
version https://git-lfs.github.com/spec/v1 oid sha256:93cb545a6a3fc34cfc50613fad541fea79e62227c3634af4854fb83bced652e2 size 2203
'use strict'; const t = require('@aso/tcomb'); const types = require('../types.js'); describe('types.EnvironmentVariable', () => { it('is a Type', () => { t.test(types.EnvironmentVariable, t.Type); }); it('allows uppercase letters and underscores', () => { t.test('SOME_VARIABLE', types.Environm...
import restRouter from '../../dist/restRouter'; import bodyParser from 'body-parser'; import express from 'express'; import supertest from 'supertest'; import {Entity, Model} from './tools'; describe('restRouter', () => { let req; let data; beforeEach(() => { data = []; let model = new Model(data); ...
import { createIterator, createIterable } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; import AsyncIterator from 'core-js-pure/features/async-iterator'; QUnit.test('AsyncIterator#flatMap', assert => { assert.expect(15); const async = assert.async(); const { flatMap } = AsyncIte...
module.exports = function(schema, options){ var getter = function(v){ return /^mongoose-$/.test(v) ? v += 'mongoosed' : v; }; var paths = options.paths; schema.pre('init', function(next, doc){ if (doc){ paths.forEach(function(p){ doc[p] = getter(doc[p]); }) } next(); }); }...
'use strict'; var express = require('express'); var router = new express.Router(); var rootRoute = router.route('foobar'); rootRoute.post(function(req, res) { problem(req.body); whileLoop(req.body); useLengthIndirectly(req.body); noNullPointer(req.body); }); function problem(val) { var ret = [...
module.exports = require('./src/transport/websocketBrowser')
'use strict'; /* global hexo */ hexo.config.uglify = Object.assign({ mangle: true, output: {}, compress: {}, exclude: '*.min.js' }, hexo.config.uglify); hexo.extend.filter.register('after_render:js', require('./lib/filter'));
// @flow import React, { Component } from 'react' import PropTypes from 'prop-types' import { ThemeProvider } from 'styled-components' import defaultTheme from './defaultTheme' class NiceUIThemeProvider extends Component { static propTypes = { children: PropTypes.element.isRequired, theme: PropTypes.object, ...
(function () { 'use strict'; angular.module('blinfo.login.internal', []); })();
var myScroll=false,yy={ sousoukey:'', resizehei:function(){ var hei= this.getheight(); var ob = this.showobj.css({'height':''+hei+'px'}); return ob; }, getheight:function(ss){ var hei = 0;if(!ss)ss=0; if(get('searsearch_bar'))hei+=45; if(get('header_title'))hei+=50; if(get('footerdiv'))hei+=50; retu...
var Q = require('../libs/q'), Marker = require('./map/Marker'), dataManager = require('../core/DataManager'), domSelector = require('../utils/domSelector'), mapContainerEl = domSelector.first(document, 'mapContainer'), hasMarkers = false, body = document.body, calculator, markers, map; var MAP_STYLE = [ { ...
(function () { "use strict"; var pageItems = [{ title: 'page 1 item 1' }, { title: 'page 1 item 2' }, { title: 'page 1 item 2' }]; WinJS.UI.Pages.define("./demos/navigation/childviewflyout/picker/page1/page1.html", { ready: function (element, options) { var page = this; thi...
define(['underscore'],function(_){ 'use strict'; var Tasks; Tasks = (function(){ var MIN_AGE = 18, MAX_AGE = 24; function filterStudentsByName(studnets){ var result = _.chain(studnets) .filter(function(student){return student.firstName.toLowerCase() <...
var Type = require("@kaoscript/runtime").Type; module.exports = function() { class Foo { constructor() { this.__ks_init(); this.__ks_cons(arguments); } __ks_init() { } __ks_cons_0(foo) { if(arguments.length < 2) { throw new SyntaxError("Wrong number of arguments (" + arguments.length + " for 2)"...
var io = require('socket.io')(8008); var TwitterStreamChannels = require('twitter-stream-channels'); var credentials = require('./twitter.credentials.json'); var timeout = 500000; var client = new TwitterStreamChannels(credentials); var connected = false; var channels = { "dev" : ['javascript','nodejs','jquery...
define(['app', 'text!./resource-mobilisation.html', "lodash"], function(app, template, _){ app.directive('viewResourceMobilisation', [function () { return { restrict : 'E', template : template, replace : true, transclude : false, scope: { document: "=ngModel", locale : "=", target : "@link...
/// <reference path='./Scripts/DlhSoft.ProjectData.PertChart.HTML.Controls.d.ts'/> var NetworkDiagramView = DlhSoft.Controls.Pert.NetworkDiagramView; // Query string syntax: ?theme // Supported themes: Default, Generic-bright, Generic-blue, DlhSoft-gray, Purple-green, Steel-blue, Dark-black, Cyan-green, Blue-navy, Oran...
/** * React Static Boilerplate * https://github.com/kriasoft/react-static-boilerplate * * Copyright © 2015-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; ...
/** * Created by 9simezi on 2017/08/29. */ import firebase from 'firebase'; export async function getIdols() { const db = firebase.database(); const idolRef = db.ref('/idols/'); const idolsObj = await idolRef.once('value'); const temp = []; idolsObj.forEach((idol) => { temp.push(idol.val()); }); r...
import React from 'react'; import styles from './folderTreeCSS.css' class EditableName extends React.Component { static propTypes = { filename: React.PropTypes.string.isRequired, setMyName: React.PropTypes.func.isRequired, selected: React.PropTypes.number.isRequired, }; constructor(props) { super(prop...
'use strict'; /** * app.js * * Use `app.js` to run your app without `sails lift`. * To start the server, run: `node app.js`. * * This is handy in situations where the sails CLI is not relevant or useful. * * For example: * => `node app.js` * => `forever start app.js` * => `node debug app....
/* * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ * Version: 0.13.1-SNAPSHOT - 2015-07-13 * License: MIT */ angular.module("ui.bootstrap", ["ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.da...
/** * Trailpack Configuration * * @see {@link http://trailsjs.io/doc/trailpack/config} */ module.exports = { lifecycle: { configure: { listen: [ ] } } }
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), errorHandler = require('./errors.server.controller'), Helpline = mongoose.model('Helpline'), _ = require('lodash'); /** * Create a Helpline */ exports.create = function(req, res) { var helpline = new Helpline(req.body); helpline....
'use strict'; /* Controllers */ var dnmtControllers = angular.module('dnmtControllers', []); dnmtControllers.controller('SessionCtrl', ['$scope', 'Server', function($scope, Server) { /* 1. If not logged in and cookie auth, show login form 2. If not logged in and not cookie auth, show login link 3. If log...
import { AppRegistry } from 'react-native'; import PostersGaloreAndroid from './src/containers/App'; AppRegistry.registerComponent('Posters_Galore_Android', () => PostersGaloreAndroid);
/*** METEOR ACCOUNTS ***/ if (Accounts.emailTemplates) { Accounts.emailTemplates.siteName = 'My Budget'; Accounts.emailTemplates.from = 'My Budget <no-reply@mybudget.com>'; Accounts.emailTemplates.resetPassword.subject = function(user, url) { return 'Recupera tu contraseña'; }; Accounts.emai...
#!/usr/bin/env node require('../lib/lispy').run();
// This is a manifest file that'll be compiled into including all the files listed below. // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically // be included in the compiled file accessible from http://example.com/assets/application.js // It's not advisable to add code directl...
$package("org.mathdox.formulaeditor"); $identify("org/mathdox/formulaeditor/EventHandlerLocal.js"); $main(function(){ org.mathdox.formulaeditor.EventHandlerLocal = $extend(Object, { initialize : function(element) { // save the 'this' pointer so that it can be used in the event handlers var han...
var container = {};(function() { var dfs = {"am_pm":["f.h.","e.h."],"day_name":["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],"day_short":["sun","mán","þri","mið","fim","fös","lau"],"era":["fyrir Krist","eftir Krist"],"era_name":["fyrir Krist","eftir Krist"],"month_na...
// Copyright 2018-2021, University of Colorado Boulder /** * ParallelDOM tests * * @author Sam Reid (PhET Interactive Simulations) */ import PDOMUtils from './PDOMUtils.js'; QUnit.module( 'AccessibilityUtilsTests' ); // tests QUnit.test( 'insertElements', assert => { const div1 = document.createElement( 'div...
'use strict' var chalk = require('chalk') var util = require('util') var map = require('../lib/common/array/map') var newLine = '\n' exports.warn = function (x, y, z) { return helper('yellow', x, y, z) } exports.log = function (x, y, z) { return helper('green', x, y, z) } exports.info = function (x, y, z) { return h...
var should = require('should'), testUtils = require('../../utils'), sequence = require('../../../server/lib/promise/sequence'), _ = require('lodash'), // Stuff we are testing AppModel = require('../../../server/models/app').App, context = testUtils.context.admin; describe('App Model', function...
module.exports = 'STYLE_MODULE';