code stringlengths 2 1.05M |
|---|
'use strict';
const htermAll = require('hterm-umd');
const twemoji = require('twemoji');
const lib = htermAll.lib;
const hterm = htermAll.hterm;
hterm.TextAttributes.prototype.createContainer = function(optTextContent) {
const isEmoji = twemoji.parse(optTextContent).indexOf('<img') !== -1;
if (!isEmoji && this.is... |
var data = {tabs: {}} |
var canvas = document.getElementById("Canvas"), ctx = canvas.getContext("2d"),
scrWidth = window.innerWidth, scrHeight = window.innerHeight;
var innerSquareX, innerSquareY,
innerSquareWidth, innerSquareHeight;
var cube = {
depth: 500-250, //vanishingPoint.z - depth gives distance from vanishingPoint
w... |
'use strict';
var Promise = require('bluebird');
var stripeMethod = require('./StripeMethod');
var utils = require('./utils');
module.exports = {
create: stripeMethod({
method: 'POST',
}),
list: stripeMethod({
method: 'GET',
}),
retrieve: stripeMethod({
method: 'GET',
path: '/{id}',
u... |
version https://git-lfs.github.com/spec/v1
oid sha256:092c2a52ad83f5c488c292cdccd8ad902aa2f8851b5cbc318fbf2923294a9b45
size 67285
|
import { func1 } from "./iodex.js";
export function five() {
return { five: `number(${5})` };
}
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
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 ("... |
'use strict';
module.exports = function (gulp, $, {dirs}) {
return function clean(cb) {
if (dirs && dirs.length > 0) {
$.del(dirs).then(() => cb());
} else {
cb();
}
};
};
|
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
var helpers = require('../helpers'),
transforms = require('./transforms'),
format = require... |
const DateString = Match.Where(function (dateAsString) {
check(dateAsString, String);
return moment(dateAsString, moment.ISO_8601).isValid();
});
export class WekanCreator {
constructor(data) {
// we log current date, to use the same timestamp for all our actions.
// this helps to retrieve all elements p... |
'use strict';
var Promise = require('bluebird');
module.exports = {
delay: function() {
return Promise.delay(100)
.then(function() { return 'step1.default' });
},
approve: function() {
},
reject: function() {
}
};
|
/**
* Copyright (c) 2013-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.
*
* @emails react-core
*/
'use strict';
let runWithPriority;
let ImmediatePriority;
let UserBlockingPriority;
let NormalPriority;
let sc... |
"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 React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-11 7H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H4c-.55 0-1-.45-1-1s.45-1 1-1h2V9c0-.55.45-1 1-1s1 .45 1 1v2h2c.55 0 ... |
function Router() {
};
Router.runFromShell = function(command, argv) {
if(!argv)
argv = process.argv;
var u = Router.needUtil(command);
u.runFromShell(argv);
return u;
};
Router.needUtil = function(command) {
var routes = {
sort: require('./util/SortUtil.js').SortUtil,
count: require('./util/CountUtil.... |
$(document).ready(function() {
$('.provider-client').editable({
success: function(response, newValue) {
var providerName = $(this).closest('tr').data('provider');
$('#client_id_' + providerName).val(newValue);
}
});
$('.provider-secret').editable({
success: f... |
define("ghost/controllers/modals/delete-all",
["exports"],
function(__exports__) {
"use strict";
var DeleteAllController = Ember.Controller.extend({
actions: {
confirmAccept: function () {
var self = this;
ic.ajax.request(this.get('ghostPaths.url').api('... |
"use strict";
// Code
var wall = undefined;
//Calculate cell height
var w_width = 0;
var w_height = 0;
var w_bestCellH = 42;
var sz_tolerance = 40;
var cellHForBrowserSize = [
{sizew: 1903 , sizeh: 979, cellH: 42},
{sizew: 1903 , sizeh: 1080, cellH: 42},
{sizew: 1869 , sizeh: 899, cellH: 20},
... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let Landscape = props =>
<SvgIcon {...props}>
<path d="M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z" />
</SvgIcon>;
Landscape = pure(Landscape);
Landscape.muiName = 'SvgIcon';
export ... |
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON("jquery.smartify.jquery.json"),
banner: "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " +
"<%= grunt.template.today(\"yyyy-mm-dd\") %>\n" +
"<%= pkg.homepage ? \... |
/*global beforeEach:true, describe:true, it:true */
'use strict';
// Angular:
var angular = require('angular');
require('angular-mocks');
// Test Utilities:
var chai = require('chai');
var dirtyChai = require('dirty-chai');
// Test setup:
var expect = chai.expect;
chai.use(dirtyChai);
// Mocks:
var MockHttpResponse... |
/**
* Copyright 2015 Telerik AD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
export default function buildShapesResponse (data) {
return data.map(shape => ({
shapeId: shape.shape_id,
lat: shape.shape_pt_lat,
lng: shape.shape_pt_lon,
sequence: shape.shape_pt_sequence,
traveled: shape.shape_dist_traveled
}))
}
|
function printPlayingTrack(params) {
let trackName = params[0];
let artistName = params[1];
let duration = params[2];
return `Now Playing: ${artistName} - ${trackName} [${duration}]`;
}
console.log(printPlayingTrack(['Number One', 'Nelly', '4:09'])); |
System.register([], function (exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
function clone(obj) {
var copy;
if (null == obj || "object" != typeof obj)
return obj;
if (obj instanceof Date) {
copy = new Date();
c... |
var Entity = require('../../entities/Entity');
var MeshBuilder = require('../../util/MeshBuilder');
var Transform = require('../../math/Transform');
var Vector3 = require('../../math/Vector3');
var BoundingBox = require('../../renderer/bounds/BoundingBox');
var BoundingSphere = require('../../renderer/bounds/BoundingSp... |
const ExtractTextPlugin = require("extract-text-webpack-plugin");
exports.loadCSS = function({ include, exclude }) {
return {
module: {
rules: [
{
test: /\.css$/,
include,
exclude,
use: [
{
loader: "style-loader"
},
... |
'use strict';
module.exports = function(sequelize, DataTypes) {
var EmployeeAddressBook = sequelize.define('EmployeeAddressBook', {
id: {
allowNull: false,
autoIncrement: true,
primaryKey: true,
type: DataTypes.INTEGER
},
addressline1:{
type:DataType... |
import puppeteer from 'puppeteer'
import { readFileSync as read } from 'fs'
import path from 'path'
import penthouse from '../../lib/'
import chromeProcessesRunning from '../util/chromeProcessesRunning'
import normaliseCss from '../util/normaliseCss'
function staticServerFileUrl (file) {
return 'file://' + path.joi... |
/*jshint node:true*/
var testInfo = require('ember-cli-test-info');
module.exports = {
description: 'Generates a view unit test.',
locals: function(options) {
return {
friendlyTestDescription: testInfo.description(options.entity.name, 'Unit', 'View')
};
},
};
|
export CategoriesList from './categories-list';
export CategoriesModal from './categories-modal'; |
import './asyncModules'
import exclaimify from './exclaimify'
const button = document.getElementById('button');
const alertAsyncMessage = function() {
// CommonJS async syntax webpack magic
require.ensure([], function() {
const message = require("./asyncMessage")
alert(exclaimify(message))
})
}
console... |
//= require_tree ./catarse_echeck_net
$(function(){
new window.CatarseEcheckForm();
});
|
version https://git-lfs.github.com/spec/v1
oid sha256:a77d7cd4f6a2b6d2d05152fbc7f585fa9e08d71d7e7afed9ccce4e1b119fe937
size 4951
|
/**
* angular-strap
* @version v2.1.6 - 2015-02-03
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes (olivier@mg-crea.com)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';
// @BUG: following snippet won't compile correctly
// @TODO: submit issue to core
// '... |
"use strict";
/**
* @class elFinder folders tree
*
* @author Dmitry (dio) Levashov
**/
$.fn.elfindertree = function(fm, opts) {
var treeclass = fm.res('class', 'tree');
this.not('.'+treeclass).each(function() {
var c = 'class', mobile = fm.UA.Mobile,
/**
* Root directory class name
*
* @t... |
// flow-typed signature: 32d4874973842e2f3cdc07adc9ee227e
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-transform-flow-strip-types'
*
* Fill this stub out by replacing all the `any` types.
*
* Onc... |
var ServiceManager = require('../index').ServiceManager;
var async = require('async');
var meshServer = require('../index').meshServer;
var os = require('os');
var test = require('tap').test;
test('Test notifications', function(t) {
var app = meshServer(new ServiceManager());
app.set('port', 0);
t.test('Initial... |
version https://git-lfs.github.com/spec/v1
oid sha256:456b6bba994f89159ba2158401d9171652a9292f44249a606566a76429c272e7
size 3363
|
var c = 3;
//@@include('../dest4.js') |
define([
'jquery',
'd3',
'bluebird',
'kb_service/client/workspace',
// for effect
'../kbaseBarchart',
'../../legacy/authenticatedWidget',
'bootstrap'
], function (
$,
d3,
Promise,
Workspace
) {
'use strict';
$.KBWidget({
name: 'kbasePMIBarchart',
... |
/*
* MoonCake v1.1 - File Manager Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* October 10, 2012
*
*/
;(... |
"use strict";
/**
* Created by Nidin Vinayakan on 4/7/2016.
*/
var SourceLine = (function () {
function SourceLine(file, line, text) {
this.file = file;
this.line = line;
this.text = text;
}
return SourceLine;
}());
exports.SourceLine = SourceLine;
//# sourceMappingURL=SourceLine.j... |
/* ***** 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/
*
... |
/* ===================================================================
* Transcend - Main JS
*
* ------------------------------------------------------------------- */
(function($) {
"use strict";
var cfg = {
scrollDuration : 800, // smoothscroll duration
mailChimpURL : 'https://face... |
BASE.require([
"BASE.data.services.DataStoreBackedService"
], function () {
var DataStoreBackedService = BASE.data.services.DataStoreBackedService;
var global = (function () { return this; })();
BASE.namespace("BASE.data.services");
BASE.data.services.SqliteService = function (sqliteData... |
/* jshint esversion: 6 */
(function(root, factory) {
if (typeof define === "function" && define.amd) {
define([], factory);
} else if (typeof module === "object" && module.exports) {
module.exports = factory();
} else {
root.CSV = factory();
}
}(this, function() {
'use strict';
/* ============... |
import isServerSideRendering from './is-server-side-rendering';
const prefix = 'documentation:';
const exists = () => !isServerSideRendering() && typeof window.localStorage !== 'undefined';
const set = (key, value) => exists() && window.localStorage.setItem(prefix + key, value);
const get = (key) => exists() ? window.... |
var exec = require('cordova/exec'),
channel = require('cordova/channel'),
// Reference name for the plugin
PLUGIN_NAME = 'HotCodePushLocalDevMode',
// Plugin methods on the native side that can be called from JavaScript
pluginNativeMethod = {
INITIALIZE: 'jsInitPlugin'
};
// Called when Cordova is re... |
'use strict';
const common = require('../../common');
const assert = require('assert');
// testing api calls for function
const test_function = require(`./build/${common.buildType}/test_function`);
function func1() {
return 1;
}
assert.strictEqual(test_function.Test(func1), 1);
function func2() {
console.log('h... |
"use strict";
var ANNOTATION = 'ANNOTATION';
var ANON_BLOCK = 'ANON_BLOCK';
var ARGUMENT_LIST = 'ARGUMENT_LIST';
var ARRAY_COMPREHENSION = 'ARRAY_COMPREHENSION';
var ARRAY_LITERAL = 'ARRAY_LITERAL';
var ARRAY_PATTERN = 'ARRAY_PATTERN';
var ARRAY_TYPE = 'ARRAY_TYPE';
var ARROW_FUNCTION = 'ARROW_FUNCTION';
var ASSIGNMENT... |
(function() {
'use strict';
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
innerBounds: {
width: 960,
height: 600,
minWidth: 960,
minHeight: 600
},
state: 'maximized'
});
});
}());
|
// -------------------------------------------------------------
// WARNING: this file is used by both the client and the server.
// Do not use any browser or node-specific API!
// -------------------------------------------------------------
const NATIVE_METHODS_PROPERTY_NAME = '_nativeMethods';
export default class... |
{
"type": "FeatureCollection",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "Incident number": 110910082, "Date": "4\/1\/2011", "Time": "02:01 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/... |
import React from 'react';
import InputMixin from './input-mixin.js'
import Option from './../select-option.js';
export const TextInputMixin = {
//@@viewOn:mixins
mixins: [InputMixin],
//@@viewOff:mixins
//@@viewOn:statics
statics: {
UU5_Forms_TextInputMixin: {
classNames: {
main: 'uu5-... |
/**
* avia control class
* addon to strip gallery
*/
function UGAviaControl(){
var g_parent, g_gallery, g_objects, g_objStrip, g_objStripInner, g_options;
var g_isVertical;
var g_temp = {
touchEnabled:false, //variable that tells if touch event was before move event
isMouseInsideStrip: false,
strip_fi... |
import * as dom from './../../dom.js';
import {EventManager} from './../../eventManager.js';
import {WalkontableCellCoords} from './../../3rdparty/walkontable/src/cell/coords.js';
import {registerPlugin, getPlugin} from './../../plugins.js';
import BasePlugin from './../_base.js';
import {CommentEditor} from './comment... |
var animalAppControllers = angular.module('AnimalsDetailController', []);
animalApp.controller('AnimalsDetailController', function($scope) {
});
|
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Schema = mongoose.Schema;
/**
* Poll Schema
*/
exports.PollSchema = new Schema({
startDate: {
type: Date,
required: 'Start date required',
},
endDate: {
type: Date,
required: 'End date required'
},
locale: {
type: Stri... |
file:/home/charlike/dev/glob-fs/fixtures/a/c6.js |
var desy = require('./');
var map = L.mapbox.map('map', 'examples.map-i86knfo3')
.setView([0, 0], 2);
var planarCircle = L.circle([0, 0], 2000000, {
fillOpacity: 0,
color: '#00f'
}).addTo(map);
var desyCircle = desy.circle([0, 0], 2000000, {
parts: 60,
color: '#f00',
fillOpacity: 0
}).addTo(map... |
//TODO:
//On load, Javascript insists on copying the saved properties array by reference, even when using slice.
//Need a deep copy to sever that link.
//Ugh, got a silly work around in place so at least the thumbnail editor will load correctly.
//Add functionality to reorder layers on thumbnail.
//Need to implement w... |
// Github: https://github.com/shdwjk/Roll20API/blob/master/TokenMod/TokenMod.js
// By: The Aaron, Arcane Scriptomancer
// Contact: https://app.roll20.net/users/104025/the-aaron
var TokenMod = TokenMod || (function() {
'use strict';
const version = '0.8.47',
lastUpdate = 1574294283,
sc... |
/* NUGET: BEGIN LICENSE TEXT
*
* Microsoft grants you the right to use these script files for the sole
* purpose of either: (i) interacting through your browser with the Microsoft
* website or online service, subject to the applicable licensing or use
* terms; or (ii) using the files as included with a Microsoft p... |
/**
* --------------------------------------------------------------------------
* Bootstrap (v4.6.1): toast.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
import $ from 'jquery'
import Util from './util... |
define( {
// Generic.
OK: "OK",
CANCEL: "Cancel",
RESET: "Reset",
// Menu.
MENU_ON_SAVE: "Auto prefix on save",
MENU_SELECTION: "Auto prefix selection",
MENU_SETTINGS: "Autoprefixer Settings...",
// Settings dialog.
SETTINGS_TITLE: "Autoprefixer Settings",
SETTINGS_VISUAL_CASCADE: "Visua... |
const assert = require('assert');
module.exports = {
description: 'does not print warnings with --silent',
command: 'rollup -i main.js -f cjs --silent',
stderr: stderr => {
assert.equal(stderr, '');
return true;
}
};
|
const path = require('path');
const webpack = require('webpack');
module.exports = {
entry: {
main: [
'webpack-hot-middleware/client',
'./example/example.js'
]
},
output: {
path: path.join(__dirname, 'example'),
filename: 'example.bundle.js',
... |
var mochaJSHint = require('mocha-jshint');
mochaJSHint(['lib', 'blueprints']);
|
{
var prop = propOptions[key];
var absent = !hasOwn(propsData, key);
var value = propsData[key];
if (isType(Boolean, prop.type)) {
if (absent && !hasOwn(prop, "default")) {
value = false;
} else if (
!isType(String, prop.type) &&
(value === "" || value === hyphenate(key))
) {
... |
/*! @license Firebase v4.3.0
Build: rev-bd8265e
Terms: https://firebase.google.com/terms/ */
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Repo = undefined;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof ob... |
// NOTE: this match THREE namespace on purpose
if(typeof THREEx === "undefined") var THREEx = {};
if(typeof THREEx.Texture === "undefined") THREEx.Texture = {};
/**
* - depends on a lib excanvas which isnt there
* - to get idea on how to draw
* http://www.wpclipart.com/smiley/glossy_smiley/glossy_pink_smileys/gl... |
// If you want to suggest a new language you can use this file as a template.
// To reduce the file size you should remove the comment lines (the ones that start with // )
if(!window.calendar_languages) {
window.calendar_languages = {};
}
// Here you define the language and Country code. Replace en-US with your own.
/... |
define({
"_widgetLabel": "인포그래픽",
"noData": "데이터 없음",
"thousandAbbreviation": "k",
"millionAbbreviation": "M",
"billionAbbreviation": "G",
"legend": "범례",
"dataLabels": "데이터 레이블",
"horizontalAxis": "수평축",
"verticalAxis": "수직축",
"showPeriodsWithoutRecords": "레코드가 없는 기간 표시",
"parsingperiodTip": "계산에... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 = _interopRequireDefault(_classC... |
var iterate = function (list) {
var offset = 0
return function () {
if (offset === list.length) return null
var len = list.length - offset
var i = (Math.random() * len) | 0
var el = list[offset + i]
var tmp = list[offset]
list[offset] = el
list[offset + i] = tmp
offset++
retur... |
module.exports = function(req, res, next) {
res.locals.session = req.session;
res.locals.user = req.user;
next();
}; |
import ShelfFirst from 'layout-bin-packer/shelf-first';
import {formatPercentageStyle} from '../utils/style-generators';
import Ember from 'ember';
export default class MixedGrid
{
// How this layout works is by creating a fake grid that is 100px wide.
// Each item's width is set to be the size of the column. The ... |
/**
* @module $ScopeProvider.js
* @author Joe Groseclose <@benderTheCrime>
* @date 8/16/2015
*/
let handlers = [];
/**
* @desc $ScopeProvider is the parent class on which all of the content shared
* across the request can be shared. It also provides methods for messaging
* against and across the scope.
* @sin... |
/**
* jQuery UI Widget to enter weekly time rules using a 24/7 hours matrix
*
* @copyright 2020 (c) Sahana Software Foundation
* @license MIT
*/
(function($, undefined) {
"use strict";
/**
* Helper object to manage the weekly 24/7 hours matrix
*/
function HoursMatrix(rules) {
// In... |
// tests for imports.format module
const Format = imports.format;
const JSUnit = imports.jsUnit;
function testEscape() {
var foo = '%d%%'.format(10);
JSUnit.assertEquals("escaped '%'", "10%", foo);
}
function testStrings() {
var foo = '%s'.format("Foo");
var foobar = '%s %s'.format("Foo", "Bar");
... |
var Q = require('q');
var chai = require("chai");
var chaiAsPromised = require("chai-as-promised");
var sinon = require('sinon');
var sinonPromise = require('sinon-promise');
var PackageManager = require('../../lib/package-manager');
chai.should();
chai.use(require('chai-things'));
chai.use(chaiAsPromised);
sinonProm... |
Clazz.declarePackage ("J.appletjs");
Clazz.load (["J.api.JmolStatusListener", "$.JmolSyncInterface", "java.util.Hashtable"], "J.appletjs.Jmol", ["java.lang.Boolean", "java.net.URL", "javajs.awt.Dimension", "JU.List", "$.PT", "$.SB", "J.appletjs.JmolAppletRegistry", "J.constant.EnumCallback", "J.i18n.GT", "J.util.Escape... |
/**
* @fileoverview Validates JSDoc comments are syntactically correct
* @author Nicholas C. Zakas
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const rule = require(... |
/**
* @module myModule
* @summary: This module's purpose is to:
*
* @description:
*
* Author: Justin Mooser
* Created On: 2015-05-12.
* @license Apache-2.0
*/
"use strict";
module.exports = function(config) {
var appConfig = config,
config = config.webserver;
var express = require('express');
var ... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = typeFilter;
/**
* Construct a Type filter.
*
* @param {String} type Query value.
* @return {Object} Type filter.
*/
function typeFilter(type) {
return {
type: {
value: type
}
};
} |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2015 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* The Reset component allows a Game Object to be reset and repositioned to a new location.
*
* @class
*/
Ph... |
/*
* D2LValence package, js api.
*
* Copyright (c) 2012 Desire2Learn Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the license at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
/**
* segmented-controllers
* @param {type} $
* @param {type} window
* @param {type} document
* @param {type} undefined
* @returns {undefined}
*/
(function($, window, document, name, undefined) {
var CLASS_CONTROL_ITEM = $.className('control-item');
var CLASS_SEGMENTED_CONTROL = $.className('segmented-c... |
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( ["jquery", "../jquery.validate.js"], factory );
} else {
factory( jQuery );
}
}(function( $ ) {
/*
* Translated default messages for the jQuery validation plugin.
* Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
* Region: TW (Tai... |
/**
* @fileoverview Module Configuration
*
* @author Tony Parisi
*/
goog.provide('glam.Modules');
goog.require('glam.Component');
goog.require('glam.Object');
goog.require('glam.Application');
goog.require('glam.Service');
goog.require('glam.Services');
goog.require('glam.AnimationService');
goog.require('glam.In... |
'use strict';
angular.module('demoApp')
.controller('appCtrl', function($scope, $timeout, $mdSidenav, $log,$http,$state){
// ----- FROM MATERIAL ANGULAR
$scope.toggleRight = buildToggler('right');
function buildToggler(navID) {
return function() {
$mdSiden... |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styles = void 0;
var _extends2 = _int... |
$(function(){
$("#jquery-test").html("jQuery is loaded");
});
|
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("placeholder","et",{title:"Kohahoidja omadused",toolbar:"Kohahoidja loomine",name:"Placeholder Name",invalidName:"The placeholder can not be empt... |
// this is a utility loader that takes a *.vue file, parses it and returns
// the requested language block, e.g. the content inside <template>, for
// further processing.
const path = require('path')
const parse = require('./parser')
const loaderUtils = require('loader-utils')
module.exports = function (content) {
... |
if (typeof module === "object" && typeof require === "function") {
module.exports = {
testCase: require("./test-case"),
spec: require("./spec"),
testRunner: require("./test-runner"),
testContext: require("./test-context"),
reporters: require("./reporters"),
autoRun: r... |
"use strict";
exports.useMe1 = 123;
exports.useMe2 = 123;
exports.dontUseMe1 = 123;
exports.dontUseMe2 = 123;
|
module.exports = function enableAuthentication(server) {
// Enable Authen
server.enableAuth();
};
|
/*
* grunt-notify
* https://github.com/dylang/grunt-notify
*
* Copyright (c) 2013 Dylan Greene
* Licensed under the MIT license.
*/
'use strict';
var NOTIFY_TYPE = 'notify-send';
var path = require('path');
var spawn = require('../util/spawn');
var findApp = require('../util/findApp');
var DEFAULT_IMAGE = path.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.