code stringlengths 2 1.05M |
|---|
Ext.define("Ext.grid.Scroller",{constructor:Ext.deprecated()}); |
var parent = require('../../stable/instance/sort');
module.exports = parent;
|
/**
* Authentication Protocols
*
* Protocols where introduced to patch all the little inconsistencies between
* the different authentication APIs. While the local authentication strategy
* is as straigt-forward as it gets, there are some differences between the
* services that expose an API for authentication.
*... |
/*!
* Ext JS Library 3.3.1
* Copyright(c) 2006-2010 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
Ext.onReady(function(){
var items = [];
Ext.QuickTips.init();
//=============================================================
// Layout grid toggle button
//=====... |
/* global Module */
/* Magic Mirror
* Module: Calendar
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
Module.register("calendar", {
// Define module defaults
defaults: {
maximumEntries: 10, // Total Maximum Entries
maximumNumberOfDays: 365,
displaySymbol: true,
defaultSymbol: "calendar... |
$.components.register("ladda", {
mode: "init",
defaults: {
timeout: 2000
},
init: function() {
if (typeof Ladda === "undefined") return;
var defaults = $.components.getDefaults("ladda");
Ladda.bind('[data-plugin="ladda"]', defaults);
}
});
$.components.register("laddaProgress", {
mode: "in... |
/*
* https://github.com/karma-runner/karma/blob/master/test/client/karma.conf.js
*/
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ... |
/*
* POSTCSS: Transforming CSS with JS plugins
*/
module.exports = function (grunt, options) {
'use strict';
var proc = {
autoprefixer: require('autoprefixer'),
cssMqPacker: require('css-mqpacker'),
csswring: require('csswring'),
singleCharset: require('postcss... |
steal('jquery/model/list','jquery/lang/object',function($){
var same = $.Object.same;
can.Construct('jQuery.Model.Store',
{
init : function(){
if(this.fullName === 'jQuery.Model.Store'){
return;
}
/**
* which sets are represented in this store ...
*/
this.sets = [];
this.data = {};
// listen on... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'sourcearea', 'lv', {
toolbar: 'HTML kods'
});
|
define({
"left": "محاذاة إلى اليسار",
"right": "محاذاة إلى اليمين",
"arrangement": "ترتيب",
"autoUpdate": "تحديث تلقائي",
"respectCurrentMapScale": "مراعاة مقياس رسم الخريطة الحالي"
}); |
/* flatpickr v4.4.3, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.my = {})));
}(this, (function (exports) { 'use strict';
var f... |
const applicationTab = {
LOAD_APPLICATION_TAB: "LOAD_APPLICATION_TAB",
LOADED_APPLICATION_TAB: "LOADED_APPLICATION_TAB",
ERROR_LOADING_APPLICATION_TAB: "ERROR_LOADING_APPLICATION_TAB"
};
export default applicationTab; |
var searchData=
[
['rawoperationdescriptor',['RawOperationDescriptor',['../classv8_1_1_raw_operation_descriptor.html',1,'v8']]],
['regexp',['RegExp',['../classv8_1_1_reg_exp.html',1,'v8']]],
['resolver',['Resolver',['../classv8_1_1_promise_1_1_resolver.html',1,'v8::Promise']]],
['resourceconstraints',['Resource... |
(function ($) {
/**
* Generate an indented list of links from a nav. Meant for use with panel().
* @return {jQuery} jQuery object.
*/
$.fn.navList = function () {
var $this = $(this);
$a = $this.find('a'),
b = [];
$a.each(function () {
var $this... |
version https://git-lfs.github.com/spec/v1
oid sha256:c3a45ea780d498c550fce24b49d91d5747cd533f68b386de42e69a7acdc9d77c
size 1197
|
import { types as t } from "@babel/core";
function getTDZStatus(refPath, bindingPath) {
const executionStatus = bindingPath._guessExecutionStatusRelativeTo(refPath);
if (executionStatus === "before") {
return "inside";
} else if (executionStatus === "after") {
return "outside";
} else {
return "ma... |
"use strict";
/*
* ´¦ÀíMFÖеÄListing
*/
function setListingContentHeight( container ) {
/// <summary>Resizes the listing control to fit the remaining height of the pane.</summary>
var remainingHeight = container.height() - container.find( ".mf-listing-header" ).outerHeight();
container.find( ".mf-listing-c... |
define(["Tone/core/Tone", "Tone/effect/PluckSynth"], function(Tone){
/**
* named presets for the PluckSynth
* @const
* @static
* @type {Object}
*/
Tone.PluckSynth.prototype.preset = {
"Glassy" : {
"attackNoise": 4,
"dampening": 9200,
"resonance": 1
},
"Violin" : {
"attackNoise": 8,
... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import capitalize fr... |
/* eslint-disable */
;(function(root, factory) {
if (typeof define === 'function' && define.amd) { // AMD
define(['../core'], factory);
} else if (typeof exports === 'object') { // Node.js
module.exports = factory(require('../core'));
} else { // Browser
root.Blockly.Msg = factory(root.Blockly);
}
}... |
module.exports={A:{A:{"1":"C G E A B","2":"SB","8":"I"},B:{"1":"D g q K"},C:{"1":"0 1 2 3 QB F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W OB NB"},D:{"1":"0 1 2 6 9 F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W C... |
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// ... |
export default{"Close menu":"Fechar menu","Open menu":"Abrir menu"}; |
htmx.defineExtension("morphdom-swap",{isInlineSwap:function(n){return"morphdom"===n},handleSwap:function(n,o,m){if("morphdom"===n)return morphdom(o,m.outerHTML),[o]}}); |
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
// Custom RequireJS plugin to handle style dependencies from Javascript modules
// Has special WinJS-specific behavior that wasn't achievable with libraries like req... |
console.warn("warn -",`Imports like "const instacart = require('simple-icons/icons/instacart');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siInstacart } = require('simple-icons/icons');" instead`),module.exports={title:"Instacart",slug:"instacart",get svg(){return'<svg role="img" ... |
define('ace/ext/modelist', ['require', 'exports', 'module' ], function(require, exports, module) {
var modes = [];
function getModeForPath(path) {
var mode = modesByName.text;
var fileName = path.split(/[\/\\]/).pop();
for (var i = 0; i < modes.length; i++) {
if (modes[i].supportsFile(fileName)) {... |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({indentUnit: 2}, "javascript");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
MT("locals",
"[ke... |
interface string {}
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbo... |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/TeX/svg/Size4/Regular/Main.js
*
* Copyright (c) 2011-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... |
/**
* zrender: 生成唯一id
*
* @author errorrik (errorrik@gmail.com)
*/
define('zrender/core/guid',[],function() {
var idStart = 0x0907;
return function () {
return idStart++;
};
});
/**
* echarts设备环境识别
*
* @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。
* @author firede[fired... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'liststyle', 'ku', {
armenian: 'ئاراستەی ژمارەی ئەرمەنی',
bulletedTitle: 'خاسیەتی لیستی خاڵی',
circle: 'بازنه',
decimal: 'ژمارە (1, 2, 3, وە هیتر.... |
/*
* 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.
*/
'... |
module.exports={title:"ChatBot",slug:"chatbot",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>ChatBot icon</title><path d="M11.999 0c-2.25 0-4.5.06-6.6.21a5.57 5.57 0 00-5.19 5.1c-.24 3.21-.27 6.39-.06 9.6a5.644 5.644 0 005.7 5.19h3.15v-3.9h-3.15c-.93.03-1.74-.63-1.83-1.56-.18-3-.15-... |
/**
* @author Sean Griffin / http://twitter.com/sgrif
* @author Michael Guerrero / http://realitymeltdown.com
* @author mrdoob / http://mrdoob.com/
* @author ikerr / http://verold.com
*/
THREE.SkeletonHelper = function ( object ) {
this.bones = this.getBoneList( object );
var geometry = new THREE.Geometry();
... |
/* For the Racket manual style */
AddOnLoad(function() {
/* Look for header elements that have x-source-module and x-part tag.
For those elements, add a hidden element that explains how to
link to the section, and set the element's onclick() to display
the explanation. */
var tag_names = [... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v10.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __prot... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getSvgIconUtilityClass = getSvgIconUtilityClass;
exports.default = void 0;
var _unstyled = require("@material-ui/unstyled");
function getSvgIconUtilityClass(slot) {
return (0, _unstyled.generateUtilityClass)('MuiSvgIcon', slot);... |
'use strict';
var reqFrom = require('req-from');
module.exports = function (moduleId) {
return reqFrom('.', moduleId);
};
module.exports.silent = function (moduleId) {
return reqFrom.silent('.', moduleId);
};
|
const Base: any = class {}
class Derived1 extends Base {}
class Derived2 extends Derived1 {
m() {}
}
|
var Transform = require('readable-stream').Transform;
var inherits = require('inherits');
inherits(Tokenize, Transform);
module.exports = Tokenize;
var codes = {
lt: '<'.charCodeAt(0),
gt: '>'.charCodeAt(0),
slash: '/'.charCodeAt(0),
dquote: '"'.charCodeAt(0),
squote: "'".charCodeAt(0),
equal:... |
frappe.provide("frappe.core")
frappe.core.Workflow = frappe.ui.form.Controller.extend({
refresh: function(doc) {
this.frm.set_intro("");
if(doc.is_active) {
this.frm.set_intro("This Workflow is active.");
}
this.update_field_options(doc);
},
document_type: function(doc) {
this.update_field_options(doc)... |
angular.module('ui.bootstrap.position', [])
/**
* A set of utility methods that can be use to retrieve position of DOM elements.
* It is meant to be used where we need to absolute-position DOM elements in
* relation to other, existing elements (this is the case for tooltips, popovers,
* typeahead suggestions etc.)... |
AmCharts.translations[ "export" ][ "lt" ] = {
"fallback.save.text": "Spauskite CTRL + C jei norite nukopijuoti paveiksliuką.",
"fallback.save.image": "Spragtelkite dešinį klavišą ir pasirinkite \"Save picture as...\" jei norite išsaugoti paveiksliuką.",
"capturing.delayed.menu.label": "{{duration}}",
"capturing.de... |
{
"ALLOWED_FILE_TYPE": "Разрешены только указанные файлы: ",
"AUTHORIZATION_REQUIRED": "У вас не хватает прав для работы с менеджером файлов.",
"DIRECTORY_ALREADY_EXISTS": "Папка '%s' уже существует.",
"DIRECTORY_NOT_EXIST": "Папка %s не существует.",
"DISALLOWED_FILE_TYPE": "Указанные файлы зап... |
/**
* Module dependencies.
*/
var config = require('lib/config');
var jade = require('jade');
var path = require('path');
var resolve = path.resolve;
var t = require('t-component');
var html = jade.renderFile(resolve(__dirname, 'index.jade'), { config: config, t: t });
var express = require('express');
var app = mod... |
'use strict';
var angularFiles = require('./angularFiles');
var sharedConfig = require('./karma-shared.conf');
module.exports = function(version) {
version = version || '';
return function(config) {
sharedConfig(config, {
testName: 'AngularJS: jQuery' + (version ? ' ' + version : ''),
logFile: 'k... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.0.0-alpha.0
* @link http://www.ag-grid.com/
* @license MIT
*/
var columnGroup_1 = require("./columnGroup");
var column_1 = require("./column");
var OriginalColumnGroup = (function () {
funct... |
/**
* @author alteredq / http://alteredqualia.com/
*
* AudioObject
*
* - 3d spatialized sound with Doppler-shift effect
*
* - uses Audio API (currently supported in WebKit-based browsers)
* https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
*
* - based on Doppler effect demo from Chromium
... |
// npm explore <pkg>[@<version>]
// open a subshell to the package folder.
module.exports = explore
explore.usage = 'npm explore <pkg> [ -- <cmd>]'
explore.completion = require('./utils/completion/installed-shallow.js')
var npm = require('./npm.js')
var spawn = require('./utils/spawn')
var path = require('path')
var ... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
var map, vector;
function init(){
map = new OpenLayers.Map('map', {
projection: 'EPSG:31467',
maxResolution: 3457.03125,
units: 'm',
numZoomLevels: 1,
controls: [
new OpenLayers.Control.Attribution({
div: $('attribution')
}),
... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["react", "react-dom"], factory);
else if(typeof exports === 'obje... |
/*!
* numbro.js language configuration
* language : portuguese (pt-pt)
* author : Diogo Resende : https://github.com/dresende
*/
!function(){var a={delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){return"º"},currency:{symbol:"€",position:"p... |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"\u0635",
"\u0645"
],
"DAY": [
"\u0627\u0644... |
"use strict";
var foo = babelHelpers._extends({}, bar);
var foo = babelHelpers._extends({}, bar, {
bar: "foo"
});
var foo = babelHelpers._extends({}, bar, {
bar: "foo"
}); |
var CSSselect = require(".."),
htmlparser = require("htmlparser2"),
assert = require("assert");
function makeDom(markup) {
var handler = new htmlparser.DomHandler(),
parser = new htmlparser.Parser(handler);
parser.write(markup);
parser.done();
return handler.dom;
}
describe("API", function() {
describe... |
define([
"../core",
"./var/rsingleTag",
"../manipulation" // buildFragment
], function( jQuery, rsingleTag ) {
// data: string of html
// context (optional): If specified, the fragment will be created in this context, defaults to document
// keepScripts (optional): If true, will include scripts passed in th... |
// Copyright 2007 The Closure Library Authors. 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.apache.org/licenses/LICENSE-2.0
//
// Unless requ... |
/*
* bootstrap-table - v1.6.0 - 2015-03-03
* https://github.com/wenzhixin/bootstrap-table
* Copyright (c) 2015 zhixin wen
* Licensed MIT License
*/
!function(a){"use strict";a.fn.bootstrapTable.locales["pl-PL"]={formatLoadingMessage:function(){return"Ładowanie, proszę czekać..."},formatRecordsPerPage:function(a){return... |
/**
* @license Highcharts JS v5.0.5 (2016-11-29)
*
* (c) 2009-2016 Torstein Honsi
*
* License: www.highcharts.com/license
*/
(function(factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);
}
}(function(Highcharts) {
(... |
//! moment.js locale configuration
//! locale : Maori [mi]
//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeo... |
tinymce.addI18n('fo',{
"Cut": "Klipp",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "T\u00edn kagi hevur ikki beinlei\u00f0is atgongd til setibor\u00f0i\u00f0. Vinarliga br\u00faka CTRL+X\/C\/V snarvegirnar \u00edsta\u00f0in.",
"Paste": "L\u00ed... |
// Copyright 2013 Selenium committers
// Copyright 2013 Software Freedom Conservancy
//
// 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
/... |
// Generated by CoffeeScript 1.3.3
(function() {
var BOOL, CALLABLE, CODE, COFFEE_ALIASES, COFFEE_ALIAS_MAP, COFFEE_KEYWORDS, COMMENT, COMPARE, COMPOUND_ASSIGN, HEREDOC, HEREDOC_ILLEGAL, HEREDOC_INDENT, HEREGEX, HEREGEX_OMIT, IDENTIFIER, INDEXABLE, INVERSES, JSTOKEN, JS_FORBIDDEN, JS_KEYWORDS, LINE_BREAK, LINE_CONTIN... |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
*******************************... |
define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var JsonHighlightRules = function() {
... |
Package.registerBuildPlugin({
name: "compilePrintme",
sources: ['plugin.js']
});
Package.onUse(function (api) {
api.use('isobuild:compiler-plugin@1.0.0');
});
|
YUI.add('datatable-head', function(Y) {
/**
View class responsible for rendering the `<thead>` section of a table. Used as
the default `headerView` for `Y.DataTable.Base` and `Y.DataTable` classes.
@module datatable
@submodule datatable-head
@since 3.5.0
**/
var Lang = Y.Lang,
fromTemplate = Lang.sub,
isArray... |
YUI.add("lang/datatype-date-format_fr-FR",function(e){e.Intl.add("datatype-date-format","fr-FR",{a:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],A:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],b:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],B:["janvi... |
/*
YUI 3.17.1 (build 0eb5a52)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("arraylist-add",function(e,t){e.mix(e.ArrayList.prototype,{add:function(t,n){var r=this._items;return e.Lang.isNumber(n)?r.splice(n,0,t):r.push(t),this},remove:functio... |
var body = document.querySelector( 'body' ),
input = document.querySelector( 'input' ),
ul = document.querySelector( 'ul' );
function addElement( str ) {
var el = document.createElement( 'li' );
el.innerHTML = str;
ul.appendChild( el );
}
input.addEventListener( 'keypress', function( event )... |
/*! React Alt Firebase Starter */
import './Footer.less';
import React from 'react';
import { Link } from 'react-router';
export default class Footer extends React.Component {
render() {
return (
<footer className="page-footer blue darken-4">
<div className="container">
<div className... |
'use strict'
const pump = require('pump')
const trips = require('vbb-trips')
const through = require('through2')
const csv = require('csv-write-stream')
const fs = require('fs')
const buildTrips = (file, stations, stationsMap) => {
const stationOf = {}
for (let id in stations) {
stationOf[id] = id
for (let stop... |
var minimatch = require('minimatch'),
crypto = require('crypto'),
async = require('async'),
path = require('path'),
fs = require('fs');
function walkRecursively( dirName, nodes, filter, iterator, cb ) {
async.waterfall([
function( cb ) {
fs.readdir(dirName, cb);
},
function( files, cb ) {
... |
/* $Id: sbbsdefs.js,v 1.99 2019/10/09 17:47:24 rswindell Exp $ */
/****************************************************************************
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright Rob ... |
App.views.AdminUsageView = Backbone.View.extend({
initialize: function() {
this.model = new App.collections.UsageCollection();
this.model.fetch();
this.render();
},
render: function() {
var columns = [{
name: "user",
label: "User",
editable: false,
cell: "string"
}, {
... |
import {predefinedColors} from "@ignavia/util";
import registry from "../../registry.js";
import * as utils from "../../utils.js";
/**
* The default configuration of this style.
*
* @type {Object}
*/
export const defaultConf = {
/**
* How the box should look like.
*
* @type {Object}
*/
... |
/* config vars must be global */
//API = "" //moved to deployment.environments.json;
//MIXPANEL = "" //moved to deployment.environments.json;
Options = {
theme : "light",
base : {currency:"BTC", issuer:"gDSSa75HPagWcvQmwH7D51dT5DPmvsKL4q"},
trade : {currency:"XPS", issuer:""},
chartType : "... |
'use strict'
angular.module('starterApp')
.controller('cartController', function($scope, $location, Auth, Cart, $rootScope, $cacheFactory){
Auth.restrict();
$scope.objCartlist = null;
Cart.all().success(function(data){
if(data.message && data.message.prods){
var objProducts = data.message.prods;
... |
class TTY_App extends Client_App {
/**
* @param {object|void} properties
* @returns {void}
*/
constructor(properties = { }) {
super();
if (properties.debug) {
this.enableDebugMode();
}
Logger.silence();
}
getInputConstructor() {
return TTY_Input;
}
getViewportConstructor() {
return T... |
"use strict"
const path = require("path")
const chai = require("chai")
const debug = require("debug")("route4me-node:examples")
require("../init-examples-suite")
const helper = require("../../test/helper")
helper.describeIntegration(helper.toSuiteName(__filename), function T() {
this.timeout(5000)
this.slow(3000)... |
/* Hammer-time - v0.3.0
* http://github.com/hammerjs/hammer-time
*
* Copyright Alexander Schmitz and other contributors
* Released under the MIT license
*
* Expiramental fastclick based on a partial polyfill of
* touch-action: none; CSS property
*/
( function() {
// Detect support for necessary features;
va... |
'use strict';
module.exports = function createSurfaceId(surface) {
var surfaceParent = surface._getSurfaceParent();
if (surfaceParent) {
return surfaceParent.getId() + '/' + surface.name;
} else {
return surface.name;
}
};
|
function capitalize(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
module.exports = function(source) {
var path = this.resourcePath;
var splits = path.split('/');
var namedParts = splits.slice(splits.length - 2);
var snippetName =
capitalize(namedParts[0]) + capitalize(namedParts[1]... |
/* Copyright (c) 2012, 2014 Hyunje Alex Jun and other contributors
* Licensed under the MIT License
*/
(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
... |
angular.module('screenModule',['ngRoute','IoC']).config( function($routeProvider){
$routeProvider.
when('/', {controller:ScreenController}).
otherwise({redirectTo:'/'});
}); |
import qsStringify from 'qs-stringify';
import { REQUEST_START } from '../constants/ActionTypes';
import {
requestComplete,
requestCompleteError,
} from '../actions/RequestActionCreators';
import { requestOptionsSelector } from '../selectors/configSelectors';
import { tokenSelector } from '../selectors/userSelector... |
import React from 'react'
import { StyleSheet, Text, View } from 'react-native'
export default function App() {
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
</View>
)
}
const styles = StyleSheet.create({
container: {
flex: 1,
background... |
version https://git-lfs.github.com/spec/v1
oid sha256:b9f1ae56f65655fcc7251fbe480a614648b860defefabc2fc7f735c6df2a49b1
size 31233
|
export const saddlePoints = (matrix) => {
const maximumRowValues = [];
const minimumColumnValues = [];
for (let i = 0; i <= matrix.length - 1; i++) {
const maximumRowValue = Math.max(...matrix[i]);
maximumRowValues.push(maximumRowValue);
}
for (let i = 0; i <= matrix[0].length - 1; i++) {
let mi... |
var keyboard = {};
$(document).ready(function(){
var keyboardRows = document.querySelectorAll('.keyboard-row');
console.log(keyboardRows);
for (var i=0; i<keyboardRows.length; i++){
keyboardRows[i].addEventListener('click', keyboard.keyboardClick);
}
})
keyboard.keyboardClick = function(event){
if(eve... |
"use strict";
/*
This file is a modified copy from the msgraph-sdk-javascript
Package version .0.3.2 from https://www.npmjs.com/package/@microsoft/microsoft-graph-client.
Github: https://github.com/microsoftgraph/msgraph-sdk-javascript.
License is MIT: https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/mas... |
exports.BattleAliases = {
// mega evos
"megaabomasnow": "Abomasnow-Mega",
"megaabsol": "Absol-Mega",
"megaaerodactyl": "Aerodactyl-Mega",
"megaaggron": "Aggron-Mega",
"megaalakazam": "Alakazam-Mega",
"megaampharos": "Ampharos-Mega",
"megabanette": "Banette-Mega",
"megablastoise": "Blastoise-Mega",
"megablazik... |
angular.module('CandyBeatApp').factory('synthService', function ($window, music, $q, patchService) {
var ctx = new AudioContext();
var analyserJsNode = ctx.createScriptProcessor(1024, 1, 1);
var NOISE_SIZE = 4096;
analyserJsNode.connect(ctx.destination);
var analyser = ctx.createAnalyser();
analyser.smoothingT... |
var textbox = document.getElementById("myTextbox");
// create event object
var event = document.createEventObject();
// initialize the event object
event.altKey = false;
event.ctrlKey = false;
event.shiftKey = false;
event.keyCode = 65;
// fire the event
textbox.fireEvent("onkeypress", event);
|
Router.route('pdfFile', {
where: 'server',
path: '/sss.pdf',
action: function() {
var headers = {
'Content-type': 'application/pdf',
'Content-Disposition': "attachment; filename=test.pdf"
};
SSR.compileTemplate('p... |
import { expect } from 'chai';
import preview from '../../src/preview/reducer';
import { ALARM } from '../../src/preview/actions';
describe('reducers', () => {
describe('preview', () => {
it('should handle ALARM', () => {
const state = preview(undefined, { type: ALARM, payload: 3 });
expect(state.get... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.