code stringlengths 2 1.05M |
|---|
'use strict';
var gulp = require('gulp'),
config = require('../config.json'),
jshint = require('gulp-jshint'),
handleErrors = require('../utils/handle-errors');
gulp.task('lint', function() {
return gulp.src([
config.src + 'app/views/**/*.js'
])
.pipe(jshint('.jshintrc'))
... |
/**!
*
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file.
*/
'use strict';
/**
* @namespace Util
*/
module.exports = {
base64: require('./base64'),
cappedDebounce: require('./capped-debounce'),
defer: require('./defer'),
generateRandomString: require('./generate-random-string'),
hashId: r... |
import React from 'react'
export const CLEAR_ICON = <svg height="20" width="20" viewBox="0 0 24 24" >
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
<path d="M0 0h24v24H0z" fill="none" />
</svg>
|
//Customers service used to communicate Customers REST endpoints
(function () {
'use strict';
angular
.module('customers')
.factory('CustomersService', CustomersService);
CustomersService.$inject = ['$resource'];
function CustomersService($resource) {
return $resource('api/customers/:customerId',... |
const winston = require('winston');
const logger = new winston.Logger({
transports: [
new winston.transports.Console({ json: false, timestamp: true }),
new winston.transports.File({ filename: __dirname + '/logs/throneteki.log', json: false, timestamp: true })
]
});
module.exports = logger;
|
/**
* @fileoverview Rule to enforce return statements in callbacks of array's methods
* @author Toru Nagashima
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const as... |
module('lively.data.VideoUpload').requires('lively.data.FileUpload').toRun(function() {
lively.data.FileUpload.Handler.subclass('lively.Clipboard.VideoUploader', {
handles: function(file) {
return file.type.match(/video.*/);
},
getUploadSpec: function(evt, file) {
return {readMethod: "asBin... |
#!/usr/bin/env node
"use strict";
const getStdin = require("get-stdin");
const pkg = require("../package.json");
const validators = require("./validators");
const SPECIAL_RULES_URL =
"https://github.com/prettier/eslint-config-prettier#special-rules";
if (module === require.main) {
if (process.argv.length > 2 ||... |
/* globals Sentry:true */
/* Polyfill $.browser */
(function () {
if (window.TAPP && window.TAPP.initialized) {
// We have already run the intialization code
return;
}
window.TAPP = window.TAPP || {};
window.TAPP.initialized = true;
// Limit scope pollution from any deprecated API
... |
// Copyright 2012 Mark Cavage, Inc. All rights reserved.
var http = require('http');
var net = require('net');
var restify = require('../lib');
var path = require('path');
var fs = require('fs');
if (require.cache[__dirname + '/lib/helper.js'])
delete require.cache[__dirname + '/lib/helper.js'];
var helper... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... |
// Create a new module
var geolocation = angular.module('geolocation', []);
geolocation.factory('GeolocationService', function($q) {
var geolocationInstance = {};
geolocationInstance.position = false;
geolocationInstance.getPosition = function() {
var self = this;
var deferred = $q.defer();
// Check ... |
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'Magento_Ui/js/lib/view/utils/async',
'uiRegistry',
'underscore',
'Magento_Ui/js/form/components/insert-listing'
], function ($, registry, _, InsertListing) {
'use strict';
retu... |
import { Vector3 } from './Vector3.js';
/**
* @author bhouston / http://clara.io
* @author WestLangley / http://github.com/WestLangley
*
* Primary reference:
* https://graphics.stanford.edu/papers/envmap/envmap.pdf
*
* Secondary reference:
* https://www.ppsloan.org/publications/StupidSH36.pdf
*/
// 3-ban... |
'use strict';
/**
* Simplifies dealing with AWS's ECS taskServices
*
* @module aws/taskServiceManager
*/
const SERVICE_POLL_DELAY = 15000;
const q = require('q');
const R = require('ramda');
const util = require('../util');
const TaskDefinitionManager = require('./taskDefinitionManager');
function getTaskServic... |
module.exports = function( grunt ) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '// Backbone.Epoxy <%= pkg.version %>\n// (c) 2013 Greg MacWilliam\n// Freely distributed under the MIT license\n// http://epoxyjs.org\n',
sourceMapRoot: './',
sourceMap: '... |
import React, { useState, useRef } from 'react'
import Icon from './icon'
import classes from '../styles/copy.module.sass'
export function copyToClipboard(ref, callback) {
const isClient = typeof window !== 'undefined'
if (ref.current && isClient) {
ref.current.select()
document.execCommand('c... |
"use strict";
var _temp, _temp2;
var _slicedToArray = function (arr, i) { if (Array.isArray(arr)) { return arr; } else { var _arr = []; for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { _arr.push(_step.value); if (i && _arr.length === i) break; } return _arr; } };
console.log((_... |
export default (bot, { client }) => {
const INTERVAL = 1000;
// memory
const memory = {
title: 'rss',
x: [0, 0, 0, 0, 0],
y: [0, 0, 0, 0, 0],
};
setInterval(() => {
memory.x.shift();
const date = new Date();
memory.x.push(`${date.getMinutes()}:${date.getSeconds()}`);
const mem = ... |
export default (app) => {
function sendDataAjax(options) {
$.ajax({
url : options.formURL,
type: options.method, // POST or PUT or PATCH
data : options.postData,
success:function(data, textStatus, jqXHR) {
location.href = `${options.urlCallback}/${data._id}`;
},
error:... |
// Test Modules
import { expect } from 'chai';
import simple, { mock } from 'simple-mock';
// Angie Modules
import $compile from '../../../src/factories/$Compile';
const TEST_ENV = global.TEST_ENV || 'src',
$$ngieIfFactory = require(`../../../${T... |
/*! jQuery UI - v1.9.2 - 2016-12-18
* http://jqueryui.com
* Copyright jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional.lt={closeText:"Uždaryti",prevText:"<Atgal",nextText:"Pirmyn>",currentText:"Šiandien",monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegu... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
'use strict';
exports.__esModule = true;
exports.renderSignedUpConfirmation = renderSignedUpConfirmation;
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _success_pane = require('../../ui/box/success_pane');
var _success_pane2 = _interopRequireDefault(_success_pane);
var _actions ... |
(function () { // to wrap use strict
'use strict';
// This module manages the warning page that comes up when a book is first downloaded.
// its url looks like downloadBook/bookId.
angular.module('BloomLibraryApp.download', ['ui.router'])
// Its Continue button will attempt to download the specifie... |
'use strict';
var Chai = require('chai');
var expect = Chai.expect;
var Stream = require('stream');
var gulp = require('gulp');
var _ = require('lodash');
function isGulp3() {
return !!gulp.run;
}
function isGulp4() {
return !!gulp.registry;
}
describe('Prerequisite', function () {
if (isGulp3()) {
describe(... |
module.exports = (function (gulp,config,$) {
'use strict';
return function (){
$.log('Copying templates to production');
return gulp
.watch([
config.templatesDir,
config.cssDir,
config.imgDir
], ['copyTemplatesToProduction... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
var _createClass2 = require('babel-runtime/helpers/createClass');
var _createClass3 = _interopRequi... |
export default shuffler(Math.random);
export function shuffler(random) {
return function shuffle(array, i0 = 0, i1 = array.length) {
let m = i1 - (i0 = +i0);
while (m) {
const i = random() * m-- | 0, t = array[m + i0];
array[m + i0] = array[i + i0];
array[i + i0] = t;
}
return array... |
/**
* @fileOverview This file acts as the central import point for the other JavaScript files that make
* up the visualizer.
* @author <a href="mailto:marco.leise@gmx.de">Marco Leise</a>
*/
$import('Util');
$import('Ant');
$import('Application');
$import('Buttons');
$import('Config');
$import('Const'... |
{
// Graphic resources.
addImage:[
["logo","resources/solitude/logo.png"],
["sea","resources/solitude/sea.png"],
["seaside","resources/solitude/seaside.png"],
["seaside2","resources/solitude/seaside2.png"],
["beach","resources/solitude/beach.png"],
["beach2","resources/solitude/beach2.png"],
["sprites"... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'clipboard', 'fi', {
copy: 'Kopioi',
copyError: 'Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopi... |
module.exports={A:{A:{"1":"G E A B","2":"H D fB"},B:{"1":"1 C p J L N I"},C:{"1":"0 1 2 3 5 6 7 8 9 FB F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j k l m n o M q r s t u v w x y z BB CB DB bB VB","132":"dB"},D:{"1":"0 1 2 3 5 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f... |
version https://git-lfs.github.com/spec/v1
oid sha256:ed08ed834d8db2c626d859b02c387d213632556ff5a1d261f6731ab2f7694a53
size 4120
|
'use strict';
/**
* @typedef {{line: number, col: number}} Pos
*/
/**
* @param {string} html
* @param node
* @return {Pos}
*/
function getLine(html, node) {
if (!node) {
return {line: 1, col: 1};
}
var linesUntil = html.substring(0, node.startIndex).split('\n');
return {line: linesUntil.... |
import axios from 'axios';
const service = {
getTopics: () => axios.get('/topic')
};
export default service;
|
describe('$mdToast service', function() {
beforeEach(module('material.components.toast'));
beforeEach(function () {
module(function ($provide) {
$provide.value('$mdMedia', function () {
return true;
});
});
});
afterEach(inject(function($material) {
$material.flushOutstandingA... |
/*!
* Casper is a navigation utility for PhantomJS.
*
* Documentation: http://casperjs.org/
* Repository: http://github.com/n1k0/casperjs
*
* Copyright (c) 2011-2012 Nicolas Perriault
*
* Part of source code is Copyright Joyent, Inc. and other Node contributors.
*
* Permission is hereby granted, free of ch... |
/**
* jQuery-tsv (jQuery Plugin)
*
* Inspired by jQuery-csv by Evan Plaice.
*
* Copyright 2012 by Bob Kerns
*
* This software is licensed as free software under the terms of the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
(function ($) {
// Make sure we have a copy, not origi... |
'use strict';
require('../common');
if (process.argv[2] === 'child') {
process.on('uncaughtException', (err) => {
err.rethrow = true;
throw err;
});
function throwException() {
throw new Error('boom');
}
throwException();
} else {
const assert = require('assert');
const { spawnSync } = requ... |
'use strict';
// Use application configuration module to register a new module
ApplicationConfiguration.registerModule('user-interface');
|
//! moment.js locale configuration
//! locale : Belarusian [be]
//! author : Dmitry Demidov : https://github.com/demidov91
//! author: Praleska: http://praleska.pro/
//! Author : Menelion Elensúle : https://github.com/Oire
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undef... |
'use strict';
/**
* Tests that a callback passed in a commit
* returns the _id values of inserted items
*/
describe('commit callback', function() {
var context, error, result, fakeUserId, newId;
beforeEach(function() {
// Fake userId to get through tx userId checks
fakeUserId = 'or6YSg... |
import Ember from 'ember';
import Application from '../../app';
import config from '../../config/environment';
const {
merge,
run
} = Ember;
export default function startApp(attrs) {
let application;
let attributes = merge({}, config.APP);
attributes = merge(attributes, attrs); // use defaults, but you can... |
define(["./class2type"],function(n){return n.toString}); |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'print', 'is', {
toolbar: 'Prenta'
});
|
// Generated by CoffeeScript 1.8.0
(function() {
var Menu, MenuFinder, MenuItem, allArgs, app, appName, args, firstOption, itemName, mainCommand, menu, menuFinder, menuItem, menuItemThatIsDevice, menuItemThatIsView, menuItemsThatAreDevices, menuItemsThatAreViews, menuNames, name, otherOptions, printMenuItems, _i, _j,... |
(function(){d3.geo = {};
// TODO clip input coordinates on opposite hemisphere
d3.geo.azimuthal = function() {
var mode = "orthographic", // or stereographic
origin,
scale = 200,
translate = [480, 250],
x0,
y0,
cy0,
sy0;
function azimuthal(coordinates) {
var x1 = coord... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ms', {
anchor: 'Anchor', // MISSING
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: '... |
(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.algoliasearchH... |
import React, { Component, PropTypes } from 'react'
import UploadButton from '../../containers/bizplansAdd/uploadButton'
import SuccessMsg from './successMsg'
import FailedMsg from './failedMsg'
export default class BizplansAdd extends Component {
constructor (props) {
super(props)
}
render () {
const {... |
version https://git-lfs.github.com/spec/v1
oid sha256:9c0876b72ce5cba8240ddb11f18e342845d19fcbc742ad711bc83d1ba66d9958
size 1490
|
//! moment.js locale configuration
//! locale : Turkish [tr]
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
//! Burak Yiğit Kaya: https://github.com/BYK
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'functi... |
/**
@module ember
@submodule ember-routing-htmlbars
*/
import Ember from "ember-metal/core"; // assert
import { set } from "ember-metal/property_set";
import { OutletView } from "ember-routing-views/views/outlet";
/**
The `outlet` helper is a placeholder that the router will fill in with
the appropriate template ... |
Package.describe({
summary: "Telescope email newsletter package",
version: '0.1.0',
name: "telescope-newsletter"
});
Npm.depends({
"html-to-text": "0.1.0"
});
Package.onUse(function (api) {
api.use([
'telescope-lib',
'telescope-base',
'aldeed:simple-schema',
'iron:router',
'miro:mailchi... |
/**
* @license Highcharts JS v7.2.0 (2019-09-03)
* @module highcharts/modules/broken-axis
* @requires highcharts
*
* (c) 2009-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../modules/broken-axis.src.js';
|
require('../../modules/es.array.every');
module.exports = require('../../internals/entry-unbind')('Array', 'every');
|
hljs.registerLanguage("protobuf",function(){"use strict";return function(e){return{name:"Protocol Buffers",keywords:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true fa... |
/*! UIkit 3.1.3 | http://www.getuikit.com | (c) 2014 - 2018 YOOtheme | MIT License */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
typeof define === 'function' && define.amd ? define('uikitupload', ['uikit-util'],... |
/*!
* ZUI: 日历 - v1.9.1 - 2019-05-10
* http://zui.sexy
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2019 cnezsoft.com; Licensed MIT
*/
/* ========================================================================
* ZUI: calendar.js
* http://zui.sexy
* ============================================... |
import { css, withStyles } from 'react-with-styles'
function Home({ styles }) {
return (
<div>
<h1 {...css(styles.title)}>My page</h1>
</div>
)
}
export default withStyles(({ color }) => ({
title: {
color: color.primary,
},
}))(Home)
|
/*
Copyright (c) 2017 NAVER Corp.
@egjs/persist project is licensed under the MIT license
@egjs/persist JavaScript library
@version 2.2.0
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? d... |
/*!
* froala_editor v2.9.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2018 Froala Labs
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory)... |
/*!
* jQuery JavaScript Library v1.5.1rc1
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL License... |
/* @flow */
import {CharacterMetadata, EditorState} from 'draft-js';
export default function clearEntityForRange(
editorState: EditorState,
blockKey: string,
startOffset: number,
endOffset: number,
): EditorState {
let contentState = editorState.getCurrentContent();
let blockMap = contentState.getBlockMap(... |
'use strict';
angular
.module('mwl.calendar')
.controller('MwlCalendarHourListCtrl', function($scope, moment, calendarConfig, calendarHelper) {
var vm = this;
var dayViewStart, dayViewEnd;
function updateDays() {
dayViewStart = moment($scope.dayViewStart || '00:00', 'HH:mm');
dayViewEnd = ... |
import { Meteor } from 'meteor/meteor';
import { hasPermission } from '../../../../authorization';
import { IntegrationHistory, Integrations } from '../../../../models';
Meteor.methods({
deleteOutgoingIntegration(integrationId) {
let integration;
if (hasPermission(this.userId, 'manage-outgoing-integrations') ||... |
(function () {
'use strict';
var assert = require('assert');
var proxy = require('../utils.js').proxy;
describe('proxy', function () {
it('should proxy a property of the same name', function () {
var person = {name: 'Senjougahara'};
var robot = {name: ''};
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SolidityCodeWalker = exports.DocumentContract = exports.Parameter = exports.StateVariable = exports.FunctionVariable = exports.StructVariable = exports.Variable = exports.Enum = exports.Struct = exports.Event = exports.Function = exp... |
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
export default Model.extend({
type: attr('string'),
name: attr('string'),
friend: attr('string')
});
|
var testPackage = require('../../helpers/test-package');
var Dgeni = require('dgeni');
const testRegionMatcher = {
regionStartMatcher: /^\s*\/\*\s*#docregion\s+(.*)\s*\*\/\s*$/,
regionEndMatcher: /^\s*\/\*\s*#enddocregion\s+(.*)\s*\*\/\s*$/,
plasterMatcher: /^\s*\/\*\s*#docplaster\s+(.*)\s*\*\/\s*$/,
createPla... |
/**
* @license
* Copyright Google LLC 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
*/
// Rollup configuration
// GENERATED BY Bazel
const buildOptimizer =
require('@angular-devkit/build-optimizer/sr... |
/*
* Crypto-JS v2.5.3
* http://code.google.com/p/crypto-js/
* (c) 2009-2012 by Jeff Mott. All rights reserved.
* http://code.google.com/p/crypto-js/wiki/License
*/
(typeof Crypto=="undefined"||!Crypto.util)&&function(){var m=window.Crypto={},o=m.util={rotl:function(h,g){return h<<g|h>>>32-g},rotr:function(h,g){ret... |
/*global window, document, Ghost, Backbone, $, _, NProgress */
(function () {
"use strict";
Ghost.Router = Backbone.Router.extend({
routes: {
'' : 'blog',
'content/' : 'blog',
'settings(/:pane)/' : 'settings',
'editor(/:id)/' ... |
OC.L10N.register(
"federatedfilesharing",
{
"Add to your ownCloud" : "加入到你的 ownCloud",
"Invalid Federated Cloud ID" : "無效的雲端聯盟ID:",
"Sharing %s failed, because this item is already shared with %s" : "分享 %s 失敗,因為此項目目前已經與 %s 分享",
"Not allowed to create a federated share with the same user" : "不允許與... |
goog.provide("trapeze.Trapeze");
goog.require("trapeze.AsyncFileReader");
goog.require("trapeze.FauxWorker");
function Trapeze(file, settings) {
var defaults = {
enableWebWorkers: true
};
this.settings = $.extend({}, defaults, settings);
this.currentPage = 1;
this.totalPages = 0;
this.init();
this... |
import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
ReactDOM.render(
<App />,
document.getElementById('root')
)
|
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @file Spell checker
*/
// Register a plugin named "wsc".
CKEDITOR.plugins.add( 'wsc',
{
init : function( editor )
{
var commandName = 'checkspell';
var comma... |
/**
* lodash 3.1.2 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigat... |
/*global define*/
define([
'../Core/freezeObject'
], function(
freezeObject) {
'use strict';
/**
* Describes how to draw a label.
*
* @exports LabelStyle
*
* @see Label#style
*/
var LabelStyle = {
/**
* Fill the text of the ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
/*
Script: PostEditor.js
Using postEditor you can tabulate without losing your focus and maintain the tabsize in line brakes.
You can also use snippets like in TextMate.
Author:
Daniel Mota aka IceBeat, <http://icebeat.bitacoras.com>
Contributors:
Sergio Álvarez aka Xergio, <http://xergio.net>
Jordi Rivero aka ... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.5.4.18_A10;
* @section: 15.5.4.18;
* @assertion: The String.prototype.toUpperCase.length property has the attribute ReadOnly;
* @description: Checking if varying the Stri... |
/*! Select2 4.0.6 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/id",[],function(){return{errorLoading:function(){return"Data tidak boleh diambil."},inputTooLong:function... |
const styleSwitch = document.querySelector('#themeStyleSwitch');
const styleSwitchCheckbox = document.querySelector('#themeStyleSwitch input');
$('.color-square').click((e) => {
const newColor = $(e.currentTarget).css('background-color');
Emitter.fire('theme:updateColor', newColor);
});
$('#theme-state').change((... |
JSONEditor.defaults.editors.select = JSONEditor.AbstractEditor.extend({
setValue: function(value,initial) {
value = this.typecast(value||'');
// Sanitize value before setting it
var sanitized = value;
if(this.enum_values.indexOf(sanitized) < 0) {
sanitized = this.enum_values[0];
}
if(t... |
import Ember from 'ember';
import helpers from 'ember-google-map/core/helpers';
import GoogleMapCoreView from './core';
import MarkerView from './marker';
var observer = Ember.observer;
var run = Ember.run;
var on = Ember.on;
var scheduleOnce = Ember.run.scheduleOnce;
var computed = Ember.computed;
var alias = compute... |
define("p3/widget/PathwaysMemoryGridContainer", [
'dojo/_base/declare', './GridContainer', 'dojo/on',
'./PathwaysMemoryGrid', 'dijit/popup', 'dojo/topic',
'dijit/TooltipDialog', './FilterContainerActionBar', 'FileSaver',
'dojo/_base/lang', 'dojo/dom-construct', './PerspectiveToolTip'
], function (
declare, G... |
var utils = require('./connection_utils'),
inherits = require('util').inherits,
net = require('net'),
EventEmitter = require('events').EventEmitter,
inherits = require('util').inherits,
binaryutils = require('../utils'),
tls = require('tls');
var Connection = exports.Connection = function(id, socketOptions... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'clipboard', 'tt', {
copy: 'Күчермәләү',
copyError: 'Браузерыгызның иминлек үзлекләре автоматик рәвештә күчермәләү үтәүне тыя. Тиз төймәләрне (Ctrl/C... |
/// <reference path="jquery-2.1.0.js" />
var app = {
// Application Constructor
initialize: function () {
this.bindEvents();
},
// Bind Event Listeners
//
// Bind any events that are required on startup. Common events are:
// 'load', 'deviceready', 'offline', and 'online'.
bindE... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.9.5.19_A1_T1;
* @section: 15.9.5.19;
* @assertion: The Date.prototype property "getUTCHours" has { DontEnum } attributes;
* @description: Checking absence of ReadOnly... |
const $c0$ = function () { return { foo: null }; };
const $c1$ = function () { return []; };
const $c2$ = function (a0) { return { foo: a0 }; };
// ...
MyApp.ɵcmp = /*@__PURE__*/ $r3$.ɵɵdefineComponent({
type: MyApp,
selectors: [["ng-component"]],
decls: 2,
vars: 6,
consts: [[__AttributeMarker.Bindings__, "di... |
import Ember from 'ember';
var get = Ember.get;
var computed = Ember.computed;
/**
Opposite or `Ember.computed.match`
@method notMatch
@for macros
@param {String} dependentKey Dependent key which value must not be match to the given regexp.
@param {String} regexp Regular expression to compare with.
... |
angular.module('ngLocalize.Events', [])
.constant('localeEvents', {
resourceUpdates: 'ngLocalizeResourcesUpdated',
localeChanges: 'ngLocalizeLocaleChanged'
}); |
module.exports = {
entry: {
pdfJSWorker: 'pdfjs-dist/build/pdf.worker.entry',
},
};
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// @ignoreDep @angular/compiler-cli
const ts = require("typescript");
const path = require("path");
const fs = require("fs");
const { __NGTOOLS_PRIVATE_API_2, VERSION } = require('@angular/compiler-cli');
const resource_loader_1 = require("./r... |
import NavbarBrand from './NavbarBrand';
import deprecationWarning from './utils/deprecationWarning';
export default deprecationWarning.wrapper(NavbarBrand, {
message:
'The `NavBrand` component has been renamed to: `NavbarBrand`. ' +
'Please use that component instead; this alias will be removed in an upcomi... |
var median = require('./');
var Benchmark = require('benchmark');
var fs = require('fs');
var polygon = require('turf-polygon');
var point = require('turf-point');
var featurecollection = require('turf-featurecollection');
var poly1 = polygon([[[0,0],[10,0],[10,10], [0,10]]]);
var poly2 = polygon([[[10,0],[20,10],[20... |
(function($){
'use strict';
/**
* Copyright 2012, Digital Fusion
* Licensed under the MIT license.
* http://teamdf.com/jquery-plugins/license/
*
* @author Sam Sehnert
* @desc A small plugin that checks whether elements are within
* the user visible viewport of a web brow... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.