code
stringlengths
2
1.05M
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M20 18l1.99-2L22 3H2v13l2 2H0v2h24v-2h-4zM4 5h16v11H4V5zm8 14c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z" /> , 'LaptopMacSharp');
/*! * .______ _______ ___ .______ ______ ___ .__________. * ( _ ) ( ____) / \ ( _ ) ( ) / \ ( ) * | |_) ) | |__ / ^ \ | |_) ) | ,----' / ^ \ `---| |---` * | _ < | __) / /_\ \ | ) | | / /_\ \ | | * |...
'use strict'; var shell = require('shelljs'), prompt = require('prompt'), querystring = require('querystring'), request = require('request'), chalk = require('chalk'), fs = require('fs'); function getUserHome() { return process.env[(process.platform === 'win32') ? 'USERPROFILE' : 'HOME']; } function readToken(...
var uniqueObjectId = require("../../webgl/base/utils.js").getUniqueCounter(); /** * Connects a material model with a set of default parameters defined by * an Xflow DataNode. The MaterialConfiguration is immutable * * @param model The material model * @param {Xflow.DataNode} dataNode The material parameters of th...
"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")...
export default function getTransform ( isSvg, cx, cy, dx, dy, dsx, dsy, t, t_scale ) { const transform = isSvg ? `translate(${cx} ${cy}) scale(${( 1 + ( t_scale * dsx ) )} ${( 1 + ( t_scale * dsy ) )}) translate(${-cx} ${-cy}) translate(${( t * dx )} ${( t * dy )})` : `translate(${( t * dx )}px,${( t * dy )}px) sc...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M21 23c-1.03 0-2.06-.25-3-.75-1.89 1-4.11 1-6 0-1.89 1-4.11 1-6 0-.95.5-1.97.75-3 .75H2v-2h1c1.04 0 2.08-.35 3-1 1.83 1.3 4.17 1.3 6 0 1.83 1.3 4.17 1.3 6 0...
version https://git-lfs.github.com/spec/v1 oid sha256:14d75d38aa659f6e50ce78a03f82983c6b82fe2e71b292b1b2128870d6893962 size 42517
//>>built define("dojo/_base/array dojo/_base/declare dojo/_base/event dojo/_base/lang dojo/_base/window dojo/dom-class dojo/dom-construct dojo/dom-attr dojo/touch dijit/_WidgetBase ./iconUtils dojo/has dojo/has!dojo-bidi?dojox/mobile/bidi/ValuePickerSlot".split(" "),function(f,l,r,m,n,k,c,d,g,h,p,q,t){h=l(q("dojo-bidi...
import React, { Component } from 'react'; import { Text, View, TouchableOpacity } from 'react-native'; export default class OverviewContent extends Component { constructor(props){ super(props); } getFormattedMessage(){ var message = this.props.messageData.message; var t...
'use strict'; var _ = require('lodash'); var Random = require('./random.model'); // Get list of randoms exports.index = function(req, res) { Random.find(function (err, randoms) { if(err) { return handleError(res, err); } return res.json(200, randoms); }); }; // Get a single random exports.show = function...
module.exports = function (karma) { karma.set({ /** * From where to look for files, starting with the location of this file. */ basePath: './', /** * This is the list of file patterns to load into the browser during testing. */ files: [ 'js/**/*.js', 'test/fixtures...
import Ember from 'ember'; export default Ember.Controller.extend({ queryParams: ["page","perPage","sortByField"], page: 1, updatePaged: Ember.observer("sortByField", function() { var field = this.get('sortByField'); var paged = this.get('model'); if (paged && paged.setOtherParam) { paged.setO...
define(function () { // Hebrew return { errorLoading: function () { return 'התוצאות לא נטענו בהלכה'; }, inputTooLong: function (args) { var overChars = args.input.length - args.maximum; var message = 'נא למחוק ' + overChars + ' תווים'; if (overChars != 1) { ...
(function($) { $(document).ready(function() { // Toggle the menu on mobile var menuToggle = $('#js-topbar-toggle').unbind(); $('#primary-menu').removeClass("menu-show"); menuToggle.on('click', function(e) { e.preventDefault(); $('.main-menu').slideToggle(function(){ if($('.main-menu').is(':hidden'...
/*globals describe, before, beforeEach, afterEach, it */ var testUtils = require('../../utils'), should = require('should'), _ = require('underscore'), request = require('request'); request = request.defaults({jar:true}) describe('Tag API', function () { var user = testUtils.DataGenerator.forModel.us...
/** Inspired by [simple counter](http://baconjs.github.io/) Implemented in *menrva*, [Bacon.js](https://github.com/baconjs/bacon.js) and [RxJS](https://github.com/Reactive-Extensions/RxJS). Bacon.js and RxJS variants, come in two flavours, *direct* and *data-flowish*. */ $(function () { "use strict"; var M...
'use strict'; var elementHelper = require('../helper/ElementHelper'); /** * A handler capable of creating a new element under a provided parent * and updating / creating a reference to it in one atomic action. * * @class * @constructor */ function CreateAndReferenceElementHandler(elementRegistry, bpmnFactory) {...
#!/usr/bin/env node /* Based on webpack/bin/webpack.js */ /* eslint-disable no-console */ "use strict"; /** * @param {string} command process to run * @param {string[]} args command line arguments * @returns {Promise<void>} promise */ const runCommand = (command, args) => { const cp = require("child_process"); ...
define(['./forEach', '../function/makeIterator_'], function (forEach, makeIterator) { /** * Return minimum value inside array */ function min(arr, iterator, thisObj){ if (arr == null || !arr.length) { return -Infinity; } else if (arr.length && !iterator) { ...
'use strict'; const Bluebird = require('bluebird'); const find = require('lodash.find'); const tmp = require('tmp'); const path = require('path'); const os = require('os'); const tmpDirAsync = Bluebird.promisify(tmp.dir); const expect = require('chai').expect; const file = require('chai-files').file; const knownBro...
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc */ /** * @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 f...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
// Set up: npm install var http = require("http"), fs = require("fs"), path = require("path"), ws = require("ws"), open = require("open"), ProtoBuf = require("protobufjs"); // Initialize from .proto file var Message = ProtoBuf.protoFromFile("example.proto").build("Message"); // HTTP server var ser...
'use strict'; describe('Controller: FooterCtrl', function () { // load the controller's module beforeEach(module('pulsarClientApp')); var FooterCtrl, scope; // Initialize the controller and a mock scope beforeEach(inject(function ($controller, $rootScope) { scope = $rootScope.$new(); FooterCtr...
function MantisBTExtension() { var self = this; setTimeout(function(){ self.poll(); }, 10000); } MantisBTExtension.prototype = { 'poll' : function(){ var self = this, tasks = app.storage.urls().map(function(url){ return app.ajax(url); ...
//>>built (function(l,a){"function"===typeof define&&define.amd?define(["cldr","../globalize","./number","./plural"],a):"object"===typeof exports?module.exports=a(require("cldrjs"),require("../globalize")):a(l.Cldr,l.Globalize)})(this,function(l,a){function q(b){var g,a;if(b)for(a in g={},b)g[a.replace(/unitPattern-cou...
import { clickable, isVisible, text } from 'ember-cli-page-object'; import codeThemeSelector from 'code-corps-ember/tests/pages/components/code-theme-selector'; import editorWithPreview from 'code-corps-ember/tests/pages/components/editor-with-preview'; export default { scope: '.task-details', cancel: { ...
import { reset } from 'redux-form'; import fetch from 'isomorphic-fetch'; import { loginActionCreators } from '../../../../../login/modules/index'; import { trelloUrl } from '../../../../../../../utils/url'; import { starredBoardActionCreators, organizationActionCreators, boardActionCreators } from '../../../...
/* * Copyright 2003-2006, 2009, 2017, United States Government, as represented by the Administrator of the * National Aeronautics and Space Administration. All rights reserved. * * The NASAWorldWind/WebWorldWind platform is licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file...
// All Set!
import sinon from 'sinon'; import childProcess from 'child_process'; import ExecQueue from '../src/exec-queue'; describe('ExecQueue', () => { let queue; beforeEach(() => { sinon.stub(childProcess, 'exec', () => {}); queue = new ExecQueue({ concurrency: 3 }); }); afterEach(() => { childProcess.exe...
'use strict'; import Backbone from 'backbone'; import MyModel from './MyModel.js'; /** * Provides a basic `Backbone.Collection` using MyModel */ class MyCollection extends Backbone.Collection { /** * Reference to this collection's model. * * @returns {MyModel} */ get model() { return MyModel; ...
System.register(["angular2/di", "angular2/src/facade/collection", "angular2/src/facade/lang"], function($__export) { "use strict"; var Injectable, List, ListWrapper, SetWrapper, int, NumberWrapper, StringJoiner, StringWrapper, TOKEN_TYPE_CHARACTER, TOKEN_TYPE_ID...
// Generated by CoffeeScript 1.6.3 (function() { var Parser, alt, alternatives, grammar, name, o, operators, token, tokens, unwrap; Parser = require('jison').Parser; unwrap = /^function\s*\(\)\s*\{\s*return\s*([\s\S]*);\s*\}/; o = function(patternString, action, options) { var addLocationDataFn, match, p...
/** * @license * Copyright 2016 Palantir Technologies, Inc. * * 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...
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ const path = require('path'); const fs = require('graceful-fs'); /** * How many bytes we should look at...
/* eslint no-undef: 0 */ describe('add to compare', () => { it('Two products should be added to comparison table', () => { cy.visit('/c/jackets-23'); cy.get('[data-testid="productLink"]').eq(1).as('firstProduct') cy.get('@firstProduct').click().should('have.attr', 'href').and('include', 'olivia-14-zip-lig...
(function (angular) { angular.module('App') .controller('AppCtrl', [AppCtrl]); function AppCtrl() { } })(angular);
/** * Represents an Event managed by Stopwatch. * * @memberOf Jymfony.Contracts.Stopwatch */ class StopwatchEventInterface { /** * Gets the category. * * @returns {string} The category */ get category() { } /** * Gets the origin. * * @returns {number} The origin in mi...
/* 购物车功能 购物车商品的处理 支持删除购物车商品(立刻购买时不显示) 支持更新商品的购买数量到服务器 支持保存购物车商品信息到订单创建参数 计算价格完成后刷新商品总价和商品单价 */ /* 购物车商品的处理 */ $(function () { // 绑定购物车商品改变时的事件 var $cartContainer = $(".cart-container"); var $cartProductTable = $cartContainer.find(".cart-product-table"); var $parametersList = $cartContainer...
import React from 'react-native'; const { Image, TouchableOpacity, StyleSheet, Text, View, } = React; import globalStyles from '../styles/SearchGlobalStyles.js'; import CarMakePicker from './CarMakePicker.js'; import CarModelPicker from './CarModelPicker.js'; const CarMakePickerContainer = (props) => ({ r...
/** * @author mrdoob / http://mrdoob.com/ * @author Mugen87 / https://github.com/Mugen87 */ THREE.ColladaLoader = function ( manager ) { this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager; }; THREE.ColladaLoader.prototype = { constructor: THREE.ColladaLoader, crossOrigin: 'Anon...
'use strict'; var convert = require('./convert'), func = convert('pad', require('../pad')); func.placeholder = require('./placeholder'); module.exports = func; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2NsaWVudC9saWIvbG9kYXNoL2ZwL3BhZC5qcyJdLCJuYW1lcyI6...
var env = require('../../test-environment'), helper = require('./test-helper'); describe('JSON Schema - parse number params', function() { 'use strict'; it('should parse a valid number param', function(done) { var schema = { type: 'number', multipleOf: 5.5, minimum: 11, ...
module.exports = function(app) { app.get('/', function(req, res){ res.redirect('/tests/index.html?hidepassed'); }); app.get('/tests', function(req, res){ res.redirect('/tests/index.html'); }); };
// @flow /** * React Flip Move * (c) 2016-present Joshua Comeau * * These methods read from and write to the DOM. * They almost always have side effects, and will hopefully become the * only spot in the codebase with impure functions. */ import { findDOMNode } from 'react-dom'; import type { Component } from 're...
/* * /MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js * * Copyright (c) 2009-2013 The MathJax Consortium * * 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...
var core = require("../pixi"), BaseTexture = require('./BaseTexture'), Texture = require('./Texture'), RenderTarget = require('../renderers/webgl/utils/RenderTarget'), CanvasBuffer = require('../renderers/canvas/utils/CanvasBuffer'), math = require('../math'), CONST = require('../const'); /** * A...
define([ 'esri/units', 'esri/geometry/Extent', 'esri/config', 'esri/tasks/GeometryService', 'esri/layers/ImageParameters' ], function(units, Extent, esriConfig, GeometryService, ImageParameters) { // url to your proxy page, must be on same machine hosting you app. See proxy folder for readme. esriConfig....
var a = '123'; // not 1 function test() { // not 2 return a; // not 3 } if (typeof true === "boolean") { // not 6 var b = test(); // not 7 }
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S12.10_A3.5_T3; * @section: 12.10; * @assertion: No matter how control leaves the embedded 'Statement', * the scope chain is always restored to its former state; * @des...
// vim: ts=4:sw=4:et var localFile, reader; var Hour = new Timespan("Hour", 1/24); var Day = new Timespan("Day", 1); var Week = new Timespan("Week", 7); var Month = new Timespan("Month", 30); var Year = new Timespan("Year", 365); var refreshRate = 30; var timespans = []; var summaryCoinRate, summaryCoin; var earnings...
function foo(foo, qux = (() => { var _foo$bar; return (_foo$bar = foo.bar) != null ? _foo$bar : "qux"; })()) {} function bar(bar, qux = bar != null ? bar : "qux") {}
var randomScalingFactor = function(){ return Math.round(Math.random()*100)}; var lineChartData = { labels : ["Jan","Feb","Mar","Apr","May","June","July","Aug","Sep","Oct","Nov","Dec"], datasets : [ { label: "My First dataset", fillColor : "rgba(74,125,254,0.4)", strokeColor : "rgba(255,255,...
"use strict" var pack = require('../../common/package'); var client = { entry: pack.get('paths:bin') + 'client-test.js' }; var server = function (folder) { return { entry: ['./**/__test__/**/*.js', '!./client/**'] }; }; var config = { client: client, server: server }; module.exports = config;
import Story from "database/model/Story" import checkUser from "core/auth/checkUser" async function addChapter(_, {storyId, chapter}, ctx) { const viewer = ctx.state.user.id return await Story.addOneChapter(viewer, storyId, chapter) } export default checkUser(addChapter)
/* * grunt-cmd-concat * https://github.com/spmjs/grunt-cmd-concat * * Copyright (c) 2013 Hsiaoming Yang * Licensed under the MIT license. */ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ concat: { self: { files: { 'tmp/self.js': ['demo/self.js',...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const q = require("smartq"); const paths = require("../npmts.paths"); const plugins = require("./mod.plugins"); const mod_check_1 = require("../mod_compile/mod.check"); exports.run = function (configArg) { let done = q.defer(); let con...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M2 22h20V2L2 22z" }), 'SignalCellular4BarOutlined');
(function(root, factory) { if (typeof define === 'function' && define.amd) { define([], factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { root.ajaxform = factory(); } }(this, function() { /** * @preserve * Author: http://mrhenry.be * * How to use: * * var...
/* * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ * Version: 0.10.0 - 2014-01-13 * License: MIT */ angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","u...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M20 6.54v10.91c-2.6-.77-5.28-1.16-8-1.16s-5.4.39-8 1.16V6.54c2.6.77 5.28 1.16 8 1.16 2.72.01 5.4-.38 8-1.16M21.43 4c-.1 0-.2.02-.31.06C18.18 ...
(function ($) { "use strict"; var skin = require('../lib/_skin')(); /** * jQuery plugin wrapper for compatibility with Angular UI.Utils: jQuery Passthrough */ $.fn.tkEasyPie = function () { if (! this.length) return; if (!$.fn.easyPieChart) return; var color = conf...
const Choice = Jymfony.Component.Validator.Constraints.Choice; const ConstraintDefinitionException = Jymfony.Component.Validator.Exception.ConstraintDefinitionException; const ConstraintValidator = Jymfony.Component.Validator.ConstraintValidator; const UnexpectedTypeException = Jymfony.Component.Validator.Exception.Une...
/************************************************ * REVOLUTION 5.4.6.4 EXTENSION - LAYER ANIMATION * @version: 3.6.5 (08.03.2018) * @requires jquery.themepunch.revolution.js * @author ThemePunch ************************************************/ (function($) { "use strict"; var _R = jQuery.fn.revolution, ...
/*Solved by Alexander Black Jr. on 01/25/15. Have the function LetterChanges(str) take the str parameter being passed and modify it using the following algorithm. Replace every letter in the string with the letter following it in the alphabet (ie. c becomes d, z becomes a). Then capitalize every vowel in this new s...
import FunctionTree from 'function-tree' import {ContextProvider, DebuggerProvider} from 'function-tree/providers' import axios from 'axios' import store from './store' export default FunctionTree([ DebuggerProvider({ colors: { axios: '#7ea732' } }), ContextProvider({ axios, data: store.dat...
var moment = require('moment'); var PATH_TO_DISPFORM = window.webAbsoluteUrl + "/Lists/Tasks/DispForm.aspx"; var TASK_LIST = "Tasks"; var COLORS = ['#466365', '#B49A67', '#93B7BE', '#E07A5F', '#849483', '#084C61', '#DB3A34']; displayTasks(); function displayTasks() { $('#calendar').fullCalendar('destroy'); $('#c...
describe("Array Extensions", function() { it("should test for emptiness with is_empty and not_empty", function() { expect([].is_empty()).toBeTruthy(); expect(['one', 'two', 'three'].is_empty()).toBeFalsy(); expect(['one', 'two', 'three'].not_empty()).toBeTruthy(); expect([].not_empty()).toBeFalsy(); ...
import React, { Component, PropTypes } from 'react'; import classNames from 'classnames'; import { Scrollbars } from 'react-custom-scrollbars'; import MultiSelectorListItem from '../MultiSelectorListItem'; class MultiSelectorList extends Component { render() { const { options, isSelectorOpen, handleCheckItem, vi...
import Vue from 'vue'; import issuePlaceholderNote from '~/vue_shared/components/notes/placeholder_note.vue'; import createStore from '~/notes/stores'; import { userDataMock } from '../../../../javascripts/notes/mock_data'; describe('issue placeholder system note component', () => { let store; let vm; beforeEac...
'use strict'; var concat = require('concat-stream'); var tap = require('tap'); var tape = require('../'); // Exploratory test to ascertain proper output when no t.comment() call // is made. tap.test('no comment', function (assert) { assert.plan(1); var verify = function (output) { assert.deepEqual(ou...
var searchData= [ ['z',['z',['../struct_leap_1_1_vector.html#aa44971ce01ce035e78ea557bc1e983a4',1,'Leap::Vector']]], ['zbasis',['zBasis',['../struct_leap_1_1_matrix.html#a62c45d9b2370027de27781fadcfc13d8',1,'Leap::Matrix']]] ];
import {Member, errors} from 'src/server/services/dataService' import {LGNotAuthorizedError, LGForbiddenError} from 'src/server/util/error' export default function assertUserIsMember(userId) { return Member.get(userId) .then(member => { if (!member.chapterId) { throw new LGForbiddenError('Members m...
System.import('lib/edl');
import { __decorate, __metadata } from 'tslib'; import { ɵɵdefineInjectable, ɵɵinject, Injectable } from '@angular/core'; import { Angulartics2 } from 'angulartics2'; let Angulartics2Piwik = class Angulartics2Piwik { constructor(angulartics2) { this.angulartics2 = angulartics2; if (typeof (_paq) ==...
/** * @license Highmaps JS v8.0.0 (2019-12-10) * @module highcharts/modules/heatmap * @requires highcharts * * (c) 2009-2019 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; import '../../parts-map/ColorAxis.js'; import '../../parts-map/ColorMapSeriesMixin.js'; import '../../parts-map/Hea...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
module.exports = createTest; var assert = require('assert'); function createTest(linter, fixturesPath) { var fixturePath = fixturesPath + 'validate-attribute-separator.pug'; describe('validateAttributeSeparator', function () { describe('space', function () { before(function () { linter.configur...
import $ from 'jquery'; import Qti from './qti'; import { AssessmentFormats } from '../assessment'; export default class Parser{ static parse(assessmentId, assessmentXml, xml){ var assessment = { id : assessmentXml.attr('ident'), title : assessm...
// @flow import { combineReducers } from 'redux' import type { Store } from 'redux' import location from './location' import counter from './modules/counter' import githubRepos from './modules/githubRepos' import { storeHelper } from './createStore' type AsyncReducers = { [key: string]: any } type AsyncReducer = { key...
// I would like to lazy load json2, but I'm worried we're trying to access // JSON very early in the code //= require <json2> var requiresCookies = (function () { var ua = navigator.userAgent.toLowerCase(), id = null; if (/mozilla/.test(ua) && !/compatible/.test(ua)) { id = new Date().getTime(); docu...
export default { name: 'test label text', color: 'c3c3c3', };
/////////////////////////////////////////////////////////////////////////// // 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...
define({ "_widgetLabel": "Добавить данные", "noOptionsConfigured": "Отсутствуют настроенные опции", "tabs": { "search": "Поиск", "url": "URL-адрес", "file": "Файл" }, "search": { "featureLayerTitlePattern": "{serviceName} - {layerName}", "layerInaccessible": "Слой не доступен.", "loadE...
version https://git-lfs.github.com/spec/v1 oid sha256:34540ed0f65c00f78c1f40f26ebf00af8cbbf57bbe9ddda8095151730f3916c0 size 1347
angular.module('bolt.controller', []) .controller('BoltController', function ($scope, $location, $window) { $scope.session = $window.localStorage; $scope.startRun = function () { // Check which radio button is selected if (document.getElementById("switch_3_left").checked) { // Solo run $locatio...
version https://git-lfs.github.com/spec/v1 oid sha256:284de388de4cc188513a9b77a18f8457b4dc2bc01d915bee8b98c7ba5221c12f size 274
"use strict"; function fact(_x2) { var _arguments = arguments; var _again = true; _function: while (_again) { _again = false; var n = _x2; acc = undefined; var acc = _arguments[1] === undefined ? 1 : _arguments[1]; if (n > 1) { _arguments = [_x2 = n - 1, acc * n]; _again = true; ...
/* * Swipe 2.0 * * Brad Birdsall * Copyright 2013, MIT License * */ module.exports = function Swipe(container, options) { "use strict"; // utilities var noop = function() {}; // simple no operation function var offloadFn = function(fn) { setTimeout(fn || noop, 0) }; // offload a functions execution /...
/*jslint nomen: true, vars: true*/ /*global define*/ define(['jquery', 'underscore', 'backbone'], function ($, _, Backbone) { 'use strict'; /** * @export oro/sidebar/widget/hello-world */ var helloWorld = {}; helloWorld.ContentView = Backbone.View.extend({ template: _.template('<sp...
/* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md */ const _ = require("underscore") const Backbone = require("backbone") const benv = require("benv") let sd = require("sharify...
/** * @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', 'sl', { button: 'Nastavi jezik', remove: 'Odstrani jezik' } );
import { Meteor } from 'meteor/meteor'; import { HTTP } from 'meteor/http'; import { SyncedCron } from 'meteor/littledata:synced-cron'; import { Logger } from '../../app/logger'; import { getWorkspaceAccessToken } from '../../app/cloud/server'; import { statistics } from '../../app/statistics'; import { settings } fro...
import StoreInitMixin from './ember-sync/store-initialization-mixin'; import Queue from './ember-sync/queue'; import Query from './ember-sync/query'; import Persistence from './ember-sync/persistence'; import QueueModel from './ember-sync/ember-sync-queue-model'; export default Ember.Object.ex...
// Copyright 2015 Yahoo! Inc. // Copyrights licensed under the Mit License. See the accompanying LICENSE file for terms. var Compressor = require('../processor/compressor'); var iconv = require('iconv-lite'); var os = require('os'); /** * @class zTXt * @module PNG * @submodule PNGChunks */ module.exports = { /*...
/* This shows a line chart of the data given. It is assumed that the default transform is already set by the default state (transform property). */ import React, { Component } from "react"; import createClass from "create-react-class"; import PropTypes from "prop-types"; import BarChart, { getBarChartIcons } from "./B...
module.exports = { point: { "type": "Feature", "properties": {}, "geometry": { "type": "Point", "coordinates": [ -76.29215240478516, 36.85067669846314 ] } }, shape: { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "c...
angular.module('service.weatherinfo', []) .factory('WeatherInfo', function ($rootScope, WeatherUtil, TwStorage, Util) { var cities = []; var cityIndex = -1; var loadingWeatherPhotos = false; var obj = {}; var createCity = function (item) { var city = {}; ...