code stringlengths 2 1.05M |
|---|
/**
* @fileoverview 数据源
* @authors Tony Liang <pillar0514@163.com>
*/
define('mods/view/source',function(require,exports,module){
var $view = require('lib/mvc/view');
var $tpl = require('lib/kit/util/template');
var $mustache = require('lib/more/mustache');
var $dataList = require('mods/view/datalist');
var $t... |
/**
* scheduler/drainqueue.js
*/
var nextId = 1;
/**
* Generate and return a unique identifier which we attach to an object.
* The object is typically a view, model, or runlet, and is used to compare
* object references for equality using a hash Object for efficiency.
* @param {Object} obj Object to get id from... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'cy', {
alt: 'Toriad Tudalen',
toolbar: 'Mewnosod Toriad Tudalen i Argraffu'
});
|
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
(function(global) {
glo... |
자바스크립트 파일이 위치한다. |
import { deprecate } from 'ember-debug';
import calculateLocationDisplay from
'../system/calculate-location-display';
// Remove after 3.4 once _ENABLE_RENDER_SUPPORT flag is no longer needed.
export default function deprecateRenderModel(env) {
let { moduleName } = env.meta;
return {
name: 'deprecate-render-... |
/* jshint unused:vars, undef:true, browser:true, jquery:true */
;(function(global, $) {
'use strict';
var ConcreteAssetLoader = {};
ConcreteAssetLoader.getAssetURL = function (item) {
var char = (item.indexOf('?') != -1 ? '&ts=' : '?ts='),
timestamp = new Date().getTime();
ret... |
// Github: https://github.com/shdwjk/Roll20API/blob/master/Bump/Bump.js
// By: The Aaron, Arcane Scriptomancer
// Contact: https://app.roll20.net/users/104025/the-aaron
/* global GroupInitiative TokenMod */
const Bump = (() => { // eslint-disable-line no-unused-vars
const scriptName = "Bump";
const vers... |
xdescribe('Unit : Controller - ContentMediaCtrl', function () {
// load the controller's module
beforeEach(module('mediaCenterContent'));
var
ContentMedia, $rootScope, scope, $timeout, Location, $window, Buildfire, DB, COLLECTIONS, AppConfig, Messaging, EVENTS, PATHS;
beforeEach(module('mediaCente... |
import traverser from '../../traverser';
import matchDefaultExport from './matchDefaultExport';
import matchNamedExport from './matchNamedExport';
import {isFunctionExpression} from '../../utils/functionType';
import ExportNamedDeclaration from '../../syntax/ExportNamedDeclaration';
import VariableDeclaration from '../... |
/*global window, Backbone, jQuery, _ */
var app = app || {};
(function ($) {
'use strict';
app.ProjectView = Backbone.View.extend({
el: '#content',
projectViewTemplate: _.template( $('#project-view-template').html() ),
projectListTemplate: _.template( $('#project-list-template').html() ),
events: {
'c... |
import Ember from 'ember';
import InViewportMixin from 'ember-in-viewport/mixins/in-viewport';
import { module, test } from 'qunit';
module('InViewportMixin');
// Replace this with your real tests.
test('it works', function(assert) {
const InViewportObject = Ember.Object.extend(InViewportMixin);
const subject = I... |
'use strict';
var gulp = require( 'gulp' );
var gutil = require( 'gulp-util' );
var connect = require( 'gulp-connect' );
var cache = require( 'gulp-cached' );
var merge = require( 'merge-stream' );
var eslint = require( 'gulp-eslint' );
var path = r... |
/*jshint node:true*/
/*global describe, before, it, after*/
"use strict";
var fs = require("fs");
var path = require("path");
var colors = require("colors");
var cwd = process.cwd();
var nexpect = require("nexpect");
var grunt = require("grunt");
describe("grunt-modernizr", function () {
it("should find all availa... |
import {
isFinite as isFiniteNumber,
isRegExp,
isNil as isNullOrUndefined,
castArray,
} from 'lodash';
import { APIError, GeneralError } from './';
import { RUNTIME_ERRORS } from '../types';
import RequestHook from '../../api/request-hooks/hook';
import TestTimeout from '../../api/structure/test-timeou... |
define([
'./array',
'../utils',
'jquery'
], function (ArrayAdapter, Utils, $) {
function AjaxAdapter ($element, options) {
this.ajaxOptions = this._applyDefaults(options.get('ajax'));
if (this.ajaxOptions.processResults != null) {
this.processResults = this.ajaxOptions.processResults;
}
... |
var gulp = require('gulp');
var runSequence = require('run-sequence');
var to5 = require('gulp-babel');
var paths = require('../paths');
var compilerOptions = require('../babel-options');
var assign = Object.assign || require('object.assign');
var rename = require('gulp-rename');
gulp.task('build-es6', function () {
... |
function Thermostat() {
this.temp = 20;
this.minTemp = 10;
this.maxTemp = 32;
this.powerSavingModeMax = 25;
this.powerSavingMode = true;
// var therm = new Thermostat();
}
Thermostat.prototype.increaseByOne = function() {
if (this.powerSavingMode && this.temp >= this.powerSavingModeMax) {
throw new ... |
/**
*
* Realex payment plugin
*
* @author Valerie Isaksen
* @version $Id: site.js 8200 2014-08-14 11:09:44Z alatak $
* @package VirtueMart
* @subpackage payment
* Copyright (C) 2004 - 2017 Virtuemart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMa... |
var exec = require( 'child_process' ).exec
, path = require( 'path' )
, fs = require( 'fs' )
, mime = require( 'mime' )
, os = require( 'os' )
, util = require( '../util' )
, outDir = path.join( os.tmpdir(), "textract" );
var extractText = function( filePath, options, cb ) {
var fileTempOutPath = path.jo... |
(function( $, pro ) {
pro.createWidget( 'Dot', {
options: {
type: 'normal', // normal, new, num
color: 'red', // red 或 blue
content: '', // New红点和数字红点需要指定content
css: null // 样式,可以自由控制红点的位置和大小,默认红点在容器的右上角
},
tpl: '<div></div>',
... |
// eeeeeevvvvviiiiiiillllll
// more evil than monkey-patching the native builtin?
// Not sure.
var mod = require("module")
var pre = '(function (exports, require, module, __filename, __dirname) { '
var post = '});'
var src = pre + process.binding('natives').fs + post
var vm = require('vm')
var fn = vm.runInTh... |
var customClassMarkdown = require('../markdown/js/properties/customClass').body;
var customClassProp = {
nameAttr: "customClass",
renderString: customClassMarkdown
};
module.exports = customClassProp;
|
(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!=="undefined"){g=self}else{g=this}g.hola_flowplaye... |
export default {
definitions: {
tag: {
type: 'number',
default: 20,
multipleOf: 1.0,
minimum: 0,
maximum: 4094,
conditions: [
{
if: [
{
'../tagType': {
equals: 'single-tagged'
}
},
... |
describe('ui.grid.treeBase uiGridTreeBaseRowHeaderButtons', function () {
var $compile, $templateCache, $rootScope, $scope, uiGridTreeBaseService,
uiGridTreeBaseRowHeaderButtons;
function compileTreeBaseRowHeaderButton(elem) {
uiGridTreeBaseRowHeaderButtons = angular.element(elem);
$compile(uiGridTreeBaseRowHe... |
var selftest = require('../selftest.js');
var Sandbox = selftest.Sandbox;
var utils = require('../utils/utils.js');
var net = require('net');
var Future = require('fibers/future');
var _ = require('underscore');
var files = require('../fs/files.js');
// Tests that observeChanges continues to work even over a mongo fai... |
import * as zrUtil from 'zrender/src/core/util';
function dataToCoordSize(dataSize, dataItem) {
// dataItem is necessary in log axis.
return zrUtil.map(['Radius', 'Angle'], function (dim, dimIdx) {
var axis = this['get' + dim + 'Axis']();
var val = dataItem[dimIdx];
var halfSize = dataS... |
import React from "react"
import PropTypes from "prop-types"
import { connect } from "react-redux"
import { Card, CardTitle, CardText } from "material-ui/Card"
import RawJson from "../RawJson/RawJson"
const AllocationRaw = ({ allocation }) =>
<Card>
<CardTitle title="Raw allocation data" />
<CardText>
... |
import React from 'react';
import ReactDOM from 'react-dom';
import JqxTree from '../../../jqwidgets-react/react_jqxtree.js';
import JqxMenu from '../../../jqwidgets-react/react_jqxmenu.js';
class App extends React.Component {
componentDidMount() {
this.refs.myTree.selectItem(document.getElementById('home... |
var grunt = require('grunt');
var tests = {};
var tmp = 'temp/';
var fixtures = 'test/expected/';
var cHelpers = require('task-closure-tools').helpers;
tests.builder = {
'script output, bundling': function(test) {
test.expect(1);
var buildFile = 'build.bundled.js';
var actual = grunt.file.read(tmp + b... |
import { cloneDeep } from 'lodash';
export default () => cloneDeep({
height: 3,
mouse: true,
keys: true,
vi: true,
inputOnFocus: true,
border: {
type: 'line',
},
style: {
border: {
fg: 'gray',
},
focus: {
border: {
fg: 'blue',
},
},
},
});
|
var notify = require("gulp-notify");
module.exports = function(){
var args = Array.prototype.slice.call(arguments);
notify.onError({
title: 'compile error',
message: '<%=error.message %>'
}).apply(this, args);
this.emit();
}
|
var ShapeModifiers = (function(){
var ob = {};
var modifiers = {};
ob.registerModifier = registerModifier;
ob.getModifier = getModifier;
function registerModifier(nm,factory){
if(!modifiers[nm]){
modifiers[nm] = factory;
}
}
function getModifier(nm,elem, data, d... |
/*
* 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.
*/
'... |
type A = {
// prettier-ignore
+input: ?(?B),
}
|
/**
* The LoadMoreComponent lets you load more documents through a button.
*
* @type {LoadMoreComponent}
*/
EasySearch.LoadMoreComponent = class LoadMoreComponent extends SingleIndexComponent {
/**
* Load more documents.
*/
loadMore() {
this.index
.getComponentMethods(this.name)
.loadMore(... |
/**
* @author Chad Engler <chad@pantherdev.com>
*/
/**
* The Ellipse object can be used to specify a hit area for displayobjects
*
* @class Ellipse
* @constructor
* @param x {Number} The X coord of the upper-left corner of the framing rectangle of this ellipse
* @param y {Number} The Y coord of the upper-left ... |
/* global test */
'use strict';
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
var _proclaim = require('proclaim');
var _proclaim2 = _interopRequireDefault(_proclaim);
var expect = _proclaim2['default'].strictEqual;
var lib = '../../lib/';
var Comment = require(l... |
'use strict';
/**
* Event Monitor Controller.
*/
angular.module('knx-console').controller('P4Controller', ['$scope', '$location','knx-service',
function($scope, $location, knxservice) {
$scope.updateView();
}
]);
|
const path = require('path');
module.exports = ((filesName) => {
const files = filesName;
const appPath = path.resolve(files.root, files.appName);
files.appPath = appPath;
files.buildPath = path.resolve(files.root, files.buildName);
files.dllPath = path.resolve(files.root, `${files.buildName}/dll`);
files.... |
var values = require('lodash.values');
var max = require('lodash.max');
var selectn = require('selectn');
var stats = require('./stats.json');
var popular = max(values(stats), selectn('count'));
console.log('The "%s" page is the most popular with a visitor count of %d!', popular.page, popular.count);
|
/*!
* OOUI v0.43.1
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 2011–2022 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2022-02-10T15:03:45Z
*/
( function ( OO ) {
'use strict';
/**
* Toolbars are complex interface components that permit us... |
'use strict';
var defaults = require('lodash.defaults');
var map = require('lodash.map');
var metadata = require('./helpers/metadata');
function tree(opts) {
opts = defaults(opts || {}, {
deep: false,
});
var tasks = this._registry.tasks();
var nodes = map(tasks, function(task) {
var meta = metadata... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
require('redux');
require('./turn-order-4ab12333.js');
require('immer');
require('./plugin-random-7425844d.js');
require('lodash.isplainobject');
require('./reducer-fa65c6b2.js');
require('rfc6902');
require('./initialize-d89f4805.js');
requ... |
// JavaScript Document
$(document).ready(function(){
$('#select_btn li:first').css('border','none');
if ($('#zSlider').length) {
zSlider();
$('#h_sns').find('img').hover(function(){
$(this).fadeTo(200,0.5);
}, function(){
$(this).fadeTo(100,1);
});
}
function zSlider(ID, delay){
var ID=I... |
'use strict';
const resolve = require('path').resolve;
module.exports = (event, state, args, next) => {
let data = event.data || {};
data.body = data.body || {};
if (!state.api) {
return next(new Error('Service-api.project.get: No API instance found on the state object.'));
}
state.api.p... |
'use strict';
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
// This test verifies the behavior of the tls setSecureContext() method.
// It also verifies that existing connections are not disrupted when the
// secure context is changed.
const assert = require('assert');
... |
Object.defineProperty(exports, "__esModule", { value: true });
var BaseValueAccessor = (function () {
function BaseValueAccessor(view) {
this.view = view;
this.onChange = function (_) { };
this.pendingChangeNotification = 0;
}
BaseValueAccessor.prototype.registerOnChange = function (... |
module.exports = {
// target: 'experimental-serverless-trace',
i18n: {
locales: ['nl-NL', 'nl-BE', 'nl', 'fr-BE', 'fr', 'en-US', 'en'],
defaultLocale: 'en-US',
},
}
|
/**
* @fileoverview Tests for func-call-spacing rule.
* @author Matt DuVall <http://www.mattduvall.com>
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const rule = re... |
'use strict';
var request = require('request');
var fs = require('fs');
var os = require('os');
var path = require('path');
var sca = "https://soichi7.ppa.iu.edu/api";
var jwt = fs.readFileSync('/home/hayashis/.sca/keys/cli.jwt', {encoding: 'ascii'}).trim();
var instance_id = "5716ae31d43e9a2e1649e927";
function su... |
import { useCallback, useState } from "react";
export default function useInput(defaultValue) {
const [value, setValue] = useState(defaultValue || "");
const onChange = useCallback(event => {
setValue(event.target.value);
});
return [value, onChange, setValue];
}
|
/**
* @license
* Visual Blocks Editor
*
* Copyright 2013 Google Inc.
* https://developers.google.com/blockly/
*
* 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.apach... |
import update from 'immutability-helper';
import initialState from '../initialState';
import { FIELD_UPDATED, INIT_FORM } from '../events';
function formsReducer(formsState = initialState.forms, action) {
const { type, payload } = action;
switch (type) {
case INIT_FORM:
return update(formsState, {
... |
ace.define("ace/split", ["require", "exports", "module", "ace/lib/oop", "ace/lib/lang", "ace/lib/event_emitter", "ace/editor", "ace/virtual_renderer", "ace/edit_session"], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop");
var lang = require("./lib/lang");
var EventEmitt... |
// ┌────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
// │ Core Module │ \\
// ├────────────... |
/**
* @author mrdoob / http://mrdoob.com/
* @author alteredq / http://alteredqualia.com/
*/
THREE.Material = function () {
THREE.MaterialLibrary.push( this );
this.id = THREE.MaterialIdCount ++;
this.name = '';
this.side = THREE.FrontSide;
this.opacity = 1;
this.transparent = false;
this.blending = THR... |
// from require to global var
var OSG = window.OSG;
OSG.globalify();
var osg = window.osg;
var osgViewer = window.osgViewer;
// Wait for it
window.addEventListener( 'load',
function () {
// The 3D canvas.
var canvas = document.getElementById( '3DView' );
var viewer;
var group = new... |
//>>built
define({label:"\u9078\u53d6\u6a94\u6848..."}); |
/*! DataTables Bootstrap 3 integration
* ©2011-2014 SpryMedia Ltd - datatables.net/license
*/
/**
* DataTables integration for Bootstrap 3. This requires Bootstrap 3 and
* DataTables 1.10 or newer.
*
* This file sets the defaults and adds options to DataTables to style its
* controls using Bootstrap. See http:/... |
export default function Hello5() {
return <p>Hello World 5 (imported dynamically) </p>
}
|
lychee.define('game.state.Base').requires([
'game.entity.ui.Sidebar'
]).exports(function(lychee, game, global) {
var _sidebar = game.entity.ui.Sidebar;
var Module = {};
Module.reset = function() {
var tile = 32;
var renderer = this.renderer;
if (renderer !== null) {
var env = renderer.getEnviro... |
'use strict';
var Class = require('../imports').HtmlUnitDriver;
var Capabilities = require('../interfaces/Capabilities');
var TakesScreenshot = require('../interfaces/TakesScreenshot');
var RemoteWebDriver = require('./RemoteWebDriver');
var extendAll = require('../utils').extendAll;
var assert = require('../assert');... |
/*
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["dijit.layout.AccordionContainer"]){
dojo._hasResource["dijit.layout.AccordionContainer"]=true;
dojo.... |
var async = require('async');
var _ = require('lodash');
var argv = require('optimist').argv;
// Reset the database, removing all content and introducing a bare bones site
module.exports = function(self, callback) {
console.log('Resetting the database - removing ALL content');
function resetMain(callback) {
r... |
// Load modules
var Lab = require('lab');
var Code = require('code');
var Joi = require('../lib');
var Helper = require('./helper');
// Declare internals
var internals = {};
// Test shortcuts
var lab = exports.lab = Lab.script();
var before = lab.before;
var after = lab.after;
var describe = lab.describe;
var it... |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.ia');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "Adder commento";
Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = "Can't delete the variable '%1' because it's part of the definition of the function '%2'"; ... |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of so... |
// app/assets/javascripts/components/__tests__/preprocessor.js
var ReactTools = require('react-tools');
module.exports = {
process: function(src) {
return ReactTools.transform(src);
}
}; |
'use strict';
const common = require('../common');
const assert = require('assert');
const { Worker } = require('worker_threads');
// Do not use isMainThread so that this test itself can be run inside a Worker.
if (!process.env.HAS_STARTED_WORKER) {
process.env.HAS_STARTED_WORKER = 1;
const w = new Worker(__filena... |
'use strict';
var internalCodePointAt = require('../internals/string-at');
// `String.prototype.codePointAt` method
// https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
require('../internals/export')({ target: 'String', proto: true }, {
codePointAt: function codePointAt(pos) {
return internalCodeP... |
/**
* 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.0.7 (2019-06-05)
*/
(function () {
var spellchecker = (f... |
// RequireJS Mustache template plugin
// http://github.com/jfparadis/requirejs-mustache
//
// An alternative to https://github.com/millermedeiros/requirejs-hogan-plugin
//
// Using Mustache Logic-less templates at http://mustache.github.com
// Using and RequireJS text.js at http://requirejs.org/docs/api.html#text
// @a... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Dropbox = factory());
}(this, (function () { 'use strict';
// Auto-generated by Stone, do not modify.
var routes = {};
/**... |
/* global THREE */
var debug = require('./debug');
var extend = require('object-assign');
var warn = debug('utils:coordinates:warn');
// Order of coordinates parsed by coordinates.parse.
var COORDINATE_KEYS = ['x', 'y', 'z', 'w'];
// Coordinate string regex. Handles negative, positive, and decimals.
var regex = /^\s... |
/* Tabulator v4.2.0 (c) Oliver Folkerd */
var FrozenRows = function FrozenRows(table) {
this.table = table; //hold Tabulator object
this.topElement = document.createElement("div");
this.rows = [];
this.displayIndex = 0; //index in display pipeline
};
FrozenRows.prototype.initialize = function () {
this.rows = []... |
module.exports = function(options) {
return function(id) {
try {
var module = require(id);
module['@literal'] = true;
return module;
} catch(E) {
return;
}
}
}
|
define(["require", "exports", 'aurelia-path'], function (require, exports, aurelia_path_1) {
var TemplateDependency = (function () {
function TemplateDependency(src, name) {
this.src = src;
this.name = name;
}
return TemplateDependency;
})();
exports.TemplateD... |
import { Vector3 } from '../math/Vector3.js';
import { Object3D } from '../core/Object3D.js';
/**
* @author mikael emtinger / http://gomo.se/
* @author alteredq / http://alteredqualia.com/
* @author mrdoob / http://mrdoob.com/
*/
var _v1 = new Vector3();
var _v2 = new Vector3();
function LOD() {
Object3D.call(... |
import React, { Component } from 'react';
import BookList from '../containers/book-list';
import BookDetail from '../containers/book-detail';
export default class App extends Component {
render() {
return (
<div>
<BookList />
<BookDetail />
</div>
);
}
}
|
/**
* @file Improved eval command using V8 VMs to try and hide sensitive data.
* @author Ovyerus
*/
const vm = require('vm');
const util = require('util');
const {Stream} = require('stream');
const FAIL_COL = 0xF44336;
const SUCCESS_COL = 0x8BC34A;
const PENDING_COL = 0xFFEB3B;
const CODE_TEMPLATE = `
(async () =... |
import { Meteor } from 'meteor/meteor';
import { hasPermission } from '../../../authorization';
import { Invites } from '../../../models';
export const listInvites = (userId) => {
if (!userId) {
throw new Meteor.Error('error-invalid-user', 'Invalid user', { method: 'listInvites' });
}
if (!hasPermission(userId,... |
//! moment.js locale configuration
//! locale : Ukrainian [uk]
//! author : zemlanin : https://github.com/zemlanin
//! Author : Menelion Elensúle : https://github.com/Oire
import moment from '../moment';
function plural(word, num) {
var forms = word.split('_');
return num % 10 === 1 && num % 100 !== ... |
/**
* @fileoverview Disallow trailing spaces at the end of lines.
* @author Nodeca Team <https://github.com/nodeca>
* @copyright 2015 Patrick McElhaney
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//-----------------------------------------------... |
'find' in Array.prototype
|
'use strict';
crop.factory('cropAreaSquare', ['cropArea', function(CropArea) {
var CropAreaSquare = function() {
CropArea.apply(this, arguments);
this._resizeCtrlBaseRadius = 15;
this._resizeCtrlNormalRatio = 0.75;
this._resizeCtrlHoverRatio = 1;
this._iconMoveNormalRatio =... |
tinyMCE.addI18n('ru.emotions_dlg',{
title:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u044D\u043C\u043E\u0446\u0438\u044E",
desc:"\u0421\u043C\u0430\u0439\u043B\u0438\u043A\u0438",
cool:"\u0421\u0443\u043F\u0435\u0440\u0440\u0440",
cry:"\u041E\u0439-\u043E\u0439-\u043E\u0439",
embarassed:"\u0423\u0436\u0430... |
var path = require('path'),
fs = require('fs'),
webpack = require("webpack"),
libPath = path.join(__dirname, 'lib'),
distPath = path.join(__dirname, 'dist'),
pkg = require('./package.json'),
parserXml = require('xml2js'),
extend = require('util')._extend,
projectConfig = require('./confi... |
'use strict';
require('../common');
const fixtures = require('../common/fixtures');
const path = require('path');
const fs = require('fs');
const assert = require('assert');
const tmpdir = require('../common/tmpdir');
tmpdir.refresh();
const streamOpts = ['open', 'close'];
const writeStreamOptions = [...streamOpts, ... |
module.exports=['\uAA80','\uAA81','\uAA82','\uAA83','\uAA84','\uAA85','\uAA86','\uAA87','\uAA88','\uAA89','\uAA8A','\uAA8B','\uAA8C','\uAA8D','\uAA8E','\uAA8F','\uAA90','\uAA91','\uAA92','\uAA93','\uAA94','\uAA95','\uAA96','\uAA97','\uAA98','\uAA99','\uAA9A','\uAA9B','\uAA9C','\uAA9D','\uAA9E','\uAA9F','\uAAA0','\uAAA1... |
'use strict';
/* jshint unused:false */
var mongoose = require('mongoose');
var should = require('should');
var app = require('./app');
var request = require('supertest');
describe('App', function () {
it('should expose a function to start the server', function (done) {
app.startServer.should.be.a.Function;
(ap... |
/*
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( 'colorbutton', 'hr', {
auto: 'Automatski',
bgColorTitle: 'Boja pozadine',
colors: {
'000': 'Crna',
'800000': 'Kesten',
'8... |
/**
* Copyright 2015 Telerik AD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.fa');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "افزودن نظر";
Blockly.Msg.CHANGE_VALUE_TITLE = "تغییر مقدار:";
Blockly.Msg.CLEAN_UP = "تمیز کردن بلوکها";
Blockly.Msg.COLLAPSE_ALL = "فروپاشی بلوکها";
Bloc... |
'use strict';
// Use applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('levels'); |
/*
* Planck.js v0.3.0-rc.2
*
* Copyright (c) 2016-2018 Ali Shakiba http://shakiba.me/planck.js
* Copyright (c) 2006-2013 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising ... |
/*global defineSuite*/
defineSuite([
'Core/NearFarScalar',
'Specs/createPackableSpecs'
], function(
NearFarScalar,
createPackableSpecs) {
'use strict';
it('constructs without arguments', function() {
var scalar = new NearFarScalar();
expect(scalar.... |
/*
* 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.
*/
... |
/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the Clear BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/**
* @requires OpenLayers/Console.js
* @requires OpenLayers/Format... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.