code stringlengths 2 1.05M |
|---|
document.onclick = function(e) {
var symbol = document.createElement("div");
symbol.style.position = "absolute";
symbol.style.left = (e.pageX) + "px";
symbol.style.top = (e.pageY) + "px";
symbol.style.zIndex = 9999;
symbol.style.transition="all 1.5s";
symbol.style.border="1px red solid";
... |
/*global define*/
// ignore non-camel case decided by server
/* jshint -W106*/
define(['underscore', 'backbone'], function(_, Backbone) {
'use strict';
var UserRequestModel = Backbone.Model.extend({
url: function() {
return '/api/v2/cluster/' + this.get('cluster') + '/request/' + this.get('... |
import { Range } from 'monaco-editor';
import { throttle } from 'underscore';
import DirtyDiffWorker from './diff_worker';
import Disposable from '../common/disposable';
export const getDiffChangeType = change => {
if (change.modified) {
return 'modified';
} else if (change.added) {
return 'added';
} els... |
/**
* This file has been modified from its orginal sources.
*
* Copyright (c) 2012 Software in the Public Interest Inc (SPI)
* Copyright (c) 2012 David Pratt
*
* 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 ... |
// queue-flow Copyright (C) 2012-2013 by David Ellis
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify... |
/**
* Disallows space after object keys.
*
* Types: `Boolean` or `String`
*
* Values:
* - `true`
* - `"ignoreSingleLine"` ignores objects if the object only takes up a single line
* (*deprecated* use `"allExcept": [ "singleline" ]`)
* - `"ignoreMultiLine"` ignores objects if the object takes up multiple ... |
.factory('parseFilter', function () {
return function (expression) {
if (!expression) return {};
return _(expression.split(' and '))
.indexBy(function (d) {
return d.split(' ').slice(0, 2).join('');
})
.mapValues(parseFilter)
.value();
};
... |
/*
A class to parse color values
@author Stoyan Stefanov <sstoo@gmail.com>
@link http://www.phpied.com/rgb-color-parser-in-javascript/
Use it if you like it
canvg.js - Javascript SVG parser and renderer on Canvas
MIT Licensed
Gabe Lerner (gabelerner@gmail.com)
http://code.google.com/p/canvg/
Requires: rgb... |
const electron = require('electron')
const BrowserWindow = electron.BrowserWindow
const Menu = electron.Menu
const app = electron.app
let template = [{
label: 'Edit',
submenu: [{
label: 'Undo',
accelerator: 'CmdOrCtrl+Z',
role: 'undo'
}, {
label: 'Redo',
accelerator: 'Shift+CmdOrCtrl+Z',
... |
/*global window */
(function() {
"use strict";
var av, // The JSAV object
arrSize, // Full array size
arrdata = [], // The array to be sorted; keep for reset
answer = [], // Array that holds the correct order for the values
jsavInput, // JSAV array of i... |
// Flags: --expose-internals
'use strict';
const common = require('../common');
const assert = require('assert');
const net = require('net');
const fs = require('fs');
const { getSystemErrorName } = require('util');
const { internalBinding } = require('internal/test/binding');
const { TCP, constants: TCPConstants } = ... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
var _corejs2BuiltIns = _interopRequireDefault(require("../../../data/corejs2-built-ins.json"));
var _getPlatformSpecificDefault = _interopRequireDefault(require("./get-platform-specific-default"));
var _filter... |
/**
* Copyright 2013 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 agreed to ... |
/* @flow */
import type { Scope } from "babel-traverse";
import * as t from "babel-types";
export default function (decorators: Array<Object>, scope: Scope): Array<Object> {
for (let decorator of decorators) {
let expression = decorator.expression;
if (!t.isMemberExpression(expression)) continue;
let t... |
/**
* Comment
*
* @module :: Model
* @description :: A short summary of how this model works and what it represents.
* @docs :: http://sailsjs.org/#!documentation/models
*/
module.exports = {
attributes: {
author: 'string',
text: 'string'
}
};
|
(function (angular) {
const SECTION_NAME = "overview";
angular
.module("BrowserSync")
.controller("OverviewController", [
"options",
"pagesConfig",
OverviewController
]);
/**
* @param options
* @param pagesConfig
*/
function O... |
// The MIT License (MIT)
// Typed.js | Copyright (c) 2014 Matt Boldt | www.mattboldt.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... |
var searchData=
[
['kineticenergy',['kineticEnergy',['../interface_chipmunk_body.html#a256172d0da6749233e1018dea931fafb',1,'ChipmunkBody']]]
];
|
module.exports={A:{A:{"2":"CB","8":"K C G","129":"A B","161":"E"},B:{"129":"D u Y I M H"},C:{"1":"0 2 3 4 5 6 7 M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o p q r s t y z v","2":"1 VB","33":"F J K C G E A B D u Y I TB SB"},D:{"1":"0 2 3 4 5 6 7 f L h i j k l m n o p q r s t y z v HB g DB XB EB FB","33":"... |
var assert = require('assert');
var common = require('../../../common.js');
var MockServer = require('../../../lib/mockserver.js');
var Nightwatch = require('../../../lib/nightwatch.js');
var MochaTest = require('../../../lib/mochatest.js');
module.exports = MochaTest.add('client.screenshot', {
beforeEach: function ... |
'use strict';
exports = module.exports = function(app) {
app.utility = {};
app.utility.sendmail = require('./utilities/sendmail');
app.utility.slugify = require('./utilities/slugify');
app.utility.workflow = require('./utilities/workflow');
};
|
/**
* Copyright 2015 Google Inc. 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 required by appli... |
Package.describe({
name: "telescope:sitemap",
summary: "Sitemap package for Telescope",
version: "0.25.7",
git: "https://github.com/TelescopeJS/telescope-sitemap.git"
});
Package.onUse(function(api) {
api.versionsFrom("METEOR@1.0");
api.use([
"telescope:core@0.25.7",
"gadicohen:sitemaps@0.0.20"
... |
import { artworkGridRenders } from "../helpers/artworkGridRenders"
describe("/collection/:id", () => {
before(() => {
cy.visit("/collection/emerging-photographers")
})
it("renders metadata", () => {
cy.title().should("eq", "Emerging Photographers - For Sale on Artsy")
cy.get("meta[name='description'... |
/* See documentation on
https://github.com/frankrousseau/americano-cozy/#requests */
var americano = require('americano');
module.exports = {
template: {
// shortcut for emit doc._id, doc
all: americano.defaultRequests.all,
/* create all the requests you want!
This request will gives you the numbe... |
(function() {
'use strict';
app.controller('addEditUserCtrl', ['$uibModalInstance', 'api', 'constants', 'commonFactory', 'config', 'url',
function($uibModalInstance, api, constants, commonFactory, config, url) {
var addEditUser = this;
commonFactory.getRoles(function(response) {
... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @constructor
* @implements {WebInspector.Linkifier.LinkHandler}
*/
WebInspector.FrontendWebSocketAPI = function()
{
InspectorFrontendHost.eve... |
'use strict';
describe('longStackTraceZone', function () {
var log;
var lstz = zone.fork(Zone.longStackTraceZone).fork({
reporter: function reporter (trace) {
log.push(trace);
}
});
beforeEach(function () {
log = [];
});
it('should produce long stack traces', function (done) {
lstz... |
import Ember from "ember-metal/core";
import { assign } from "ember-metal/merge";
export default {
setupState(lastState, env, scope, params, hash) {
var type = env.hooks.getValue(hash.type);
var componentName = componentNameMap[type] || defaultComponentName;
Ember.assert("{{input type='checkbox'}} does ... |
'use strict';
const shouldSnapshotFilePath = require.resolve('./esm-snapshot.js');
require('./esm-snapshot.js');
require.cache[shouldSnapshotFilePath].exports++;
|
describe("BASIC CRUD SCENARIOS", function() {
require("./basic");
});
describe("CREATE SCENARIOS", function() {
require("./create");
});
|
import configuration from 'torii/configuration';
export default {
name: 'torii-walk-providers',
initialize: function(appInstance){
// Walk all configured providers and eagerly instantiate
// them. This gives providers with initialization side effects
// like facebook-connect a chance to load up assets.... |
// quarantine
var path = require('path');
var fs = require('fs');
exports.register = function () {
this.register_hook('queue','quarantine');
}
// http://unknownerror.net/2011-05/16260-nodejs-mkdirs-recursion-create-directory.html
var mkdirs = exports.mkdirs = function(dirpath, mode, callback) {
path.exists(d... |
import { moduleForComponent, test } from 'ember-qunit';
import Ember from 'ember';
moduleForComponent( 'sl-modal-header', 'Unit | Component | sl modal header', {
unit: true
});
test( 'Modal header class exists on child element', function( assert ) {
assert.equal(
this.$().find( '.modal-header' ).lengt... |
export default {
today: '今天',
now: '此刻',
backToToday: '返回今天',
ok: '确定',
timeSelect: '选择时间',
dateSelect: '选择日期',
clear: '清除',
month: '月',
year: '年',
previousMonth: '上个月 (翻页上键)',
nextMonth: '下个月 (翻页下键)',
monthSelect: '选择月份',
yearSelect: '选择年份',
decadeSelect: '选择年代',
yearFormat: 'YYYY年',
da... |
describe('Ideas Component', function(){
var TestUtils, idea;
beforeEach(function(){
TestUtils = React.addons.TestUtils;
idea = React.createElement(app.Idea, null);
idea = TestUtils.renderIntoDocument(idea);
});
it('should render the body', function(){
expect(idea.refs.body).to.be.ok();
});... |
module.exports = function(hljs) {
var IDENT_RE = '[a-zA-Z_$][a-zA-Z0-9_$]*';
var IDENT_FUNC_RETURN_TYPE_RE = '([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)';
var HAXE_BASIC_TYPES = 'Int Float String Bool Dynamic Void Array ';
return {
aliases: ['hx'],
keywords: {
keyword: 'break callback case cast cat... |
Clazz.declarePackage ("J.adapter.readers.pymol");
Clazz.load (["J.api.JmolSceneGenerator", "java.util.Hashtable", "JU.BS", "$.Lst", "$.P3"], "J.adapter.readers.pymol.PyMOLScene", ["java.lang.Boolean", "$.Double", "$.Float", "JU.AU", "$.CU", "$.PT", "$.SB", "J.adapter.readers.pymol.JmolObject", "$.PyMOL", "$.PyMOLGroup... |
var config = require('./webpack.build.js')
var webpack = require('webpack')
config.output.filename = config.output.filename.replace(/\.js$/, '.min.js')
delete config.devtool
config.plugins = [
new webpack.optimize.UglifyJsPlugin({
sourceMap: false,
drop_console: true,
compress: {
warnings: fal... |
module.exports={title:"Keras",slug:"keras",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Keras</title><path d="'+this.path+'"/></svg>'},path:"M24 0H0v24h24V0zM8.45 5.16l.2.17v6.24l6.46-6.45h1.96l.2.4-5.14 5.1 5.47 7.94-.2.3h-1.94l-4.65-6.88-2.16 2.08v4.6l-.19.2H7l-.2-.2V... |
/* version: 0.1.12 */
var Absurd = (function(w) {
var lib = {
api: {},
helpers: {},
plugins: {},
processors: {
css: { plugins: {}},
html: {
plugins: {},
helpers: {}
},
component: { plugins: {}}
}
};
var require = function(v) {
// css preprocessor
if(v.indexOf('css/CSS.js') > 0) ... |
/**
* Test hooks
*/
import expect from 'expect';
import configureStore from '../../store';
import { memoryHistory } from 'react-router';
import { put } from 'redux-saga/effects';
import { fromJS } from 'immutable';
import {
injectAsyncReducer,
injectAsyncSagas,
getHooks,
} from '../hooks';
// Fixtures
const... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _asyncToGenerator2;
function _load_asyncToGenerator() {
return _asyncToGenerator2 = _interopRequireDefault(require('babel-runtime/helpers/asyncToGenerator'));
}
var _constants;
function _load_constants() {
return _constants = _i... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S8.8_A2_T3;
* @section: 8.8;
* @assertion: Values of the List type are simply ordered sequences of values;
* @description: Call function, that concatenate all it`s arguments;... |
(function (factory) {
if (typeof module === 'object' && typeof module.exports === 'object') {
var v = factory(require, exports); if (v !== undefined) module.exports = v;
}
else if (typeof define === 'function' && define.amd) {
define(["require", "exports", '@angular/core'], factory);
}
}... |
angular.module('merchello.providers').controller('Merchello.Providers.Dialogs.PayPalProviderSettingsController',
['$scope', 'payPalProviderSettingsBuilder',
function($scope, payPalProviderSettingsBuilder) {
$scope.providerSettings = {};
function init() {
var json ... |
import app from 'flarum/app';
import FacebookSettingsModal from 'flarum/auth/facebook/components/FacebookSettingsModal';
app.initializers.add('flarum-auth-facebook', () => {
app.extensionSettings['flarum-auth-facebook'] = () => app.modal.show(new FacebookSettingsModal());
});
|
'use strict';
var util = require('util');
/**
* A collection of properties related to deferrable constraints. It can be used to
* make foreign key constraints deferrable and to set the constraints within a
* transaction. This is only supported in PostgreSQL.
*
* The foreign keys can be configured like this. It ... |
'use strict';
/* jasmine specs for directives go here */
|
var utils = require('./utils'),
dateFormatter = require('./dateformatter');
/**
* Helper method to recursively run a filter across an object/array and apply it to all of the object/array's values.
* @param {*} input
* @return {*}
* @private
*/
function iterateFilter(input) {
var self = this,
out = {};
... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'newpage', 'km', {
toolbar: 'ទំព័រថ្មី'
});
|
require('../../../support/spec_helper');
describe("Cucumber.Ast.Filter.ElementMatchingTagSpec", function() {
var Cucumber = requireLib('cucumber');
var spec, tagName;
beforeEach(function() {
tagName = "tag";
spec = Cucumber.Ast.Filter.ElementMatchingTagSpec(tagName);
});
describe("isMatching()", ... |
require('../../modules/es6.object.is-sealed');
module.exports = require('../../modules/$.core').Object.isSealed; |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.3-master-4413f14
*/
!function(e,t,o){"use strict";function n(e){function t(e,t){this.$scope=e,this.$element=t}return{restrict:"E",controller:["$scope","$element",t],link:function(t,o){o.addClass("_md"),e(o),t.$broadcast("$mdC... |
import * as types from './mutation_types';
export default {
[types.SHOW](state) {
state.isVisible = true;
},
[types.HIDE](state) {
state.isVisible = false;
},
[types.OPEN](state, data) {
state.data = data;
state.isVisible = true;
},
[types.CLOSE](state) {
state.data = null;
state.... |
OC.L10N.register(
"files_versions",
{
"Versions" : "Phiên bản",
"Failed to revert {file} to revision {timestamp}." : "Thất bại khi trở lại {file} khi sử đổi {timestamp}.",
"Restore" : "Khôi phục",
"No other versions available" : "Không có các phiên bản khác có sẵn"
},
"nplurals=1; plural=0;");
|
class DialogController {
constructor(mdPanelRef, loomApi, recruitUnitUtil) {
"ngInject";
this._mdPanelRef = mdPanelRef;
this.loomApi = loomApi;
this.recruitUnitUtil = recruitUnitUtil;
}
toggleContactMe(docId, repeatScope) {
console.log("confirmContactMe docId:" + docId);
var panelRef = t... |
Meteor.publish('currentRelease', function() {
if(Users.is.adminById(this.userId)){
return Releases.find({}, {sort: {createdAt: -1}, limit: 1});
}
return [];
});
|
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v18.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... |
function new_buf(len) {
/* jshint -W056 */
return new (typeof Buffer !== 'undefined' ? Buffer : Array)(len);
/* jshint +W056 */
}
var Base64 = (function make_b64(){
var map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
return {
/* (will need this for writing) encode: function(input, utf... |
/*!
* ui-grid - v4.5.0 - 2018-06-15
* Copyright (c) 2018 ; License: MIT
*/
(function () {
angular.module('ui.grid').config(['$provide', function($provide) {
$provide.decorator('i18nService', ['$delegate', function($delegate) {
$delegate.add('pl', {
headerCell: {
aria: {
de... |
/*
* Test the second finalizer argument, a boolean which is true if we're in
* heap destruction and cannot rescue the object.
*/
/*---
{
"custom": true
}
---*/
/*===
finalizer 2: object boolean false
finalizer 1: object boolean true
===*/
var obj1 = {};
Duktape.fin(obj1, function myFinalizer(o, heapDestruct... |
define(
//begin v1.x content
{
"field-tue-relative+-1": "letzten Dienstag",
"field-year": "Jahr",
"dateFormatItem-Hm": "HH:mm",
"field-wed-relative+0": "diesen Mittwoch",
"field-wed-relative+1": "nächsten Mittwoch",
"dateFormatItem-ms": "mm:ss",
"field-minute": "Minute",
"field-month-narrow-relative+-1": "letzt... |
/*!
* Copyright (c) 2017 NAVER Corp.
* @egjs/infinitegrid project is licensed under the MIT license
*
* @egjs/infinitegrid JavaScript library
* https://github.com/naver/egjs-infinitegrid
*
* @version 3.3.0
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && ... |
var Checker = require('../lib/checker');
var assert = require('assert');
describe('rules/disallow-right-sticked-operators', function() {
var checker;
beforeEach(function() {
checker = new Checker();
checker.registerDefaultRules();
});
it('should report sticky operator', function() {
... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom')) :
typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom'], factory) :
(factory((global.Reactstrap = global.Reactstrap || {}),global.React... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'liststyle', 'fa', {
armenian: 'شمارهگذاری ارمنی',
bulletedTitle: 'خصوصیات فهرست نقطهای',
circle: 'دایره',
decimal: 'دهدهی (۱، ۲، ۳، ...)',
dec... |
import './views/mentionsFlexTab.html';
import './views/mentionsFlexTab';
import './actionButton';
import './tabBar';
|
/*!
* Bootstrap-select v1.9.4 (http://silviomoreto.github.io/bootstrap-select)
*
* Copyright 2013-2016 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"ob... |
/* global define, require */
(function (root, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['seriously'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
factory(require('seriously'));
} else {
if (!root.Se... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v16.0.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... |
App = window.App || {};
App.Search = (function () {
var searchInput,
searchResults,
doSearch,
limit = 25,
paginationContainer;
var handleKeyEvent = function (event) {
App.InlineSearch.delay(function () {
searchResults.empty();
doSearch(searchInput.val());
}, 200);
};
var paginate = function (e... |
'use strict';
var lib = require('./lib');
var arrayFrom = Array.from;
var supportsIterators = typeof Symbol === 'function' && Symbol.iterator && typeof arrayFrom === 'function'; // Frames keep track of scoping both at compile-time and run-time so
// we know how to access variables. Block tags can introduce special
//... |
var gridInstance = (
<Grid fixed className="doc-g">
<Col sm={4}>4</Col>
<Col sm={8}>8</Col>
</Grid>
);
React.render(gridInstance, mountNode);
|
fixture `gh-856`
.page `http://localhost:3000/fixtures/regression/gh-856/pages/first.html`;
test('gh-856', async t => {
await t.click('#link');
});
test('gh-856 (iframe)', async t => {
await t
.switchToIframe('#iframe')
.click('#link');
});
|
test(
'atomic.themes.core.UrlTypeTest',
[
'tinymce.themes.inlite.core.UrlType'
],
function (UrlType) {
var testIsDomainLike = function () {
var mostUsedTopLevelDomains = [
'com', 'org', 'edu', 'gov', 'uk', 'net', 'ca', 'de', 'jp',
'fr', 'au', 'us', 'ru', 'ch', 'it', 'nl', 'se', 'no... |
/**
* (c) 2010-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import H from './Globals.js';
import './Utilities.js';
import './Color.js';
import './Legend.js';
import './Series.js';
import './Options.js';
var animObject = H.animObject,
color = H.color,
each = H.each,
extend... |
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.form.TimeSpinner"]){
dojo._hasResource["dojox.form.TimeSpinner"]=true;
dojo.provide("dojox.for... |
// @flow
import React from 'react';
class Foo extends React.Component<{bar: number}, void> {
static defaultProps = {bar: 42};
}
<Foo bar={42}/>; // OK
<Foo bar="42"/>; // Error
<Foo bar={undefined}/>; // OK: React will replace `undefined` with the default.
|
import 'ember';
import Ember from 'ember-metal/core';
import isEnabled from 'ember-metal/features';
import EmberHandlebars from 'ember-htmlbars/compat';
var compile = EmberHandlebars.compile;
var Router, App, router, registry, container;
function bootApplication() {
router = container.lookup('router:main');
Emb... |
var PriorityQueue = require('pomelo-collection').priorityQueue;
var id = 0;
/**
* The cache for pathfinding
*/
var PathCache = function(opts) {
this.id = id++;
this.limit = opts.limit||30000;
this.size = 0;
this.queue = new PriorityQueue(comparator);
this.cache = {};
};
var pro = PathCache.prototype;
/**
* G... |
/* jshint node:true */
'use strict';
var fs = require('fs');
var path = require('path');
module.exports = function() {
var js_dependencies =[
'bower_components/ace-builds/src-min-noconflict/ace.js',
'bower_components/ace-builds/src-min-noconflict/theme-twilight.js',
'bower_components/ace-builds/src-mi... |
;window.Modernizr=(function(window,document,undefined){var version='2.8.3',Modernizr={},enableClasses=true,docElement=document.documentElement,mod='modernizr',modElem=document.createElement(mod),mStyle=modElem.style,inputElem,toString={}.toString,prefixes=' -webkit- -moz- -o- -ms- '.split(' '),omPrefixes='Webkit Moz O ... |
Mithril = m = new function app(window) {
var selectorCache = {}
var type = {}.toString
var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g, attrParser = /\[(.+?)(?:=("|'|)(.+?)\2)?\]/
function m() {
var args = arguments
var hasAttrs = type.call(args[1]) == "[object Object]"
var attrs = hasAttrs ? args[1] : ... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... |
var deleteHooks = require('strider-github/lib/api').deleteHooks
module.exports = function (browser, callback) {
describe('Github Integration', function () {
var robot = {
username: 'strider-test-robot',
password: 'i0CheCtzY0yv4WP2o',
repo: 'strider-extension-loader',
token: 'df24805561a3... |
version https://git-lfs.github.com/spec/v1
oid sha256:c45f57a31572e24aae8775aab0936168c38fadab3b1e36d514ff91cbaac66b61
size 2664
|
YUI.add("axis-stacked-base",function(e,t){function n(){}n.NAME="stackedImpl",n.prototype={_type:"stacked",_updateMinAndMax:function(){var e=0,t=0,n=0,r=0,i=0,s=0,o,u,a=this.get("keys"),f=this.get("setMin"),l=this.get("setMax");for(o in a)a.hasOwnProperty(o)&&(i=Math.max(i,a[o].length));for(;s<i;++s){n=0,r=0;for(o in a)... |
"use strict";
function _foo() {
const data = babelHelpers.interopRequireDefault(require("foo"));
_foo = function () {
return data;
};
return data;
}
console.log(_foo().default);
|
import {
normalizeControllerQueryParams
} from '../utils';
QUnit.module('Routing query parameter utils - normalizeControllerQueryParams');
QUnit.test('converts array style into verbose object style', function(assert) {
let paramName = 'foo';
let params = [paramName];
let normalized = normalizeControllerQuery... |
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M250.4 464c1-7.9 1.6-15.9 1.6-23.9 0-48.1-18.7-94.3-52.7-128.3S119 260 70.9 260c-7.7 0-15.4.5-22.9 1.4 2.8 110.3 92.3 199.3 202.4 202.6z"/><path d="M230 74c0-8.3.5-16.4 1.4-24.5-95.3 11.7-171.7 89-182.2 184.7 7.2-.7 14.4-1.1 21.8-1.1 11... |
version https://git-lfs.github.com/spec/v1
oid sha256:2588e220aad2d951799d58aed97838ec0b7dee506d5653da3275db8d7d890c53
size 2241
|
(function () {
'use strict';
angular
.module('com.module.core')
/**
* @ngdoc function
* @name com.module.core.controller:LayoutCtrl
* @description Layout controller
* @requires $scope
* @requires $rootScope
* @requires CoreService
* @requires gettextCatalog
**/
.controller('LayoutC... |
/* ===================================================
* bootstrap-transition.js v2.2.0
* http://twitter.github.com/bootstrap/javascript.html#transitions
* ===================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... |
var doc = window.document,
promise,
ready
function GET(url, fn) {
var req = new XMLHttpRequest()
req.onreadystatechange = function() {
if (req.readyState == 4 && (req.status == 200 || (!req.status && req.responseText.length)))
fn(req.responseText)
}
req.open('GET', url, true)
req.send('')... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v11.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __prot... |
/* @flow */
import { noop } from 'shared/util'
import { warn, tip } from 'core/util/debug'
type CompiledFunctionResult = {
render: Function;
staticRenderFns: Array<Function>;
};
function createFunction (code, errors) {
try {
return new Function(code)
} catch (err) {
errors.push({ err, code })
ret... |
'use strict';
module.exports =
angular
.module('diDocuments', [
'diDocuments.service',
'diDocuments.export'
])
.controller('Documents', function($scope, $timeout, $rootScope, userService, documentsService) {
var vm = this;
vm.status = {
import: true,
save: true,
linkUnlink: ... |
version https://git-lfs.github.com/spec/v1
oid sha256:d4784d79e81a0e28efa12f69aea1ef10fc49479fe5f14feab93caa788b7f8e1c
size 5929
|
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js
*
* Copyright (c) 2009-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.