code
stringlengths
2
1.05M
//>>built define(["dojo","dijit","dojox","dojo/require!dojox/wire/_base"],function(d,m,h){d.provide("dojox.wire.Wire");d.require("dojox.wire._base");d.declare("dojox.wire.Wire",null,{_wireClass:"dojox.wire.Wire",constructor:function(b){d.mixin(this,b);if(this.converter)if(d.isString(this.converter)){b=d.getObject(this....
'use strict'; describe('Service: datos', function () { // load the service's module beforeEach(module('frontendApp')); // instantiate service var datos; beforeEach(inject(function (_datos_) { datos = _datos_; })); it('should do something', function () { expect(!!datos).toBe(true); }); });
OC.L10N.register( "files_external", { "Step 1 failed. Exception: %s" : "1 Urratsak huts egin du. Salbuespena: %s", "Step 2 failed. Exception: %s" : "2 Urratsak huts egin du. Salbuespena: %s", "External storage" : "Kanpoko biltegiratzea", "Google Drive App Configuration" : "Google Drive App Ezarp...
/** * Load app controllers * * @param {Object} options * @param {Function} cb */ var async = require('async'), _ = require('lodash'), buildDictionary = require('sails-build-dictionary'); module.exports = function (cb) { async.reduce(sails.config.paths.controllers, {}, function (prev, curr, callback) { buil...
module.exports={A:{A:{"1":"A B","2":"K D hB","129":"G E"},B:{"1":"2 C d J M H I"},C:{"2":"0 1 2 3 4 6 7 8 9 eB DB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z HB GB BB CB FB YB XB"},D:{"1":"0 1 3 4 6 7 8 9 U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x...
import React, { Component } from 'react' import { Button, Dimmer, Image, Segment } from 'semantic-ui-react' export default class DimmerExampleBlurringInverted extends Component { state = {} handleShow = () => this.setState({ active: true }) handleHide = () => this.setState({ active: false }) render() { c...
/*!-------------------------------------------------------------------- JAVASCRIPT "Outdated Browser" Version: 1.0.2 - 2014 author: Burocratik website: http://www.burocratik.com * @preserve -----------------------------------------------------------------------*/ var outdatedBrowser = function(options) { ...
var gulp = require('gulp'), jshint = require('gulp-jshint'), debug = require('gulp-debug'); function task(filesPaths, dest, filename) { return gulp.src(filesPaths) //.pipe(debug()) .pipe(jshint()) .pipe(jshint.reporter('default')); } module.exports = task;
module("wysihtml.dom.Sandbox", { teardown: function() { var iframe; while (iframe = document.querySelector("iframe.wysihtml-sandbox")) { iframe.parentNode.removeChild(iframe); } }, getCharset: function(doc) { var charset = doc.characterSet || doc.charset; if (/unicode|utf-8/.test(char...
/* Kamino 3 Unit Test Suite | http://github.com/Cyril-sf/kamino.js */ (function (root) { var isLoader = typeof define == "function" && !!define.amd, isModule = typeof require == "function" && typeof exports == "object" && exports && !isLoader, isBrowser = "window" in root && root.window == root && typeof root.nav...
const webpack = require('webpack'); const chalk = require('chalk'); const env = require('dotenv').config().parsed; const _ = require('lodash'); const constants = require('./constants'); const helpers = require('./helpers'); const envMap = _.mapValues(env, v => JSON.stringify(v)); if (!envMap.APP_ENV) { envMap.APP_E...
/* 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( 'autoembed', 'bg', { embeddingInProgress: 'Опит за вграждане на поставения URL адрес...', embeddingFailed: 'Този URL адрес не ...
import { commonPayment } from '../api'; import _ from 'underscore'; import m from 'mithril'; import prop from 'mithril/stream'; import models from '../models'; import h from '../h'; const subscriptions = prop([]), vm = commonPayment.filtersVM({ project_id: 'eq' }); const subscriptionsLoader = (uuID) =...
var _ = require('lodash'); module.exports = generateSequenceInfo; /** * Generate info for a button sequence puzzle * @returns {Object} Object with 4 display values and 6 button labels for game * interface, 4 button labels and 2 divisors for manual generation, and the * puzzle solution */ function generateSeq...
var _ = require('underscore'); var Q = require('q'); // horrible hack to get localStorage Backbone plugin var Backbone = (!require('../util').isBrowser()) ? require('backbone') : window.Backbone; var util = require('../util'); var intl = require('../intl'); var Main = require('../app'); var Errors = require('../util/e...
var Lab = require('lab'); var Options = require('../lib/options'); var lab = exports.lab = Lab.script(); var after = lab.after; var before = lab.before; var describe = lab.experiment; var expect = Lab.expect; var it = lab.test; describe('Options', function () { it('populates defaults when given undefined', funct...
// ========================================================================== // Project: Ember Runtime // Copyright: ©2006-2011 Strobe Inc. and contributors. // ©2008-2011 Apple Inc. All rights reserved. // License: Licensed under MIT license (see license.js) // ==========================================...
var fs = require('fs'); var StorageApi = require('asposestoragecloud'); var ImagingApi = require('../lib/ImagingApi'); var assert = require('assert'); var AppSID = 'XXX'; //sepcify App SID var AppKey = 'XXX'; //sepcify App Key var config = {'appSid':AppSID,'apiKey':AppKey , 'debug' : true}; var data_path = '.....
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M17.5 15v-2h1.1l.9 2H21l-.9-2.1h.9V9h-5v4.86L17.14 15h.36zm0-4.5h2v1h-2v-1zm-4.5 0v.36l1.5 1.5V10.5c0-.8-.7-1.5-1.5-1.5h-1.86l1.5 1.5H13zM2.51 2.49L1.45 3.55 6.9 9h-.4v2h-2V9H3v6h1.5v-2.5h2V15H8v...
const _curry2 = require('ramda/src/internal/_curry2') const _map = require('ramda/src/internal/_map') const keys = require('ramda/src/keys') // mapObjIndexed: ((v, k, {k: v}) → v') → {k: v} → {k: v'} // mapObjIndexedReturnArray: ((v, k, {k: v}) → v') → {k: v} → [v'] /* * @example * * const xyz = { x: 1, y: 2,...
module.exports = function(grunt, options) { return { imports: { files: { '<%= build %>/css/styles.css': '<%= src %>/less/imports.less' } } }; };
module.exports = component var fs = require('fs') var path = require('path') var template = fs.readFileSync(path.join(__dirname, 'template.html')) var dependencies = fs.readFileSync(path.join(__dirname, 'dependencies.html')) var style = fs.readFileSync(path.join(__dirname, 'styles.css')) var definition = fs.readFileSy...
/* global jQuery, select2 */ (function ($) { 'use strict' if (window.self !== window.top) return false var STYLESHEET = 'lib/locator/findcity.css' var CITY_DATA var CITY_DATA_URL = 'https://gist.githubusercontent.com/randymeech/1fb759d34521b43d373d/raw/3d2d7944ae32d819a17d60a44c6702b4406e6c91/citi...
/** * @fileoverview Enforce anchor elements to contain accessible content. * @author Lisa Ring & Niklas Holmberg */ // ---------------------------------------------------------------------------- // Rule Definition // ---------------------------------------------------------------------------- import { elementType...
// Splits a batch of items up into pages. import {ITEMS_PER_PAGE, NUM_PAGE_BUTTONS} from './AppSettings.js' class PageBatch { constructor(pagesInBatch, itemPerPage) { this.pagesInBatch = pagesInBatch || NUM_PAGE_BUTTONS; this.itemPerPage = itemPerPage || ITEMS_PER_PAGE; this.pageToItems = {...
(function() { 'use strict'; var Tooltip = function(element, options) { this.$trigger = $(element); this.options = options || {}; this.id = this.generateId(); this.visible = false; }; Tooltip.prototype.init = function() { // On event in, show tooltip this.$trigger.on('mouseenter focusin...
export default function hasChildren(tree) { return tree.children !== undefined && tree.children.length > 0; }
/** * Tools * Pokemon Showdown - http://pokemonshowdown.com/ * * Handles getting data about pokemon, items, etc. * * This file is used by the main process (to validate teams) * as well as the individual simulator processes (to get * information about pokemon, items, etc to simulate). * * @license MIT license ...
console.log('kn7 init...'); $('#portfolio_link').on('click', function(e) { $(this).siblings('span').click(); }); $('#projects_link').on('click', function(e) { $(this).siblings('span').click(); });
// Functions related to rendering and attaching DOM elements var TT = TT || {}; TT.View = (function () { var pub = {}; pub.MIN_COLUMN_WIDTH = 220; pub.Templates = {}; // client-side templating is abstracted away pub.render = function (name, data) { if (!pub.Templates[name]) { pub.Templates[name...
// Flags: --expose-internals 'use strict'; const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); const assert = require('assert'); const h2 = require('http2'); const { kSocket } = require('internal/http2/util'); const Countdown = require('../common/countdown'); { const server...
/** * * AutoReloadOverlayBlocker * * */ import { createContext } from 'react'; const AutoReloadOverlayBlocker = createContext(); export default AutoReloadOverlayBlocker;
// Copyright (c) 2015 Uber Technologies, Inc. // // 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 // to use, copy, modify, merge...
/** * @fileoverview * Shuffl card plug-in for a card graphing tabular data. * * This plugin is initially based on the shuffl-card-datatable plugin, except * that the display area is rendered using 'flot' rather than as an HTML table. * * @author Graham Klyne * @version $Id: shuffl-card-datagraph.js 828 2010-...
'use strict'; var test = require('../../'); test('first', function (t) { t.plan(1); t.ok(true); }); test('second', function (t) { t.plan(2); t.ok(true); });
var UserList = React.createClass({displayName: 'UserList', getInitialState: function() { return {data: []}; }, componentDidMount: function() { $.ajax({ url: this.props.url, dataType: 'json', success: function(data) { this.setState({ ...
export { default } from './ProtectedRoute';
import curry from './curry' export default curry(_drop) /** * Remove the first n elements from a list. * * @arg n {Number} The number of elements to remove. * @arg list {Array} The list to remove the elements from. */ function _drop (n, list) { return list.slice(n) }
/*global define*/ 'use strict'; // Dependecies define([ 'jquery', 'jquery-ui', 'pubsub', 'underscore' ], function( jQuery, jQuery_ui, PubSub, _ ) { /* This modules changes every UI input/button/element. Every action triggered by the other modules, it actually tak...
var NOOP = require('../utils/NOOP'); // Phaser.Input.InteractiveObject var InteractiveObject = function (gameObject, hitArea, hitAreaCallback) { return { gameObject: gameObject, enabled: true, draggable: false, dropZone: false, target: null, camera: null, ...
console.log('file2');
'use strict' var l = require('./log'); function tokenGenerator(lexRules) { return function* tokenize(input) { let pos = 0; while (pos < input.length) { let matchedRuleArr = lexRules.map(function(rule){ return {'rule': rule, 'match': rule[0].exec(input.substring(pos))}; }).filter(function...
var PersistentStorage = require('./persistent_storage'); var _ = require('./utils'); var keys = { data: 'data', protocol: 'protocol', thumbprint: 'thumbprint' }; var location = null; if(typeof window !== 'undefined') { location = window.location; } else { location = { protocol: 'https:' }; } // construct...
module.exports = function(config) { config.set({ frameworks: ['jasmine'], basePath : './', files : [ 'static/admin/js/libs.js', 'bower_components/angular-mocks/angular-mocks.js', 'static/admin/js/built.js', 'spec/angular/*Spec.js' ], // reporters: ['progress'], autoWatch : true, // browsers : [...
/*global describe, it, expect, require, beforeEach */ describe('TableUtil', function () { 'use strict'; var TableUtil = require('../src/table-util'), underTest; beforeEach(function () { underTest = new TableUtil(); }); describe('justifyTable', function () { it('padds cells to fit max length values in each ...
import React from 'react'; import { render } from 'react-dom'; import { Field, Meta, Description, Label, Value, } from './FormComponents'; describe('Field', () => { it('renders without crashing', () => { const div = document.createElement('div'); render(<Field />, div); }); }); describe('Meta',...
$(function(){function t(t){var e=t.attr("data-action");e||(e=location.pathname),e+=e.indexOf("?")===-1?"?":"&",location.href=e+t.find("input, textarea, select").serialize()}$(".sdx-getform").find("input, select").on("keypress",function(e){if(13==e.which){e.preventDefault();var n=$(this).closest(".sdx-getform");return t...
import { Sequence, Parallel } from './primitives' export { FunctionTreeExecutionError, FunctionTreeError } from './errors' export function sequence(...args) { return new Sequence(...args) } export function parallel(...args) { return new Parallel(...args) } export { FunctionTree } from './FunctionTree' export { ...
var Backbone = require('backbone'); var UserModel = require('./user.js'); var CurrentRoomModel = require('./currentRoom.js'); var AppModel = Backbone.Model.extend({ initialize: function () { this.set('user', new UserModel()); this.set('current_room', new CurrentRoomModel()); this.get('current_room').on(...
module.exports={A:{A:{"2":"M D H F A B mB"},B:{"1":"K","2":"C E q L O I J"},C:{"2":"5 8 jB AB G M D H F A B C E q L O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w eB cB","129":"0 1 2 3 4 6 9 x y z LB BB CB DB EB FB HB IB JB"},D:{"1":"0 1 2 3 4 6 9 z LB BB CB DB EB FB HB IB JB bB VB PB oB K QB R...
/* eslint-env node, mocha */ /* global $pg_database */ import knexCleaner from 'knex-cleaner' import { dbAdapter, User, Group } from '../../app/models' describe('Group', () => { beforeEach(async () => { await knexCleaner.clean($pg_database) }) describe('#create()', () => { let groupAdmin beforeEach...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M4 7h4v10H6V9H4V7zm11.83 4.72L18.66 7h-2.33l-1.66 2.77L13 7h-2.33l2.83 4.72L10.33 17h2.33l2-3.34 2 3.34H19l-3.17-5.28z" /> , 'TimesOneMobiledata');
var saveSelectColor = { 'Name': 'SelcetColor', 'Color': 'theme-white' } // 判断用户是否已有自己选择的模板风格 if (storageLoad('SelcetColor')) { $('body').attr('class', storageLoad('SelcetColor').Color) } else { storageSave(saveSelectColor); $('body').attr('class', 'theme-white') } // 本地缓存 function storageSave(obje...
'use strict'; var gulp = require('gulp'); var gutil = require('gulp-util'); var webpack = require('webpack'); var WebpackNotifierPlugin = require('webpack-notifier'); var webpackConfig = require('../webpack.config.js'); function buildProduction(done) { // modify some webpack config options var myProdConfig = Obje...
function isClassDescriptor(possibleDesc) { let [target] = possibleDesc; return ( possibleDesc.length === 1 && typeof target === 'function' && 'prototype' in target && !target.__isComputedDecorator ); } export function isFieldDescriptor(possibleDesc) { let [target, key, desc] = possibleDesc; ...
/*! * Ext JS Library 3.1.1 * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ /** * @class Ext.ux.tree.TreeGridLoader * @extends Ext.tree.TreeLoader */ Ext.ux.tree.TreeGridLoader = Ext.extend(Ext.tree.TreeLoader, { createNode : function(attr) { if (!attr.uiP...
/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */ jQuery(function ($) { $.datepicker.regional['kk'] = { closeText: 'Жабу', prevText: '&#x3c;Алдыңғы', nextText: 'Келесі&#x3e;', currentText: 'Бүгін'...
'use strict'; //Categories service used for categories REST endpoint angular.module('mean.categories').factory('Categories', ['$resource', function($resource) { return $resource('categories/:menuId', { menuId: '@_id' }, { update: { method: 'PUT' } }); }]);
import { fork } from 'redux-saga/effects' export const makeRootSaga = (sagas) => { return function *rootSaga () { yield sagas.map(saga => fork(saga)) } } export const injectSagas = (store, { key, sagas }) => { if (store.asyncSagas[key]) { return } store.asyncSagas[key] = sagas store.runSaga(makeRo...
var npm = require('npm'); console.log("I'm bad!");
/** * @ignore * Button control for KISSY. * @author yiminghe@gmail.com */ KISSY.add("button", function (S, Node, Control, ButtonRender) { var KeyCode = Node.KeyCode; /** * KISSY Button. * @extends KISSY.Component.Control * @class KISSY.Button */ return Control.extend({ isBu...
/* * HexGL * @author Thibaut 'BKcore' Despoulain <http://bkcore.com> * @license This work is licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/3.0/. */ var bkcore = bkcore || {}; bkcore.h...
!function(a){a.fn.datepicker.dates["rs-latin"]={days:["Nedelja","Ponedeljak","Utorak","Sreda","\u010cetvrtak","Petak","Subota","Nedelja"],daysShort:["Ned","Pon","Uto","Sre","\u010cet","Pet","Sub","Ned"],daysMin:["N","Po","U","Sr","\u010c","Pe","Su","N"],months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgus...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S12.7_A1_T3; * @section: 12.7; * @assertion: Appearing of continue without an IterationStatement leads to syntax error; * @description: Checking if laballed "continue"...
var is = require('./is') module.exports = { arr: toArray , obj: toObject } function toArray(d){ return Array.prototype.slice.call(d, 0) } function toObject(d) { var by = 'id' , o = {} return arguments.length == 1 ? (by = d, reduce) : reduce.apply(this, arguments) function reduce(p,v,i){ ...
'use strict'; const blueprintHelpers = require('ember-cli-blueprint-test-helpers/helpers'); const setupTestHooks = blueprintHelpers.setupTestHooks; const emberNew = blueprintHelpers.emberNew; const emberGenerateDestroy = blueprintHelpers.emberGenerateDestroy; const modifyPackages = blueprintHelpers.modifyPackages; co...
/** * Created by Shreya on 7/19/2017. */ function checkusername() { var v=document.getElementById('username').value; if(v!=null){ var url="uniqueusername?val="+v; if(window.XMLHttpRequest){ request=new XMLHttpRequest(); } else if(window.ActiveXObject){ ...
var path = require('path'); var createPattern = function(file) { return {pattern: file, included: true, served: true, watched: false}; }; var initHappen = function(files) { files.unshift(createPattern(require.resolve('happen'))); }; initHappen.$inject = ['config.files']; module.exports = { 'framework:ha...
var SkipLastObservable = (function (__super__) { inherits(SkipLastObservable, __super__); function SkipLastObservable(source, c) { this.source = source; this._c = c; __super__.call(this); } SkipLastObservable.prototype.subscribeCore = function (o) { return this.source.subscrib...
//>>built define("dojo/_base/array dojo/aspect dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-construct dojo/dom-geometry dojo/dom-style dojo/has dojo/keys dojo/_base/lang dojo/on ./place ./BackgroundIframe ./Viewport ./main dojo/touch".split(" "),function(w,x,e,y,z,r,k,p,A,t,m,u,v,B,C,D){function E(){this._popupWr...
'use strict' const cloneDeep = require('lodash.clonedeep') const merge = require('lodash.merge') const pluginRegistry = require('./pluginRegistry') function freezeTheme (theme) { const queue = [theme] while (queue.length > 0) { const object = queue.shift() Object.freeze(object) for (const key of Obj...
/* node ./test/twitterstream.js todo test - various errors, should reconnect */ var twitterstream = require('../lib/twitterstream') ,config = require('../config.js') ; /* var level = require('level')(__dirname+'/../'+config.leveldb.engines) ,subLevel = require('level-sublevel')(level) ,articlesDb = subLevel.subleve...
describe('{{ module}}.{{ name }} directive', function() { 'use strict'; var $compile, $scope, element, isolateScope; // Include the main module beforeEach(module('{{module}}', 'templatesModule')); //Mock dependencies beforeEach(module(function($provide) { var serviceMock = jasmine.cre...
import React from 'react'; import jQuery from 'jquery'; import {addTopic} from '../lib/client'; import {redirectURL} from '../lib/utils'; import MarkdownEditor from './MarkdownEditor'; export default class TopicEditor extends React.Component{ constructor(props){ super(props); this.state = props.topic || {};...
"use strict"; var GraphModel = require('./GraphModel'); var pageNodeDesc = { // Node attributes description "word": { type: "string" }, "doc_count": { type: "integer" } }; var pageEdgeDesc = { "weight": { type: "integer" } }; module.exports = function PageGraph(){...
import React from 'react' import ReactDom from 'react-dom' import Input, * as inputHelper from '../src/index' import './css/bootstrap/bootstrap.min.css' import './css/site.css' //optional: setting up global config -- begin inputHelper.config({ validationStateProperty: 'validation', // the property name in the state...
var searchData= [ ['iconimageview',['iconImageView',['../interface_category_detail_view_controller.html#a7ae5baab3f989c4c470e73f29a132f2c',1,'CategoryDetailViewController']]], ['iconname',['iconName',['../interface_checklist.html#a8cf1d13a9c2780d67fca7df8e02864c4',1,'Checklist']]], ['image',['image',['../interfac...
!function($) { 'use strict'; $.fn.provePrecision = function(options) { var regex = /^(.)*(\.[0-9]{1,2})?$/; var input = $(this); var value = input.vals(); var enabled = $('body').booleanator(options.enabled); var has = regex.test(value)? 'success' : 'danger'; var validation = (enabled)? has : 'reset'; ...
'use strict'; var fs = require('fs'), tasks = fs.readdirSync('./gulp/tasks/'); tasks.forEach(function (task) { require('./tasks/' + task); });
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translator: Fabio Di Bernardini, <altraqua@email.it> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer t...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
import DS from 'ember-data'; export default DS.Model.extend({ rooms: DS.hasMany('room', { async: false }), });
jest.autoMockOff(); describe('WEAKMAPS', () => { xit('has a set method', ()=>{ let key = {name: "Aaron"}; let value = {twitter: '@js_dev', gplus: '+AaronFrost'}; // Create a new WeakMap called 'myMap' // Add a new entry. Use key as the key and values as the value expect(myMap.has(key)).toBe(t...
var MeshData = require('../renderer/MeshData'); var ObjectUtils = require('../util/ObjectUtils'); /** * MeshData for a Grid. * @extends MeshData * @param {number} [xSegments=10] Number of columns. * @param {number} [ySegments=10] Number of rows. * @param {number} [width=1] Total width of the Grid. * @param {numb...
const path = require('path'); module.exports = (baseConfig, env, config) => { config.module.rules.push({ test: /\.(ts|tsx)$/, use: [ { loader: 'babel-loader' }, { loader: 'awesome-typescript-loader' }, { loader: 'react-docgen-typescript-loader' } ] }); con...
const data = { stage: null, background: 0xffffff, width: 32, height: 32, framerate: 24, totalFrames: 3, assets: { "tween_scale_y": "images/tween_scale_y.shapes.json" }, lib: {}, shapes: {}, textures: {}, spritesheets: [], getTexture: function(id) { if (data.textures[id]) { re...
import _ from 'lodash'; import { SingleScrollingScreen, SplitScrollingScreen } from '../screen'; import RespawnScreen from './respawn'; import ConductCalc from '../../constants/conducts'; import GameState from '../../init/gamestate'; export class SingleConductScreen extends SingleScrollingScreen { static enter() { ...
/** * Copyright (c) ActiveState 2013 - ALL RIGHTS RESERVED. */ if (typeof define !== 'function') { var define = require('amdefine')(module) } define([], function () { var page = function (collection, data) { this.collection = collection; this.data = data; }; pag...
define({ "_widgetLabel": "Atributová tabulka", "_featureAction_ShowRelatedRecords": "Zobrazit související záznamy", "_featureAction_ViewInTable": "Zobrazit v atributové tabulce", "ok": "OK", "cancel": "Storno", "unsupportQueryWarning": "Vrstva musí podporovat operace dané založené na dotazu, aby bylo možné ...
'use strict'; module.exports = { up: function (queryInterface, Sequelize) { return queryInterface.createTable('ProfileItems', { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER }, profileId: { type: ...
import {AppError} from './error'; export class Cache { constructor() { this.items = {}; } set(key, value) { this.items[key] = value; } get(key) { const entry = this.find(key); if (!entry) { throw new AppError( 'cache.get', `Entry with key was not found "${key}"`); } return entry; } ha...
(function(c){var l=function(a,d){var e=c(this),b=e.data("MediaTable");c.isEmptyObject(b)&&(b={$wrap:c("<div>"),$table:e,$menu:!1,cfg:a,id:e.attr("id")},b.id||(b.id="MediaTable-"+d,b.$table.attr("id",b.id)),b.$table.addClass("activeMediaTable"),b.$wrap.addClass("mediaTableWrapper"),b.$table.before(b.$wrap).appendTo(b.$w...
/** * @author Richard Davey <rich@photonstorm.com> * @author Florian Mertens * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Point = require('../point/Point'); /** * Get the nearest point on a line perpendicular to the given point...
'use strict' var geo = require('geometry'), util = require('util'), actions = require('../actions') var Scene = require('./Scene').Scene, Director = require('../Director').Director, EventDispatcher = require('../EventDispatcher').EventDispatcher, Sch...
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011 Zynga Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this sof...
module.exports={A:{A:{"1":"E A B","2":"H D EB","132":"G"},B:{"1":"C p x J L N I"},C:{"1":"0 1 2 3 4 5 6 8 9 ZB BB F K H D 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 M q r s t u v w y XB RB"},D:{"1":"0 1 2 3 4 5 6 8 9 F K H D 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 ...
module.exports = { mixins: [ "canonical", "og-title", "og-description", "og-site", "og-image", "favicon" ], getLink: function (meta) { if (meta.twitter && meta.twitter.player) { return { href: meta.twitter.player.value, ...
/** * User * @namespace crowdsource.user.services */ (function () { 'use strict'; angular .module('crowdsource.user.services') .factory('User', User); User.$inject = ['$http', 'HttpService']; function User($http, HttpService) { var baseUrl = HttpService.apiPrefix + '/users...
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { chainPropTypes } from '@material-ui/utils'; import { gener...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.detectScrollType = detectScrollType; exports.getNormalizedScrollLeft = getNormalizedScrollLeft; // Source from https://github.com/alitaheri/normalize-scroll-left var cachedType; /** * Based on the jquery plugin https://github.com/...