code
stringlengths
2
1.05M
module.exports={title:"Craft CMS",slug:"craftcms",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Craft CMS icon</title><path d="M21.474 0H2.526A2.516 2.516 0 0 0 0 2.526v18.948A2.516 2.516 0 0 0 2.526 24h18.948A2.534 2.534 0 0 0 24 21.474V2.526A2.516 2.516 0 0 0 21.474 0m-9.516 14.62...
/** * @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 */ import { isBlank, isPresent, isPrimitive, isStrictStringMap } from './facade/lang'; import * as o from './output/outp...
import { AudioEncoder } from './audioEncoder'; const getUserMedia = ((navigator) => { if (navigator.mediaDevices) { return navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices); } const legacyGetUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || naviga...
version https://git-lfs.github.com/spec/v1 oid sha256:1668f227ab9bbb326809d8430e0c9d1105688b38b177ab927f0528eb9593a652 size 7357
import mdDialog from './mdDialog.vue'; import mdDialogTitle from './mdDialogTitle.vue'; import mdDialogContent from './mdDialogContent.vue'; import mdDialogActions from './mdDialogActions.vue'; import mdDialogAlert from './presets/mdDialogAlert.vue'; import mdDialogConfirm from './presets/mdDialogConfirm.vue'; import m...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S10.2.2_A1.1_T3; * @section: 10.2.2; * @assertion: The scope chain is initialised to contain the same objects, * in the same order, as the calling context's scope chain;...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S12.14_A2; * @section: 12.14; * @assertion: Throwing exception with "throw" and catching it with "try" statement; * @description: Checking if execution of "catch" catches...
/* Karma configuration for standalone build */ 'use strict'; module.exports = function (config) { console.log(); console.log('Browser (Standalone) Tests'); console.log(); config.set({ basePath: '.', frameworks: ['mocha'], files: [ {pattern: 'swagger-tools-standalone.js', watch: false, inclu...
"use strict"; var inherits = require('util').inherits , f = require('util').format , formattedOrderClause = require('./utils').formattedOrderClause , handleCallback = require('./utils').handleCallback , ReadPreference = require('./read_preference') , MongoError = require('mongodb-core').MongoError , Readab...
/*! ========================================================= * bootstrap-slider.js * * Maintainers: * Kyle Kemp * - Twitter: @seiyria * - Github: seiyria * Rohit Kalkur * - Twitter: @Rovolutionary * - Github: rovolution * * ========================================================= * * Licens...
/* YUI 3.5.0 (build 5089) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("lang/datatype-date-format_fr",function(a){a.Intl.add("datatype-date-format","fr",{"a":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"A":["dimanche","lundi","mardi","m...
version https://git-lfs.github.com/spec/v1 oid sha256:ecdcfeb6d9c10e04bf103e6105698af7bda97180bfc3c7545cce74ce2a73f5eb size 4291
/** * @ngdoc service * @name merchello.models.extendedDataDisplayBuilder * * @description * A utility service that builds ExtendedDataBuilder models */ angular.module('merchello.models') .factory('extendedDataDisplayBuilder', ['genericModelBuilder', 'ExtendedDataDis...
import Ember from 'ember-metal/core'; // reexports import Test from 'ember-testing/test'; import Adapter from 'ember-testing/adapters/adapter'; import setupForTesting from 'ember-testing/setup_for_testing'; import require from 'require'; import 'ember-testing/support'; // to handle various edge cases import 'embe...
CKEDITOR.plugins.setLang( 'html5audio', 'de', { button: 'HTML5 Audio einfügen', title: 'HTML5 Audio', infoLabel: 'Audio Infos', urlMissing: 'Sie haben keine URL zur Audio-Datei angegeben.', audioProperties: 'Audio-Einstellungen', upload: 'Hochladen', btnUpload: 'Zum Server senden', advan...
function foo() { console.log('foo'); }
/** @license * @pnp/logging v1.0.3 - pnp - light-weight, subscribable logging framework * MIT (https://github.com/pnp/pnp/blob/master/LICENSE) * Copyright (c) 2018 Microsoft * docs: http://officedev.github.io/PnP-JS-Core * source: https://github.com/pnp/pnp * bugs: https://github.com/pnp/pnp/issues */ /** * Cl...
/** @module ember @submodule ember-runtime */ import { get } from "ember-metal/property_get"; import { set } from "ember-metal/property_set"; import { required } from "ember-metal/mixin"; import { Freezable } from "ember-runtime/mixins/freezable"; import { Mixin } from 'ember-metal/mixin'; import { fmt } from "ember-...
var Example = function Example() { "use strict"; babelHelpers.classCallCheck(this, Example); var _Example; }; var t = new Example();
'use strict'; module.exports = function (math, config) { var util = require('../../util/index'), Matrix = math.type.Matrix, Unit = require('../../type/Unit'), collection = math.collection, isBoolean = util['boolean'].isBoolean, isInteger = util.number.isInteger, isNumber = util....
import defaults from './defaults.js'; import _ from './underscore.js'; import './templateSettings.js'; // When customizing `_.templateSettings`, if you don't want to define an // interpolation, evaluation or escaping regex, we need one that is // guaranteed not to match. var noMatch = /(.)^/; // Certain characters ne...
var _ref = /*#__PURE__*/ <foo />; function render() { return _ref; } var _ref2 = /*#__PURE__*/ <div className="foo"><input type="checkbox" checked={true} /></div>; function render() { return _ref2; }
exports.forward = require('./forward'); exports.respond = require('./respond');
'use strict'; /* globals generateInputCompilerHelper: false */ describe('ngModel', function() { describe('NgModelController', function() { /* global NgModelController: false */ var ctrl, scope, element, parentFormCtrl; beforeEach(inject(function($rootScope, $controller) { var attrs = {name: 'tes...
/* flatpickr v4.4.2, @license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.ms = {}))); }(this, (function (exports) { 'use strict'; var f...
var gulp = require('gulp'); var config = require('../config').markup; var browserSync = require('browser-sync'); var taskDef = function () { return gulp.src(config.src) .pipe(gulp.dest(config.dest)) .pipe(browserSync.reload({ stream: true })); }; module.exports = taskDef; gulp...
/*global jasmine*/ var excludes = [ "map_events.html", "map_lazy_init.html", "map-lazy-load.html", "marker_with_dynamic_position.html", "marker_with_dynamic_address.html", "marker_with_info_window.html", "places-auto-complete.html" ]; function using(values, func){ for (var i = 0, cou...
module.exports = { description: 'does not include called-in-unused-code import' };
////////////////////////////////////////////////////////////////////////// // // // This is a generated file. You can view the original // // source in your browser if your browser supports source maps. // // Source maps are s...
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt frappe.ui.form.Grid = Class.extend({ init: function(opts) { $.extend(this, opts); this.fieldinfo = {}; this.doctype = this.df.options; this.template = null; if(this.frm.meta.__form_grid_templates && t...
// The translations in this file are added by default. 'use strict'; module.exports = { counterpart: { names: require('date-names/en'), pluralize: require('pluralizers/en'), formats: { date: { default: '%a, %e %b %Y', long: '%A, %B %o, %Y', ...
module.exports={A:{A:{"2":"J C G E B VB","132":"A"},B:{"132":"D Y g H L"},C:{"2":"0 1 3 4 5 6 TB z F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s x y u t RB QB"},D:{"2":"0 1 3 4 5 6 F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s x...
/*! * OOjs UI v0.25.0 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2018 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2018-01-10T00:26:02Z */ ( function ( OO ) { 'use strict'; /** * @class * @extends OO.ui.Theme * * @construct...
jQuery(function($){ $.supersized({ // Functionality slideshow : 1, // Slideshow on/off autoplay : 1, // Slideshow starts playing automatically start_slide : 1, // Start slide (0 is random) stop_loop : 0, // Pauses slideshow on last sl...
var expect = require("chai").expect; var sinon = require("sinon"); var chalk = require("chalk"); var ReadlineStub = require("../../helpers/readline"); var Base = require("../../../lib/prompts/base"); describe("`base` prompt (e.g. prompt helpers)", function() { beforeEach(function() { this.rl = new ReadlineStu...
var formInstance = ( <Form> <Input placeholder="验证成功" label="验证成功" validation="success" /> <Input placeholder="验证警告" label="验证警告" validation="warning" /> <Input placeholder="验证失败" label="验证失败" validation="error" /> <FormGroup validation="success"> <label>单选按钮:</label> <Input type="radio" l...
// randomColor by David Merfield under the CC0 license // https://github.com/davidmerfield/randomColor/ ;(function(root, factory) { // Support AMD if (typeof define === 'function' && define.amd) { define([], factory); // Support CommonJS } else if (typeof exports === 'object') { var randomColor = fac...
module.exports={A:{A:{"2":"H E G C B WB","36":"A"},B:{"36":"D u g I J"},C:{"1":"0 1 2 3 4 5 6 n o p q r s t y K","2":"UB x F L H E G C B A D u g I J Y SB RB","36":"O e P Q R S T U V W X v Z a b c d N f M h i j k l m"},D:{"1":"0 1 2 3 4 5 6 h i j k l m n o p q r s t y K GB AB CB VB DB EB","2":"F L H E G C B A D u g I J ...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import withStyles from 'isomorp...
var path = require('path'); var package = require('./package'); var webpack = require('webpack'); var ProgressPlugin = require('webpack/lib/ProgressPlugin'); var inspect = require('util').inspect; var Busboy = require('busboy'); var chalk = require('chalk'); var webpackMiddleware = require('webpack-dev-middleware'); va...
import demand from 'must'; import { columnsParser, sortParser, filtersParser, filterParser, createFilterObject } from '../index'; import sinon from 'sinon'; describe('<List> query parsers', function () { beforeEach(function () { this.fields = { name: { path: 'name', paths: { first: 'name.first', ...
tinyMCE.addI18n('sk.simple',{ bold_desc:"Tu\u010Dn\u00FD text (Ctrl+B)", italic_desc:"\u0160ikm\u00FD text (kurz\u00EDva) (Ctrl+I)", underline_desc:"Pod\u010Diarknut\u00FD text (Ctrl+U)", striketrough_desc:"Pre\u0161krtnut\u00FD text", bullist_desc:"Zoznam s odr\u00E1\u017Ekami", numlist_desc:"\u010C\u00EDslovan\...
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * */ 'use stric...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v14.0.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c ...
/** * @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com */ THREE.ColladaLoader = function () { var COLLADA = null; var scene = null; var daeScene; var readyCallbackFunc = null; var sources = {}; var images = {}; var animations = {}; var controllers = {}; var geometries = {}; var...
define(['exports'], function (exports) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var App = expor...
'use strict'; module.exports = function renderMenu(props) { if (!props.menu) { return; } return props.menu({ className: 'z-header-menu-column', gridColumns: props.columns }); };
( function ( $ ) { 'use strict'; var asInScript2 = { id: 'as-inscript2', name: 'ইনস্ক্ৰিপ্ট ২', description: 'Enhanced InScript keyboard for Assamese language', date: '2013-02-09', URL: 'http://github.com/wikimedia/jquery.ime', author: 'Parag Nemade', license: 'GPLv3', version: '1.0', patterns: [ ...
var config = require('../config') var gulp = require('gulp') var gulpSequence = require('gulp-sequence') var getEnabledTasks = require('../lib/getEnabledTasks') var productionTask = function(cb) { var tasks = getEnabledTasks('production') gulpSequence('clean', tasks.assetTasks, tasks.codeTasks, 'rev'...
/* global SnippetedMessages */ Template.snippetedMessages.helpers({ hasMessages() { return SnippetedMessages.find({ snippeted:true, rid: this.rid }, { sort: { ts: -1 } }).count() > 0; }, messages() { return SnippetedMessages.find({ snippeted: true, rid: this.rid }, { sort: { ts: -1 } }); }, message() { retur...
'use strict'; var origSymbol = typeof Symbol !== 'undefined' && Symbol; var hasSymbolSham = require('./shams'); module.exports = function hasNativeSymbols() { if (typeof origSymbol !== 'function') { return false; } if (typeof Symbol !== 'function') { return false; } if (typeof origSymbol('foo') !== 'symbol') { ret...
// # Update Checking Service // // Makes a request to Ghost.org to check if there is a new version of Ghost available. // The service is provided in return for users opting in to anonymous usage data collection. // // Blog owners can opt-out of update checks by setting `privacy: { useUpdateCheck: false }` in their conf...
/** * lodash 3.0.3 (Custom Build) <https://lodash.com/> * Build: `lodash modularize exports="npm" -o ./` * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Rep...
/* * Foundation Responsive Library * http://foundation.zurb.com * Copyright 2015, ZURB * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php */ (function ($, window, document, undefined) { 'use strict'; var header_helpers = function (class_array) { var head = $('head')...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'newpage', 'da', { toolbar: 'Ny side' } );
export * from './calendar'; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9jYWxlbmRhci9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZX...
exports.BattleAbilities = { "cutecharm": { inherit: true, onAfterDamage: function(damage, target, source, move) { if (move && move.isContact) { if (this.random(3) < 1) { source.addVolatile('attract', target); } } } }, "effectspore": { inherit: true, onAfterDamage: function(damage, target...
define([ "dojo/_base/declare", // declare "dojo/Deferred", "dojo/_base/kernel", // kernel.deprecated "dojo/_base/lang", // lang.mixin "dojo/store/util/QueryResults", "./_AutoCompleterMixin", "./_ComboBoxMenu", "../_HasDropDown", "dojo/text!./templates/DropDownBox.html" ], function(declare, Deferred, kernel, la...
var arrayAggregator = require('./_arrayAggregator'), baseAggregator = require('./_baseAggregator'), baseIteratee = require('./_baseIteratee'), isArray = require('./isArray'); /** * Creates a function like `_.groupBy`. * * @private * @param {Function} setter The function to set accumulator valu...
angular.module('listDemo1', ['ngMaterial']) .config(function($mdIconProvider) { $mdIconProvider .iconSet('communication', 'img/icons/sets/communication-icons.svg', 24); }) .controller('AppCtrl', function($scope) { var imagePath = 'img/60.jpeg'; $scope.phones = [ { type: 'Home', num...
import React from 'react' import { Router, Route, hashHistory } from 'react-router' import Home from './components/ui/Home' import About from './components/ui/About' import MemberList from './components/ui/MemberList' import { Left, Right, Whoops404 } from './components' const routes = ( <Router history={hashHis...
/** * FTScroller: touch and mouse-based scrolling for DOM elements larger than their containers. * * While this is a rewrite, it is heavily inspired by two projects: * 1) Uxebu TouchScroll (https://github.com/davidaurelio/TouchScroll), BSD licensed: * Copyright (c) 2010 uxebu Consulting Ltd. & Co. KG * Copy...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTableBodyUtilityClass = getTableBodyUtilityClass; exports.default = void 0; var _unstyled = require("@material-ui/unstyled"); function getTableBodyUtilityClass(slot) { return (0, _unstyled.generateUtilityClass)('MuiTableBody'...
var assert = require('assert'); var R = require('..'); describe('mapObjIndexed', function() { var times2 = function(x) {return x * 2;}; var addIndexed = function(x, key) {return x + key;}; var squareVowels = function(x, key) { var vowels = ['a', 'e', 'i', 'o', 'u']; return R.contains(key, vowels) ? x *...
var convert = require('./convert'), func = convert('wrapperLodash', require('../wrapperLodash'), require('./_falseOptions')); func.placeholder = require('./placeholder'); module.exports = func;
loadjs = (function () { /** * Global dependencies. * @global {Object} document - DOM */ var devnull = function() {}, bundleIdCache = {}, bundleResultCache = {}, bundleCallbackQueue = {}; /** * Subscribe to bundle load event. * @param {string[]} bundleIds - Bundle ids * @param {Function} callbackFn ...
(function() { "use strict"; window.GOVUK = window.GOVUK || {}; // For usage and initialisation see: // https://github.com/alphagov/govuk_frontend_toolkit/blob/master/docs/analytics.md#create-an-analytics-tracker var Tracker = function(config) { this.trackers = []; if (typeof config.universalId != 'u...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReduxLittleRouter"]...
"use strict"; /** * @license * Copyright 2017 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 * * Unle...
/* Copyright 2014 Mozilla Foundation * * 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...
YUI.add('anim-base', function(Y) { /** * The Animation Utility provides an API for creating advanced transitions. * @module anim */ /** * Provides the base Anim class, for animating numeric properties. * * @module anim * @submodule anim-base */ /** * A class for constructing animation instances. * @cla...
(function(h,t,z,q){function g(b,a){try{return t.hasOwnProperty?b.hasOwnProperty(a.toString()):Object.prototype.hasOwnProperty.call(b,a.toString())}catch(d){console.dir(d)}}function p(b,a){var d=[],c=/^[+-]?\d+(\.\d+)?$/,f={lat:"",lng:""};if("string"===typeof b||h.isArray(b))if(d="string"===typeof b?b.replace(/\s+/,"")....
/* * Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
module.exports = function(grunt) { /** * Initialize development environment for Testacular * * - register git hooks (commit-msg) */ grunt.registerTask('init-dev-env', 'Initialize dev environment.', function() { var fs = require('fs'); var done = this.async(); fs.symlink('../../tasks/lib/va...
// @flow let tests = [ // setting a property function(x: $Tainted<string>, y: string) { let obj: Object = {}; obj.foo = x; // error, taint ~> any obj[y] = x; // error, taint ~> any }, // getting a property function() { let obj: Object = { foo: 'foo' }; (obj.foo: $Tainted<string>); // ok ...
/** * @author TristanVALCKE / https://github.com/Itee * @author moraxy / https://github.com/moraxy */ /* global QUnit */ import { runStdLightTests } from '../../qunit-utils'; import { DirectionalLight } from '../../../../src/lights/DirectionalLight'; export default QUnit.module( 'Lights', () => { QUnit.module( '...
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("language","es",{button:"Fijar lenguaje",remove:"Quitar lenguaje"});
//=require rich/base
var numLimitInput = element(by.model('numLimit')); var letterLimitInput = element(by.model('letterLimit')); var longNumberLimitInput = element(by.model('longNumberLimit')); var limitedNumbers = element(by.binding('numbers | limitTo:numLimit')); var limitedLetters = element(by.binding('letters | limitTo:letter...
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
/**************************************************************************** Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011-2012 cocos2d-x.org Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of t...
/*! leaflet-routing-machine - v3.2.1 - 2016-10-11 * Copyright (c) 2013-2016 Per Liedman * Distributed under the ISC license */ (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!=="undefi...
/*! angular-deckgrid (v0.1.1) - Copyright: 2013, André König (andre.koenig@posteo.de) - MIT */ /* * angular-deckgrid * * Copyright(c) 2013 Andre Koenig <akoenig@posteo.de> * MIT Licensed * */ /** * @author André König (akoenig@posteo.de) * */ angular.module('akoenig.deckgrid', []); angular.module('akoenig.d...
/*! /support/test/element/video/mp4 1.0.5 | http://nucleus.qoopido.com | (c) 2016 Dirk Lueth */ !function(e){"use strict";function c(c,n){var t=c.defer();return n.then(function(){var c=e.createElement("video");c.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')?t.resolve():t.reject()},t.reject),t.pledge}provide...
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pre...
// add new post notification callback on post submit postAfterSubmitMethodCallbacks.push(function (post) { var adminIds = _.pluck(Meteor.users.find({'isAdmin': true}, {fields: {_id:1}}).fetch(), '_id'); var notifiedUserIds = _.pluck(Meteor.users.find({'profile.notifications.posts': 1}, {fields: {_id:1}}).fetch(), ...
(function( factory ) { if ( typeof define === "function" && define.amd ) { define( ["jquery", "../jquery.validate"], factory ); } else if (typeof module === "object" && module.exports) { module.exports = factory( require( "jquery" ) ); } else { factory( jQuery ); } }(function( $ ) { /* * Translated default ...
/* babelfish 1.0.2 nodeca/babelfish */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Babelfish=e()}}...
/*syn@0.1.4#typeable*/ var syn = require('./synthetic.js'); var typeables = []; var __indexOf = [].indexOf || function (item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) { return i; } } return -1; }; syn.typeable = function (fn) { if (_...
/* * Globalize Culture zh-HK * * http://github.com/jquery/globalize * * Copyright Software Freedom Conservancy, Inc. * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * This file was generated by the Globalize Culture Generator * Translation: bugs found in this file need t...
Meteor.methods({ 'livechat:removeCustomField'(_id) { if (!Meteor.userId() || !RocketChat.authz.hasPermission(Meteor.userId(), 'view-livechat-manager')) { throw new Meteor.Error('error-not-allowed', 'Not allowed', { method: 'livechat:removeCustomField' }); } check(_id, String); var customField = RocketChat...
/*-------------------------------------------------------------------------- * linq-vsdoc.js - LINQ for JavaScript * ver 2.2.0.2 (Jan. 21th, 2011) * * created and maintained by neuecc <ils@neue.cc> * licensed under Microsoft Public License(Ms-PL) * http://neue.cc/ * http://linqjs.codeplex.com/ *-----------------------...
(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...
/* Plugin Name: amCharts Data Loader Description: This plugin adds external data loading capabilities to all amCharts libraries. Author: Martynas Majeris, amCharts Version: 1.0.2 Author URI: http://www.amcharts.com/ Copyright 2015 amCharts Licensed under the Apache License, Version 2.0 (the "License"); you ...
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M64 64v384h384V64H64zm80 304c-8.836 0-16-7.164-16-16s7.164-16 16-16 16 7.164 16 16-7.164 16-16 16zm0-96c-8.836 0-16-7.164-16-16s7.164-16 16-16 16 7.164 16 16-7.164 16-16 16zm0-96c-8.836 0-16-7.164-16-16s7.164-16...
/// <reference path="/umbraco_client/Application/NamespaceManager.js" /> /// <reference path="/umbraco_client/Application/HistoryManager.js" /> /// <reference path="/umbraco_client/ui/jquery.js" /> /// <reference path="/umbraco_client/Tree/UmbracoTree.js" /> /// <reference name="MicrosoftAjax.js"/> Umbraco.Sys.regist...
(function() { var ATTACHMENT, Evented, Shepherd, Step, addClass, createFromHTML, extend, matchesSelector, parseShorthand, removeClass, uniqueId, _ref, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { fo...
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ /** * @requires OpenLayers/Control.js * @requires OpenLayers/Han...
function f() { /* infinite */ while (true) { } /* bar */ var each; }
describe('uiValidate', function ($compile) { var scope, compileAndDigest; var trueValidator = function () { return true; }; var falseValidator = function () { return false; }; var passedValueValidator = function (valueToValidate) { return valueToValidate; }; beforeEach(mod...