code stringlengths 2 1.05M |
|---|
/*
AngularJS v1.3.0-rc.0
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(r,d,s){'use strict';d.module("ngMessages",[]).directive("ngMessages",["$compile","$animate","$templateRequest",function(q,l,m){return{restrict:"AE",controller:["$scope",function(k){this.$renderNgMessageClasses=d.noop;v... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define("geolocator", [], factory);
else if(typeof exports === 'object')
exports["geolocator"] = factory();
e... |
var program = require('../')
, sinon = require('sinon').sandbox.create()
, should = require('should');
sinon.stub(process, 'exit');
sinon.stub(process.stdout, 'write');
program
.command('mycommand [options]', 'this is my command');
program.parse(['node', 'test']);
program.name.should.be.a.Function;
program.na... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'colorbutton', 'ms', {
auto: 'Otomatik',
bgColorTitle: 'Warna Latarbelakang',
colors: {
'000': 'Black',
'800000': 'Maroon',
'8B4513': 'Saddle... |
/*
* effect
* author: ronglin
* create date: 2011.2.10
*/
/*
* config parameters:
* effectWin, host
*/
(function ($, ctx) {
/*
* effectClass
*/
var effectClass = function (config) {
$.extend(this, config);
//this.initialize();
};
effectClass.prototype = {
effe... |
/*
* This file is part of the Tabulator package.
*
* (c) Oliver Folkerd <oliver.folkerd@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$.widget("ui.tabulator", {
data:[],//array to hold data for table
firstRender:tru... |
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 Observable_1 = require('../Observable');
var root_1 = requ... |
YUI.add('yui-log-nodejs', function (Y, NAME) {
var sys = require(process.binding('natives').util ? 'util' : 'sys'),
hasColor = false;
try {
var stdio = require("stdio");
hasColor = stdio.isStderrATTY();
} catch (ex) {
hasColor = true;
}
Y.config.useColor = hasColor;
Y.consoleColor = function(str, nu... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const AsyncDependenciesBlock = require("../AsyncDependenciesBlock");
const ImportDependency = require("./ImportDependency");
module.exports = class ImportDependenciesBlock extends AsyncDependenciesBlock {
... |
(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["VueMaterial"] = factory();
else
root["V... |
/**
* Regression plugin.
*
* Uses regression-js library by Tom Alexander
* http://tom-alexander.github.io/regression-js/
*/
import { __extends } from "tslib";
/**
* ============================================================================
* IMPORTS
* ================================================... |
'use strict';
module.exports = {
app: {
title: 'MEAN.JS',
description: 'Full-Stack JavaScript with MongoDB, Express, AngularJS, and Node.js',
keywords: 'mongodb, express, angularjs, node.js, mongoose, passport',
googleAnalyticsTrackingID: process.env.GOOGLE_ANALYTICS_TRACKING_ID || 'GOOGLE_ANALYTICS_... |
import { JOSENotSupported } from '../util/errors.js';
export default function subtleRsaEs(alg) {
switch (alg) {
case 'RSA-OAEP':
case 'RSA-OAEP-256':
case 'RSA-OAEP-384':
case 'RSA-OAEP-512':
return 'RSA-OAEP';
default:
throw new JOSENotSupported(`alg ... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2015 Famous Industries Inc.
*
* 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 righ... |
module.exports = function (fn, delay, execAsap) {
var timeout; // Keep a reference to the timeout outside the function
return function () {
// Keep the functions execution context and arguments in tact
var that = this,
args = arguments;
// If we already have a function ready to execute, clear ... |
export { default } from './Alert'; |
"use strict";
let x = "x";
function named_fn(a, b) {
if (true) {
(function() {
console.log(x);
})();
}
// let x must be renamed or else it will shadow the reference on line 5
for (let x = 0; x < 2; x++) {
console.log(x);
}
}
named_fn();
|
/**
* @fileoverview Generated externs. DO NOT EDIT!
* @externs
*/
/** @const */
var shaka = {};
/** @const */
shaka.media = {};
/** @const */
shaka.hls = {};
/** @const */
shaka.offline = {};
/** @const */
shaka.util = {};
/** @const */
shaka.polyfill = {};
/** @const */
shaka.media.TextEngine = {};
/** @const */
... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const NullDependency = require("./NullDependency");
class DelegatedExportsDependency extends NullDependency {
constructor(originModule, exports) {
super();
this.originModule = originModule;
this.exp... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
var klaw = require('klaw')
module.exports = {
walk: klaw
}
|
module.exports = checkReturnTypes;
module.exports.tags = ['return', 'returns'];
module.exports.scopes = ['function'];
module.exports.options = {
checkReturnTypes: {allowedValues: [true]}
};
/**
* Checking returns types
*
* @param {(FunctionDeclaration|FunctionExpression)} node
* @param {DocTag} tag
* @param {... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
'use strict';
var EventEmitter = require('events').EventEmitter;
var fs = require('fs');
var sysPath = require('path');
var each = require('async-each');
var anymatch = require('anymatch');
var globparent = require('glob-parent');
var isglob = require('is-glob');
var arrify = require('arrify');
var isAbsolute = require... |
'use strict';
module.exports = {
set: function (v) {
this.setProperty('-webkit-column-rule', v);
},
get: function () {
return this.getPropertyValue('-webkit-column-rule');
},
enumerable: true
};
|
/*!
* inferno-component v1.0.0-beta1
* (c) 2016 Dominic Gannaway
* 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.InfernoCo... |
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="none" d="M304 291v67.3l120.5-110.5L304 133.3v61.9l-13.7 2c-33.7 4.8-63.8 14.5-89.5 28.8-23.2 12.9-43.5 30-60.4 50.8-17.4 21.4-31.6 47-42.7 77.1 16-14.1 32.7-25.6 51.2-34.7 38-18.9 83.5-28.2 139.1-28.2h16z"/><path d="M448 248L288 96v8... |
/*!
* FileInput Romanian Translations
*
* This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
* any HTML markup tags in the messages must not be converted or translated.
*
* @see http://github.com/kartik-v/bootstrap-fileinput
* @author Ciprian Voicu <pictoru@autoportret.ro>
*
* NOTE: thi... |
/**
* Super simple wysiwyg editor on Bootstrap v0.6.13
* http://summernote.org/
*
* summernote.js
* Copyright 2013-2015 Alan Hong. and other contributors
* summernote may be freely distributed under the MIT license./
*
* Date: 2015-07-25T02:27Z
*/
(function (factory) {
/* global define */
if (typeof define... |
/**
* API Bound Models for AngularJS
* @version v1.1.10 - 2015-10-24
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function(angular, undefined) {
'use strict';
/**
* @mixin PagedModel
*
* @des... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("widget","fr",{move:"Cliquer et glisser pour déplacer",label:"Élément %1"}); |
class A {static ["prototype"](){}} |
/*!
* https://github.com/paulmillr/es6-shim
* @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com)
* and contributors, MIT License
* es6-sham: v0.22.0
* see https://github.com/paulmillr/es6-shim/blob/0.22.0/LICENSE
* Details and documentation:
* https://github.com/paulmillr/es6-s... |
/*
Copyright (c) 2004-2012, 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
*/
if(!dojo._hasResource["dojo.uacss"]){
dojo._hasResource["dojo.uacss"]=true;
dojo.provide("dojo.uacss");
(function(){
var d=... |
var baseFlatten = require('../internal/baseFlatten'),
baseSortByOrder = require('../internal/baseSortByOrder'),
isIterateeCall = require('../internal/isIterateeCall');
/**
* This method is like `_.sortBy` except that it sorts by property names
* instead of an iteratee function.
*
* @static
* @memberOf _
... |
function max () {
// http://kevin.vanzonneveld.net
// + original by: Onno Marsman
// + revised by: Onno Marsman
// + tweaked by: Jack
// % note: Long code cause we're aiming for maximum PHP compatibility
// * example 1: max(1, 3, 5, 6, 7);
// * returns 1: 7
// * example 2: m... |
/*
Highcharts JS v5.0.1 (2016-10-26)
Highcharts Drilldown module
Author: Torstein Honsi
License: www.highcharts.com/license
*/
(function(n){"object"===typeof module&&module.exports?module.exports=n:n(Highcharts)})(function(n){(function(f){function n(b,a,d){var c;a.rgba.length&&b.rgba.length?(b=b.rgba,a=a.rgba,c=1... |
/*!
* Waves v0.7.1
* http://fian.my.id/Waves
*
* Copyright 2014 Alfiana E. Sibuea and other contributors
* Released under the MIT license
* https://github.com/fians/Waves/blob/master/LICENSE
*/
;(function(window, factory) {
'use strict';
// AMD. Register as an anonymous module. Wrap in function so we ... |
/*!
* # Semantic UI 2.0.6 - Transition
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2015 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ( $, window, document, undefined ) {
"use strict";
$.fn.transition = function() {
var
$allModules... |
(function ($) {
Drupal.behaviors.PanelsAccordionStyle = {
attach: function (context, settings) {
for ( region_id in Drupal.settings.accordion ) {
var accordion = Drupal.settings.accordion[region_id] ;
jQuery('#'+region_id).accordion(accordion.options);
}
}
}
})(jQuery);
|
/**
* @fileoverview enforce or disallow capitalization of the first letter of a comment
* @author Kevin Partington
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const... |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... |
/*
Highcharts funnel module
(c) 2010-2014 Torstein Honsi
License: www.highcharts.com/license
*/
(function(c){var q=c.getOptions(),w=q.plotOptions,r=c.seriesTypes,G=c.merge,F=function(){},C=c.each,x=c.pick;w.funnel=G(w.pie,{animation:!1,center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHe... |
/*
AngularJS v1.2.7
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(E,p,F){'use strict';p.module("ngAnimate",["ng"]).config(["$provide","$animateProvider",function(R,L){function f(f){for(var l=0;l<f.length;l++){var h=f[l];if(h.nodeType==W)return h}}var q=p.noop,l=p.forEach,aa=L.$$selectors,... |
/*!
Copyright (C) 2013 by Andrea Giammarchi
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, merge, publish, distr... |
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
karma: {
unit: {
options: {
files: [
'node_modules/angular/angular.js',
'node_modules/angula... |
/*
RequireJS 2.1.6 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
Available via the MIT or new BSD license.
see: http://github.com/jrburke/requirejs for details
*/
var requirejs,require,define;
(function(ba){function J(b){return"[object Function]"===N.call(b)}function K(b){return"[object Array]"==... |
/*
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/config",["../has","require"],function(_1,_2){
var _3={};
if(1){
var _4=_2.rawConfig,p;
for(p in... |
(function ( $ ) {
/**
* Holds google map object and related utility entities.
* @constructor
*/
function GMapContext(domElement, options) {
var _map = new google.maps.Map(domElement, options);
var _marker = new google.maps.Marker({
position: new google.maps.LatLng(54.... |
!function(t){"use strict";t.fn.select2.locales.he={formatNoMatches:function(){return"לא נמצאו התאמות"},formatInputTooShort:function(t,n){var e=n-t.length;return"נא להזין עוד "+e+" תווים נוספים"},formatInputTooLong:function(t,n){var e=t.length-n;return"נא להזין פחות "+e+" תווים"},formatSelectionTooBig:function(t){return... |
// ==UserScript==
// @id iitc-plugin-bing-maps
// @name IITC plugin: Bing maps
// @category 地圖
// @version 0.1.3.20170210.164403
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL https://raw.githubusercontent.com/ifchen0/IITC_TW/ma... |
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
var request = require('superagent');
var fs = require('fs');
var parse = require('csv-parse');
var stringify = require('csv-stringify');
var transform = require('stream-transform');
var util = require('util');
var xml2js = require('xml2js');
var out... |
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
"use strict";
// This file relies on the fact that the following declarations have been made
// in runtime.js:
// var $Object = global.Object;
// Keep... |
describe('reglite', function () {
it('should not contain any bugs', function () {
return true;
});
});
|
'use strict'
const merge = require('../merge')
const subscriber = require('../subscriber')
const iterator = require('../iterator')
const set = require('../set')
module.exports = function switcher (target, map, prevMap) {
const elemprops = target.components.element.properties
const properties = target.properties
... |
require (['../../js/jquery-1.6.2.min'], function ($) {
require({
baseUrl: '../../js/'
}, [
"navigation",
"add",
"edit"
], function(
nav,
add,
edit
) {
jQuery ("article").addClass("closed");
jQuery ("article h2").bind ("click", function () {
var $parent = jQuery (this).parent();
var id = $p... |
#!/usr/bin/env node
var spawn = require('child_process').spawn
var path = require('path')
var node = process.execPath
var fs = require('fs')
var yaml = require('js-yaml')
var queue = []
var running = false
for (var i = 2; i < process.argv.length; i++) {
generate(process.argv[i], false)
generate(process.argv[i], ... |
var cwd = process.cwd();
var index = require(cwd);
var _expect = require("chai").expect;
var testName = TEST_NAME;
describe("TEST_NAME with .test.js extension", function() {
it("should return name without extension", function() {
_expect(testName).to.equal("test_name");
});
});
|
var painless = require('../../assertion/painless')
var test = painless.createGroup('Test number/isInteger')
var t = painless.assert
var isInteger = require('../../../src/number/isInteger')
test('should be true if numbers are integers', function () {
t.true(isInteger(0))
t.true(isInteger(-0))
t.true(isInteger(1)... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
exports.up = function(knex) {
return knex.schema
.createTable('User', function(table) {
table.bigincrements('id').primary();
table
.string('username')
.index()
.unique()
.notNullable();
table.string('email');
})
.createTable('Pet', function(table) {
... |
export const $_ = predicates => model => {
for (let key in predicates) {
if (predicates.hasOwnProperty(key)) {
if (!predicates[key](model[key])) return false;
}
}
return true;
}
export const $in = value => arr => Array.contains(arr, value);
export const $nin = value => arr => !Array.contains(arr, v... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... |
/**
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v25.1.0
* @link http://www.ag-grid.com/
* @license MIT
*/
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics ... |
const flatten = arr => Array.prototype.concat(...arr)
/* const flatten = arr =>
arr.reduce(
(flat, toFlatten) => flat.concat(Array.isArray(toFlatten) ? flatten(toFlatten) : toFlatten),
[]
) */
module.exports = flatten
|
version https://git-lfs.github.com/spec/v1
oid sha256:9f3f7f239a524560b08a4eb3b14846e27617b6145c9fa5a193b61e34a82bfa65
size 49127
|
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
ext... |
;!(function() {
window.Mapbender = Mapbender || {};
window.Mapbender.Search = window.Mapbender.Search || {}
var tableDefaults = {
lengthChange: false,
pageLength: 15,
searching: true,
info: true,
processing: false,
ordering: true,
pa... |
import ImageUtils from './ImageUtils'
const tiffTags = {
0x0112: 'orientation',
0x0132: 'dateTaken',
0x010F: 'cameraMake',
0x0110: 'cameraModel'
}
const JPEG_START_OF_IMAGE_MARKER = 0xFFD8
const EXIF_MARKER = 0xFFE1
class ImageExifReader {
constructor( image ){
this.image = image
this.dataView = ImageUtils.... |
import React from 'react';
import {Flex} from 'reflexbox';
import {Card, CardTitle, CardText} from 'material-ui';
export default () => (
<Flex auto column align='center' justify='center'>
<Card>
<CardTitle title='Admin' />
<CardText>
<Flex column>
<span>{'You are an admin!'}</span>
... |
import {
LOGIN_REQUEST,
LOGIN_SUCCESS,
LOGIN_FAILURE,
LOGOUT_SUCCESS,
LOAD_PROFILE_FAILURE
} from '../actions/account';
import {
getToken
} from '../utils/apiUtils'
function initializeState() {
const token = getToken();
return Object.assign({}, {
loggingIn: false,
logg... |
'use strict';
var log = require('winston');
module.exports = function(req, res, next)
{
if(req.isAuthenticated())
log.info('User', req.user.name, req.method, req.url);
else
log.info('Unauthorized ' + req.method + ' to ' + req.url);
next();
}
|
((window["webpackJsonp"] = window["webpackJsonp"] || []).push([["static/development/pages/index.js"],{
/***/ "./components/Footer.js":
/*!******************************!*\
!*** ./components/Footer.js ***!
\******************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__,... |
#!/usr/bin/env node
'use strict';
const buildBranch = require('./index.js');
const branch = process.argv[2];
const dir = process.argv[3];
const domain = process.argv[4];
const noVerify = process.argv[5];
buildBranch({
branch: branch || 'gh-pages',
folder: dir || 'www',
domain: domain || '',
noVerify: !!noVer... |
/*!
* Simple jQuery Load HTML file, TXT file without iframe
*
* Copyright (c) 2016 Louis Ho
* Under the MIT license.
*
* @version 1.0.0
*/
(function($){
/* .loadHTML() is used to import the external html file into your current html elements */
jQuery.fn.loadHTML = function (url) {
var thisEle... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
module.exports = {FILE_NAME: "./tests/test_cal.jade", template: function (s, d) {
var __FILE__ = "./tests/test_cal.jade";
... |
/* Dependency management */
requirejs.config({
baseUrl: 'public/scripts/lib',
paths: {
app: '../'
},
shim: {}
});
// Start the main app logic.
requirejs(['jquery', 'app/commons/UITools'],
function ($, UITools) {
UITools.navSelect("itemAbout");
// Hidden by default
UITools.... |
import React from 'react'
import UpgradesTable from 'upgrades/upgrades_table'
export default class UpgradesPage extends React.Component {
constructor(props) {
super(props)
var self = this;
this.state = {
hqLevel: 1
}
db.get(`select * from user_buildings ub join building_levels bl on bl.i... |
const { expect } = require('chai');
const { setupDriver } = require('../../utils/setup-driver');
const webdriver = require('selenium-webdriver');
describe('Items routes', () => {
let driver = null;
const appUrl = 'http://localhost:3004';
beforeEach(() => {
driver = setupDriver('chrome');
});... |
// Karma configuration
// Generated on Fri Jan 01 2016 23:59:53 GMT+0100 (Romance Standard Time)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks... |
module.exports = { prefix: 'fal', iconName: 'calendar-plus', icon: [448, 512, [], "f271", "M320 332v8c0 6.6-5.4 12-12 12h-68v68c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12v-68h-68c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h68v-68c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v68h68c6.6 0 12 5.4 12 12zm128-220v352c0 26.5-21.5 48-... |
define('ember-bootstrap/components/bs-modal-dialog', ['exports', 'ember'], function (exports, _ember) {
'use strict';
var computed = _ember['default'].computed;
/**
Internal component for modal's markup and event handling. Should not be used directly.
@class ModalDialog
@namespace Components
... |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time to build CKEditor again.
*
* If you would like to bu... |
// COPYRIGHT © 2017 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute... |
/**
* Helper functions
*/
'use strict';
/**
* Common options
*/
function options(req, opts) {
if (!req.query) req.query = {};
if (typeof opts.depth === 'number') {
req.query.depth = opts.depth;
}
if (typeof opts.tree === 'string') {
req.query.tree = opts.tree;
}
return opts;
}
/**
* Raw ... |
'use strict';
angular.module('shopAdmin').controller('settingsEmailListController', ['$scope', '$location', '$timeout', 'settingsService',
function($scope, $location, $timeout, settingsService) {
$scope.settings = {};
$scope.email = {};
$scope.getEmailSettings = function() {
set... |
version https://git-lfs.github.com/spec/v1
oid sha256:c5f5480dabb1b45a9e65d1dd86a827fe49be4159dbb1a157aa296bc910871edc
size 1914
|
var _ = require('underscore');
var express = require('express');
var db = require('../helpers/db');
var isBadRequest = require('../helpers/request-checker');
var router = express.Router();
var createTagQuery = function(id, tags) {
if (tags.length === 0) {
return "";
}
var query = 'INSERT INTO tags ("place... |
var assert = require('assert');
var Key = require('../').Key;
var bytesToHex = require('../').convert.bytesToHex;
var hexToBytes = require('../').convert.hexToBytes;
var base58 = require('../').base58;
// get public key from private key
test('from private base58', function() {
var priv = '18e14a7b6a307f426a94f811... |
import * as fetchUtils from '../util/fetchUtils';
import serverFetchQueries from './fetchQueries';
describe('serverFetchQueries', () => {
// export const serverFetchQueries = request => () => queries =>
// apiProxy$(request, queries)
// .toPromise()
// .then(parseQueryResponse(queries));
it('calls apiProxy$ wit... |
/**
* @file Interface for entire ui-handling. This prototype is used in stages to
* access ui-based logic and to create ui-entities.
*
* @author Human Interactive
*/
"use strict";
var eventManager = require( "../messaging/EventManager" );
var TOPIC = require( "../messaging/Topic" );
var system = require( "../c... |
function translateScore(guessAndScore) {
// Translate a guessAndScore from internal Perseus format to the
// result format used everywhere else.
//
// TODO(eater): Use the existance of these unit tests to
// convert eveything to The One True Format.
guess = guessAndScore[0];
sco... |
(function( $ ) {
module( "core - jQuery extensions" );
TestHelpers.testJshint( "core" );
asyncTest( "focus - original functionality", function() {
expect( 1 );
$( "#inputTabindex0" )
.one( "focus", function() {
ok( true, "event triggered" );
start();
})
.focus();
});
asyncTest( "focus", function() {
... |
var http = require('http');
var app = http.createServer(function(req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
});
var port = process.env.PORT || 10080;
app.listen(port, function() {
console.log("Listening on " + port);
});
|
/*!
* Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
// function to ease scrolling on anchors
function easeScrolling() {
$('a[href*=#]').click(function() {
if (location... |
const authResponse = require('../../middleware/auth-response');
const {
WishList
} = require('../../database/models/wish-list');
const {
handleError,
sanitizeRequestBody
} = require('./shared');
async function updateWishList(req, res, next) {
const wishListId = req.params.wishListId;
const userId = req.use... |
/*
SAUERKRAUT V1 script.js
*/
$(document).ready(function(){
/*var t = 0;
var b = $('#sidebar').height()+$('#footer').height()+$('#sidebar ul>li').length*20;
$('.widget').each(function(){
b -= $(this).height()+20;
$.lockfixed(this, {offset: {top: t, bottom: b}})
t += $(this).height()+20;
});*/
//$.loc... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _regenerator = require('babel-runtime/regenerator');
var _regenerator2 = _interopRequireDefault(_regenerator);
var _asyncToGenerator2 = require('babel-runtime/helpers/asyncToGenerator');
var _asyncToGenerator3 = _interopRequireDef... |
/**
* Constants
*/
KEYS_ESC = 27;
KEYS_ENTER = 13;
DATE_DISPLAY_FORMAT = '%m/%d/%Y';
TIME_DISPLAY_FORMAT = '%l:%M %P';
TIME_TO_EXPIRE = 1800;
/**
* Format a unix timestamp
*
* @param int timestamp unix timestamp
* @param string format strftime format, only support a subset. seef formatUnix
*/
function form... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.