code
stringlengths
2
1.05M
"use strict"; exports.__esModule = true; exports.DEPRECATED_KEYS = exports.BUILDER_KEYS = exports.NODE_FIELDS = exports.ALIAS_KEYS = exports.VISITOR_KEYS = undefined; var _getIterator2 = require("babel-runtime/core-js/get-iterator"); var _getIterator3 = _interopRequireDefault(_getIterator2); var _stringify = requir...
//Browser Constructor kony.ui.Browser = function(bconfig, lconfig, pspconfig) { if(arguments.length < 3) bconfig = lconfig = pspconfig = $KU.mergeDefaults(bconfig, $KU.getAllDefaults("Browser")); kony.ui.Browser.baseConstructor.call(this, bconfig, lconfig, pspconfig); this.onSuccess = bconfig.onSuccess; ...
var assert = require('assert'); var flyd = require('flyd'); var stream = flyd.stream; var afterSilence = require('../aftersilence.js'); // KISS way of testing time dependent code :) describe('afterSilence', function() { it('correctly buffers values', function(done) { var result = []; var i = 0; var s1 ...
'use strict'; var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var SvgIcon = require('../../svg-icon'); var ActionRestore = React.createClass({ displayName: 'ActionRestore', mixins: [PureRenderMixin], render: function render() { return React.createElement( Svg...
module.exports = function(grunt) { return { server: { options: { hostname: '0.0.0.0', port: 3000, base: '.' } }, test: { options: { hostname: '0.0.0.0', port: 8888, ...
version https://git-lfs.github.com/spec/v1 oid sha256:48ca6101a6b0b77823c8f3f7d1c26844b5a0dc0af925cf98879ed16e1ec1e6e7 size 2165
version https://git-lfs.github.com/spec/v1 oid sha256:92aef05b63488e1d11982b0eacf43d3d468828979aadaae018d4a6dc59780f6c size 2068
/** * Copyright 2014-2017 Google Inc. 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 required by ...
var foo = class Foo extends Bar { constructor (properties, name = 'lorem', ...extra) { this.properties = properties; this.name = name; this.extra = extra; } static log ( msg , level = 'log' ) { console[level](msg); } toObject () { return this.properties; } ...
var metadata = require('./_metadata') , anObject = require('./_an-object') , ordinaryOwnMetadataKeys = metadata.keys , toMetaKey = metadata.key; metadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetKey */){ return ordinaryOwnMetadataKe...
/** * @author hughes */ THREE.CircleGeometry = function ( radius, segments, thetaStart, thetaLength ) { THREE.Geometry.call( this ); radius = radius || 50; thetaStart = thetaStart !== undefined ? thetaStart : 0; thetaLength = thetaLength !== undefined ? thetaLength : Math.PI * 2; segments = se...
/* flatpickr v4.2.4, @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 fp = typeof wi...
define( //begin v1.x content { "scientificFormat": "#E0", "infinity": "∞", "superscriptingExponent": "×", "list": ";", "percentSign": "%", "minusSign": "-", "decimalFormat-short": "000兆", "nan": "NaN", "plusSign": "+", "currencyFormat": "¤#,##0.00;(¤#,##0.00)", "perMille": "‰", "group": ",", "percentFormat...
(function($) { // Matches trailing non-space characters. var chop = /(\s*\S+|\s)$/; // Return a truncated html string. Delegates to $.fn.truncate. $.truncate = function(html, options) { return $('<div></div>').append(html).truncate(options).html(); }; // Truncate the contents of an element in place....
define("ace/snippets/jssm",["require","exports","module"], function(require, exports, module) { "use strict"; exports.snippetText =undefined; exports.scope = ""; }); (function() { window.require(["ace/snippets/jssm"], function(m) { if (typeof module == "obje...
'use strict'; const chalk = require('chalk'); // eslint-disable-next-line node/no-unpublished-require const stripAnsi = require('strip-ansi'); module.exports = function(helpString) { // currently windows if (chalk.supportsColor) { return helpString; } return stripAnsi(helpString); };
'use strict'; var gutil = require('gulp-util'); var exec = require('child_process').exec; var escape = require('any-shell-escape'); module.exports = function (branch, opt, cb) { if (!cb && typeof opt === 'function') { // optional options cb = opt; opt = {}; } if (!cb || typeof cb !== 'function') cb ...
/** @license MIT License (c) copyright 2011-2013 original author or authors */ /** * timeout.js * * Helper that returns a promise that rejects after a specified timeout, * if not explicitly resolved or rejected before that. * * @author Brian Cavalier * @author John Hann */ (function(define) { define(function(...
/** * Specific JS for the elegance theme * * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyright Aimeos (aimeos.org), 2014 */
import React from 'react'; import Anchor from '../Anchor'; import PropTable from '../PropTable'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function ResponsiveEmbedSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> ...
describe('Keyboard util', function() { /** * Creates a dummy event to parse. * Uses jQuery Event class constructor. * @param {number} keyCode Key code of the key that is simulated. * @param {object} opts Options that say if modifiers are pressed. * @return {Event} Event to use. */ co...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.dataTool = {}))); }(this, (function (exports) { 'use strict'; if (typeof __DEV__ === "undefined") { if (typ...
/*! * Module dependencies. */ var _ = require('underscore'); var di = require('asyncdi'); var marked = require('marked'); var Path = require('../../lib/path'); var utils = require('keystone-utils'); var DEFAULT_OPTION_KEYS = [ 'path', 'paths', 'type', 'label', 'note', 'size', 'initial', 'required', 'col', ...
require('should'); var reply = require('../').reply; var reply2CustomerService = require('../').reply2CustomerService; describe('wechat.js', function () { describe('reply text', function () { it('reply("text") should ok', function () { var result = reply('hello world', 'from', 'to'); result.should.be...
console.warn("warn -",`Imports like "const zotero = require('simple-icons/icons/zotero');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siZotero } = require('simple-icons/icons');" instead`),module.exports={title:"Zotero",slug:"zotero",get svg(){return'<svg role="img" viewBox="0 0 24...
// Fine Uploader 5.16.0-alpha.7 - (c) 2013-present Widen Enterprises, Inc. MIT licensed. http://fineuploader.com (function(global) { var qq = function(element) { "use strict"; return { hide: function() { element.style.display = "none"; return this; ...
/*global angular */ 'use strict'; /** * The main app module * @name app * @type {angular.Module} */ var app = angular.module('app', ['flow']) .config(['flowFactoryProvider', function (flowFactoryProvider) { flowFactoryProvider.defaults = { target: 'upload.php', permanentErrors: [404, 500, 501...
class Foo<+T1,-T2> {}
/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
/** * @fileoverview Require spaces around infix operators * @author Michael Ficarra */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.exports = function(context...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v13.3.1 * @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 ...
/** @module ember @submodule ember-htmlbars */ export default function get(env, view, path) { return view.getStream(path); }
// DatePicker (function( $ ) { $.widget("metro.datepicker", { version: "1.0.0", options: { format: "dd.mm.yyyy", date: undefined, effect: 'none', position: 'bottom', selected: function(d, d0){}, _calendar: undefined }...
Prism.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/};
/*! * Inferno.Mobx v3.4.4 * (c) 2017 Dominic Gannaway' * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno-component'), require('inferno-create-class'), require('hoist-non-inferno-statics'), require('i...
/** * @file * JavaScript behaviors for jQuery UI tooltip integration. * * Please Note: * jQuery UI's tooltip implementation is not very responsive or adaptive. * * @see https://www.drupal.org/node/2207383 */ (function ($, Drupal) { 'use strict'; // @see http://api.jqueryui.com/tooltip/ Drupal.webform =...
var xml2js = require('xml2js') var parseAttributes = require('./parse-attribs') module.exports = function parseBMFontXML(data) { data = data.toString().trim() var output = { pages: [], chars: [], kernings: [] } xml2js.parseString(data, function(err, result) { if (err) throw err if (...
/* * /MathJax/localization/lb/HelpDialog.js * * Copyright (c) 2009-2017 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 * * http://www.apache.org/lic...
/* global bard, sinon, mockConfigData */ describe('Plugin: Config.component', function () { var controller; var rawConfig = mockConfigData.getMockRawConfig(); beforeEach(function () { bard.appModule('plugins.config'); /* global $componentController, $q, $rootScope, configService, CacheFact...
///<reference path="..\Declarations\node\node.d.ts" /> var http = require("http"); var Logging = require("../Library/Logging"); var RequestDataHelper = require("./RequestDataHelper"); var AutoCollectRequests = (function () { function AutoCollectRequests(client) { if (!!AutoCollectRequests.INSTANCE) { ...
/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
import { Observable } from '../Observable'; import { asap } from '../scheduler/asap'; import { isNumeric } from '../util/isNumeric'; /** * We need this JSDoc comment for affecting ESDoc. * @extends {Ignored} * @hide true */ export class SubscribeOnObservable extends Observable { constructor(source, delayTime = ...
/************************************************************* * * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js * * Copyright (c) 2009-2014 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
/** * @ngdoc directive * @name ui.router.state.diretive.ui-view * * @requires ui.router.state.$state * @requires $compile * @requires $controller * @requires $injector * * @restrict ECA * * @description * The ui-view directive tells $state where to place your templates. * A view can be unnamed or named. *...
/** * @fileOverview Instance of Exhibit.Exporter for tab-separated values. * @author David Huynh * @author <a href="mailto:ryanlee@zepheira.com">Ryan Lee</a> */ /** * @namespace */ Exhibit.Exporter.HTMLTable = { _mimeType: "text/html", exporter: null }; /** * @param {String} s * @param {Exhibit.Databa...
var helmet = require('../'); var assert = require('assert'); describe('deprecated methods', function () { var deprecatedList = [ 'iexss', 'contentTypeOptions', 'cacheControl', 'defaults' ]; deprecatedList.forEach(function (deprecated) { it(deprecated + ' is deprecated', function() { ...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'indent', 'no', { indent: 'Øk innrykk', outdent: 'Reduser innrykk' } );
// @preserve jQuery.floatThead 1.2.7 - http://mkoryak.github.io/floatThead/ - Copyright (c) 2012 - 2014 Misha Koryak // @license MIT /* @author Misha Koryak * @projectDescription lock a table header in place while scrolling - without breaking styles or events bound to the header * * Dependencies: * jquery 1.9.0 + ...
/** * @fileoverview Enforce props alphabetical sorting * @author Ilya Volodin, Yannick Croissant */ 'use strict'; var propName = require('jsx-ast-utils/propName'); // ------------------------------------------------------------------------------ // Rule Definition // -----------------------------------------------...
var assert = require('assert'); var R = require('..'); describe('toUpper', function() { it('returns the upper-case equivalent of the input string', function() { assert.strictEqual(R.toUpper('abc'), 'ABC'); }); });
// Fine Uploader 5.14.0-beta3 - (c) 2013-present Widen Enterprises, Inc. MIT licensed. http://fineuploader.com (function(global) { var qq = function(element) { "use strict"; return { hide: function() { element.style.display = "none"; return this; ...
module.exports = function CMYK(color) { color.installColorSpace('CMYK', ['cyan', 'magenta', 'yellow', 'black', 'alpha'], { rgb: function () { return new color.RGB((1 - this._cyan * (1 - this._black) - this._black), (1 - this._magenta * (1 - this._black) - thi...
/* node-http-proxy-test.js: http proxy for node.js Copyright (c) 2010 Charlie Robbins, Marak Squires and Fedor Indutny 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 restrictio...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("specialchar","eo",{euro:"Eŭrosigno",lsquo:"Supra 6-citilo",rsquo:"Supra 9-citilo",ldquo:"Supra 66-citilo",rdquo:"Supra 99-citilo",ndash:"Streketo",md...
// line comment, no indent /* * block comment, no indent */ if (true) { // line comment, 1 indent /** * block comment, 1 indent */ if (true) { // line comment, 2 indents /* * block comment, 2 indent */ if (true) { /* ...
exports.BattleTypeChart = { "Bug": { "damageTaken": { "Bug": 0, "Dark": 0, "Dragon": 0, "Electric": 0, "Fighting": 2, "Fire": 1, "Flying": 1, "Ghost": 0, "Grass": 2, "Ground": 2, "Ice": 0, "Normal": 0, "Poison": 0, "Psychic": 0, ...
'use strict'; var createError = require('create-error'); module.exports = { // Thrown when the model is not found and {require: true} is passed in the fetch options NotFoundError: createError('NotFoundError'), // Thrown when the collection is empty and {require: true} is passed in model.fetchAll or // colle...
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt // update parent select frappe.ui.form.on("Website Settings", "refresh", function(frm) { if(user==="Administrator") { frm.add_custom_button("Export to Fixtures", function() { frappe.get_value({fieldname:"app...
Ext.require('Ext.chart.*'); Ext.require(['Ext.layout.container.Fit', 'Ext.window.MessageBox']); Ext.onReady(function() { var downloadChart = function(chart){ Ext.MessageBox.confirm('Confirm Download', 'Would you like to download the chart as an image?', function(choice){ if(choice == 'yes'){ ...
import React from 'react'; import classNames from 'classnames'; class FormGroup extends React.Component { render() { let classes = { 'form-group': !this.props.standalone, 'form-group-lg': !this.props.standalone && this.props.bsSize === 'large', 'form-group-sm': !this.props.standalone && this.pr...
/** * 打印 * @file * @since 1.2.6.1 */ /** * 打印 * @command print * @method execCommand * @param { String } cmd 命令字符串 * @example * ```javascript * editor.execCommand( 'print' ); * ``` */ UE.commands['print'] = { execCommand : function(){ this.window.print(); }, notNeed...
'use strict'; const assert = require('assert'); let battle; describe('Knock Off', function () { afterEach(function () { battle.destroy(); }); it('should remove most items', function () { battle = BattleEngine.Battle.construct(); battle.join('p1', 'Guest 1', 1, [{species: "Mew", ability: 'synchronize', moves...
$.extend($.validator.messages,{required:"To polje je obvezno.",remote:"Prosimo popravite to polje.",email:"Prosimo vnesite veljaven email naslov.",url:"Prosimo vnesite veljaven URL naslov.",date:"Prosimo vnesite veljaven datum.",dateISO:"Prosimo vnesite veljaven ISO datum.",number:"Prosimo vnesite veljavno število.",di...
/** The below work is licensed under Creative Commons GNU LGPL License. Original work: License: http://creativecommons.org/licenses/LGPL/2.1/ Author: Stefan Goessner/2006 Web: http://goessner.net/ Modifications made: Version: 0.9-p5 Description: Restructured code, JSLint validated (no s...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["GyreJS"] = factory(); else root["GyreJS...
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var n3Charts; (function (n3Charts) { var svg; (functio...
import { deepmerge } from '@material-ui/utils'; import createMuiTheme from './createMuiTheme'; export default function createMuiStrictModeTheme(options) { for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } return c...
/** * @ngdoc service * @name $ionicTabsDelegate * @module ionic * * @description * Delegate for controlling the {@link ionic.directive:ionTabs} directive. * * Methods called directly on the $ionicTabsDelegate service will control all ionTabs * directives. Use the {@link ionic.service:$ionicTabsDelegate#$getByH...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.2.2 * @link http://www.ag-grid.com/ * @license MIT */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : ...
(function(){function a(a){function l(){if(f&&d<a){var b=f,c=b[0],j=Array.prototype.slice.call(b,1),k=b.index;f===g?f=g=null:f=f.next,++d,j.push(function(a,b){--d;if(h!=null)return;a!=null?(h=a,e=i=f=g=null,m()):(i[k]=b,--e?l():m())}),c.apply(null,j)}}function m(){h!=null?j(h):k?j(null,i):j.apply(null,[null].concat(i))}...
/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built define("dojo/cldr/nls/sv/number",{"decimal":",","group":" ","list":";","percentSign":"%","plusSign":"+","minusSign...
'use strict'; angular.module('debounce', []) .service('debounce', ['$timeout', function ($timeout) { return function (func, wait, immediate) { var timeout, args, context, result; function debounce() { /* jshint validthis:true */ context = this; args = arguments; var la...
(function($){$.countdown.regional["fa"]={labels:["‌سال","ماه","هفته","روز","ساعت","دقیقه","ثانیه"],labels1:["سال","ماه","هفته","روز","ساعت","دقیقه","ثانیه"],compactLabels:["س","م","ه","ر"],whichLabels:null,digits:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],timeSeparator:":",isRTL:true};$.countdown.setDefaults($.countdown...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const AMDRequireItemDependency = require("./AMDRequireItemDependency"); const AMDRequireContextDependency = require("./AMDRequireContextDependency"); const ConstDependency = require("./ConstDependency"); c...
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExports ...
/* * jQuery mmenu offCanvas addon * mmenu.frebsite.nl * * Copyright (c) Fred Heusschen */ (function( $ ) { var _PLUGIN_ = 'mmenu', _ADDON_ = 'offCanvas'; $[ _PLUGIN_ ].addons[ _ADDON_ ] = { // _init: fired when (re)initiating the plugin _init: function( $panels ) {}, // _setup: fired once per me...
;(function (clarinet) { // non node-js needs to set clarinet debug on root var env , fastlist ; if(typeof process === 'object' && process.env) env = process.env; else env = window; if(typeof FastList === 'function') { fastlist = FastList; } else if (typeof require === 'function') { try { fastlist = re...
/* jqGrid Ukrainian Translation v1.0 02.07.2009 Sergey Dyagovchenko http://d.sumy.ua Dual licensed under the MIT and GPL licenses: http://www.opensource.org/licenses/mit-license.php http://www.gnu.org/licenses/gpl.html */ (function(a){"function"===typeof define&&define.amd?define(["jquery"],a):"object"===typeof e...
(function($){ "use strict"; var isNumber = function(string){ return (typeof string == 'number' || (string && string == string * 1)); }; var retDefault = function(val, def){ if(!(typeof val == 'number' || (val && val == val * 1))){ return def; } return val * 1; }; var createOpts = ['step', 'min', 'max'...
'use strict'; // Configuring the Articles module angular.module('customers').run(['Menus', function(Menus) { // Set top bar menu items Menus.addMenuItem('topbar', 'Customers', 'customers', 'dropdown', '/customers(/create)?'); Menus.addSubMenuItem('topbar', 'customers', 'List Customers', 'customers'); Menus.ad...
/*! jQuery rondell plugin @name jquery.rondell.js @author Sebastian Helzle (sebastian@helzle.net or @sebobo) @version 1.0.2 @date 04/01/2013 @category jQuery plugin @copyright (c) 2009-2013 Sebastian Helzle (www.sebastianhelzle.net) @license Licensed under the MIT (http://www.opensource.org/licenses/mit...
class A extends B { foo() { new super.bar() } }
!function(a,b,c){function d(a){function b(a,b){var c,d,e=[];if(b===(0|b))d=e[0]=b;else for(b=""+b,c=0;c<b.length;++c)e[7&c]=e[7&c]<<15^b.charCodeAt(c)+e[c+1&7]<<13;for(;e.length<8;)e.push(0);for(c=0;8>c&&0===e[c];++c);for(d=8==c?e[7]=-1:e[c],a.x=e,a.i=0,c=256;c>0;--c)a.next()}var c=this;c.next=function(){var a,b,d=c.x,...
/*! Clusterize.js - v0.7.1 - 2015-06-04 * http://NeXTs.github.com/Clusterize.js/ * Copyright (c) 2015 Denis Lukov; Licensed MIT */ ;(function(name, definition) { if (typeof module != 'undefined') module.exports = definition(); else if (typeof define == 'function' && typeof define.amd == 'object') define(defini...
/** * @license jQRangeSlider Copyright (C) Guillaume Gautreau 2010, 2011 * A javascript slider selector that supports dates * * This program 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 ve...
var config = require('../../config'); function getAuthorUrl(data, absolute) { var context = data.context ? data.context[0] : null; context = context === 'amp' ? 'post' : context; if (data.author) { return config.urlFor('author', {author: data.author}, absolute); } if (data[context] && dat...
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module ev...
/** * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> * Build: `lodash modularize modern exports="node" -o ./modern/` * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and In...
require('../../../modules/es6.string.bold'); module.exports = require('../../../modules/_entry-virtual')('String').bold;
Facts = {}; var serverFactsCollection = 'meteor_Facts_server'; if (Meteor.isServer) { // By default, we publish facts to no user if autopublish is off, and to all // users if autopublish is on. var userIdFilter = function (userId) { return !!Package.autopublish; }; // XXX make this take effect at runti...
/* SPF 21 (v2.1.1) (c) 2012-2014 Google, Inc. License: MIT */ (function(){function $spf$bind$$($fn$$, $self$$1$$, $var_args$$27$$) { var $args$$ = Array.prototype.slice.call(arguments, 2); return function() { var $newArgs$$ = $args$$.slice(); $newArgs$$.push.apply($newArgs$$, arguments); return $fn$$.ap...
/** * @license AngularJS v1.2.13 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; /* jshint maxlen: false */ /** * @ngdoc overview * @name ngAnimate * @description * * # ngAnimate * * The `ngAnimate` module provides support for JavaScr...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("a11yhelp","fa",{title:"دستورالعمل‌های دسترسی",contents:"راهنمای فهرست مطالب. برای بستن این کادر محاوره‌ای ESC را فشار دهید.",legend:[{name:"عمومی",i...
function usage() { console.log(function () { /* npinit node project init - basic unix style module creation. Synopsis npinit <packageName> [options] npinit <packageName> --dry [options] npinit -d [options] Options -h...
describe("User notes", function() { "use strict"; var window, OGM, DM; beforeEach(function() { jasmine.DEFAULT_TIMEOUT_INTERVAL = 120000; const iframe = document.getElementsByTagName("iframe")[0]; iframe.setAttribute("width", "800"); iframe.setAttribute("height", "600"); }); beforeEach(async...
var style = require('./foo.less'); var template = require('./foo.mustache'); module.exports = template;
// 3rd party modules var bodyParser = require('body-parser'); var cookieParser = require('cookie-parser'); var express = require('express'); var http = require('http'); var path = require('path'); var logger = require('morgan'); // our libraries var _ = require('./lib/_'); var common = require('./lib/common'); var con...
import React from 'react' import PropTypes from 'prop-types' import './{{file}}.scss' const {{file}} = props => { return ( <div className="{{file|paramCase}}"> </div> ) } {{file}}.propTypes = { } export default {{file}}
import sign from "./sign"; /** * [Bisection method](https://en.wikipedia.org/wiki/Bisection_method) is a root-finding * method that repeatedly bisects an interval to find the root. * * This function returns a numerical approximation to the exact value. * * @param {Function} func input function * @param {number}...
var request = require('request'); function parseDDGResponse(data) { var topic; if (data.AbstractText) { // hubot abs numerology // Numerology is any study of the purported mystical relationship between a count or measurement and life. // http://en.wikipedia.org/wiki/Numerology ...