code stringlengths 2 1.05M |
|---|
'use strict';
backAndControllers.controller('filterDashboardController', ['$scope', 'dataListService',
function ($scope, dataListService) {
$scope.dashboardId = '1';
$scope.filterOptions = [{ fieldName: 'First_Name', operator: 'contains', value: '' }, { fieldName: 'Job_Title', operator: 'in', val... |
Template.mugenRoleCollectionsView.events = {
'click #btnRemove': function(e) {
e.preventDefault();
var recordId = this._id;
MeteorisAlert.confirm("confirm_remove", function() {
Router.current().remove(recordId);
Router.go("mugenRoleCollectionsIndex")
});
}
};
... |
'use strict';
var App = require('../app');
var Backbone = require('backbone');
var Marionette = require('backbone.marionette');
var _ = require('underscore');
var keyboardShortcuts = require('./keyboardShortcuts.json');
var marked = require('marked');
var controller = {
showHelp: function () {
var HelpView = re... |
GS.MeshPhongGlowMaterial = function(map, glow, normal, emissive, glowIntensity) {
this.shader = GS.PhongGlowShader;
this.uniforms = THREE.UniformsUtils.clone(this.shader.uniforms);
this.uniforms["map"].value = map;
this.uniforms["glowMap"].value = glow;
this.uniforms["normalMap"].value = normal;
this.un... |
/* */
require('../modules/es7.string.at');
require('../modules/es7.string.pad-start');
require('../modules/es7.string.pad-end');
require('../modules/es7.string.trim-left');
require('../modules/es7.string.trim-right');
module.exports = require('../modules/_core').String;
|
(function() {
var rgb_to_hsl = function(r,g,b){
// Input colors are in 0-255, calculations are between 0-1
r /= 255; g /= 255; b /= 255;
// http://en.wikipedia.org/wiki/HSL_and_HSV
// Convert to HSL
var max = Math.max(r,g,b),
min = Math.min(r,g,b),
c... |
angular.module('ionic-pullup', [])
.constant('ionPullUpFooterState', {
COLLAPSED: 'COLLAPSED',
MINIMIZED: 'MINIMIZED',
EXPANDED: 'EXPANDED'
})
.constant('ionPullUpFooterBehavior', {
HIDE: 'HIDE',
EXPAND: 'EXPAND'
})
.directive('ionPullUpFooter', ['$timeout', '$rootScope', '$windo... |
/**
* @overview datejs
* @version 1.0.0-rc1
* @author Gregory Wild-Smith <gregory@wild-smith.com>
* @copyright 2014 Gregory Wild-Smith
* @license MIT
* @homepage https://github.com/abritinthebay/datejs
*/
/*
2014 Gregory Wild-Smith
@license MIT
@homepage https://github.com/abritinthebay/datejs
2014 Gregory ... |
module.exports={title:"AOL",slug:"aol",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>AOL icon</title><path d="M13.07 9.334c2.526 0 3.74 1.997 3.74 3.706 0 1.709-1.214 3.706-3.74 3.706-2.527 0-3.74-1.997-3.74-3.706 0-1.709 1.213-3.706 3.74-3.706m0 5.465c.9 0 1.663-.741 1.663-1.759 0-... |
/**
* IBAN is the international bank account number.
* It has a country - specific format, that is checked here too
*/
$.validator.addMethod( "iban", function( value, element ) {
// some quick simple tests to prevent needless work
if ( this.optional( element ) ) {
return true;
}
// remove spaces and to upper ... |
function solve(lines) {
return lines[0];
}
|
angular.module('sliderDemo1', ['ngMaterial'])
.controller('AppCtrl', function($scope) {
$scope.color = {
red: Math.floor(Math.random() * 255),
green: Math.floor(Math.random() * 255),
blue: Math.floor(Math.random() * 255)
};
$scope.rating = 3;
$scope.disabled1 = 0;
$scope.disabled2 = 70;
});
|
var _ = require('lodash');
var async = require('async');
var crypto = require('crypto');
var nodemailer = require('nodemailer');
var passport = require('passport');
var User = require('../models/User');
var secrets = require('../config/secrets');
/**
* GET /login
* Login page.
*/
exports.getLogin = function(req, r... |
import { win, doc, vendors } from './environment';
export let visible;
let hidden = 'hidden';
if ( doc ) {
let prefix;
if ( hidden in doc ) {
prefix = '';
} else {
let i = vendors.length;
while ( i-- ) {
const vendor = vendors[i];
hidden = vendor + 'Hidden';
if ( hidden in doc ) {
prefix = ven... |
// flag to cancel keyup event if already handled by click event (pressing Enter on a focusted button).
var cancelKeyup = false;
/**
* Helper: triggers a button callback
*
* @param {Object} The dilog instance.
* @param {Function} Callback to check which butto... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.6.2_A4_T5;
* @section: 11.6.2, 11.6.3;
* @assertion: Operator x - y produces the same result as x + (-y);
* @description: Using the rule of sum of two zeroes and the fac... |
import { createStore as _createStore, applyMiddleware, compose } from 'redux';
import createMiddleware from './middleware/clientMiddleware';
import transitionMiddleware from './middleware/transitionMiddleware';
export default function createStore(reduxReactRouter, getRoutes, createHistory, client, data) {
const midd... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.3.1_A1.1_T4;
* @section: 11.3.1, 11.6.3, 7.3;
* @assertion: Line Terminator between LeftHandSideExpression and "++" is not allowed;
* @description: Checking Paragraph sep... |
/**
* The tooltip object
* @param {Object} chart The chart instance
* @param {Object} options Tooltip options
*/
function Tooltip() {
this.init.apply(this, arguments);
}
Tooltip.prototype = {
init: function (chart, options) {
var borderWidth = options.borderWidth,
style = options.style,
padding = pInt(... |
import {computed} from "ember-metal/computed";
import EmberObject from "ember-runtime/system/object";
import {testBoth} from "ember-runtime/tests/props_helper";
QUnit.module('CP macros');
testBoth('Ember.computed.empty', function (get, set) {
var obj = EmberObject.extend({
bestLannister: null,
lannisters: n... |
// twbs/bootstrap is included in the webpack.config.js
// as multi-module entry
$("#myModal").modal({
show: false
});
$("#save-button").click(function() {
alert("Saved");
$("#myModal").modal("hide");
}); |
#!/usr/bin/env node
/*
Hack to enable source maps in with gulp-sourcemaps and autoprefixer.
Created by null on 12/08/14.
npm --save-dev install through2
npm --save-dev install autoprefixer
npm --save-dev install vinyl-sourcemaps-apply
var prefixer = require('./gulp-autoprefixer-map.js');
gulp.task('c... |
import React from 'react'
import Link from 'next/link'
import { inject, observer } from 'mobx-react'
import Clock from './Clock'
@inject('store') @observer
class Page extends React.Component {
componentDidMount () {
this.props.store.start()
}
componentWillUnmount () {
this.props.store.stop()
}
rend... |
describe("mousedown event", function () {
$.fixture("plain");
subject(function () {
return new Awesomplete("#plain", { list: ["item1", "item2", "item3"] });
});
def("li", function () { return this.subject.ul.children[1] });
beforeEach(function () {
$.type(this.subject.input, "ite");
spyOn(this.subject, "... |
/**
* ng-csv module
* Export Javascript's arrays to csv files from the browser
*
* Author: asafdav - https://github.com/asafdav
*/
angular.module('ngCsv.directives').
directive('ngCsv', ['$parse', '$q', 'CSV', '$document', '$timeout', function ($parse, $q, CSV, $document, $timeout) {
return {
restrict:... |
var auto = require('autoprefixer')('last 2 versions')
var memoize = require('memoize-sync')
var rwnpm = require('rework-npm')
var rework = require('rework')
var fs = require('fs')
module.exports = process.env.NODE_ENV === 'development'
? getCSS
: memoize(getCSS, function(){})
function getCSS() {
var ... |
/**
* lodash 4.5.5 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright... |
/* -----------------------------------------------------------------------------
AnyPicker - Customizable Picker for Mobile OS
Version 2.0.4
Copyright (c)2016 Curious Solutions LLP
https://curioussolutions.in/libraries/anypicker/content/license.htm
See License Information in LICENSE file.
----------------... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _lodash = require('lodash');
var _lodash2 = _interopRequireDefault(_lodash);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = function (context) {
var annotateReturn... |
var should = require('should'),
fs = require('fs'),
config = require(__dirname + '/../../../server/config'),
errors = require(config.get('paths').corePath + '/server/errors'),
schedulingUtils = require(config.get('paths').corePath + '/server/scheduling/utils');
describe('Scheduling: utils', function (... |
(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["Cleave"] = factory(... |
/* */
'use strict';
var EventConstants = require("./EventConstants");
var emptyFunction = require("./emptyFunction");
var topLevelTypes = EventConstants.topLevelTypes;
var MobileSafariClickEventPlugin = {
eventTypes: null,
extractEvents: function(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent) {
i... |
/*!
* ui-grid - v4.4.1 - 2018-03-16
* Copyright (c) 2018 ; License: MIT
*/
(function () {
'use strict';
/**
* @ngdoc overview
* @name ui.grid.treeView
* @description
*
* # ui.grid.treeView
*
* <div class="alert alert-warning" role="alert"><strong>Beta</strong> This feature is ready for te... |
/**
@module ember
@submodule ember-views
*/
import Ember from 'ember-metal/core';
import { Mixin } from 'ember-metal/mixin';
import { get } from 'ember-metal/property_get';
import { set } from 'ember-metal/property_set';
import setProperties from 'ember-metal/set_properties';
var EMPTY_ARRAY = [];
export default Mixi... |
import Ember from 'ember';
import {
moduleForComponent,
test
} from 'ember-qunit';
moduleForComponent('paper-radio', 'PaperRadioComponent', {
// specify the other units that are required for this test
// needs: ['component:foo', 'helper:bar']
unit: true
});
test('it renders', function(assert) {
assert.exp... |
var sass = require('../sass')
, fs = require('fs')
, url = require('url')
, basename = require('path').basename
, dirname = require('path').dirname
, mkdirp = require('mkdirp')
, join = require('path').join;
var imports = {};
/**
* Return Connect middleware with the given `options`.
*
* Options:
*
* ... |
describe("ResultsNode", function() {
it("wraps a result", function() {
var fakeResult = {
id: 123,
message: "foo"
},
node = new jasmineUnderTest.ResultsNode(fakeResult, "suite", null);
expect(node.result).toBe(fakeResult);
expect(node.type).toEqual("suite");
});
it("can a... |
/**
* Created by wangjian on 16/1/20.
*/
define(['dojo/_base/declare',
'dijit/_WidgetBase',
'dojo/_base/lang',
'dojo/_base/html',
'dojo/on',
'dojo/mouse',
'dojo/_base/fx',
'dojo/Evented'
], function(declare, _WidgetBase, lang, html, on, Mouse, baseFx, Evented) {
var ANIMATION_DURATION = 1000,
AUTO... |
FamousFramework.scene('famous-tests:physics:basic:spring', {
behaviors: {
'.particle': {
'size': [100, 100],
'align': [0.5, 0.5],
'mount-point': [0.5, 0.5]
},
'.one': {
'position': function(position1) {
return position1
... |
const foo = {
a: 'a' /* comment for this line */,
/* Section B */
b: 'b',
};
|
module.exports=/[\u2800-\u28FF]/ |
'use strict';
var path = require('path');
var fs = require('graceful-fs');
var stripBom = require('strip-bom');
var File = require('vinyl');
exports.read = function (pth, opts, cb) {
opts = opts || {};
if (typeof opts === 'function') {
cb = opts;
opts = {};
}
fs.stat(pth, function (err, stat) {
if (err) {
... |
module.exports={A:{A:{"2":"I C G E SB","1028":"B","1316":"A"},B:{"1":"D g q K"},C:{"1":"0 1 2 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","164":"3 QB F H I C G E A B D g q K L M N O P Q OB NB","516":"R S T U V s"},D:{"1":"0 1 2 6 9 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 CB RB AB","33":"Q R S T U V s... |
/**
* Module dependencies.
*/
var _ = require('lodash');
var async = require('async');
var __hooks = require('../../hooks');
module.exports = function(sails) {
var Hook = __hooks(sails);
/**
* Resolve the hook definitions and then finish loading them
*
* @api private
*/
return function initia... |
module.exports={"title":"Discover","hex":"FF6000","source":"https://www.discovernetwork.com/en-us/business-resources/free-signage-logos","svg":"<svg role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title>Discover icon</title><circle cx=\"12\" cy=\"12\" r=\"12\"/></svg>"}; |
require('babel-register')
const config = require('../config')
const server = require('../server/app')
const debug = require('debug')('app:bin:server')
const host = config.server_host
const port = config.server_port
server.listen(port, host, function () {
debug('Server is now running at ' + host + ':' + port + '.')... |
var vows = require('vows');
var assert = require('assert');
var suite = vows.describe('jStat.diff');
require('../env.js');
suite.addBatch({
'diff': {
'topic': function() {
return jStat;
},
'return basic diff': function(jStat) {
assert.deepEqual(jStat.diff([1, 2, 3]), [1, 1]);
},
'dif... |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
/* globals jscolor */
frappe.provide("frappe.website_theme");
$.extend(frappe.website_theme, {
color_variables: ["background_color", "top_bar_color", "top_bar_text_color",
"footer_color", "footer_text_color", "text_... |
function render(_ref) {
let text = _ref.text;
var _ref2 = <Component text={text} />;
return () => _ref2;
}
|
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
/* @flow */
//not including this
//it currently requires the whole of moment, which we dont want to take as a dependency
var ImageFormatter = require('./ImageFormatter');
var Formatters = {
ImageFormatter : ImageFormatter
}
module.exports = Formatters;
|
// Duplicate exports are an early/parse error
export {foo as bar};
export {bar};
|
/**
* Super simple wysiwyg editor on Bootstrap v@VERSION
* http://hackerwins.github.io/summernote/
*
* summernote.js
* Copyright 2013 Alan Hong. and outher contributors
* summernote may be freely distributed under the MIT license./
*
* Date: @DATE
*/
(function (factory) {
/* global define */
if (typeof def... |
/**
* jqGrid Brazilian-Portuguese Translation
* Sergio Righi sergio.righi@gmail.com
* http://curve.com.br
*
* Updated by Jonnas Fonini
* http://fonini.net
*
*
* Updated by Fabio Ferreira da Silva fabio_ferreiradasilva@yahoo.com.br
*
* Updated by Anderson Pimentel anderson.pimentel[at]gmail.com
*
* Dual l... |
/* @flow */
import invariant from 'fbjs/lib/invariant';
import type { NavigationRoute, NavigationState } from './TypeDefinition';
/**
* Utilities to perform atomic operation with navigate state and routes.
*
* ```javascript
* const state1 = {key: 'screen 1'};
* const state2 = NavigationStateUtils.push(state1, {... |
(function(){var c=function(a){""!==a&&(1==a?($("#gis_location_wkt__row").hide(),$("#gis_location_wkt__row1").hide(),$("#gis_location_lat__row").show(),$("#gis_location_lon__row").show(),$("#gis_location_lat__row1").show(),$("#gis_location_lon__row1").show()):($("#gis_location_lat__row").hide(),$("#gis_location_lon__row... |
var some;
if (Array.prototype.some) {
some = Array.prototype.some;
} else {
some = function (fun) {
var t = Object(this);
var len = t.length >>> 0;
for (var i = 0; i < len; i++) {
if (i in t && fun.call(this, t[i], i, t)) {
return true;
... |
describe("", function() {
var rootEl;
beforeEach(function() {
rootEl = browser.rootEl;
browser.get("build/docs/examples/example-example98/index-jquery.html");
});
it('should format date', function() {
expect(element(by.binding("1288323623006 | date:'medium'")).getText()).
toMatch(/Oct 2\d,... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v13.3.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 ... |
/**
* On-demand JavaScript handler
*
* Based on http://plugins.jquery.com/files/issues/jquery.ondemand.js_.txt
* and heavily modified to integrate with SilverStripe and prototype.js.
* Adds capabilities for custom X-Include-CSS and X-Include-JS HTTP headers
* to request loading of externals alongside an ajax re... |
var os = require('os');
var path = require('path');
var fs = require('fs');
var builder = require('xmlbuilder');
var helper = require('../helper');
var log = require('../logger').create('reporter');
var JUnitReporter = function(formatError, outputFile, pkgName, emitter) {
var xml;
var suites;
var pendingFileWr... |
'use strict';
angular.module('gridster', [])
.constant('gridsterConfig', {
columns: 6, // number of columns in the grid
pushing: true, // whether to push other items out of the way
floating: true, // whether to automatically float items up so they stack
width: 'auto', // the width of the grid. "auto" will expand ... |
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2012, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file, and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying, or distribut... |
module.exports={title:"Winmate",slug:"winmate",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Winmate icon</title><path d="M5.785 4.058l-4.473.004L1.311.01 19.469 0c3.514.42 3.199 4.047 3.199 4.047l-2.156-.002-2.769 15.888L14.79 4.049l-4.731.005.856 7.376-2.137 8.507L5.785 4.058zM4.4... |
/**
* Copyright 2013 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 appli... |
/*
* English/UK (UTF-8) initialisation for the jQuery UI date picker plugin.
* Adapted to match the Zend Data localization for SilverStripe CMS
* See: README
*/
jQuery(function($){
$.datepicker.regional['en-GB'] = {
closeText: 'Done',
prevText: 'Prev',
nextText: 'Next',
currentText: 'Today',
monthNames: ... |
var ObjectRenderer = require('../../renderers/webgl/utils/ObjectRenderer'),
WebGLRenderer = require('../../renderers/webgl/WebGLRenderer'),
ParticleShader = require('./ParticleShader'),
ParticleBuffer = require('./ParticleBuffer'),
math = require('../../math');
/**
* @author Mat Groves
*
... |
var Pos = CodeMirror.Pos;
CodeMirror.defaults.rtlMoveVisually = true;
function forEach(arr, f) {
for (var i = 0, e = arr.length; i < e; ++i) f(arr[i], i);
}
function addDoc(cm, width, height) {
var content = [], line = "";
for (var i = 0; i < width; ++i) line += "x";
for (var i = 0; i < height; ++i) content.... |
Prism.languages.moonscript = {
'comment': /--.*/,
'string': [
{
pattern: /'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,
greedy: true
},
{
pattern: /"[^"]*"/,
greedy: true,
inside: {
'interpolation': {
pattern: /#\{[^{}]*\}/,
inside: {
'moonscript': {
pattern: /(^#\{)[\s\S]+(?=\})/,
... |
var registerGeometry = require('../core/geometry').registerGeometry;
var THREE = require('../lib/three');
var degToRad = THREE.Math.degToRad;
registerGeometry('cylinder', {
schema: {
height: {default: 1, min: 0},
openEnded: {default: false},
radius: {default: 1, min: 0},
segmentsHeight: {default: 18... |
/*
YUI 3.17.0 (build ce55cc9)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('color-hsv', function (Y, NAME) {
/**
Color provides static methods for color conversion hsv values.
Y.Color.toHSV('f00'); // hsv(0, 100%, 100%)
Y.Color.toH... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v8.2.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var FUNCTION_STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/m... |
var constants = require('../tokenizer/const');
var TYPE = constants.TYPE;
var NAME = constants.NAME;
var utils = require('../tokenizer/utils');
var cmpStr = utils.cmpStr;
var EOF = TYPE.EOF;
var WHITESPACE = TYPE.WhiteSpace;
var COMMENT = TYPE.Comment;
var OFFSET_MASK = 0x00FFFFFF;
var TYPE_SHIFT = 24;
var TokenStr... |
/*!
* Vue.js v2.1.6
* (c) 2014-2016 Evan You
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Vue = factory());
}(this, (function... |
if(!window.calendar_languages) {
window.calendar_languages = {};
}
window.calendar_languages['ru-RU'] = {
error_noview: 'Календарь: Шаблон вида {0} не найден.',
error_dateformat: 'Календарь: неверный формат даты {0}. Должно быть или "now" или "yyyy-mm-dd"',
error_loadurl: 'Календарь: не назначен URL для загрузки со... |
/// <autosync enabled="true" />
/// <reference path="../gulpfile.js" />
/// <reference path="js/app.js" />
/// <reference path="js/site.js" />
/// <reference path="lib/bootstrap/dist/js/bootstrap.js" />
/// <reference path="lib/jquery/dist/jquery.js" />
/// <reference path="lib/jquery-validation/dist/jquery.vali... |
/// <reference path="Game.ts" />
/**
* Phaser - Basic
*
* A useful "generic" object on which all GameObjects and Groups are based.
* It has no size, position or graphical data.
*/
var Phaser;
(function (Phaser) {
var Basic = (function () {
/**
* Instantiate the basic object.
*/
funct... |
/**
* @requires GeoExt/Lang.js
*/
GeoExt.Lang.add("fr", {
"gxp.plugins.AddLayers.prototype": {
addActionMenuText: "Ajouter des calques",
addActionTip: "Ajouter des calques",
addServerText: "Ajouter un nouveau serveur",
untitledText: "Sans titre",
addLayerSource... |
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
// update parent select
$.extend(cur_frm.cscript, {
refresh: function(doc) {
},
onload_post_render: function(doc) {
this.set_parent_label_options();
},
label: function(doc, cdt, cdn) {
var item = wn.mod... |
/**
* @class button - open elfinder window (not needed for image or link buttons).Used in ELDORADO.CMS for easy file manipulations.
*
* @param elRTE rte объект-редактор
* @param String name название кнопки
*
* @author: Dmitry Levashov (dio) dio@std42.ru
* @copyright: Studio 42, http://www.std42.ru
**/... |
/**
* videojs-contrib-hls
* @version 3.6.14-experimental
* @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=wi... |
var binding;
var fs = require('fs');
var path = require('path');
var v8 = 'v8-' + /[0-9]+\.[0-9]+/.exec(process.versions.v8)[0];
var modPath = path.join(__dirname, 'bin', process.platform + '-' + process.arch + '-' + v8, 'binding');
try {
if (fs.realpathSync(__dirname + '/build')) {
// use the build version if i... |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
(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... |
(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(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.vl = f()}})(fu... |
// Muaz Khan - https://github.com/muaz-khan
// neizerth - https://github.com/neizerth
// MIT License - https://www.webrtc-experiment.com/licence/
// Documentation - https://github.com/streamproc/MediaStreamRecorder
// ==========================================================
// GifRecorder.js
function Gif... |
/**
* Copyright (c) 2015-present, 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.
*
* @flow
*/... |
/**
* @fileoverview Rule to ensure newline per method call when chaining calls
* @author Rajendra Patil
* @author Burak Yigit Kaya
*/
"use strict";
const astUtils = require("../ast-utils");
//------------------------------------------------------------------------------
// Rule Definition
//---------------------... |
// KUTE.js v1.5.98 | © dnp_theme | jQuery Plugin | MIT-License
!function(e,t){if("function"==typeof define&&define.amd)define(["./kute.js","jquery"],function(e,n){return t(n,e),e});else if("object"==typeof module&&"function"==typeof require){var n=require("./kute.js"),r=require("jquery");module.exports=t(r,n)}else{if("... |
var fs = require("fs");
var path = require("path");
var config = require("./config");
var eachSeries = require("async-each-series");
var asyncTasks = require("./async-tasks");
var hooks = require("./hooks");
var merge = require("./opts").merge;
var defaultPlugins = {
"sync-optio... |
(function(s){function k(b,a){if(b===a)return!0;if("object"==typeof b&&"object"==typeof a){if(Array.isArray(b)!=Array.isArray(a))return!1;if(Array.isArray(b)){if(b.length!=a.length)return!1;for(var c=0;c<b.length;c++)if(!k(b[c],a[c]))return!1}else{for(c in b)if(void 0===a[c]&&void 0!==b[c])return!1;for(c in a)if(void 0=... |
module.exports = { prefix: 'far', iconName: 'arrow-alt-circle-right', icon: [512, 512, [], "f35a", "M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99... |
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... |
"use strict";
describe('fbutil', function() {
beforeEach(function() {
module('mock.firebase');
module('firebase.utils');
});
describe('handler', function() {
it('should have tests');
});
describe('defer', function() {
it('should have tests');
});
describe('ref', function() {
it('sho... |
require=(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)... |
// Copyright 2008 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... |
var createHash = require('crypto').createHash;
function get_header(header, credentials, opts) {
var type = header.split(' ')[0],
user = credentials[0],
pass = credentials[1];
if (type == 'Digest') {
return digest.generate(header, user, pass, opts.method, opts.path);
} else if (type == 'Basic') {... |
/*jshint node:true*/
module.exports = {
description: ''
// locals: function(options) {
// // Return custom template variables here.
// return {
// foo: options.entity.options.foo
// };
// }
// afterInstall: function(options) {
// // Perform extra work here.
// }
};
|
// Copyright 2011 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... |
/* jshint latedef: true,
undef:true
*/
foo();
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.