code stringlengths 2 1.05M |
|---|
/* jshint maxlen: 140, maxstatements: 20 */
/* global beforeEach, describe, it */
(function () {
'use strict';
// Dependencies
var assert = require('proclaim');
var sinon = require('sinon');
// Test subject
var chic = require('../../lib/chic');
var Class = chic.Class;
// Test suit... |
//--------------------------------------------------------------------------
// Proyecto Icasus <https://gestionproyectos.us.es/projects/r2h2-icasus/>
// Archivo: public/js/inicio.js
// Desarrolladores: Juanan Ruiz (juanan@us.es), Jesus Martin Corredera (jjmc@us.es),
// Joaquรญn Valonero Zaera (tecnibus1@us.es)
//------... |
angular.module("template/datepicker/datepicker.html", []).run(["$templateCache", function($templateCache) {
$templateCache.put("template/datepicker/datepicker.html",
"<table>\n" +
" <thead>\n" +
" <tr>\n" +
" <th><button type=\"button\" class=\"btn btn-default btn-sm pull-left\" ng-click=\"mo... |
/*global require */
/*!
* @see {@link https://github.com/mildrenben/surface/blob/master/gulpfile.js}
* @see {@link https://www.webstoemp.com/blog/gulp-setup/}
* @see {@link https://gulpjs.com/plugins/blackList.json}
* @see {@link https://hackernoon.com/how-to-automate-all-the-things-with-gulp-b21a3fc96885}
* @see... |
/**
* Adapted from https://github.com/Raynos/function-bind
* Copyright 2013 Raynos.
* MIT license, see license.md for detail.
*/
(function() {
if (Function.prototype.bind) {
return;
}
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
var slice = Array.prototype.slice;
var toStr ... |
var LOADING_TPL =
'<div class="loading">' +
'</div>';
var LOADING_HIDE_DEPRECATED = '$ionicLoading instance.hide() has been deprecated. Use $ionicLoading.hide().';
var LOADING_SHOW_DEPRECATED = '$ionicLoading instance.show() has been deprecated. Use $ionicLoading.show().';
var LOADING_SET_DEPRECATED = '$ionicLoad... |
var http = require( 'http' ),
events = require( 'events' ),
util = require( 'util' );
function FXPriceGenerator() {
this._url = 'http://finance.yahoo.com/webservice/v1/symbols/allcurrencies/quote?format=json';
this._intervals = {};
this._rates = {};
http.get( this._url, this._onResponse.bind( this ) );
}
util.in... |
"use strict";
/* M@Campbell - 02/10/2016
* Parent class
*
* Will handle the setting up and tearing down of it's children.
*/
var ParentView = Backbone.View.extend({
/* Parent class for the views.
* @method: render()
* @method: derender()
*/
initialize: function() {
_.bindAll(this, '... |
/**
* @module com.nahuel.util;
* @author kuakman <3dimentionar@gmail.com>
**/
define(['backbone'], function() {
/**
* Backbone Utility Package
* @namespace Backbone
**/
_.extend(Backbone, {
/**
* @static
* @property Util
* @type Object
**/
Util: {
/**
* Returns a UUID (Universally Uniq... |
importScripts('components/threads/client.js');
var client = threads.client('music-service', new BroadcastChannel('music-service'));
function ArtworkService(worker) {
var stopAfter = ServiceWorkerWare.decorators.stopAfter;
worker.get('/api/artwork/original/:filePath', stopAfter((request) => {
return new Promi... |
//jQuery time
var current_fs, next_fs, previous_fs; //fieldsets
var left, opacity, scale; //fieldset properties which we will animate
var animating; //flag to prevent quick multi-click glitches
$(".next").click(function(){
if(animating) return false;
animating = true;
current_fs = $(this).parent();
next_fs = $(t... |
/*global define*/
define([
'../Core/Cartesian2',
'../Core/defaultValue',
'../Core/defined',
'../Core/defineProperties',
'../Core/destroyObject',
'../Core/DeveloperError',
'../Core/Matrix4',
'../Core/writeTextToCanvas',
'./BillboardCollection',
... |
/* */
'use strict';
var SyntheticUIEvent = require("./SyntheticUIEvent");
var ViewportMetrics = require("./ViewportMetrics");
var getEventModifierState = require("./getEventModifierState");
var MouseEventInterface = {
screenX: null,
screenY: null,
clientX: null,
clientY: null,
ctrlKey: null,
shiftKey: null... |
'use strict';
var Chain = require('./chain');
var Block = require('./block');
var DB = require('./db');
var chainlib = require('chainlib');
var BaseNode = chainlib.Node;
var util = require('util');
var bitcore = require('bitcore');
var Networks = bitcore.Networks;
var _ = bitcore.deps._;
var genesis = require('./genes... |
/**
* Imports
*/
import PlaylistItem from 'components/PlaylistItem'
import {component, element} from 'vdux'
import {Block} from 'vdux-ui'
/**
* <Showcase View/>
*/
export default component({
render ({props, context}) {
const {playlists, color} = props
return (
<Block maxWidth={920} minWidth={800}... |
declare module "react-router" {
// NOTE: many of these are re-exported by react-router-dom and
// react-router-native, so when making changes, please be sure to update those
// as well.
declare export type Location = {
pathname: string,
search: string,
hash: string,
state?: any,
key?: string... |
var searchData=
[
['uart_5fclearintrstatus',['UART_ClearIntrStatus',['../group__UART__Driver__APIs.html#ga805fa76dba1011c2c84c986fa6b55bad',1,'uart.h']]],
['uart_5finit_5fnew',['uart_init_new',['../group__UART__Driver__APIs.html#gaf76603d6634a53a0f678ef6451fe2b4e',1,'uart.h']]],
['uart_5fintr_5fhandler_5fregister... |
import http from '../services/http';
export default {
state: {
songs: [],
albums: [],
artists: [],
favorites: [],
queued: [],
interactions: [],
users: [],
settings: [],
currentUser: null,
playlists: [],
},
init(cb = null) {
... |
import expect from 'expect';
import Joi from 'joi';
import mockStore from '../../helpers/mockStore';
import validate from '../../../../frontend/src/actions/form/validate_schema';
import * as constants from '../../../../frontend/src/constants/form';
describe('form/validate_schema', () => {
const schema = Joi.object(... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {getLowestCommonAncestor, isAncestor} from 'shared/ReactTreeTraversal';
import {
executeDirectDispatch,
hasDispatches,... |
๏ปฟ#pragma strict
public var fadeSpeed : float = 2f; // How fast the light fades between intensities.
public var highIntensity : float = 2f; // The maximum intensity of the light whilst the alarm is on.
public var lowIntensity : float = 0.5f; // The minimum intensity of the light whilst the alarm is on... |
/*!
* mongoskin - collection.js
*
* Copyright(c) 2011 - 2012 kissjs.org
* Copyright(c) 2012 fengmk2 <fengmk2@gmail.com>
* MIT Licensed
*/
"use strict";
/**
* Module dependencies.
*/
var __slice = Array.prototype.slice;
var Collection = require('mongodb').Collection;
var SkinCursor = require('./cursor').SkinCu... |
fs = require('fs'),
console.log(fs.readFileSync(__filename)),
console.log(fs.statSync(__filename).size)
|
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Node module: loopback
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
/*!
* Module dependencies.
*/
var express = require('express');
var loopbackExpress = require('./server-app');
var proto = ... |
/* globals Stats, dat, AMI*/
// VJS classes we will be using in this lesson
var LoadersVolume = AMI.default.Loaders.Volume;
var CamerasOrthographic = AMI.default.Cameras.Orthographic;
var ControlsOrthographic = AMI.default.Controls.TrackballOrtho;
var HelpersStack = AMI.default.Helpers.Stack;
var M... |
version https://git-lfs.github.com/spec/v1
oid sha256:762753b7e1f346b316bd4bb37c2f1d12e95e1e80afabcd6ca3fc35384a51778a
size 53617
|
var mongo=require("mongodb").MongoClient;
var ObjectId=require("mongodb").ObjectId;
var persistencia = function(db) {
this.db=db;
this.usuariosCol;
this.resultadosCol;
var self=this;
this.obtenerColeccion=function(nombreColeccion,callback){
mongo.connect("mongodb://pepe:pepe@ds131878.mlab.com:31878... |
const passport = require('passport');
const { wrapAsync } = require('../util.js');
const ServiceFactory = require('../services/ServiceFactory.js');
const logger = require('../log.js');
module.exports.init = function(server, options) {
let userService = ServiceFactory.userService(options.db, ServiceFactory.configS... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { parse } from '../parser';
import { print } from '../printe... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
/**
* Module dependencies
*/
var _ = require('lodash'),
async = require('async'),
utils = require('../../../utils/helpers'),
hasOwnProperty = utils.object.hasOwnProperty;
/**
* Add associations for a model.
*
* If an object was used a new record should be created and linked to the parent.
* If only ... |
'use strict';
var validArray = require('es5-ext/array/valid-array')
, Map = require('es6-map')
, createEnum = require('../../create-enum')
, defineStringLine = require('../string-line')
, isArray = Array.isArray;
module.exports = function (db, name, members) {
if (isArray(validArray... |
(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... |
define(['marionette',
'./menuJQueryUITemplate.hbs',
'rup.menu'], function (Marionette, MenuJQueryUITemplate) {
var MenuView = Marionette.LayoutView.extend({
template: MenuJQueryUITemplate,
redirectNavLink: fncRedirectNavLink,
ui: {
menuElement: '#x21aResponsiveWar_menu',
menuMixedElement: '#x21aResponsi... |
this.workbox = this.workbox || {};
this.workbox.navigationPreload = (function (exports,logger_mjs) {
'use strict';
try {
self.workbox.v['workbox:navigation-preload:3.6.2'] = 1;
} catch (e) {} // eslint-disable-line
/*
Copyright 2018 Google Inc.
Licensed under the Apache License, Version 2.0 (the ... |
function Refspec(utils) {
return function (src, dst) {
var _this = this
, _priv = utils._createPrivate(_this);
_priv.srcRoot = (src !== null) && src.slice(-1) === "*" ? src.slice(0, -1) : src;
_priv.dstRoot = (dst !== null) && dst.slice(-1) === "*" ? dst.slice(0, -1) : dst;
utils._immutable... |
'use strict'
var fs = require('fs')
var path = require('path')
var test = require('tap').test
var requireInject = require('require-inject')
var npm = require('../../lib/npm.js')
// XXX update this when rpt's realpath.js is extracted out
var rptRealpath = require.resolve('read-package-tree/realpath.js')
const common =... |
/* eslint-disable @typescript-eslint/no-use-before-define */
import * as React from 'react';
import ImageList from '@material-ui/core/ImageList';
import ImageListItem from '@material-ui/core/ImageListItem';
import ImageListItemBar from '@material-ui/core/ImageListItemBar';
import IconButton from '@material-ui/core/Icon... |
// @flow
function f(x: mixed): void {}
f(class {});
|
'use strict';
module.exports = {
name: 'ember-moment'
};
|
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/config/default.js
*
* This configuration file is loaded when you load MathJax
* via <script src="MathJax.js?config=defau... |
/**
* A utility class to help make it easier to access the data stores
* @extends {Map}
*/
class Collection extends Map {
constructor(iterable) {
super(iterable);
this._array = null;
this._keyArray = null;
}
set(key, val) {
super.set(key, val);
this._array = null;
this._k... |
/* */
"format global";
module.exports = require("./lib/babel/polyfill");
|
/**
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be... |
// * โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ * //
// * website api forwarder
// * this module forwards the express application to enduro application
// * to enable building of custom api and functionality
// * โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ * //
const website_api = function (... |
'use strict';
module.exports = (sequelize, DataTypes) => {
var Team = sequelize.define('team', {
id: {
type: DataTypes.INTEGER,
primaryKey: true,
autoIncrement: true
},
slack_id: {
type: DataTypes.STRING,
allowNull: false
},
verified: {
type: DataType... |
/**
* @file Is file exists ?
* @author treelite(c.xinle@gmail.com)
*/
'use strict';
import fs from 'fs';
/**
* ๅคๆญไธไธช่ทฏๅพๆฏๅฆๅญๅจ
*
* @public
* @param {string} path ่ทฏๅพ
* @return {boolean}
*/
export default function (path) {
let res = true;
try {
fs.accessSync(path);
}
catch (e) {
res... |
'use strict';
exports.command = function command(send, name) {
return function (opts, cb) {
if (typeof opts === 'function') {
cb = opts;
opts = {};
}
return send(name, null, opts, null, cb);
};
};
exports.argCommand = function argCommand(send, name) {
return function (arg, opts, cb) {
... |
import Spotify from './Spotify'
const reservedName = 'ShufflyBlacklist';
let albumLoad;
let self = {};
function getAlbum(profileId) {
return albumLoad || (albumLoad = Spotify.getPlaylists().then(data =>
{
let blacklist;
for (const i in data.items) {
if (data.items[i].name === reser... |
{
"name": "vagueTime.js",
"url": "https://github.com/philbooth/vagueTime.js.git"
}
|
๏ปฟfunction getKOChanceText(damage, defender, field, hits, isBadDreams) {
if (isNaN(damage[0])) {
return 'something broke; please tell Austin or Marty';
}
if (damage[damage.length-1] === 0) {
return 'aim for the horn next time';
}
if (damage[0] >= defender.maxHP) {
return 'guar... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S8.6.2.5_A3;
* @section: 8.6.2.5, 11.4.1;
* @assertion: When the [[Delete]] method of O is called with property name P,
* removes the property with name P from O and r... |
var path = require('path'),
fs = require('fs'),
util = require('util'),
Step = require('step'),
EventEmitter = require('events').EventEmitter,
options_merger = require('../util/options_merger'),
cached_key_map = require('../cached_key_map'),
replic... |
๏ปฟ(function ($) {
$.fn.dnnTabs = function (options) {
var opts = $.extend({}, $.fn.dnnTabs.defaultOptions, options),
$wrap = this;
// patch for period in selector - http://jsfiddle.net/9Mst9/2/
$.ui.tabs.prototype._sanitizeSelector = function (hash) {
return hash.r... |
// Flags: --expose-http2
'use strict';
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const assert = require('assert');
const h2 = require('http2');
const server = h2.createServer();
server.on('stream', common.mustCall(onStream));
function onStream(stream, headers, flag... |
import React from 'react';
import { render } from 'react-dom';
import Presentation from './presentation';
render(<Presentation/>, document.querySelector('#root'));
|
import { path } from '../core/path.js';
import { http } from '../net/http.js';
import { Sprite } from '../scene/sprite.js';
/** @typedef {import('../asset/asset-registry.js').AssetRegistry} AssetRegistry */
/** @typedef {import('../graphics/graphics-device.js').GraphicsDevice} GraphicsDevice */
/** @typedef {import(... |
'use strict';
// Config HTTP Error Handling
angular.module('users').config(['$httpProvider',
function($httpProvider) {
// Set the httpProvider "not authorized" interceptor
$httpProvider.interceptors.push(['$q', '$location', 'Authentication',
function($q, $location, Authentication) {
return {
responseE... |
/*
*
*/
var qure = require('../src/qure.js');
describe('Testing threaded recursion', function() {
/*
* Simple testing of recursion with fibonacci numbers
*/
it('with fibonacci numbers', function(done) {
// extend test timeout to 15 seconds
this.timeout(15000);
qure
.declare({
// declare ... |
'use strict';
/**
* Module dependencies
*/
var skillsPolicy = require('../policies/skills.server.policy'),
skills = require('../controllers/skills.server.controller');
module.exports = function(app) {
// Skills Routes
app.route('/api/skills').all(skillsPolicy.isAllowed)
.get(skills.list)
.post(skills.... |
function Foo(props) {
props.foo;
return <div />;
}
|
module.exports={A:{A:{"2":"H D G JB","132":"E A B"},B:{"1":"1 C p J L N I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 eB EB 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 AB CB DB cB WB"},D:{"1":"0 2 3 4 5 6 7 8 9 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 AB CB D... |
"use strict";
/*<replacement>*/
var bufferShim = require('safe-buffer').Buffer;
/*</replacement>*/
var common = require('../common');
var stream = require('../../');
var assert = require('assert/');
{
var r = new stream.Readable({
autoDestroy: true,
read: function read() {
this.push('hello');
... |
/* */
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('counter-reset', v);
},
get: function () {
return this.getPropertyValue('counter-reset');
},
enumerable: true,
configurable: true
};
|
var os = require('os');
var fs = require('fs');
var sane = require('../');
var rimraf = require('rimraf');
var path = require('path');
var assert = require('assert');
var tmpdir = os.tmpdir();
var jo = path.join.bind(path);
var testdir = jo(tmpdir, 'sane_test');
describe('sane in polling mode', function() {
harnes... |
var Mundo = {
myString : '',
sayMundo : function(){
console.log('Mundo! Hola!');
}
}; |
define( "JBrowse/View/Track/WiggleBase", [
'dojo/_base/declare',
'dojo/_base/array',
'dojo/dom-construct',
'dojo/on',
'dojo/mouse',
'JBrowse/View/Track/BlockBased',
'JBrowse/View/Track/ExportMixin',
'JBrowse/Util',
... |
module.exports = function (grunt) {
'use strict';
grunt.initConfig({
jshint: {
all: [
'test/*.js',
'index.js'
]
},
mocha_istanbul: {
coverage: {
src: 'test', // the folder, not the files,
... |
/*global window*/
(function (window, undefined) {
// Contains all files that are loaded into the dom.
var domain = {};
window.__dirname = '';
/**
* Used to gain access to modules that have been exported to the
* browser.
* @param string filename Containing the required module.
* @return object
*/
w... |
// [VexFlow](http://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
//
// ## Description
// This class implements varies types of ties between contiguous notes. The
// ties include: regular ties, hammer ons, pull offs, and slides.
import { Vex } from './vex';
import { TabTie } from './tabtie';
export class TabSlide... |
/*! lg-share - v1.2.1 - 2020-06-13
* http://sachinchoolur.github.io/lightGallery
* Copyright (c) 2020 Sachin N; Licensed GPLv3 */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
define(['jquery'], function (a0) {
... |
// ==UserScript==
// @name Inverted /a/
// @namespace loadletter
// @description Board title on /a/ becomes /ษ/ - Animu & Mango
// @match *://boards.4chan.org/a/*
// @version 1
// @grant none
// ==/UserScript==
document.getElementsByClassName("boardTitle")[0].innerHTML = "/ษ/ - Animu ... |
'use strict'
const path = require('path')
const fs = require('fs-extra')
const chalk = require('chalk')
const utils = require('./utils')
const isValidPublisherName = (function () {
// MakeCert looks like it accepts RFC1779 / X.500 distinguished names
// See https://msdn.microsoft.com/en-us/library/windows/apps/b... |
System.config({
"baseURL": "/",
"defaultJSExtensions": true,
"transpiler": "babel",
"babelOptions": {
"optional": [
"runtime"
]
},
"paths": {
"github:*": "jspm_packages/github/*",
"npm:*": "jspm_packages/npm/*"
}
});
System.config({
"map": {
"babel": "npm:babel-core@5.5.8",
... |
/* global define */
define(['underscore', 'backbone', 'oro/translator', 'oro/datagrid/pagination-input',
'oro/datagrid/page-size', 'oro/datagrid/actions-panel'],
function(_, Backbone, __, PaginationInput, PageSize, ActionsPanel) {
'use strict';
var $ = Backbone.$;
/**
* Datagrid toolbar widget
... |
define(['./_baseRest', './_createWrap', './_getHolder', './_replaceHolders'], function(baseRest, createWrap, getHolder, replaceHolders) {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
/** Used to compose bitmasks for function metadata. */
var PARTIAL_FLAG = 32;
/**... |
/******************************************************************************
* Copyright ยฉ 2014-2015 The SuperNET Developers. *
* *
* See the AUTHORS, DEVELOPER-AGREEMENT and LICENSE files at *
... |
version https://git-lfs.github.com/spec/v1
oid sha256:b169f5a36dc914d9316bbb9d73589482ee2cbdf7fabdfb4a80b430f4f58de9fa
size 7297
|
/*!
* Connect - limit
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Module dependencies.
*/
var utils = require('../utils');
/**
* Limit:
*
* Limit request bodies to the given size in `bytes`.
*
* A string representation of the bytesize may also be passed,
* for exa... |
'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
return queryInterface.bulkInsert('InnerSources', [{
name: 'Factory',
createdAt: new Date(),
updatedAt: new Date()
}], {});
},
down: function (queryInterface, Sequelize) {
return queryInterface.bulkDelete('I... |
'use strict';
function solve(){
function checkIfBrowserIsMozilla(ev, args) {
var myWindow = window,
browser = myWindow.navigator.appCodeName,
isMozilla = (browser === "Mozilla");
if(isMozilla) {
alert('Yes');
}
else {
alert('No');
}
}
} |
var fs = require("fs");
function getRandomString(length, callback) {
var crypto = require('crypto');
crypto.randomBytes(length, function(ex, buf) {
callback(buf.toString("hex"));
})
}
module.exports = function(err, req, res, next) {
getRandomString(10, function(rndString) {
var now = Date.now();
va... |
'use strict';
var baseProperty = require('./_baseProperty');
/**
* Gets the "length" property value of `object`.
*
* **Note:** This function is used to avoid a
* [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) that affects
* Safari on at least iOS 8.1-8.3 ARM64.
*
* @private
* @param {Object} object... |
/**
* Copyright (c) 2014, 2016, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
"use strict";
define(['./DvtToolkit'], function(dvt) {
// Internal use only. All APIs and functionality are subject to change at any time.
var p;function aa(a,b){0==a.indexOf("dvt.")&&(a=a.subst... |
define(['marionette',
'templates',
'./widget/dashboardService',
'rup.dashboard','rup.button','rup.message' ], function(Marionette, App, DashboardService){
var DashboardView = Marionette.LayoutView.extend({
template: App.Templates.demo.app.dashboard.dashboardTemplate,
gridOptions: {
verticalMargin: 10,
... |
var express = require('express');
var router = express.Router();
var api = require('../flightdata');
var fs = require('fs');
var touch = require("touch");
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'Book it Simon!!' });
});
router.get('/update', function(req, res, ne... |
/**
*
* Sets a [cookie](https://code.google.com/p/selenium/wiki/JsonWireProtocol#Cookie_JSON_Object)
* for current page.
*
* <example>
:getCookie.js
client
.setCookie({name: 'test', value: '123'})
.getCookie(function(err, cookies) {
console.log(cookies); // outputs: [{ name: 'te... |
var searchData=
[
['a',['A',['../_c_d_m_8h.html#a8e7d3f25fc77053719b079b29784115fa42a4ade1acd55a49164099104990e09f',1,'CDM.h']]],
['add',['add',['../_c_d_m_8h.html#a8e7d3f25fc77053719b079b29784115fa31a1b6ef20ecf273d47c0791816af46b',1,'CDM.h']]],
['alpha',['Alpha',['../_c_d_m_8h.html#aee9cdc9731ef9f8d3458f5bd67401... |
(function () {
'use strict';
angular
.module('app.controllers')
.controller('AppController', AppController);
AppController.$inject = ['$rootScope'];
function AppController ($rootScope) {
// controller implementation
}
})();
|
define([
'cdf/AddIn',
'cdf/Dashboard',
'cdf/dashboard/Utils',
'cdf/Logger',
'cdf/lib/jquery',
'amd!cdf/lib/underscore',
'cdf/lib/CCC/pvc'
],
function(AddIn, Dashboard, Utils, Logger, $, _, pvc) {
var cccChart = {
name: ... |
module.exports = {
src: ["src/scripts/**/*.js"],
options: {
jshintrc: true
}
};
|
function filter_list () {
// http://kevin.vanzonneveld.net
// + original by: Brett Zamir (http://brett-zamir.me)
// * example 1: filter_list();
// * returns 1: ['int','boolean','float','validate_regexp','validate_url','validate_email','validate_ip','string','stripped','encoded','special_chars'... |
import { NgModule } from '@angular/core';
import { NgbTooltip, NgbTooltipWindow } from './tooltip';
import { NgbTooltipConfig } from './tooltip-config';
export { NgbTooltipConfig } from './tooltip-config';
export { NgbTooltip } from './tooltip';
var NgbTooltipModule = (function () {
function NgbTooltipModule() {
... |
/*!
* bootstrap-fileinput v5.0.8
* http://plugins.krajee.com/file-input
*
* Font Awesome icon theme configuration for bootstrap-fileinput. Requires font awesome assets to be loaded.
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2019, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD-3-Clause
* ht... |
const {
sequelize,
Song,
User,
Bookmark,
History
} = require('../src/models')
const Promise = require('bluebird')
const songs = require('./songs.json')
const users = require('./users.json')
const bookmarks = require('./bookmarks.json')
const histories = require('./histories.json')
sequelize.sync({force: tru... |
/**
* @file ่ฎก็ฎๆฒ็บฟๅ
ๅด็
* @author mengke01(kekee000@gmail.com)
*
* modify from:
* zrender
* https://github.com/ecomfe/zrender/blob/master/src/tool/computeBoundingBox.js
*/
define(
function (require) {
var pathIterator = require('./pathIterator');
/**
* ่ฎก็ฎๅ
ๅด็
*
* @par... |
(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["OpenPlayer"] = factory();
else
root["Op... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : roo... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
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] =... |
/**
* Copyright (c) 2015-present, Parse, LLC.
* 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.
*
*
*/
'use s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.