code
stringlengths
2
1.05M
'use strict'; angular.module('venus') .directive('progressBar', function () { return { restrict: 'EA', scope : { progressValue : '=', progressOptions: '=?' }, link : function (scope, element) { element.addClass('venus progress'); ...
import React, { PropTypes } from 'react'; import injectSheet from 'react-jss'; import Link from 'react-router/lib/Link'; import { ListItem, ListItemContent, ListItemAction } from 'react-mdl/lib/List'; import IconButton from 'react-mdl/lib/IconButton'; import Menu from 'react-mdl/lib/Menu'; import { Grid, Cell } from 'r...
var app = app || {}; //var Codemirror = require('../../node_modules/react-codemirror/dist/react-codemirror.min.js') (function() { app.APP_TEST = 1; app.STANDARD_TEST = 0; app.SERVER_TEST = 2; var TestButton = app.TestButton; var CodeEditor = app.CodeEditor; var UrlEditor = app.UrlEditor; ...
"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")...
require("shelljs/global"); var readline = require("readline-sync"); var semver = require("semver"); var child = require("child_process"); var fs = require("fs"); var PACKAGE_LOC = __dirname + "/../packages"; var VERSION_LOC = __dirname + "/../VERSION"; var CURRENT_VERSION = fs.readFileSync(VERSION_LOC, "u...
import React from 'react' import Icon from 'react-icon-base' const TiInfoLarge = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m23.1 29.2c0 0-1 0.3-1.8 0.3-0.4 0-0.6-0.1-0.6-0.1-0.3-0.2-0.8-0.6 0-2.3l1.7-3.4c1-1.9 1.1-3.9 0.4-5.3-0.6-1.3-1.7-2.1-3.2-2.4-0.5-0.1-1-0.2-1.6-0.2-3.1 0-5.1 1.8-5...
var HouseRulesConstants = require('../constants/HouseRulesConstants.js'); var Dispatcher = require('flux').Dispatcher; var assign = require('object-assign'); var PayloadSources = HouseRulesConstants.PayloadSources; var HouseRulesAPIDispatcher = assign(new Dispatcher(), { handleServerAction: function(action) { ...
var FormValidator = require('../app/js/views/utils/FormValidator'); var revalidator = require('revalidator'); var expect = require('expect.js'); var Mosaic = require('mosaic-commons'); var _ = require('underscore'); describe('Validator', function() { it('should validate a specified object againced a schema', funct...
'use strict'; module.exports = function closest(el, selector) { while (el) { if (el.matches(selector)) return el; el = el.parentElement; } };
(function (angular, _) { "use strict"; angular.module("mfl.service_mgmt.controllers.services", [ "mfl.service_mgmt.services", "ui.router", "angular-toasty" ]) .controller("mfl.service_mgmt.controllers.service_list", ["$scope", function ($scope) { $scope.filters = { ...
/* eslint-env jest */ const { mockClient, fetchMock } = require('../mocks/client.mock') const Module = require('../../src/endpoints/races') describe('endpoints > races', () => { let endpoint beforeEach(() => { endpoint = new Module(mockClient) fetchMock.reset() }) it('test /v2/races', async () => { ...
$(document).ready(function () { // Simple line Chart var lineChart = new Chartist.Line('#ct-chart1', { labels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'], series: [ [12, 9, 7, 8, 5], [2, 1, 3.5, 7, 3], [1, 3, 4, 5, 6] ] }, { ...
//>>built define(["dojox/main","dojo/_base/lang","dojo/date","./umalqura/Date"],function(l,m,n,k){var g=m.getObject("date.umalqura",!0,l);g.getDaysInMonth=function(b){return b.getDaysInIslamicMonth(b.getMonth(),b.getFullYear())};g.compare=function(b,e,a){b instanceof k&&(b=b.toGregorian());e instanceof k&&(e=e.toGregor...
/** * Version: 1.0 Alpha-1 * Build Date: 13-Nov-2007 * Copyright (c) 2006-2007, Coolite Inc. (http://www.coolite.com/). All rights reserved. * License: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/. * Website: http://www.datejs.com/ or http://www.coolite.com/datejs/ */ Date....
'use strict'; (function() { // Article video Controller Spec describe('Article video Controller Tests', function() { // Initialize global variables var ArticleVideoController, scope, $httpBackend, $stateParams, $location; // The $resource service augments the response object with methods for updat...
'use strict'; describe('TreeNode.prototype.rendered', function() { var $tree; var tree; before(function() { helpers.clearDOM(); helpers.createTreeContainer(); $tree = $('.tree'); tree = new InspireTree({ pagination: { limit: 2 }, ...
/* * 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'; let p1 = new Promise((resolve, reject) => { setTimeout(() => { resolve('after 2000ms.') }, 2000); }); let p2 = new Promise((resolve, reject) => { setTimeout(() => { console.log(a); resolve('after 1000ms error.') }, 1000); }); Promise.all([p1, p2]) .then((data) => { console.log(dat...
import { other } from "./shared"; it("should have the correct value", () => { expect(other).toBe("other"); });
'use strict'; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProp...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var LineToLine = require('./LineToLine'); var Contains = require('../rectangle/Contains'); var ContainsArray = require('../triangle/ContainsArra...
// dataModel import dataModel from './db/dataModel.js'; // viewModel import editableTableModel from './components/EditableTable/viewModel.js'; export {dataModel}; export {editableTableModel}; export default [dataModel,editableTableModel];
import React from 'react' import Icon from 'react-icon-base' const IoUpload = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.6 18.2c3.5 0 6.4 2.9 6.4 6.5s-2.9 6.5-6.4 6.5h-8.6v-6.2h3.8l-6.3-6.6-6.2 6.6h3.7v6.3h-8c-3.8 0-7-3.3-7-7.2 0-3.1 2-5.7 4.8-6.7 0.4-2.2 2.2-4 4.6-4 0.8 0 1.4 0.3 2 ...
/** * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'a11yhelp', 'lv', { title: 'Pieejamības instrukcija', contents: 'Palīdzības saturs. Lai aizvērtu ciet šo dialogu nospiediet...
import * as actions from 'constants/jsonEditorTypes'; const initialState = { mode: 'tree', undo: false, redo: false, }; const jsonEditor = (state = initialState, action) => { switch (action.type) { case actions.SEARCH_JSON: { return { ...state, ...
'use strict'; // node libs var path = require( 'path' ); var fs = require( 'fs' ); // external libs var assemble = require( 'assemble' ); var debug = require( 'gulp-debug' ); var extend = require( 'extend-shallow' ); //var extname = require( 'gulp-extname' ); var glob = require( 'glob' ); var less = require( 'gulp-le...
export default function math(lvalue, operator, rvalue) { lvalue = parseFloat(lvalue) rvalue = parseFloat(rvalue) return { '+': lvalue + rvalue, '-': lvalue - rvalue, '*': lvalue * rvalue, '/': lvalue / rvalue, '%': lvalue % rvalue }[operator] }
define(function() { return function() {}; });
/** * @author supereggbert / http://www.paulbrunt.co.uk/ * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ * @author szimek / https://github.com/szimek/ * @author tschw */ import { RGBAFormat, HalfFloatType, FloatType, UnsignedByteType, LinearEncoding, LinearToneMapping, ...
jQuery(document).ready(function($) { jQuery("#one" ).click(function(){ jQuery("#color" ).attr("href", "css/color-default.css"); jQuery(".logo" ).attr("src", "images/logo.png"); return false; }); jQuery("#two" ).click(function(){ jQuery("#color" ).attr("href", "css/color-...
/* spec-bundle.js */ /** * @author: @AngularClass */ Error.stackTraceLimit = Infinity; require('core-js/es6'); require('core-js/es7/reflect'); // Typescript emit helpers polyfill require('ts-helpers'); require('zone.js/dist/zone'); require('zone.js/dist/long-stack-trace-zone'); require('zone.js/dist/async-test');...
/*! * qwebs * Copyright(c) 2015 Benoît Claveau <benoit.claveau@gmail.com> * MIT Licensed */ "use strict"; const request = require('request'); const DataError = require("./../dataerror"); class ClientService { constructor() { }; request(options) { return new Promise((resolve, reject) => { ...
"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")...
// Generated by CoffeeScript 1.8.0 (function() { var uuid; uuid = function() { var d, guid; d = new Date().getTime(); guid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) { var r; r = (d + Math.random() * 16) % 16 | 0; d = Math.floor(d / 16); return (c === ...
'use strict'; var utils = require('../utils'); module.exports = function(app) { return function(val) { if (val === true) { app.enable('questions.init'); return; } if (utils.isObject(val)) { var keys = Object.keys(utils.tableize(val)); app.questions.enqueue(keys); app.optio...
import React from 'react'; import { FormattedMessage } from 'react-intl'; import './Hero.less'; const Hero = () => (<div className="Hero"> <div className="container container-small"> <h1 className="hero-message"> <FormattedMessage id="hero" defaultMessage="Ensuring compensation for the creators of ...
$(document).on("ready", function(){ loadciudades(); $('.registro').click(function(){ ciudad = $('.nombreciudad').val(); descripcion = $('.descripcion').val(); if (ciudad.length<1 ) { $('.reporteregistro').html("<p>El campo nombre es obligatorio<p>"); }else{ url = $('.now').val(); urlpost= ur...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = retrieve; var _requestPromise = require('request-promise'); var _requestPromise2 = _interopRequireDefault(_requestPromise); var _useragents = require('./useragents'); var _useragents2 = _interopRequireDefault(_useragen...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M4 6H2v16h16v-2H4V6zm18-4H6v16h16V2zm-3 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z" /> , 'AddToPhotosSharp');
"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")...
'use strict'; const { createStrapiInstance } = require('../../../../../test/helpers/strapi'); const { createTestBuilder } = require('../../../../../test/helpers/builder'); const { createContentAPIRequest } = require('../../../../../test/helpers/request'); const builder = createTestBuilder(); let strapi; let rq; let d...
'use strict'; var parse = require('../src/parseTime') describe('parse.strict', function(){ it('should return as is 11:45:34 PM', function(){ parse('11:45:34 PM', { strict: true}) .should .eql({ hour: 11, minute: 45, second: 34, meridian: 'PM' }) }) it('should return strict 13:85:96 PM'...
/*! SerializeJSON jQuery plugin. https://github.com/marioizquierdo/jquery.serializeJSON version 2.9.0 (Jan, 2018) Copyright (c) 2012-2018 Mario Izquierdo Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. *...
exports.isNode = function() { return typeof process !== 'undefined' && process.toString() === '[object process]'; }; exports.nextTick = function( fn ) { if( exports.isNode() ) { process.nextTick( fn ); } else { setTimeout( fn, 0 ); } }; exports.trim = function( inputString ) { if( inputString.trim ) { retu...
export {default as htmlCanvas} from "./htmlCanvas"; export {default as widget} from "./widget"; export {default as Widget} from "./Widget2"; export {default as ext} from "./widget-extensions"; export {default as router} from "./router";
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><circle cx="9" cy="8.5" r="1.5" opacity=".3" /><path d="M4.34 17h9.32c-.84-.58-2.87-1.25-4.66-1.25s-3.82.67-4.66 1.25z" opacity=".3" /><path d="M9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5....
'use strict'; var convert = require('./convert'), func = convert('stubString', require('../stubString'), require('./_falseOptions')); func.placeholder = require('./placeholder'); module.exports = func; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2NsaWVudC...
"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...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M6.2 3.01C4.44 2.89 3 4.42 3 6.19V16c0 2.76 2.24 5 5 5s5-2.24 5-5V8c0-1.66 1.34-3 3-3s3 1.34 3 3v7h-.83c-1.61 0-3.06 1.18-3.17 2.79-.12 1.69 1.16 3.1 2.8 3....
/* @flow */ import { reduce } from 'lodash'; import { GraphQLList, GraphQLNonNull, GraphQLScalarType } from 'graphql'; export default function parseSchema(schema) { const typeMap = schema.getTypeMap(); const userTypes = reduce(typeMap, (acc, val, key) => { if (key.startsWith('__')) return acc; if (isScala...
(function() { var Browsers, browserslist, utils; browserslist = require('browserslist'); utils = require('./utils'); Browsers = (function() { Browsers.prefixes = function() { var data, i, name; if (this.prefixesCache) { return this.prefixesCache; } data = require('caniuse-...
pc.extend(pc, function() { var AnimationComponentData = function () { // Serialized this.assets = [ ]; this.speed = 1.0; this.loop = true; this.activate = true; this.enabled = true; // Non-serialized this.animations = { }; this.skeleton = null...
// long running function function waitThreeSeconds() { var ms = 3000 + new Date().getTime(); while (new Date() < ms){} console.log('finished function'); } function clickHandler() { console.log('click event!'); } // listen for the click event document.addEventListener('click', clickHandler); waitT...
function wrap ( min, max, v ) { return ( ( v-min ) % ( max-min+1 ) + ( max-min+1 ) ) % ( max-min+1 ) + min; }
var mongoose = require("mongoose"); var bcrypt = require('bcrypt'); mongoose.connect('mongodb://localhost:27017/db', function (err, res) { if (err) { throw Error('Can not connecting to db'); } else { console.log('Successfully connected to db'); } }); var UserSchema = new mongoose.Schema({ username: St...
/*global describe, it, beforeEach, expect, xit, jasmine */ describe("NumberMeasure", function () { "use strict"; var NumberMeasure = require('../../src/core/number_measure.js'), NumberValue = require('../../src/core/number_value.js'); it("should be able to create a NumberMeasure", function () { ...
i = 1; s = "Hello"; console.log(typeof 1); console.log(typeof "Hello"); console.log(typeof i); console.log(typeof s);
/** * Created by yangyanjun on 15/5/29. */ var canvas = document.getElementById('canvas'), context = canvas.getContext('2d'), eraseAllButton = document.getElementById('eraseAllButton'), strokeStyleSelect = document.getElementById('strokeStyleSelect'), guidewireCheckbox = document.getElementById('guid...
{ "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "Unnamed: 0": 0, "Incident Number": 83350041, "Date": "11\/30\/2008", "Time": "09:03 AM", "Police District": 7.0, "Offense 1": "MOTOR VEHICLE THEFT", "Offense 2": null, "Offense 3": null, "Offense 4": null, "Offense 5": null, "Location": ...
/* jshint indent: 1 */ module.exports = function(sequelize, DataTypes) { return sequelize.define('Decoder', { DecoderId: { type: DataTypes.INTEGER(11), allowNull: false, primaryKey: true, autoIncrement: true }, Ip: { type: DataTypes.STRING(32), allowNull: true }, Port: { type: DataTypes...
"use strict"; /** * Module dependencies */ var jwt = require('jsonwebtoken'); var models = require('../models'); /* * Generates an expirable confirmation token to be sent via email for user to confirmate its new account. * * @user_id * */ module.exports.generateConfirmationToken = function(user_id) { // expira...
import {strict as assert} from "assert"; import {Route} from "../lib/index.js"; /** Tests the features of the `Route` class. */ describe("Route", function() { describe(".from()", function() { it("should handle numbers", function() { const route = Route.from(1234); assert.equal(route.uri.href, "http://127.0.0....
version https://git-lfs.github.com/spec/v1 oid sha256:86cc49c2dcfd5ff2417820e6859ec7091703413260069c39a7a6ac422f98081b size 40872
/*------------------------------- LANG: TRY --------------------------------*/ Fuse.addNS('Try'); Fuse.Try.these = (function() { function these() { var i = 0, length = arguments.length; while (i < length) try { return arguments[i++](); } catch (e) { } } return these; })();
/** * Visual Blocks Editor * * Copyright 2011 Google Inc. * http://blockly.googlecode.com/ * * 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/LICEN...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const NullDependency = require("./NullDependency"); class LocalModuleDependency extends NullDependency { constructor(localModule, range, callNew) { super(); localModule.flagUsed(); this.l...
require({cache:{ 'dojox/dtl/_base':function(){ define([ "dojo/_base/kernel", "dojo/_base/lang", "dojox/string/tokenize", "dojo/_base/json", "dojo/dom", "dojo/_base/xhr", "dojox/string/Builder", "dojo/_base/Deferred"], function(kernel, lang, Tokenize, json, dom, xhr, StringBuilder, deferred){ kernel.experime...
/* Contexts contain the set of all current variables, and restrictions/assumptions on their type and value. Contradictions should perhaps trigger an error. (e.g., storing y = 2x+1, and y = 2x + 2 in the same context) */ function Context() { } _ = Context.prototype = Object.create(Global); _.reset = function() { ...
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.az-latn'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Şərh əlavə et"; Blockly.Msg.CHANGE_VALUE_TITLE = "Qiyməti dəyiş:"; Blockly.Msg.COLLAPSE_ALL = "Blokları yığ"; Blockly.Msg.COLLAPSE_BLOCK = "Bloku yığ";...
define([ 'modernizr', 'extensions/views/view', 'client/views/table', 'client/views/summary-figure', 'client/views/services-kpi', 'jquerydeparam', 'lodash' ], function (Modernizr, View, TableView, SummaryFigureView, ServicesKPIS, $, _) { return View.extend({ analyticsCategory: 'ppServices', eve...
var templateList2 = Hogan.compile( "{{#collection}}" + "<li class='list-2_item js-list_item' data-id='{{id}}'>{{title}}</li>" + "{{/collection}}" );
/* A script that loads all documents in db and create user for all occurrences of non-web users. The followings are current references to user records in db: - analytics: (~1825k entries as of 2020/10) - (docUserId, docAppId) via docId (reply/article) - articlecategoryfeedbacks: (less than 1k entri...
import React from 'react'; import { mount } from 'enzyme'; import { connect } from 'react-redux'; import { MemoryRouter } from 'react-router-dom'; import CourseAPI from 'api/course'; import MockAdapter from 'axios-mock-adapter'; import storeCreator from 'course/survey/store'; import SurveyResults from '../index'; cons...
import styled from '@emotion/styled-base'; var tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', '...
// Generated by CoffeeScript 1.12.7 (function() { var XMLDTDAttList, XMLNode, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child...
$(window).on('load', function() { // makes sure the whole site is loaded $('#status').fadeOut(); // will first fade out the loading animation $('#preloader').delay(350).fadeOut('slow'); // will fade out the white DIV that covers the website. $('body').delay(350).css({'overflow':'visible'}); }) $(...
/* * * Copyright (c) 2012-2014 Adobe Systems Incorporated. All rights reserved. * 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 ri...
import ElasticSearchEngine from './engine' export { ElasticSearchEngine, }
var nock = require('nock'); var userReadReply = function(){ return { displayName: 'Foo Bar', domain: 'apps', email: 'foo@bar.com', status: 'ok', userName: 'Foo Bar', prefs: {}, _etag: '"RV9Ov_q6UfyOx8kljDkQU-"' }; }; module.exports = nock('https://apps.feedhenry.com') .filteringRequest...
var searchData= [ ['iasynccommand',['IAsyncCommand',['../interface_highway_1_1_data_1_1_interfaces_1_1_i_async_command.html',1,'Highway::Data::Interfaces']]], ['iasyncquery_2dg',['IAsyncQuery-g',['../interface_highway_1_1_data_1_1_interfaces_1_1_i_async_query-g.html',1,'Highway::Data::Interfaces']]], ['iasyncrepo...
import fs from 'fs'; import path from 'path'; import Router from 'koa-router'; import home from '../controllers/home'; const basename = path.basename(module.filename); const router = Router(); fs .readdirSync(__dirname) .filter(function(file) { return (file.indexOf('.') !== 0) && (file !== basename) && (file....
start = decl // disallowing vars, handled. // uninitialized vals, handled decl = vt:vartype id typedef? a:assign? { if (vt === "var") error("what part of IMMUTABLE do you not understand?") else if (!a) error("You should probably assign something now...you can't change it later!"); } vartype = val/va...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import './Issue.css'; class Issue extends Component { cardStyle() { let status = this.props.status; let isCached = status && status.cached; let styleClass = isCached ? 'card-cached' : ''; if (status) { switch (stat...
/* * Copyright (c) 2014 Stephen Peasley (http://www.speasley.com) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Version 2.1.1 * Made in Canada */ ;(function ( $ ) { 'use strict'; // intern...
export class Asset { compiler = null path = null constructor(path, compiler) { this.path = path this.compiler = compiler } compile(context = null, req = null) { return this.compiler.compile(this.path, context, req) } lastModified(newest = 0) { return this.compiler.lastModified(this.path, newest) } ...
module.exports={A:{A:{"1":"F A B","2":"M D H mB"},B:{"1":"C E q L O I J K"},C:{"1":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z LB BB CB DB EB FB HB IB JB cB","2":"jB AB eB"},D:{"1":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J P Q R S T U V W X...
import Ember from 'ember'; import BaseFocusable from './base-focusable'; import RippleMixin from '../mixins/ripple-mixin'; import ProxiableMixin from 'ember-paper/mixins/proxiable-mixin'; import ColorMixin from 'ember-paper/mixins/color-mixin'; export default BaseFocusable.extend(RippleMixin, ProxiableMixin, ColorMixi...
'use strict'; const debug = require('debug')('ht:server-ctrl'); module.exports = exports = {}; exports.serverUp = function(server, done){ if(!server.isRunning){ server.listen(process.env.PORT, () => { server.isRunning = true; debug('server is up'); done(); }); return; } done(); };...
// @include ./modules/Filter.js // @include ./modules/Is.js // @include ./modules/Not.js
version https://git-lfs.github.com/spec/v1 oid sha256:b208950b6a564f492430c9ddf96094e43e4a37f9285e41707a8c71ea6b576beb size 1983
"use strict" require('dotenv').config({path: '../.env'}) var db = require('../app/db') var fs = require('fs') var _ = require ('lodash') db.connect().then((client) => { var path = process.argv[2] var data = JSON.parse(fs.readFileSync(path)) // console.log(data) var songLookup = {} //get user id from userna...
/** * A Fibonacci sequence is a list of numbers that begins with 0 and 1, and each * subsequent number is the sum of the previous two. * * For example, the first five Fibonacci numbers are: * * 0 1 1 2 3 * * If n were 4, your function should return 3; for 5, it should return 5. * * Write a function that acc...
var React = require('react'); var ProgressBar = require('../src/main.js'); var Circle = ProgressBar.Circle; var App = React.createClass({ getInitialState: function() { return { progress: 0.1, options: {} }; }, render: function() { return <Circle initialAnima...
import _extends from "@babel/runtime/helpers/esm/extends"; import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import * as React from 'react'; import PropTypes from 'prop-types'; import { Transition } from 'rea...
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=buildFormatter;var normalizeNumber=function(e,r){return e&&10===e.length?String(r).split("").map(function(r){return r.match(/^[0-9]$/)?e[parseInt(r)]:r}).join(""):String(r)},normalizeFn=function(e,o,n){return function(r){return"function...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
/** * chartjs-plugin-hierarchical * https://github.com/sgratzl/chartjs-plugin-hierarchical * * Copyright (c) 2021 Samuel Gratzl <sam@sgratzl.com> */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var chart_js = require('chart.js'); var helpers = require('chart.js/helpers'); functi...
/** * * @authors Your Name (you@example.org) * @date 2017-03-08 12:02:34 * @version $Id$ */ (function(){ function w() { var r = document.documentElement; var a = r.getBoundingClientRect().width; if (a > 750 ){ a = 750; } rem = a / 7.5; r.style.fontSize ...
/* * 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. */ ...
module('Test common function - array'); test('Basic functions added to an array after calling html.array', function(){ var sut = html.array([1,2,3,4]); ok(sut.add, 'ok, add method has been added to the array'); ok(sut.addRange, 'ok, addRange method has been added to the array'); ok(sut.each, 'ok, each m...