code stringlengths 2 1.05M |
|---|
/**
* Function bind polyfill
* https://github.com/ariya/phantomjs/issues/10522
*/
if (!Function.prototype.bind) {
Function.prototype.bind = function (context /* ...args */) {
var fn = this;
var args = Array.prototype.slice.call(arguments, 1);
if (typeof(fn) !== "function") {
throw new TypeError... |
/**
* Initialize the state for the It's A Trap script.
*/
(() => {
'use strict';
/**
* The ItsATrap state data.
* @typedef {object} ItsATrapState
* @property {object} noticedTraps
* The set of IDs for traps that have been noticed by passive perception.
* @property {string} theme
* ... |
import * as angular from 'angular'
import * as angularMaterial from 'angular-material'
const raiz = "./componentes/portada/lista-tareas/"
const nombreComponente = 'filaTarea'
const nombreFichero = 'fila-tarea'
angular.module(nombreComponente, ['ngMaterial'])
.component(nombreComponente, {
templateUrl: `${raiz}$... |
import { rgba } from 'polished';
export const getLinkStyles = theme => ({
color: theme.color.control.base,
textShadow:
`0 0 ${theme.shadowLength}px ` +
rgba(theme.color.control.base, theme.alpha),
transition: `color ${theme.animTime}ms ease-out`,
textDecoration: 'none',
cursor: 'pointer',
'&:hover... |
version https://git-lfs.github.com/spec/v1
oid sha256:4227ea60d439f0000142654edfddbca6030cf1c07d460a347957446c22226705
size 2934
|
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
function render() {
return <div>
{/* child */}
</div>;
}
|
'use strict';
var fs = require('fs');
var path = require('path');
var deprecate = require('../utilities/deprecate');
var assign = require('lodash-node/modern/objects/assign');
function Addon(project) {
this.project = project;
}
Addon.__proto__ = require('./core-object');
Addon.prototype.constructor ... |
module.exports = function calcAtRulePatternPriority(pattern, node) {
// 0 — it pattern doesn't match
// 1 — pattern without `name` and `hasBlock`
// 10010 — pattern match `hasBlock`
// 10100 — pattern match `name`
// 20110 — pattern match `name` and `hasBlock`
// 21100 — patter match `name` and `parameter`
// 31... |
// Legacy package export for non-esm environments
require('./_interopReexport')(module.exports, require('./lib/_exports/_internal'))
|
'use strict';
var should = require('chai').should();
var Node = require('../lib/node');
var chainData = require('./data/chain.json');
var Block = require('../lib/block');
var async = require('async');
var memdown = require('memdown');
describe('P2P Integration test', function() {
var node1;
var node2;
var node1... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'eo', {
alt: 'Paĝavanco',
toolbar: 'Enmeti Paĝavancon por Presado'
});
|
// steals the 3 things neded
if ( window.location.search.indexOf("DIST=1") > -1 ) {
steal("can/util/jquery/jquery.1.8.1.js").then("can/dist/edge/can.jquery.js");
} else {
steal(
'can/model',
'can/control/route',
'can/view/ejs'
).then(
'can/util/exports.js'
);
}
|
/* Dashicons Picker */
(function($) {
$.fn.dashiconsPicker = function( options ) {
var icons = [
"menu",
"site",
"gauge",
"admin-dashboard",
"admin-post",
"admin-media",
"admin-links",
"admin-page",
"admin-comments",
"admin-appearance",
"admin-plugins",
"admin-users",
"admin-... |
/*!
* jQuery JavaScript Library v2.1.1 -dimensions,-effects,-effects/Tween,-effects/animatedSelector,-event-alias,-css/hiddenVisibleSelectors
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT licens... |
/**
* Description : This is a test suite that tests an LRS endpoint based on the testing requirements document
* found at https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md
*
* https://github.com/adlnet/xAPI_LRS_Test/blob/master/TestingRequirements.md
*
*/
(function (module) {
"use str... |
// Javascripts here |
var gulp = require('gulp');
var concat = require('gulp-concat');
var minify = require('gulp-minify');
var insert = require('gulp-insert');
gulp.task('default', function() {
var src = [
'app/models/base.js',
'app/models/inflection.js',
'app/models/i18n.js',
'app/models/error.js',
'app/models/clas... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'undo', 'lt', {
redo: 'Atstatyti',
undo: 'Atšaukti'
});
|
/*!
JSZipUtils - A collection of cross-browser utilities to go along with JSZip.
<http://stuk.github.io/jszip-utils>
(c) 2014 Stuart Knightley, David Duponchel
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown.
*/
|
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import * as React from 'react';
import clsx from 'clsx';
import PropTypes from 'prop-types';
import NativeSelectInput from './NativeSelectInput';
import formControlState ... |
describe('ReferenceField', function() {
var choiceDirective = require('../../../../ng-admin/Crud/field/maChoiceField');
var referenceDirective = require('../../../../ng-admin/Crud/field/maReferenceField');
var ReferenceField = require('admin-config/lib/Field/ReferenceField');
var mixins = require('../..... |
asynctest(
'browser.AutoCompleteTest',
[
'ephox.agar.api.Chain',
'ephox.agar.api.FocusTools',
'ephox.agar.api.GeneralSteps',
'ephox.agar.api.Keyboard',
'ephox.agar.api.Keys',
'ephox.agar.api.Pipeline',
'ephox.agar.api.UiControls',
'ephox.agar.api.UiFinder',
'ephox.mcagar.api.Tiny... |
# Phần 5.Các loại phương tiện truyền dẫn trong LANs.
=================================================
1. |
/**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... |
// Invoke 'strict' JavaScript mode
'use strict';
// Create the 'articles' module
angular.module('dashboards', ['ui.directives','720kb.datepicker','ui.timepicker','ngDialog','angular-svg-round-progress']); |
YUI.add('aui-datatable-edit', function (A, NAME) {
/**
* The Datatable Component
*
* @module aui-datatable
* @submodule aui-datatable-edit
*/
var Lang = A.Lang,
AArray = A.Array,
isArray = Lang.isArray,
isBoolean = Lang.isBoolean,
isFunction = Lang.isFunction,
isObject = Lang.isObject,
is... |
"use strict";
bmApp.controller('AdminDeleteBookCtrl', function ($scope, $routeParams, $location, BookDataService) {
var isbn = $routeParams.isbn;
$scope.book = BookDataService.getBookByIsbn(isbn);
$scope.deleteBook = function(isbn) {
BookDataService.deleteBookByIsbn(isbn);
goToAdminListVie... |
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<ff40aed3600a349a81c8d336ef25c383>>
* @flow
* @lightSyntaxTransform
* @nogrep
*/
/* eslint-disabl... |
"use strict";
/*!
* Copyright 2016 The ANTLR Project. All rights reserved.
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3... |
"use strict";
var $ = require("jquery");
var Plugin = require("../modules/Plugin");
var dubtrackfm = Object.create(Plugin);
dubtrackfm.init("dubtrackfm", "Dubtrack.fm", new RegExp("dubtrack\\.fm", "i"));
dubtrackfm.scrape = function () {
var info = {};
var player = $("#player-controller");
... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports... |
'use strict';
var HelloFileSystem = require('../../../src/node/HelloFileSystem');
describe("HelloWorld", function() {
it("hello() should say hello from file when called", function() {
expect(HelloFileSystem.hello()).toEqual("hello");
});
});
|
function foo() {
console.log(foobar)
}
foo()
|
;(function(){
'use strict';
//Setting up route
angular
.module('<%= slugifiedPluralName %>')
.config( Configuration );
/* @inject */
function Configuration($stateProvider) {
// <%= humanizedPluralName %> state routing
$stateProvider
.state('list<%= classifiedPluralName %>', {
url... |
/*!
* jQuery JavaScript Library v1.9.0 -effects,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-2-7
*/
(function( window, undefin... |
export class kendoToStringValueConverter {
toView(value, format, language) {
return kendo.toString(value, format, language);
}
}
export class kendoParseDateValueConverter {
toView(value, format, language) {
return kendo.parseDate(value, format, language);
}
}
export class kendoParseIntValueConverter {... |
/**
* @license
* Video.js 7.6.5 <http://videojs.com/>
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
* Available under Apache License Version 2.0
* <https://github.com/videojs/video.js/blob/master/LICENSE>
*
* Includes vtt.js <https://github.com/mozilla/vtt.js>
* Available under Apache License Versi... |
/**
* 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.
*
* @flow
*/
'use strict';
module.exports = require('./src/ReactTestRenderer');
|
/**
* Expose `parse`.
*/
module.exports = parse;
/**
* Wrap map from jquery.
*/
var map = {
legend: [1, '<fieldset>', '</fieldset>'],
tr: [2, '<table><tbody>', '</tbody></table>'],
col: [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],
_default: [0, '', '']
};
map.td =
map.th = [3, '<tabl... |
var cartApp = angular.module('cartApp', []);
cartApp.controller('cartCtrl', function($scope, $http) {
$scope.refreshCart = function(cartId) {
$http.get('/webstore/rest/cart/' + $scope.cartId)
.success(function(data) {
$scope.cart = data;
});
};
$scope.clear... |
YUI.add('inputex-dateselectmonth', function (Y, NAME) {
/**
* @module inputex-dateselectmonth
*/
var lang = Y.Lang,
inputEx = Y.inputEx;
/**
* A field to enter a date with 2 strings and a select
* @class inputEx.DateSelectMonthField
* @extends inputEx.CombineField
*/
inputEx.DateSelectMonthField = function ... |
"use strict";
module.exports = function parseOptional() {
return {
$runBefore: ['rendering-docs'],
$process: docs => {
docs.forEach(doc => {
if (doc.members && doc.members.length) {
for (let i in doc.members) {
if (doc.members[i].params && doc.members[i].params.length) {
... |
/*!
* jQuery JavaScript Library v2.0.1 -ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-dimensions,-deprecated
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/licens... |
import minifyCSSString from '../minifyCSSString'
describe('Minifying CSS strings', () => {
it('should return a minified CSS string', () => {
expect(minifyCSSString('.foo{color:bar}')).toEqual('.foo{color:bar}')
expect(
minifyCSSString(
`
.foo {
color: bar
}
.baz {
font-size... |
/**
* BC Math Library for Javascript
* Ported from the PHP5 bcmath extension source code,
* which uses the libbcmath package...
* Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
* Copyright (C) 2000 Philip A. Nelson
* The Free Software Foundation, Inc.
* 59 Temple Place, S... |
import _curry3 from './internal/_curry3.js';
/**
* The `mapAccumRight` function behaves like a combination of map and reduce; it
* applies a function to each element of a list, passing an accumulating
* parameter from right to left, and returning a final value of this
* accumulator together with the new list.
*
... |
"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... |
// Copyright 2011 The Closure Library Authors. 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
//
// Unl... |
version https://git-lfs.github.com/spec/v1
oid sha256:54e1c65a298299c2148ff644dec8c8551e0d0e792a4e862efa232476f6cf7bee
size 15280
|
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'elementspath', 'en-gb', {
eleLabel: 'Elements path',
eleTitle: '%1 element'
});
|
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... |
var name = "Fine Friend";
var collection_type = 0;
var is_secret = 0;
var desc = "Made 7 friends";
var status_text = "You're getting pretty popular! You've earned a Fine Friend badge.";
var last_published = 1316379385;
var is_shareworthy = 0;
var url = "fine-friend";
var category = "social";
var url_swf = "\/c2.... |
/*
* 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';
/* jshint -W030 */
/* jshint -W110 */
var chai = require('chai')
, expect = chai.expect
, Sequelize = require('../../index')
, Support = require(__dirname + '/support')
, DataTypes = require(__dirname + '/../../lib/data-types')
, dialect = Support.getTestDialect()
, config = require(__dirname... |
'use strict';
angular.module('arethusa.core').directive('sidepanelFolder', [
'sidepanel',
'$window',
'translator',
function(sidepanel, $window, translator) {
return {
scope: {},
link: function (scope, element, attrs) {
var win = angular.element($window);
scope.translations = tr... |
var test = require('tape');
var bitIterator = require('../lib/bit_iterator');
test('should return the correct bit pattern across byte boundaries', function(t) {
t.plan(5);
var bi = bitIterator(function() {
return new Buffer([0x0f,0x10,0x01,0x80]);
});
t.equal(bi(16), 0x0f10);
t.equal(bi(7... |
'use strict';
var path = require('path')
, chai = require('chai')
, should = chai.should()
, expect = chai.expect
, fs = require('fs')
, Config = require(path.join(__dirname, '..', 'lib', 'config'))
;
function idempotentEnv(name, value, callback) {
var is, saved;
// process.env is not a norma... |
(function() {
CodeMirror.extendMode("css", {
commentStart: "/*",
commentEnd: "*/",
newlineAfterToken: function(type, content) {
return /^[;{}]$/.test(content);
}
});
CodeMirror.extendMode("javascript", {
commentStart: "/*",
commentEnd: "*/",
... |
'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
// Adding a CA certificate to contextWithCert should not also add it to
// contextWithoutCert. This is tested by trying to connect to a server that
// depends on that CA using contextWithoutCert.
const {
assert, conne... |
"use strict";
var Message_1 = require("../Message");
var ReceiptCard = (function () {
function ReceiptCard(session) {
this.session = session;
this.data = {
contentType: 'application/vnd.microsoft.card.receipt',
content: {}
};
}
ReceiptCard.prototype.title = fu... |
module.exports = {
preCommit : [
],
postCommit : [
'(git pull --rebase origin master && git push origin master) || (echo "Ok fine, I\'ll stash" >&2 && git stash -u -q && git push origin master && git stash pop -q)',
'npm publish .',
"ssh root@dibsy 'updateDibsy'"
]
};
|
$(function() {
/* Uploadify */
var uploaded_attachments = $('#uploaded-attachments');
var upload_token = $('input[name=token]').val();
var session = $('input[name=session]').val();
var project = $('input[name=project_id]').val();
$('#upload').uploadify({
'uploader' : baseurl + '/app/assets/js/uploadify/upload... |
exports.foo = 'bar'
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _oneLineCommaListsOr = require('./oneLineCommaListsOr');
var _oneLineCommaListsOr2 = _interopRequireDefault(_oneLineCommaListsOr);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
expor... |
'use strict';
var minilog = require('minilog')
, log = minilog('traverson');
/*
* This transform is meant to be run at the very end of a getResource call. It
* just extracts the last doc from the step and calls t.callback with it.
*/
module.exports = function extractDoc(t) {
log.debug('walker.walk has finished... |
var NobleDevice = require('noble-device');
var Common = require('./common');
var ACCELEROMETER_UUID = 'f000aa1004514000b000000000000000';
var MAGNETOMETER_UUID = 'f000aa3004514000b000000000000000';
var GYROSCOPE_UUID = 'f000aa5004514000b0000000000000... |
'use strict';
const common = require('../common');
const { Console } = require('console');
const { Writable } = require('stream');
const async_hooks = require('async_hooks');
// Make sure that repeated calls to console.log(), and by extension
// stream.write() for the underlying stream, allocate exactly 1 tick object.... |
define({
"_widgetLabel": "Список слоев",
"titleBasemap": "Базовые карты",
"titleLayers": "Рабочие слои",
"labelLayer": "Имя слоя",
"itemZoomTo": "Приблизить к",
"itemTransparency": "Прозрачность",
"itemTransparent": "Прозрачный",
"itemOpaque": "Непрозрачный",
"itemMoveUp": "Выше",
"itemMoveDown": "Н... |
import React from 'react'
import Header from '../../components/Header'
import classes from './CoreLayout.scss'
import '../../styles/core.scss'
export const CoreLayout = ({ children }) => (
<div className='container text-center'>
<Header/>
<div className={classes.mainContainer}>
{children}
</div>
... |
/* *
*
* (c) 2010-2021 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import U from '../Utilities.js';
var addEvent = U.addEvent, getMagnitude = U.getMagnitude, normalizeTickInterval = U.normalizeTickInt... |
define(
//begin v1.x content
{
"field-tue-relative+-1": "지난 화요일",
"field-year": "년",
"field-wed-relative+0": "이번 수요일",
"field-wed-relative+1": "다음 수요일",
"timeFormat-short": "a h:mm",
"field-minute": "분",
"field-tue-narrow-relative+0": "이번 화요일",
"field-tue-narrow-relative+1": "다음 화요일",
"field-thu-short-relative... |
hljs.registerLanguage("cpp",(()=>{"use strict";function e(e){
return((...e)=>e.map((e=>(e=>e?"string"==typeof e?e:e.source:null)(e))).join(""))("(",e,")?")
}return t=>{const n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]
}),r="[a-zA-Z_]\\w*::",a="(decltype\\(auto\\)|"+e(r)+"[a-zA-Z_]\\w*"+e("<[^<>]+>")+")",i={
classNa... |
// Chart design based on the recommendations of Stephen Few. Implementation
// based on the work of Clint Ivy, Jamie Love, and Jason Davies.
// http://projects.instantcognition.com/protovis/bulletchart/
nv.models.bulletChart = function() {
"use strict";
//======================================================... |
var styleElement;
var exenv;
describe('keyframes', () => {
beforeEach(() => {
styleElement = {
textContent: '',
sheet: {
insertRule: sinon.spy(),
cssRules: []
}
};
sinon.stub(document, 'createElement', () => {
return styleElement;
});
sinon.stub(document... |
/*! bespoke-hash v0.1.2 © 2013 Mark Dalgleish, Licensed MIT */
(function(e){e.plugins.hash=function(e){var t,n=function(){var t=window.location.hash.slice(1),n=parseInt(t,10);t&&(n?r(n-1):e.slides.forEach(function(e,n){e.getAttribute("data-bespoke-hash")===t&&r(n)}))},r=function(n){n!==t&&e.slide(n)};setTimeout(functio... |
/*************************************************************
*
* MathJax/localization/ru/ru.js
*
* Copyright (c) 2009-2016 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... |
(function (arr, i) {
if (Array.isArray(arr)) {
return arr;
} else {
var _arr = [];
for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {
_arr.push(_step.value);
if (i && _arr.length === i) break;
}
return _arr;
}
});
|
module.exports = function(hljs) {
return {
aliases: ['adoc'],
contains: [
// block comment
hljs.COMMENT(
'^/{4,}\\n',
'\\n/{4,}$',
// can also be done as...
//'^/{4,}$',
//'^/{4,}$',
{
relevance: 10
}
),
/... |
import Component from '@ember/component';
import layout from './template';
export default Component.extend({
layout,
});
|
import sinon from 'sinon';
import { expect } from 'chai';
import { shallow } from 'enzyme';
import Immutable from 'immutable';
import React from 'react';
import { Text, View, TouchableHighlight } from 'react-native';
import Counter from '../../src/components/Counter';
const props = {
counter: Immutable.Map({ counter... |
let testnetWallet = {
"privateKey": "",
"name": "TestnetSpec",
"accounts": {
"0": {
"brain": true,
"algo": "pass:bip32",
"encrypted": "c6dcbc8a538c9e2ec9e9be115aa6a1349d1a8a27e574136b4e603f0549474053e026e0771bf8d86a392fccce5b543d0b",
"iv": "4c637775236... |
/** @license
*
* SoundManager 2: JavaScript Sound for the Web
* ----------------------------------------------
* http://schillmania.com/projects/soundmanager2/
*
* Copyright (c) 2007, Scott Schiller. All rights reserved.
* Code provided under the BSD License:
* http://schillmania.com/projects/soundmanag... |
module.exports={title:"Big Cartel",slug:"bigcartel",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Big Cartel icon</title><path d="M12 13.068v-1.006c0-.63.252-1.256.88-1.508l7.79-4.9c.503-.252.755-.88.755-1.51V0L12 6.03 2.575 0v12.69c0 3.394 1.51 6.284 4.02 7.917L11.875 24l5.28-3.393... |
/* version: 0.3.142, born: 8-2-2014 11:48 */
var Organic = (function(w){
var o = {
helpers: {},
lib: {
atoms: {},
molecules: {}
}
}
var require = function(v) {
if(v == "./helpers/extend") {
return o.helpers.extend;
} else if(v == "/helpers/snippets" || v == "../../helpers/snippets") {
return o.h... |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
(function(global) {
global... |
// const hash = window.location.hash;
const queryParamsHelper = (() => {
function getQueryParamsFromHash(hash) {
hash = String(hash);
let params = {};
if (hash.indexOf('?') < 0) {
return params;
}
const inputParams = hash.split('?')[1].split('&');
input... |
for(let i = 0; i < length; i++) {
console.log('foo');
}
|
var Api = require('../../../lib/api.js');
module.exports = {
setUp: function (callback) {
callback();
},
'cssProperty assertion passed' : function(test) {
var assertionFn = require('../../../lib/selenium/assertions/cssProperty.js');
var client = {
options : {},
api : {
getCssPrope... |
/*!
* ui-grid - v4.6.1 - 2018-07-04
* Copyright (c) 2018 ; License: MIT
*/
/**
* Translated by: R. Salarmehr
* M. Hosseynzade
* Using Vajje.com online dictionary.
*/
(function () {
angular.module('ui.grid').config(['$provide', function ($provide) {
$provide.decorator('i18nSe... |
var debug = require('debug')('keystone:core:routes');
/**
* Adds bindings for the keystone routes
*
* ####Example:
*
* var app = express();
* app.use(...); // middleware, routes, etc. should come before keystone is initialised
* keystone.routes(app);
*
* @param {Express()} app
* @api public
*/
f... |
import Ember from 'ember';
import Torii from 'ember-simple-auth/authenticators/torii';
import raw from 'ic-ajax';
const { RSVP } = Ember;
const { service } = Ember.inject;
export default Torii.extend({
torii: service('torii'),
authenticate() {
return new RSVP.Promise((resolve, reject) => {
this._super(... |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functions used in the export tab
*
*/
/**
* Disables the "Dump some row(s)" sub-options
*/
function disable_dump_some_rows_sub_options()
{
$("label[for='limit_to']").fadeTo('fast', 0.4);
$("label[for='limit_from']").fadeTo('fast', 0.4);
$("input[type='te... |
/* globals isRtl */
this.menu = new class {
constructor() {
this.updateUnreadBars = _.throttle(() => {
if (this.list == null) {
return;
}
const listOffset = this.list.offset();
const listHeight = this.list.height();
let showTop = false;
let showBottom = false;
$('li.has-alert').each(function... |
import Ember from 'ember';
import PaginationMixin from 'ghost/mixins/pagination-controller';
import SettingsMenuMixin from 'ghost/mixins/settings-menu-controller';
import boundOneWay from 'ghost/utils/bound-one-way';
export default Ember.ArrayController.extend(PaginationMixin, SettingsMenuMixin, {
tags: Ember.comp... |
define(['jquery','jqueryui/datepicker'], function (jQuery) {
/* German initialisation for the jQuery UI date picker plugin. */
/* Written by Milian Wolff (mail@milianw.de). */
jQuery(function($){
$.datepicker.regional['de'] = {
closeText: 'schließen',
prevText: '<zurück',
nextText: 'Vor>',
currentTex... |
/* Copyright (c) 2006-2015 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Control.js
* @requires OpenLayers/Lang... |
version https://git-lfs.github.com/spec/v1
oid sha256:dbea3ca3f5ac4645a1a47289cf98c5277816fbb47afccee5887354dee8ed9037
size 932
|
dojo.provide("dojo.tests.store.Memory");
dojo.require("dojo.store.Memory");
(function(){
var store = new dojo.store.Memory({
data: [
{id: 1, name: "one", prime: false, mappedTo: "E"},
{id: 2, name: "two", even: true, prime: true, mappedTo: "D"},
{id: 3, name: "three", prime: true, mappedTo: "C"},
{id:... |
var NS=(document.layers);var IE=(document.all);function obj_enable(objid)
{var e=document.getElementById(objid);e.disabled=false;}
function obj_disable(objid)
{var e=document.getElementById(objid);e.disabled=true;}
function setactiveMenuFromContent()
{var a=parent.MySQL_Dumper_content.location.href;var menuid=1;if(a.in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.