code
stringlengths
2
1.05M
const assertion = require('./assertion.js'); const AssertionRunner = require('./assertion-runner.js'); const AssertionError = require('./assertion-error.js'); module.exports = assertion; module.exports.AssertionRunner = AssertionRunner; module.exports.AssertionError = AssertionError;
/** * Posts * _id * categoryId String * title String 1..100 * * content * version "1.0" * texts Array of String * images { _id, url, surl } * videos { _id, url, surl } * draft * title Strin...
/** * Stores the state of the Auto-Woot setting * @module settings/AutoWootToggle */ /** * AutoWoot setting constructor * @constructor * @param {object} toggler - The Toggle API used to keep track of state. */ function AutoWoot( toggler, userId ){ this.toggler = toggler; this.userId = userId; this.localStora...
/* Modernizr 2.7.1 (Custom Build) | MIT & BSD * Build: http://modernizr.com/download/#-backgroundsize-opacity-generatedcontent-csstransforms-csstransforms3d-csstransitions-input-inputtypes-printshiv-cssclasses-addtest-teststyles-testprop-testallprops-prefixes-domprefixes-css_backgroundsizecover-css_boxsizing-forms_pla...
//>>built define("dojo/_base/lang dojo/_base/event dijit/form/_Spinner dojo/keys dojo/date dojo/date/locale dojo/date/stamp dojo/_base/declare".split(" "),function(e,f,g,c,h,d,k,l){return l("dojox.form.TimeSpinner",g,{required:!1,adjust:function(a,b){return h.add(a,"minute",b)},isValid:function(){return!0},smallDelta:5...
"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")...
/* * * * Highcharts Drilldown module * * Author: Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from '../parts/Globals.js'; /** * Gets fired when a drilldown point is clicked, before the new...
define(function(require) { var $ = require('$'), Widget = require('./Widget'); /** * Type that shows/hides a loading indicator * @class lavaca.ui.LoadingIndicator * @extends lavaca.ui.Widget * * @constructor * @param {jQuery} el The DOM element that is the root of the widget */ var L...
"use strict"; module.exports = isString; function isString(o) { return typeof o == "string" || (typeof o == "object" && o.constructor === String); }
describe('VolumesController', function () { var $scope, $httpBackend, $routeParams; beforeEach(module('uifordocker')); beforeEach(inject(function (_$httpBackend_, $controller, _$routeParams_) { $scope = {}; $httpBackend = _$httpBackend_; $routeParams = _$routeParams_; $contr...
/* * This file implements a subset of the QUnit functions/features to allow * running simple QUnit tests in Node.JS. * * Copyright (c) 2009 Borgar Þorsteinsson * Licensed under the terms of the MIT (LICENSE.txt) software license. * */ // the files to load for the test, test itself last: var files = [ 'date...
import { put, select, takeEvery, all } from 'redux-saga/effects'; import { getParams, contractOfSymbol } from './SagaSelectors'; import { updateMultipleTradeParams, updateTradeError } from '../../_actions'; import changeBarrier from '../updates/changeBarrier'; import { subscribeProposal, unsubscribeProposal } from './P...
// $(function() { // if( !Modernizr.csstransforms3d ) // $('#message').show(); // });
'use strict'; module.exports = require('./create-complete')(require('es6-map/primitive'));
const Conflict = require('./conflict.js'); const ConflictFlow = require('./gamesteps/conflict/conflictflow.js'); const { Locations } = require('./Constants'); class MenuCommands { static cardMenuClick(menuItem, game, player, card) { switch(menuItem.command) { case 'bow': if(card...
/** * registration-contacts.model.dev.js * * @package RegistrationContactsModel * @category Model * @version 1.0 * @author Ricky Hurtado <ricky@aelogica.com> */ define([], function() { /** * Init RegistrationContactsModel class */ var RegistrationContactsModel = Backbone.Model.e...
var interaction = require('../../../fixtures/v3/search/interaction.json') exports.interaction = function (req, res) { return res.json(interaction) }
var fs = require("fs"); var prompt = require("prompt"); var builder = require("xmlbuilder"); //Public function to write xml file. function json_to_xml_writer(fileName, studentArray, xmlFileWriterCallback) { try { if(fileName == "" ) { return xmlFileWriterCallback(null, "FileName not provi...
; (function() { ace.require(["ace/snippets/mysql"], function(m) { if (typeof module == "object" && typeof exports == "object" && module) { module.exports = m; } }); })();
import React, { PureComponent } from 'react'; import { PieChart, Pie, Sector, Cell, ResponsiveContainer } from 'recharts'; const data = [ { name: 'Group A', value: 400 }, { name: 'Group B', value: 300 }, { name: 'Group C', value: 300 }, { name: 'Group D', value: 200 }, { name: 'Group E', value: 278 }, { na...
/** @jsx h */ import h from '../../helpers/h' export const schema = {} export const state = ( <state> <document> <paragraph /> </document> </state> ) export const output = ` <div data-slate-editor="true" contenteditable="true" role="textbox"> <div style="position:relative"> <span> <spa...
"use strict"; var angular = require("angular"); module.exports = function () { /* @ngInject */ angular.module("app.event") .config(configure); function configure($stateProvider, $urlRouterProvider) { $stateProvider .state("home", { url: "/home", controller: "CreateEventController"...
//Copyright© 2000 NEOSYS Software Ltd. All Rights Reserved.//**Start Encode**// /* function getdepartments_old() { db.request = 'EXECUTE\rGENERAL\rGETDEPTS' if (!db.send()) return neosysinvalid(db.response) gdepartments = db.data } */ var gdepartments = '' var gdepts//0=deptids, 1=deptnames, 2=deptusernames ...
const fs = require('fs'); const path = require('path'); const installOrRebuild = require('electron-builder/out/util/yarn').installOrRebuild; const printErrorAndExit = require('builder-util/out/promise').printErrorAndExit; const root = process.cwd(); const rootPackage = require(path.join(root, 'package.json')); const ...
/* YUI 3.7.2 (build 5639) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('attribute-extras', function (Y, NAME) { /** * The attribute module provides an augmentable Attribute implementation, which * adds configurable attributes a...
/** * Credit for this integrated aja.js api goes to: * Bertrand Chevrier <chevrier.bertrand@gmail.com> */ define('ajax', [], function(){ /** * supported request types. * TODO support new types : 'style', 'file'? */ var types = ['html', 'json', 'jsonp', 'script']; /** * supporte...
// flow-typed signature: ec45d545b636d49c4f9467620bbf9955 // flow-typed version: <<STUB>>/gulp-postcss_v^6.2.0/flow_v0.36.0 /** * This is an autogenerated libdef stub for: * * 'gulp-postcss' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with ...
/** * @file Хост. Шаблоны страниц. Базовый. Redux. Компонент. * @author Maxim Kuzmin * @copyright MIT License. Copyright (c) 2017 Maxim Kuzmin. Contacts: https://github.com/maxim-kuzmin */ import { connect } from 'react-redux' import React, { Component, PropTypes } from 'react' import HostControlMenuComponent fr...
/// <reference path="~/lib/d3.js" /> /*globals $, d3 */ /*jslint browser: true, vars: true, indent: 2 */ (function () { window.createChannel = function(application, caseId, travelerId) { var observersPerEvent = {placeUpdated: [], presenceUpdated: []}; var standOff = 100; var ws = null; var ready = ...
/* * Copyright 2016 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ define(['underscore'], function(_) { return { promotions: _.constant(false), waitForIndexes: function(queryModel) ...
var la_cucaracha = '- - C C - C C - C C - F F F F - A A A A - -', RoverLogger = function RoverLogger() { }; RoverLogger.prototype.forward = function forward() { console.log('forward'); }; RoverLogger.prototype.backward = function backward() { console.log('backward'); }; RoverLogger.prototype.right = ...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
define("torabot/danbooru/0.1.0/danbooru-debug", [ "main/completion-debug" ], function(require, exports, module) { var self = { activated: function() { return self.completion.activated(); }, activate: function() { return self.completion.activate(); }, d...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2019 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var GetMagnitude = require('./GetMagnitude'); /** * Changes the magnitude (length) of a two-dimensional vector without changing its direction....
module.exports={A:{A:{"2":"H D G E A B EB"},B:{"1":"p x J L N I","2":"C"},C:{"1":"0 1 2 3 4 5 6 8 9 L N I O P Q 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":"ZB BB F K H D G E A B C p x J XB RB"},D:{"1":"0 1 2 3 4 5 6 8 9 G E A B C p x J L N I O P Q R S T U V W X Y Z b c d e f g h i j k l m n o ...
var searchData= [ ['getalert',['getAlert',['../a00001.html#a610f7ba8c5c700f892ed7d83cc32425f',1,'SeleniumTestCaseDoc.php']]], ['getallbuttons',['getAllButtons',['../a00001.html#af676702b5d2fe2b71b060e365946db3e',1,'SeleniumTestCaseDoc.php']]], ['getallfields',['getAllFields',['../a00001.html#a9fc25f3ca3971583e9a1...
export default 'unused';
module.exports = require("./src/exec-sync.js");
RocketChat.models.Subscriptions.updateAudioNotificationById = function(_id, audioNotification) { const query = { _id }; const update = { $set: { audioNotification } }; return this.update(query, update); }; RocketChat.models.Subscriptions.updateDesktopNotificationsById = function(_id, desktopNotificatio...
// // BitGo object augmented for testing // // Copyright 2014, BitGo, Inc. All Rights Reserved. // var BitGo = require('../../src/bitgo.js'); BitGo.TEST_USER = 'tester@bitgo.com'; if (process.env.BITGOJS_TEST_PASSWORD) { BitGo.TEST_PASSWORD = process.env.BITGOJS_TEST_PASSWORD; } else { // Test accounts are lock...
(function ($) { $.extend($.materialnote.lang, { 'id-ID': { font: { bold: 'Tebal', italic: 'Miring', underline: 'Garis bawah', clear: 'Bersihkan gaya', height: 'Jarak baris', strikethrough: 'Coret', size: 'Ukuran font' }, image: { im...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM4 6h9v7H4z" }), 'FeaturedVideoOutlined');
"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")...
// // IE if (navigator.appName.indexOf("Internet Explorer") !== -1) { // IE 8, OK! if (navigator.appVersion.indexOf("MSIE 8") !== -1) { Element.prototype.addEventListener = function (name, callback) { this.attachEvent('on' + name, callback); } // Test it on IE 7 // IE 6 ? I don't know. } else ...
/// <reference path="/Areas/Umbraco/Scripts/Umbraco.System/NamespaceManager.js" /> /// <reference path="/Areas/Umbraco/Modules/UmbracoTabs/UmbracoTabs.js" /> Umbraco.System.registerNamespace("Umbraco.Editors.InsertMacroEditor"); (function ($, Base) { Umbraco.Editors.InsertMacroEditor.InsertMacro = Base.extend({...
// execute this on the youtube channel page with the streaming tab active let linksSelector = '.feed-item-main-content .yt-lockup-title a'; let agendaUrl = 'https://www.koliseo.com/events/codemotion-madrid/r4p/5753906952929280/agenda/'; // Tracks 1 y 4 de ambos días let streamingTracks = [5651286326247424, 51694583729...
module.exports = { "extends": "airbnb", "plugins": [ "import" ], "rules": { "one-var": 0, "no-underscore-dangle": "off", "arrow-body-style": ["warn", "as-needed"], "function-paren-newline": ["warn", "consistent"], }, "globals": { "document": 1, "localStorage": ...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
const Ractive = require('ractive'); const $ = require('../util'); const { config, EVENT } = require('../services'); const RadialProgress = require('./radial-progress'); const template = ` {{#buttons}} <a href="#" class="nav-btn nav-{{id}}" class-active="activeSection === id" title="{{title}}" on-click="onClick"> ...
window.SJ.module('default', function(sj) { "use strict"; return { start : function() { alert("Welcome to sj.js\nI hope you will enjoy it!"); } }; });
var aurelia_route_recognizer_1 = require('aurelia-route-recognizer'); var navigation_context_1 = require('./navigation-context'); var navigation_instruction_1 = require('./navigation-instruction'); var nav_model_1 = require('./nav-model'); var router_configuration_1 = require('./router-configuration'); var util_1 = req...
/** * @callback Phaser.Types.Tweens.TweenOnStopCallback * @since 3.24.0 * * @param {Phaser.Tweens.Tween} tween - The tween. * @param {array} targets - The tween targets. * @param {...any} param - Any value passed in `onStopParams`. */
/* Copyright (c) 2004-2011, 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 */ //>>built define("dojo/_base/kernel",["../has","./config","require","module"],function(d,h,k,c){var g,b;g=function(){return ...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.17/esri/copyright.txt for details. //>>built define("esri/srUtils",["./SpatialReference","./ImageSpatialReference","./kernel","./sniff","dojo/_base/lang"],function(e,f,g,h,k){function c(a){var b=!1;if(a&&(a.ic...
// Copyright 2015-2021 JC Fisher import parsebool from "./parsebool"; import parsedate from "./parsedate"; export default function days360(start_date, end_date, method) { method = parsebool(method); start_date = parsedate(start_date); end_date = parsedate(end_date); if (start_date instanceof Error) { ret...
// Define Dependencies var gulp = require('gulp') var rsync = require('gulp-rsync') var config = require('../../config').rsync // Deploy Rsync (gulp deploy:rsync) gulp.task('deploy:rsync', ['build:production'], function () { return gulp.src(config.src) .pipe(rsync(config.options)) })
/* * * * (c) 2010-2019 Torstein Honsi * * Extenstion for 3d axes * * 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 extend = U.extend, pick...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _ty...
"use strict";function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function _defineProperty(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.de...
const React = require('react'); const Nav = require('./nav'); const samples = []; samples.push(require('./hello/hello')); samples.push(require('./matrix/matrix')); samples.push(require('./forms/book-view')); samples.push(require('./tree/tree-view')); samples.push(require('./grid/grid-view')); React.render(<Nav sample...
'use strict'; /* eslint no-unused-vars: 0 no-console: 0*/ var coms = { 'shunfeng': '顺丰', 'zhaijisong': '宅急送', 'zhongtong': '中通', 'yuantong': '圆通', 'yunda': '韵达', 'shentong': '申通', 'tiantian': '天天', 'quanfengkuaidi': '全峰', 'youshuwuliu': '优速', 'jd': '京东', 'neweggozzo': '新蛋',...
jQuery(function ($) { $('#carousel1').carousel({ interval: 2000 }); var clickEvent = false; $('#carousel1').on('click', '.nav a', function () { clickEvent = true; $('.nav li').removeClass('active'); $(this).parent().addClass('active'); }).on('slid.bs.carousel', functi...
main = { Setup: function( settings ) { this.states = [ state_title, state_about, state_game ]; audio_handler.Reset(); audio_handler.LoadAudio( "dancing_bunnies", "ogg", true ); audio_handler.LoadAudio( "suburban_dinosaur", "ogg", true ); this.currentState = this.states[0]; this.currentState.Setup( ...
/** * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'language', 'zh', { button: '設定語言', remove: '移除語言' } );
'use strict'; cApp.service( "Blockchaininfo", function($http) { //var Blockchain= function($http){ this.url='https://blockchain.info/'; //}; /* * Retrieves multiple addresses info * @param {String} Bitcoin addresses array * @param {Function} callback Function that will be called with multiAddr */ this.multiAdd...
/* * 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. */ '...
// Author: Artem Sapegin http://sapegin.me, 2015 // Jest environment setup var path = require('path'); var React = require('react/addons'); var TestUtils = React.addons.TestUtils; /** * Disable lodash memoization. */ require('lodash').memoize = function(func) { return func; }; /** * Expose React and TestUtils to...
'use strict'; import {SimState} from 'core' import Immutable from 'immutable'; import { RESIZE, SET_MOD_KEY, SHOW_TOOLBARS, HIDE_TOOLBARS, SHOW_SIDEBAR, HIDE_SIDEBAR, SELECT_SIDEBAR_ITEM, SHOW_FILE_LOADER, HIDE_FILE_LOADER, TOGGLE_TIME_CONTROL, TOGGLE_BUTTON, SET_TOOL, SET_HOTKEY, SET_CAM...
/* * 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. */ '...
enum E1 { A = 0, // B = 1, C = 2 } enum E2 of number { // AA = -1, A = 0, // B = 1, C = 2 // D = 100 } enum E3 {/*Q*/} enum E4 of /*Q*/ string { Foo = "foo" } enum E5 of string { // Q Bar = "bar" } enum /*Q*/ E6 of string {}
/* eslint-env jest */ import { join } from 'path' import cheerio from 'cheerio' import { killApp, findPort, File, nextBuild, nextStart, initNextServerScript, renderViaHTTP, waitFor, } from 'next-test-utils' const appDir = join(__dirname, '../') const nextConfig = new File(join(appDir, 'next.config.js'...
var format = require("./lib/format") var MESSAGE = "Expected %s to be exactly %d characters long" module.exports = size function size(n, message) { message = message || MESSAGE return function validate(value, key) { if (!value || value.length !== n) { return { message: format(message, ke...
import { Injectable, PipeMetadata, resolveForwardRef } from '@angular/core'; import { ReflectorReader, reflector } from '../core_private'; import { BaseException } from '../src/facade/exceptions'; import { isPresent, stringify } from '../src/facade/lang'; function _isPipeMetadata(type) { return type instanceof Pipe...
/**************************************** * 公共代码调用文件 ****************************************/ var publicUtils = { getParticipants: function (vault) { var propId = 0; var arr = md.sharedDoc.propDefs; for (var item in arr) { if (arr[item] === md.sharedDoc.propDefs.Participant...
(function() { /** * @ngdoc module * @name material.components.input */ angular.module('material.components.input', [ 'material.core' ]) .directive('mdInputContainer', mdInputContainerDirective) .directive('label', labelDirective) .directive('input', inputTextareaDirective) .directive('textarea', inputTex...
'use strict'; var React = require('react') , _ = require('../util/_'); //uniqueID module.exports = { propTypes: { disabled: React.PropTypes.oneOfType([ React.PropTypes.bool, React.PropTypes.oneOf(['disabled']) ]), readOnly: ...
asynctest( 'browser.tinymce.plugins.textpattern.UndoTextpatternTest', [ 'ephox.agar.api.GeneralSteps', 'ephox.agar.api.Logger', 'ephox.agar.api.Pipeline', 'ephox.mcagar.api.TinyActions', 'ephox.mcagar.api.TinyApis', 'ephox.mcagar.api.TinyLoader', 'tinymce.plugins.textpattern.Plugin', ...
Clazz.declarePackage ("J.g3d"); Clazz.load (null, "J.g3d.CylinderRenderer", ["JU.AU", "J.util.Shader"], function () { c$ = Clazz.decorateAsClass (function () { this.g3d = null; this.line3d = null; this.shader = null; this.colixA = 0; this.colixB = 0; this.shadesA = null; this.isScreenedA = false; this.shadesB = null; t...
'use strict'; describe('Controller: MainCtrl', function () { // load the controller's module beforeEach(module('srcApp')); var MainCtrl, scope; // Initialize the controller and a mock scope beforeEach(inject(function ($controller, $rootScope) { scope = $rootScope.$new(); MainCtrl = $controller...
/* eslint eqeqeq: 0 */ const VALID_CALLEES = ["String", "Number", "Math"]; /** * Walk the input `node` and statically evaluate if it's truthy. * * Returning `true` when we're sure that the expression will evaluate to a * truthy value, `false` if we're sure that it will evaluate to a falsy * value and `undefined`...
const _ = require('lodash'); const localUtils = require('../../../index'); const tag = (attrs, frame) => { if (localUtils.isContentAPI(frame)) { delete attrs.created_at; delete attrs.updated_at; // We are standardising on returning null from the Content API for any empty values if ...
module.exports = { description: 'use legal names for exported functions and classed (#1943)', options: { output: { name: 'bundle' } } };
/* */ 'use strict'; var ExecutionEnvironment = require("./ExecutionEnvironment"); var performance; if (ExecutionEnvironment.canUseDOM) { performance = window.performance || window.msPerformance || window.webkitPerformance; } module.exports = performance || {};
(function(){ // scroll smoothScroll.init(); // map var map = new naver.maps.Map('map', { center: new naver.maps.LatLng(37.504836, 127.027206), scaleControl: true, zoomControl: true, scrollWheel: false, mapTypeControl: true, zoom: 12 }); var marker = new naver.maps.Marker({ posi...
/*jshint quotmark: false*/ 'use strict'; var Promise = require('../../lib/ext/promise'); var assertFile = require('../helpers/assert-file'); var assertFileEquals = require('../helpers/assert-file-equals'); var conf = require('../helpers/conf'); var ember = require('../helpers/emb...
(function(angular, undefined) { 'use strict'; angular .module('bemControllers', []) .controller('ListagemController', ListagemController) .controller('DetalheController', DetalheController) .controller('IncluirController', IncluirController) .controller('AlterarControlle...
var tap = require('tap'); var tape = require('../'); var concat = require('concat-stream'); tap.test('tape only test', function (tt) { var test = tape.createHarness({ exit: false }); var ran = []; var tc = function (rows) { tt.deepEqual(rows.toString('utf8'), [ 'TAP version 13', ...
import { Directive, Input, ElementRef, ViewContainerRef, Renderer2, ComponentFactoryResolver, NgZone, forwardRef, EventEmitter, Output } from '@angular/core'; import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms'; import { NgbDate } from './ngb-date'; import { NgbDatepicker } from './datepicker'; import { N...
/** * @fileoverview 编译入口文件 * @author liweitao */ 'use strict'; var fs = require('fs'); var path = require('path'); var $ = require('gulp-load-plugins')({lazy: true}); var requireDir = require('require-dir'); var vfs = require('vinyl-fs'); var Maltose = require('maltose'); var del = require('del'); var _ = require('l...
var EventEmitter = require('events').EventEmitter , request = require('superagent') , express = require('express') , assert = require('better-assert') , app = express() , url = require('url') , https = require('https') , fs = require('fs') , key = fs.readFileSync(__dirname + '/fixtures/new.cert.key') ...
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { function a(b, c) { var d = b.lang.placeholder,e = b.lang.common.generalTab; return{title:d.title,minWidth:300,minHeight:80,contents:[ {id:'i...
define({ "searchTabTitle": "חיפוש הגדרת מקור", "routeTabTitle": "הגדרת מסלול", "add": "הוסף מקור חיפוש", "addGeocoder": "הוסף מעגן כתובות", "geocoder": "מעגן כתובות", "setLayerSource": "הגדר מקור שכבה", "setGeocoderURL": "הגדר URL של מעגן הכתובות", "searchableLayer": "שכבת יישויות", "name": "שם", "c...
var assert = require('assert'), Workspace = require('../workspace.js'); exports['given a workspace'] = { before: function(done) { this.w = new Workspace(); done(); }, 'can receive add window and remove window events': function(done) { done(); }, 'can call rearrange()': function(done){ ...
// Scrollbar Width function function getScrollBarWidth () { var inner = document.createElement('p'); inner.style.width = "100%"; inner.style.height = "200px"; var outer = document.createElement('div'); outer.style.position = "absolute"; outer.style.top = "0px"; outer.style.left = "0px"; outer.style.vis...
(function(angular) { 'use strict'; var mod = angular.module('ngFormLib.controls.formCheckbox', [ 'ngFormLib.controls.common', 'ngFormLib.controls.errorMessageContainer' ]); // INPUT: // <form-checkbox id="id" name="name" required="{{expression}}" // ff-class="span12" ff-ng-model="application...
module.exports = { path: 'assignments', getChildRoutes(location, cb) { require.ensure([], (require) => { cb(null, [ require('./routes/Assignment') ]) }) }, getComponents(nextState, cb) { require.ensure([], (require) => { cb(null, { sidebar: require('...
var aa = 'aaaaaaaa';
'use strict'; var React = require('react'); var mui = require('material-ui'); var SvgIcon = mui.SvgIcon; var ImagePhoto = React.createClass({ displayName: 'ImagePhoto', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement('path', { d: 'M21 19V5c0-...
/*! * jQuery JavaScript Library v2.1.1 -deprecated,-effects,-effects/Tween,-effects/animatedSelector * 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...
var bl = require("bl"); var should = require("should"); var MemoryFileSystem = require("../lib/MemoryFileSystem"); describe("directory", function() { it("should have a empty root directory as startup", function(done) { var fs = new MemoryFileSystem(); fs.readdirSync("/").should.be.eql([]); var stat = fs...