code stringlengths 2 1.05M |
|---|
/*!
* ui-grid - v4.8.1 - 2019-06-27
* Copyright (c) 2019 ; License: MIT
*/
(function () {
'use strict';
/**
* @ngdoc overview
* @name ui.grid.edit
* @description
*
* # ui.grid.edit
*
* <div class="alert alert-success" role="alert"><strong>Stable</strong> This feature is stable. There shou... |
(function() {
Polymer({
is: 'iron-overlay-backdrop',
properties: {
/**
* Returns true if the backdrop is opened.
*/
opened: {
readOnly: true,
reflectToAttribute: true,
type: Boolean,
value: false
},
_manager: {
type: Object,
... |
"use strict";
exports.__esModule = true;
var _create = require("babel-runtime/core-js/object/create");
var _create2 = _interopRequireDefault(_create);
var _getIterator2 = require("babel-runtime/core-js/get-iterator");
var _getIterator3 = _interopRequireDefault(_getIterator2);
var _symbol = require("babel-runtime/... |
define( [
"../core",
"../var/document"
], function( jQuery, document ) {
"use strict";
var readyCallbacks = [],
whenReady = function( fn ) {
readyCallbacks.push( fn );
},
executeReady = function( fn ) {
// Prevent errors from freezing future callback execution (gh-1823)
// Not backwards-comp... |
QUnit.module('views');
QUnit.test("Test: Creation [Kanban view]", function(assert) {
assert.expect(2);
let done = assert.async();
const board_name = 'Kanban test';
frappe.run_serially([
() => frappe.set_route("List", "ToDo", "List"),
// wait for cur_list to initialize
() => cur_list.init(),
// click kanb... |
import Ember from 'ember';
import { test, moduleForComponent } from 'ember-qunit';
import { generateContent, sortItemsByPosition } from '../helpers/helpers';
import template from '../templates/fixed-grid';
moduleForComponent('ember-collection', 'display in fixed grid', {
integration: true
});
test('display 5 in 6',... |
/*
* This file has been commented to support Visual Studio Intellisense.
* You should not use this file at runtime inside the browser--it is only
* intended to be used only for design-time IntelliSense. Please use the
* standard jQuery library for all production use.
*
* Comment version: 1.5.1
*/
/*!
* Note: ... |
define(function(require) {
var VisualMapModel = require('./VisualMapModel');
var zrUtil = require('zrender/core/util');
var VisualMapping = require('../../visual/VisualMapping');
var visualDefault = require('../../visual/visualDefault');
var reformIntervals = require('../../util/number').reformInte... |
/*
* circular.js
* Repeat from start after end
*/
(function( $, document, window, undefined ) {
'use strict';
var $jmpress = $.jmpress;
/* FUNCTIONS */
function firstSlide( step, eventData ) {
return $(this).find(eventData.settings.stepSelector).first();
}
function prevOrNext( jmpress, step, eventData, pre... |
/** internal
* class AssetAttributes
*
* `AssetAttributes` is a wrapper similar to Rubie's `Pathname` that provides
* some helper accessors.
*
* These methods should be considered internalish.
**/
'use strict';
// stdlib
var path = require('path');
// 3rd-party
var _ = require('lodash');
// internal
... |
var _ = require('lodash'),
Promise = require('bluebird'),
SchedulingBase = require(__dirname + '/SchedulingBase'),
errors = require(__dirname + '/../errors');
exports.createAdapter = function (options) {
options = options || {};
var adapter = null,
activeAdapter = options.active,
i... |
'use strict';
describe('Controller: <%= classedName %>Ctrl', function () {
// load the controller's module
beforeEach(module('<%= scriptAppName %>'));
var <%= classedName %>Ctrl, scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootSc... |
/*!
* Bootstrap-select v1.13.0-beta (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2018 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
(function (root, factory) {
if (typeof define === 'function' && de... |
var __key = require("./../internal/key");
var __ref = require("./../internal/ref");
var __parent = require("./../internal/parent");
var __context = require("./../internal/context");
var __version = require("./../internal/version");
var __refIndex = require("./../internal/ref-index");
var __refsLength = require("./../in... |
/* flatpickr v4.2.0, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.sk = {})));
}(this, (function (exports) { 'use strict';
var fp = typeof wi... |
import { CONST_EXPR, IS_DART } from 'angular2/src/facade/lang';
import { Provider } from 'angular2/src/core/di';
import { PLATFORM_INITIALIZER, PLATFORM_DIRECTIVES, PLATFORM_PIPES, ExceptionHandler, Renderer, APPLICATION_COMMON_PROVIDERS, PLATFORM_COMMON_PROVIDERS } from "angular2/core";
import { COMMON_DIRECTIVES, ... |
/* 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);
}
}... |
(function () {
var ua = navigator.userAgent,
trim = function(string) {
return string.replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,'')
},
valid = {
ie: 'msie',
msie: 'msie',
ff: 'firefox',
firefox: 'firefox',
safari: 'safari',
chrome: 'chrome',
opera: '... |
/**
* @fileoverview Firebase namespace and Firebase App API.
* Version: 3.6.9
*
* Copyright 2016 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
*
*... |
module.exports = {
RBTree: require('./lib/rbtree'),
BinTree: require('./lib/bintree')
};
|
import { get } from '../moment/get-set';
import { addFormatToken } from '../format/format';
import { addUnitAlias } from './aliases';
import { addRegexToken, match1to2, match2, matchWord } from '../parse/regex';
import { addParseToken } from '../parse/token';
import { hooks } from '../utils/hooks';
import { MONTH } fro... |
version https://git-lfs.github.com/spec/v1
oid sha256:57dc0f103ea81b9e3cb9f46746bda096657619b2c65855f3b2da1630b8699d9e
size 1245
|
'use strict';
var path = require('path');
var chalk = require('chalk');
module.exports = {
name: 'cordova',
aliases: ['cdv'],
description: 'Passes commands(plugin(s), platform(s), run, emulate) and arguments to the cordova command',
works: 'insideProject',
allowedCordovaCommands: [
'plugin', 'plugi... |
FamousFramework.component('famous-demos:twitter:tabbar', {
behaviors: {
'$self': {
'style': {
'background-color': '#181818'
}
},
'.layout': {
'direction': 0,
'ratios': [1, 1, 1]
},
'.one': {
'backgrou... |
/* xls.js (C) 2013-2015 SheetJS -- http://sheetjs.com */
/* uncomment the next line for encoding support */
//importScripts('dist/cpexcel.js');
importScripts('xls.js');
postMessage({t:"ready"});
function ab2str(data) {
var o = "", l = 0, w = 10240;
for(; l<data.byteLength/w; ++l) o+=String.fromCharCode.apply(null,ne... |
function Gigasecond(dateOfBirth) {
'use strict';
this.dateOfBirth = dateOfBirth;
this.date = function() {
var gigasecondDate = new Date(this.dateOfBirth.getTime() + 1000000000000);
return this.roundDownToDay(gigasecondDate);
};
this.roundDownToDay = function(date) {
date.setHours(0);
date.s... |
if (!Range.prototype["intersectsNode"]) {
Range.prototype["intersectsNode"] = function (node) {
let range = document.createRange();
range.selectNode(node);
return 0 > this.compareBoundaryPoints(Range.END_TO_START, range)
&& 0 < this.compareBoundaryPoints(Range.START_TO_END, range... |
/*!
* jQuery MsgBox - for jQuery 1.3+
* http://codecanyon.net/item/jquery-msgbox/92626?ref=aeroalquimia
*
* Copyright 2010, Eduardo Daniel Sada
* You need to buy a license if you want use this script.
* http://codecanyon.net/wiki/buying/howto-buying/licensing/
*
* Version: 1.3.5 (Aug 19 2012)
*
* Includes jQu... |
// Give the estimated location based on the IP address.
cb = function (data) {
var loc = data.city;
if (data.region_name.length > 0)
loc = loc + ', ' + data.region_name;
console.log('IP address: ' + data.ip);
console.log('Estimated location: ' + loc);
phantom.exit();
};
var el =... |
(function(){
var defaults = {
priority: 0
};
/** related to: Physics.util.decorator
* Physics.behavior( name[, options] ) -> Behavior
* - name (String): The name of the behavior to create
* - options (Object): The configuration for that behavior ( depends on behavior ).
Avail... |
/**
* @license Highcharts JS v6.1.1 (2018-06-27)
*
* Item series type for Highcharts
*
* (c) 2010-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);
... |
export default function ({ types: t }) {
return {
visitor: {
MemberExpression(path) {
if (path.get("object").matchesPattern("process.env")) {
let key = path.toComputedKey();
if (t.isStringLiteral(key)) {
path.replaceWith(t.valueToNode(process.env[key.value]));
... |
'use strict';
var normalize = require('../normalize');
var debug = require('../debug');
var utils = require('../utils');
module.exports = function(app, options) {
return function(val, key, config, schema) {
if (!val || utils.isEmpty(val)) return null;
debug.field(key, val);
return normalize(val, key, co... |
"use strict";
var helpers = require("../../helpers/helpers");
exports["Asia/Dili"] = {
"1911" : helpers.makeTestYear("Asia/Dili", [
["1911-12-31T15:37:39+00:00", "23:59:59", "LMT", -30140 / 60],
["1911-12-31T15:37:40+00:00", "23:37:40", "TLT", -480]
]),
"1942" : helpers.makeTestYear("Asia/Dili", [
["1942-02... |
// From http://wiki.script.aculo.us/scriptaculous/show/Cookie
var Cookie = {
set: function(name, value, daysToExpire) {
var expire = '';
if(!daysToExpire) daysToExpire = 365;
var d = new Date();
d.setTime(d.getTime() + (86400000 * parseFloat(daysToExpire)));
expire = 'expires=' + d.toGMTString();
... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'showblocks', 'en', {
toolbar: 'Show Blocks'
} );
|
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
/**
* Unwraps an unordered/ordered list
*
* @param {Element} element The list element which should be unwrapped
*
* @example
* <!-- Assume the following dom: -->
* <ul id="list">
* <li>eminem</li>
* <li>dr. dre</li>
* <li>50 Cent</li>
* </ul>
*
* <script>
* wysihtml5.dom.re... |
define(["doh/main", "../has", "../i18n", "require"], function(doh, has, i18n, require){
var
getAsyncTest = function(value, locale){
return function(){
var def = new doh.Deferred();
require([i18n.getL10nName("dojo/testsDOH", "salutations", locale)], function(bundle){
doh.assertEqual(value, bundle.hell... |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/Neo-Euler/Size2/Regular/Main.js
*
* Copyright (c) 2013-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 Li... |
/*!
* fancyBox - jQuery Plugin
* version: 2.1.5 (Fri, 14 Jun 2013)
* @requires jQuery v1.6 or later
*
* Examples at http://fancyapps.com/fancybox/
* License: www.fancyapps.com/fancybox/#license
*
* Copyright 2012 Janis Skarnelis - janis@fancyapps.com
*
*/
(function (window, document, $, undefined) {
"use... |
var ghostBookshelf = require('./base'),
App = require('./app'),
AppSetting,
AppSettings;
AppSetting = ghostBookshelf.Model.extend({
tableName: 'app_settings',
app: function () {
return this.belongsTo(App);
}
});
AppSettings = ghostBookshelf.Collection.extend({
model: AppSetting
})... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'templates', 'ka', {
button: 'თარგები',
emptyListMsg: '(თარგი არაა განსაზღვრული)',
insertOption: 'მიმდინარე შეგთავსის შეცვლა',
options: 'თარგების ... |
/** PURE_IMPORTS_START .._operators_filter PURE_IMPORTS_END */
import { filter as higherOrderFilter } from '../operators/filter';
/* tslint:enable:max-line-length */
/**
* Filter items emitted by the source Observable by only emitting those that
* satisfy a specified predicate.
*
* <span class="informal">Like
* [A... |
var fs = require('fs');
var fst = fs.createReadStream(__filename);
var Readable = require('../readable.js');
var rst = new Readable();
rst.wrap(fst);
rst.on('end', function() {
process.stdin.pause();
});
process.stdin.setRawMode(true);
process.stdin.on('data', function() {
var c = rst.read(3);
if (... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/entities/v.js
*
* Copyright (c) 2010-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 License.
* You may ob... |
'use strict';
exports.type = 'perItem';
exports.active = true;
exports.description = 'converts non-eccentric <ellipse>s to <circle>s';
/**
* Converts non-eccentric <ellipse>s to <circle>s.
*
* @see http://www.w3.org/TR/SVG/shapes.html
*
* @param {Object} item current iteration item
* @return {Boolean} if fals... |
/**
* @fileoverview Responsible for loading config files
* @author Seth McLaughlin
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const path = require("path"),
Co... |
/**
* @fileoverview A rule to disallow the type conversions with shorter notations.
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Helpers
//---------------------------------------... |
/**
* Disallows spaces before commas
*
* Types: `Boolean`
*
* Values: `true` to disallow any spaces before any comma
*
* #### Example
*
* ```js
* "disallowSpaceBeforeComma": true
* ```
*
* ##### Valid
*
* ```js
* var a, b;
* ```
*
* ##### Invalid
*
* ```js
* var a ,b;
* ```
*/
var assert = requ... |
import{generateUtilityClass,generateUtilityClasses}from"@material-ui/unstyled";function getStepperUtilityClass(e){return generateUtilityClass("MuiStepper",e)}const stepperClasses=generateUtilityClasses("MuiStepper",["root","horizontal","vertical","alternativeLabel"]);export default stepperClasses;export{getStepperUtili... |
var path = require('path');
var once = require('once');
var concat = require('concat-stream');
var octal = require('octal')
var stat = require('./stat');
var xtend = require('xtend');
var errno = require('./errno');
var ROOT = stat({
type: 'directory',
mode: octal(777),
size: 4096
});
var normalize = function(key)... |
var qrcode = require('../lib/main'),
url = 'https://google.com/';
qrcode.generate(url, { small: true }, function (qr) {
console.log(qr);
});
|
/*
Copyright (c) 2013 William Malone (www.williammalone.com)
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, merg... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let EditorFormatLineSpacing = (props) => (
<SvgIcon {...props}>
<path d="M6 7h2.5L5 3.5 1.5 7H4v10H1.5L5 20.5 8.5 17H6V7zm4-2v2h12V5H10zm0 14h12v-2H10v2zm0-6h12v-2H10v2z"/>
</SvgIcon>
);
EditorFormatLineSpacing =... |
/**
* Render a few flash messages, e.g. errors, success messages, warnings,...
*
* Use like this:
* <FlashMessages
* messages={{
* error: [{
* title: 'There is a network problem',
* detail: 'Please try again later...',
* }],
* }}
* />
*
* Instead of error, it can also be hilight, info, ... |
/**
* Module dependencies.
*/
var Compiler = require('../visitor/compiler')
, nodes = require('../nodes')
, parse = require('url').parse
, relative = require('path').relative
, dirname = require('path').dirname
, utils = require('../utils');
/**
* Return a url() function with the given `options`.
*
* O... |
var contexts = require("./contexts"),
visitor = require("./visitors"),
tree = require("./tree");
module.exports = function(root, options) {
options = options || {};
var evaldRoot,
variables = options.variables,
evalEnv = new contexts.Eval(options);
//
// Allows setting variable... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/* http://keith-wood.name/calendars.html
Tamil (UTF-8) localisation for Gregorian/Julian calendars for jQuery.
Written by S A Sureshkumar (saskumar@live.com). */
(function($) {
$.calendars.calendars.gregorian.prototype.regional['ta'] = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: ['தை','மாசி','... |
define("ace/snippets/c9search",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="c9search"});
(function() {
window.require(["ace/snippets/c9search"], function(m) {
if (typeof module == "object" && typeof exports == "object" ... |
/**
* videojs-contrib-hls
* @version 3.0.6-1
* @copyright 2016 Brightcove, Inc
* @license Apache-2.0
*/
(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!=="undefined"){g=window}else if... |
var express = require('express');
var path = require('path');
var app = express();
app.use(express.static(__dirname + '/public'));
var port = process.env.PORT || 3000;
app.listen(port);
console.log("App listening on port " + port);
app.get('*', function(req, res) {
res.sendFile(path.join(__dirname, 'public'));
});
... |
var config = require('../../config');
function getCoverImage(data) {
var context = data.context ? data.context[0] : null,
blog = config.theme,
contextObject = data[context] || blog;
if (context === 'home' || context === 'author') {
if (contextObject.cover) {
return config.u... |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... |
/**
* angular-permission
* Fully featured role and permission based access control for your angular applications
* @version v3.1.2 - 2016-05-17
* @link https://github.com/Narzerus/angular-permission
* @author Rafael Vidaurre <narzerus@gmail.com> (http://www.rafaelvidaurre.com), Blazej Krysiak <blazej.krysiak@gmail... |
define(['../object/mixIn', './i18n/en-US'], function(mixIn, enUS){
// we also use mixIn to make sure we don't affect the original locale
var activeLocale = mixIn({}, enUS, {
// we expose a "set" method to allow overriding the global locale
set : function(localeData){
mixIn(activeLoc... |
/*
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/_base/xhr",["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./confi... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v4.0.3
* @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 : ... |
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/
* ---------------------------------------------------------------------------
*
* The DHTML Calendar
*
* Details and latest version at:
* http://dynarch.com/mishoo/calendar.epl
*
* This script is distributed under the GNU Lesser General Public... |
!function(s){"use strict";provide(["/demand/validator/isObject","/demand/validator/isTypeOf","./property"],function(a,d,c){var f={};return function(n){var t,i,r,e,u=a(arguments[1])?arguments[1]:null,l=!!arguments[u?2:1],o=null;return(t=(u=u||s)===s?"#window":u.nodeName)&&(o=(i=f[t]=f[t]||{})[n]=f[t][n]||null),null===o&... |
System.register(["foo"], function (_export) {
"use strict";
return {
setters: [function (_foo) {
for (var _key in _foo) {
if (_key !== "default") _export(_key, _foo[_key]);
}
_export("foo", _foo.foo);
_export("foo", _foo.foo);
_export("bar", _foo.bar);
_export("b... |
/** Used to map latin-1 supplementary letters to basic latin letters. */
var deburredLetters = {
'\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
'\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
'\xc7': 'C', '\xe7': 'c',
'\xd0': 'D', '\xf0': 'd',
'... |
// Underscore.js 1.3.1
// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
// Underscore is freely distributable under the MIT license.
// Portions of Underscore are inspired or borrowed from Prototype,
// Oliver Steele's Functional, and John Resig's Micro-Templating.
// For all details and doc... |
!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.ReactRouter=e()}}(function(){var define,module,export... |
tinymce.addI18n('hu_HU',{
"Cut": "Kiv\u00e1g\u00e1s",
"Header 2": "C\u00edmsor 2",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "A b\u00f6ng\u00e9sz\u0151d nem t\u00e1mogatja a k\u00f6zvetlen hozz\u00e1f\u00e9r\u00e9st a v\u00e1g\u00f3laphoz. K\... |
const AbstractHandler = require('./AbstractHandler');
class GuildRoleDeleteHandler extends AbstractHandler {
handle(packet) {
const client = this.packetManager.client;
const data = packet.d;
client.actions.GuildRoleDelete.handle(data);
}
}
module.exports = GuildRoleDeleteHandler;
|
/*!
* autocomplete.js 0.10.0
* https://github.com/algolia/autocomplete.js
* Copyright 2015 Algolia, Inc. and other contributors; Licensed MIT
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof de... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define('element/locale/lt', ['module', 'exports'], factory);
} else if (typeof exports !== "undefined") {
factory(module, exports);
} else {
var mod = {
exports: {}
};
factory(mod, mod.exports);
global.EL... |
/*
* jQuery Navgoco Menus Plugin v0.1.3 (2013-07-11)
* https://github.com/tefra/navgoco
*
* Copyright (c) 2013 Chris T (@tefra)
* BSD - https://github.com/tefra/navgoco/blob/master/LICENSE-BSD
*/
(function($) {
"use strict";
/**
* Plugin Constructor. Every menu must have a unique id which will either
* be... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'contextmenu', 'pt-br', {
options: 'Opções Menu de Contexto'
});
|
YUI.add('cache-base', function(Y) {
/**
* The Cache utility provides a common configurable interface for components to
* cache and retrieve data from a local JavaScript struct.
*
* @module cache
*/
var LANG = Y.Lang,
isDate = Y.Lang.isDate,
/**
* Base class for the YUI Cache utility.
* @class Cache
* @ext... |
;/*! showdown 13-07-2015 */
(function(){
/**
* Created by Tivie on 13-07-2015.
*/
function getDefaultOpts(simple) {
'use strict';
var defaultOptions = {
omitExtraWLInCodeBlocks: {
default: false,
describe: 'Omit the default extra whiteline added to code blocks',
type: 'boolean'
},
... |
/* ===========================================================
* tr.js
* Turkish translation for Trumbowyg
* http://alex-d.github.com/Trumbowyg
* ===========================================================
* Author : Emrah Bilbay (munzur)
* Github : https://github.com/munzur
* Website: http://k... |
/*!
* Bootstrap-select v1.6.2 (http://silviomoreto.github.io/bootstrap-select/)
*
* Copyright 2013-2014 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nic nie zaznaczono",noneResultsText:"Bra... |
define({
name: 'dojox/window/pane'
});
|
YUI.add('arraylist-filter', function(Y) {
/**
* Collection utilities beyond what is provided in the YUI core
* @module collection
* @submodule arraylist-filter
*/
/**
* Adds filter method to ArrayList prototype
* @class ArrayList~filter
*/
Y.mix( Y.ArrayList.prototype, {
/**
* <p>Create a new ArrayLi... |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Schema = mongoose.Schema,
crypto = require('crypto'),
validator = require('validator'),
generatePassword = require('generate-password'),
owasp = require('owasp-password-strength-test');
/**
* A Validation function for local s... |
/* Simplified Chinese translation for the jQuery Timepicker Addon /
/ Written by Will Lu */
(function($) {
$.timepicker.regional['zh-CN'] = {
timeOnlyTitle: '选择时间',
timeText: '时间',
hourText: '小时',
minuteText: '分钟',
secondText: '秒钟',
millisecText: '毫秒',
microsecText: '微秒',
timezoneText: '时区',
currentT... |
var arrayMap = require('./_arrayMap'),
baseAt = require('./_baseAt'),
basePullAt = require('./_basePullAt'),
compareAscending = require('./_compareAscending'),
flatRest = require('./_flatRest'),
isIndex = require('./_isIndex');
/**
* Removes elements from `array` corresponding to `indexes` and ret... |
'use strict';
var Parser = require('../tree_construction/parser'),
ParsingUnit = require('./parsing_unit');
//API
exports.parseDocument = function (html, treeAdapter) {
//NOTE: this should be reentrant, so we create new parser here
var parser = new Parser(treeAdapter),
parsingUnit = new ParsingUni... |
/*!
* This file is part of cytoscape.js 2.2.10.
*
* Cytoscape.js is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* C... |
var readInstalled = require('../read-installed.js');
var test = require('tap').test;
var path = require('path');
test('prerelease packages should not be marked invalid', function(t) {
readInstalled(
path.join(__dirname, 'fixtures/issue-40'),
{ log: console.error },
function(err, map) {
t.strictEqua... |
var Rascal = require('../..');
var config = require('./config');
var _ = require('lodash');
var Chance = require('Chance');
var chance = new Chance();
var format = require('util').format;
Rascal.Broker.create(Rascal.withDefaultConfig(config.rascal), function (err, broker) {
if (err) bail(err);
broker.on('error', ... |
import React from 'react/addons'
import {Popover} from 'react-bootstrap'
import VelocityActions from '../../../actions/velocity-actions'
import onClickOutside from '@sprintly/react-onclickoutside'
var VelocityComponent = React.createClass({
getInitialState() {
return {
showFiltersMenu: false,
showVe... |
{"filter":false,"title":"account.js","tooltip":"/src/js/services/integration/account.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":0,"column":0},"end":{"row":0,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode... |
/**
* Created by kyleparisi on 1/18/16.
*/
import {Map, List} from 'immutable'
import fs from 'fs'
import plugins from './PluginManager'
import cards from './CardManager'
import {h, diff, patch, create} from 'virtual-dom'
import HistoryManager from './History'
import ViewManager from './ViewManager'
const Cards = S... |
// decode the on-network array entity format into an object format closer to that used before
// makes much more sense as an object, means that existing code didn't need to change, and it's what the
// stock intel site does internally too (the array format is only on the network)
// anonymous wrapper function
(functi... |
/* global __dirname */
var env = require('config/environment.js');
var path = require('path');
var auth = require('./middleware/auth');
module.exports = function(app, router) {
'use strict';
// middleware to use for all requests
router.use(auth);
// register all modules
require('./modules/authent... |
var Elmt = require('absolute/Element');
var _ContentDelegate = require('absolute/_ContentDelegate');
var compose = require('ksf/utils/compose');
var common = require('./common');
module.exports = compose(_ContentDelegate, function() {
this._content = new Elmt('button').height(35).style({
border: 'none',
borderRad... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.