code stringlengths 2 1.05M |
|---|
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.... |
"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")... |
import Root from '../../test-one';
export default Root.extend({
});
|
module.exports = {
dropboxToken: '13gewJLr2kEAAAAAAAFJflobApcRb2Ok-tkj1XgbA8QLArqzjCMSoQ0CcSH-9jnW'
};
|
'use strict';
var config = require('./config');
var exec = require('sync-exec');
var fs = require('fs');
var path = require('path');
function rel(relPath) {
return path.join(__dirname, relPath);
}
// build
require('./build');
// set CNAME
if (config.host) {
fs.writeFileSync(rel('build/CNAME'), config.host);
}
... |
(function() {
$('#search').on('keypress', function(event) {
if (event.which !== 13) {
return;
}
event.preventDefault();
return $('#google').submit();
});
}).call(this);
|
'use strict';
var viewsManager = require('./views/manager');
var connectionView = require('./views/connection');
var debuggerView = require('./views/debugger');
viewsManager.add(connectionView);
viewsManager.add(debuggerView);
viewsManager.setDefault(connectionView);
viewsManager.run();
|
/**
* Base class for creating image space post-processing render stages.
*/
var PostProcess = RenderStage.extend({
init: function() {
this._super();
this.material = false;
},
onPostRender: function(context, scene, camera) {
if (!(this.parent instanceof PostProcessRenderStage))
throw "PostProcess can only... |
'use strict';
var _getIterator = require('babel-runtime/core-js/get-iterator')['default'];
var _Object$keys = require('babel-runtime/core-js/object/keys')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
Object.defineProperty(exports, '__esModule', {
val... |
'use strict';
/* jshint unused:false */
var directivesModule = require('./_index.js');
directivesModule.directive('debuggedLink', ['DebugLinkService', '$timeout', function(DebugLinkService, $timeout) {
/**
* In short if the return debugged data type is 'link'
* Meaning no videos, or complicated iframe
* Rend... |
var WEIGHT_MASS = 3.5;
var WEIGHT_WIDTH = 70;
var WEIGHT_HEIGHT = 66.5;
var WEIGHT_FRICTION = 3;
var TUBE_WIDTH = 250;
var TUBE_WALL_WIDTH = 10;
var TUBE_HEIGHT = 268;
var BASE_WIDTH = 268;
var BASE_HEIGHT = 60;
var BASE_Y_OFFSET = 60;
var TOP_WIDTH = 165;
var TOP_HEIGHT = 110;
var WEIGHT_BOTTOM_MINOR_RADIUS = 0;
var ... |
const qs = require('querystring')
const { trimEnd, endsWith } = require('lodash')
/**
* Removes trailing slashes.
*
* Taken from 'Slashify' (https://www.npmjs.com/package/slashify), but fixes a
* security bug whereby users could be redirected to another domain. The fix
* validates that the resulting url does not ... |
var N = require('libnested')
var assertGiven = require('./assertGiven')
var getNeeded = require('./entry')
var eachModule = require('./each')
module.exports = function combine () {
var nestedModules = Array.prototype.slice.call(arguments)
var modules = flattenNested(nestedModules)
assertDependencies(modules)
... |
import React from 'react';
import PropTypes from 'prop-types';
import debounce from 'lodash.debounce';
import PropForm from './PropForm';
import Types from './types';
const getTimestamp = () => +new Date();
const styles = {
panelWrapper: {
width: '100%',
},
panel: {
padding: '5px',
width: 'auto',
... |
/*
Prologue by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
(function($) {
$('li.dropdown').click(function() {
$(this).find('ul').first().toggle(500);
});
$("#personalMessage").on('keyup', function(){
... |
function supportsSVG() {
"use strict";
return !! document.createElementNS && !! document.createElementNS('http://www.w3.org/2000/svg','svg').createSVGRect;
}
if (supportsSVG()) {
document.documentElement.className += ' svg';
var themesLogo = document.getElementById("themesLogo");
}
else {
document.documentEle... |
var ds = new Miso.Dataset({
data: [
{ one : 1, two : 4, three : 7 }
]
});
ds.fetch({
success: function() {
this.addColumn({
type: 'string',
name: 'four'
});
log(this.columnNames());
}
});
|
module.exports = {
'name': 'factorial',
'category': 'Probability',
'syntax': [
'x!',
'factorial(x)'
],
'description': 'Compute the factorial of a value',
'examples': [
'5!',
'5*4*3*2*1',
'3!'
],
'seealso': []
};
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _AbstractDoc = require('./AbstractDoc.js');
var _AbstractDoc2 = _interopRequireDefault(_AbstractDoc);
var _babelGenerator = require('babel-generator');
var _babelGenerator2 = _interopRequireDefault(_babelGenerator);
function _inter... |
// Generated by CoffeeScript 1.8.0
/*
For the box info
*/
$('form[name="songQuery"]').submit(function(event) {
var data;
console.log('Submitted query');
data = {
query: $('input[name="songQuery"]').val(),
edisonId: $('#edisonId').val()
};
if (data.query.trim().length <= 0) {
alert('Query Require... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M21 23c-1.03 0-2.06-.25-3-.75-1.89 1-4.11 1-6 0-1.89 1-4.11 1-6 0-.95.5-1.97.75-3 .75H2v-2h1c1.04 0 2.08-.35 3-1 1.83 1.3 4.17 1.3 6 0 1.83 1.3 4.17 1.3 6 0... |
(function($) {
$.extend($.summernote.lang, {
'hu-HU': {
font: {
bold: 'Félkövér',
italic: 'Dőlt',
underline: 'Aláhúzott',
strikethrough: 'Áthúzott',
clear: 'Formázás törlése',
height: 'Sorköz... |
// flow-typed signature: 96e92fa5db64feead2e6ed81bd4a7556
// flow-typed version: <<STUB>>/electron-devtools-installer_v^2.0.1/flow_v0.37.0
/**
* This is an autogenerated libdef stub for:
*
* 'electron-devtools-installer'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourag... |
//Author : @arboshiki
/**
* Generates random string of n length.
* String contains only letters and numbers
*
* @param {int} n
* @returns {String}
*/
Math.randomString = function(n) {
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (var i = 0... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import { themr } from 'react-css-themr';
import { MENU } from '../identifiers';
import InjectIconButton from '../button/IconButton';
import InjectMenu from './Menu';
const factory = (IconButton, Menu) => ... |
import {dataJoin} from 'd3fc-data-join';
import {area as areaShape} from 'd3-shape';
import {select} from 'd3-selection';
import {rebind, exclude, rebindAll} from 'd3fc-rebind';
import xyBase from '../xyBase';
import colors from '../colors';
export default () => {
const base = xyBase();
const areaData = areaS... |
/**
@class Seemple
@module seemple/seemple
@importance 1
@lang ru
@see {@link Seemple.Class}
@classdesc Класс ``Seemple`` - ядро фреймворка Seemple.js, от которого наследуются {@link Seemple.Array}, {@link Seemple.Object} и каждый класс создаваемого приложения. Он содержит основной функционал фреймворка: {@link Seemple... |
'use strict';
var path = require('path')
, trycatch = require('trycatch')
, test = require('tap').test
, helper = require(path.join(__dirname, '..', '..', 'lib', 'agent_helper'))
, params = require('../../lib/params')
;
/*
*
* CONSTANTS
*
*/
// centrally control how long we're willing to wa... |
/*!
* CanJS - 2.2.7
* http://canjs.com/
* Copyright (c) 2015 Bitovi
* Fri, 24 Jul 2015 20:57:32 GMT
* Licensed MIT
*/
/*can@2.2.7#view/callbacks/callbacks*/
var can = require('../../util/util.js');
require('../view.js');
var attr = can.view.attr = function (attributeName, attrHandler) {
if (attrHandler) ... |
version https://git-lfs.github.com/spec/v1
oid sha256:db3de28781ad075ec0794f6f933f197e2f75ffd851754a023a81ca9bcbade6f8
size 3403
|
var TimeSlider = Backbone.View.extend({
initialize: function() {
this.$el = $('#first-chart-container');
this.template = JST["templates/time-slider/timeSliderTemplate"];
},
render: function() {
this.$el.prepend(this.template);
$("#slider").slider({
value: 30,
step: 1,
min: 1,
... |
'use strict';
module.exports.handler = function(event, context, cb) {
console.log('Received sns message', event);
return cb(null, { message: 'success' });
};
|
module.exports = {
"Envelope":{
"id":"Envelope",
"properties":{
"response":[
"Person",
"Movie",
"Genre",
"List[Person]",
"List[Movie]",
"List[Genre]",
],
"responseTime":"integer",
"name":{
"type":"string"
}
}
},
"Cou... |
/*!
* Localized default methods for the jQuery validation plugin.
* Locale: PT_BR
*/
jQuery.extend(jQuery.validator.methods,{date:function(b,a){return this.optional(a)||/^\d\d?\/\d\d?\/\d\d\d?\d?$/.test(b)}}); |
"use strict";
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 __decorate = (this && this.__decorate) || fu... |
$(function() {
// clear search fields and results
function clearLdapPersonSearchForm() {
$('#first_name').val('');
$('#last_name').val('');
$("#lps-results").empty();
$('#matches').empty();
}
function setHiddenField(link, dataAttribute) {
var selector = '#' + dataAttribute;
var val... |
/**
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
// This file contains style definitions that can be used by CKEditor plugins.
//
// The most common use for it is the "stylescombo" plugin, which shows a combo
// in t... |
jQuery(function(e){e.datepicker.regional["uk"]={closeText:"Закрити",prevText:"<",nextText:">",currentText:"Сьогодні",monthNames:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthNamesShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","С... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M12 11H6V7H4v10h2v-4h6v4h2V7h-2v4zm10 0h-2V9h-2v2h-2v2h2v2h2v-2h2v-2z"
}), 'HPlusMobiledata'); |
(function (Prism) {
// CAREFUL!
// The following patterns are concatenated, so the group referenced by a back reference is non-obvious!
var strings = [
// normal string
// 1 capturing group
/(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1/.source,
// here doc
// 2 capturing groups
/<<-?\s*(["']?... |
/*global assert*/
var rfs = require("../lib/rfs");
exports.name = "fork-input-bidi-plaintext";
exports.landscape = "W3C HTML applies <code><a href='#bidi-rendering'>unicode-bidi: plaintext</a></code> to input elements.";
exports.transform = function (data) {
var $pre = assert("CSS <pre> in bidi rendering",
... |
/*global angular */
(function () {
'use strict';
angular.module('sky.keyinfo.component', [])
.component('bbKeyInfo', {
bindings: {
bbKeyInfoLayout: '@?'
},
templateUrl: 'sky/templates/keyinfo/keyinfo.component.html',
transclude: {
... |
// Testacular configuration
// Generated on Fri Sep 21 2012 14:51:44 GMT-0500 (CDT)
// base path, that will be used to resolve files and exclude
basePath = '';
// list of files / patterns to load in the browser
files = [
JASMINE,
JASMINE_ADAPTER,
'public/application.js',
'test/public/specs.js'
];
// list ... |
const { exec } = require("child_process");
const sky = require("./sky/sky");
module.exports = {
shutdown: () => {
sky.scriptedPhrase("shutdown").then(() => {
exec("shutdown -P 0")
});
},
reboot: () => {
sky.scriptedPhrase("reboot").then(() => {
exec("reboot");
});
},
lock: () => {... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Provides methods used for getting and setting the Scroll Factor of a Game Object.
*
* @namespace Phaser.GameObjects.Components.ScrollFa... |
#!/usr/bin/env node
"use strict";
var program = require('commander'),
querystring = require('querystring'),
chalk = require('chalk'),
https = require('https'),
peristream = require('peristream');
var PERISCOPE_URL_RE = /^https:\/\/www.periscope.tv\/w\/*/i,
DELTA_POST = 400, // Sending post request... |
import { takeEvery } from 'redux-saga'
import { put, take, fork } from 'redux-saga/effects'
import * as actions from '../actions/actions.js'
import * as constants from '../constants/constants.js'
import * as helper from '../utils/host.js'
import { Map, List } from 'immutable'
import BigNumber from 'bignumber.js'
// si... |
function onDeleteButtonClicked(){
var cities = document.getElementsByClassName('city');
if(cities.length > 0){
cities[0].remove();
}else{
document.getElementById('count').innerHTML = 'No city to remove!';
}
}
function onShuffleButtonClicked(){
//var seq = ['london','paris','tokyo',... |
export function fetchWelcomeText() {
return {
type: "FETCH_WELCOME_TEXT_FULFILLED",
payload: {
welcomeText: "Develope UI-Elements with React"
}
}
} |
import appEvents from '../service/appEvents.js';
import eventify from 'ngraph.events';
import scene from '../store/scene.js';
import qs from 'qs';
var defaultConfig = {
pos: {x : 0, y: 0, z: 0 },
lookAt: {x: 0, y: 0, z: 0, w: 1},
showLinks: true,
maxVisibleDistance: 150,
scale: 1.75,
manifestVersion: 0
};... |
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'filetools', 'es', {
loadError: 'Ha ocurrido un error durante la lectura del archivo.',
networkError: 'Error de ... |
"use strict";
var _getPrototypeOf = require("babel-runtime/core-js/object/get-prototype-of");
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck");
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
var _possibleConstru... |
var bubu ={ s64:"713",s65:"2442",s11:"3227",s12:"2234",s13:"8159",s14:"3504",s15:"3318",s21:"5371",s22:"4448",s23:"4954",s31:"4465",s32:"9525",s33:"6300",s34:"6306",s35:"4666",s36:"5466",s37:"11388",s41:"11547",s42:"8823",s43:"8204",s44:"10078",s45:"5459",s46:"1240",s50:"2804",s51:"8409",s52:"2732",s53:"2923",s54:"71",... |
/**
@module ember
@submodule ember-htmlbars
*/
import Ember from "ember-metal/core"; // Ember.assert
import { dasherize } from "ember-template-compiler/system/string";
/**
An HTMLBars AST transformation that replaces all instances of
{{bind-attr}} helpers with the equivalent HTMLBars-style bound
attributes. For... |
const DrawCard = require('../../drawcard.js');
class Halder extends DrawCard {
setupCardAbilities(ability) {
this.action({
title: 'Kneel a location or attachment',
cost: ability.costs.kneel(card => (
card.isFaction('thenightswatch') &&
(card.getType()... |
var helpers = function(swig){};
module.exports = helpers; |
mainApp.controller('mainController', function($scope) {
});
|
"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 bundleTypes = {
UMD_DEV: 'UMD_DEV',
UMD_PROD: 'UMD_PROD',
UMD_PROFILING: 'UMD_PROFILING',
NODE_DEV: 'NODE_DEV',
NODE_PROD: 'NODE_PROD',
NODE_PROFILING: 'NODE_PROFILING',
FB_WWW_DEV: 'FB_WWW_DEV',
FB_WWW_PROD: 'FB_WWW_PROD',
FB_WWW_PROFILING: 'FB_WWW_PROFILING',
RN_OSS_DEV: 'RN_O... |
'use strict';
import { patchOption } from './patch';
import { configManager } from './configManager';
import { downloadTheme,
streamTheme,
backupTheme } from './interface';
import { checkPackageVersion } from './cli/packageVersion';
import { startBrowser,
startBrowserSync } from './tools/brow... |
var fs = require('fs');
var Vert = fs.readFileSync(__dirname + '/glsl/Diffuse.vert', 'utf8');
var Frag = fs.readFileSync(__dirname + '/glsl/Diffuse.frag', 'utf8');
module.exports = function(ctx) {
return ctx.createProgram(Vert, Frag);
}
module.exports.Vert = Vert;
module.exports.Frag = Frag;
|
/*
* Apache 2.0 License
*
* Copyright (c) Sebastian Katzer 2017
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apache License
* Version 2.0 (the 'License'). You may not use this file except in
* compliance with the License. Please obtain a ... |
"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")... |
import ButtonSelect from 'ember-button-select/components/button-select';
export default ButtonSelect;
|
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.myBundle = {})));
}(this, (function (exports) { 'use strict';
var x = {foo: 'bar'};
delete x.foo;
delete gl... |
var script=$("script.abp").get(-1);if(script){for(var query=script.src.replace(/^[^\?]+\??/,"").split("&"),params={},i=0;i<query.length;i++){var param=query[i].split("=");params[param[0]]=param[1]}1==params.ch?usesABP=!0:2==params.ch&&(usesABP=!1)}
//# sourceMappingURL=px.js.map |
define(["exports", "foo"], function (_exports, _foo) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
value: true
});
Object.defineProperty(_exports, "bar", {
enumerable: true,
get: function () {
return _foo.bar;
}
});
Object.defineProperty(_exports, "foo", {
enumer... |
// Copyright, 2013-2014, by Tomas Korcak. <korczis@gmail.com>
//
// 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, cop... |
import { isObject, isFunction } from 'utils/is';
import { warnOnceIfDebug } from 'utils/log';
import { splitKeypath } from 'shared/keypaths';
import resolveReference from 'src/view/resolvers/resolveReference';
import Observer from './observe/Observer';
import PatternObserver from './observe/Pattern';
import ArrayObserv... |
// URL parsing and validation
// RPC to server (endpoint, arguments)
// see if RPC requires password
// prompt for password
// send RPC with or without password as required
var qs = require('querystring');
var files = require('./fs/files.js');
var httpHelpers = require('./utils/http-helpers.js');
var buildmessage = re... |
/* eslint-disable max-len, no-var */
var progressiveReveal = require('../../../../frontend/toolkit/assets/javascript/progressive-reveal');
var $ = require('jquery');
describe('Progressive Reveal', function () {
it('exports a function', function () {
progressiveReveal.should.be.a('function');
});
describe('... |
import omit from 'lodash/fp/omit'
import mapProps from 'recompose/mapProps'
export default keys => mapProps(props => omit(keys, props))
|
import Promise from 'bluebird';
import glob from 'glob';
export default function (path, server) {
return new Promise(function (resolve, reject) {
glob(path, { ignore: '**/__test__/**' }, function (err, files) {
if (err) return reject(err);
var modules = files.map(require);
modules.forEach(funct... |
/**
* Module dependencies.
*/
var express = require('express');
var ejs = require('ejs');
var http = require('http');
var path = require('path');
var routes = require('./routes');
var app = express()
// 静态文件目录
var staticDir = path.join(__dirname, 'public');
dbPool = require('./core/db');
db = undefined;
dbPool.... |
// file: bwipp/channelcode.js
//
// This code was automatically generated from:
// Barcode Writer in Pure PostScript - Version 2015-03-24
//
// Copyright (c) 2011-2015 Mark Warren
// Copyright (c) 2004-2014 Terry Burton
//
// See the LICENSE file in the bwip-js root directory
// for the extended copyright notice.
// BE... |
'use strict';
/**
* Storage内容仓库模块
* @module zrender/Storage
* @author Kener (@Kener-林峰, kener.linfeng@gmail.com)
* @author errorrik (errorrik@gmail.com)
* @author pissang (https://github.com/pissang/)
*/
var util = require('./core/util');
var env = require('./core/env');
var Group = require('./cont... |
/**
* Blockly Demo: Storage
*
* Copyright 2012 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/LICE... |
version https://git-lfs.github.com/spec/v1
oid sha256:370aa4c5fff83a07e3fa5ad7fee43ee16e9489a09e16dc9d6aa1d19688d5da1f
size 1057
|
var notify = require("gulp-notify")
module.exports = function (errorObject, callback) {
notify.onError(errorObject.toString().split(': ').join(':\n')).apply(this, arguments)
// Keep gulp from hanging on this task
if (typeof this.emit === 'function') this.emit('end')
}
|
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... |
/*
* /MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js
*
* Copyright (c) 2009-2013 The MathJax Consortium
*
* 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
... |
import Route from '@ember/routing/route';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
import VisualizationsRouteMixin from 'ilios-common/mixins/course-visualizations-route';
export default Route.extend(AuthenticatedRouteMixin, VisualizationsRouteMixin, {
});
|
// WIZARD ===============================================================================
jQuery(function($) {
// Basic wizard with validation
$("#survey_container").wizard({
stepsWrapper: "#wrapped",
submit: ".submit",
beforeSelect: function( event, state ) {
var inputs = $(this).wizard('... |
"use strict";
var _ = require('underscore');
var Cell = (function () {
function Cell(value, row, column, dataSet, isPopOver) {
this.value = value;
this.row = row;
this.column = column;
this.dataSet = dataSet;
this.newValue = '';
this.isVisible = true;
this.par... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
(function(){function g(a,b,g,h,j,n,l,o){for(var p=a.config,k=new CKEDITOR.style(l),c=j.split(";"),j=[],f={},d=0;d<c.length;d++){var e=c[d];if(e){var e=e.split("/"),m={},i... |
/* jshint expr:true */
import { expect } from 'chai';
import {
describeComponent,
it
} from 'ember-mocha';
import hbs from 'htmlbars-inline-precompile';
describeComponent(
'shell/window/status-bar',
'Integration: ShellWindowStatusBarComponent',
{
integration: true
},
function() {
it('renders', fu... |
/**
* Copyright 2013-2014 Facebook, 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
*
* Unless required by applicable law or agree... |
OIMO.Quat = function( s, x, y, z){
this.s=( s !== undefined ) ? s : 1;
this.x=x || 0;
this.y=y || 0;
this.z=z || 0;
};
OIMO.Quat.prototype = {
constructor: OIMO.Quat,
init:function(s,x,y,z){
this.s=( s !== undefined ) ? s : 1;
this.x=x || 0;
this.y=y || 0;
this... |
var express = require('express');
var config = require('./config/config');
var app = express();
require('./config/express')(app, config, function () {
require('./config/routes')(app);
app.listen(config.port);
console.log("> Application Running #", config.port);
}); |
/**
* 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.
*
* @flow
*/
import type {AnyNativeEvent} from '../events/PluginModuleType';
import type {Container, SuspenseInstance} from '../cli... |
#!/usr/bin/env node
// Imports
const {readFileSync, writeFileSync} = require('fs');
const {join, resolve} = require('path');
// Constants
const CI_PREVIEW = process.env.CI_PREVIEW;
const PR_NUMBER = process.env.CIRCLE_PR_NUMBER || process.env.CIRCLE_PULL_REQUEST_NUMBER;
const SHORT_SHA = process.env.SHORT_GIT_HASH;
c... |
import Node from './node';
export default function Ternary(yes, no) {
this.yes = yes;
this.no = no;
}
Ternary.prototype[Node.isExpressionOrIdentifierSymbol] = true;
Ternary.prototype.get_value = function () { return this; };
|
/**
* Owl2 carousel2
* @version 2.0.0
* @author Bartosz Wojciechowski
* @license The MIT License (MIT)
* @todo Lazy Load Icon
* @todo prevent animationend bubling
* @todo itemsScaleUp
* @todo Test Zepto
* @todo stagePadding calculate wrong active classes
*/
;(function($, window, document, undefined) {
va... |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([ 'module', 'angular' ], function (module, angular) {
module.exports = factory(angular);
});
} else if (typeof module === 'object') {
module.exports = factory(require('angular'));
... |
angular.module('ippon').controller('HomePageController',['$scope','$stateParams',
function($scope,$stateParams){
}]);
|
import extend from 'extend'
import rump from 'rump'
import webpack from './webpack'
import {aliases, glob, loaders} from './file'
const dropConsoleKey = 'drop_console',
dropDebuggerKey = 'drop_debugger',
{configs} = rump
rebuild()
export function rebuild() {
configs.main.globs = extend(true, {build: {
... |
//
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// 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 requi... |
var searchData=
[
['open',['open',['../interface_p_b_smartcard.html#aaab14c5d3c8b1e8b088168bdbd473ebd',1,'PBSmartcard']]],
['openwithdisabledbackgroundmanagement',['openWithDisabledBackgroundManagement',['../interface_p_b_smartcard.html#a14b46dcb5d5235536ee5117e508631a7',1,'PBSmartcard']]]
];
|
/*!
SerializeJSON jQuery plugin.
https://github.com/marioizquierdo/jquery.serializeJSON
version 2.8.1 (Dec, 2016)
Copyright (c) 2012, 2017 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.
*/
(f... |
var gzippo = require('gzippo');
var express = require('express');
var app = express();
//app.use(express.logger('dev'));
app.use(gzippo.staticGzip("" + __dirname + "/dist"));
app.listen(process.env.PORT || 5000); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.