code stringlengths 2 1.05M |
|---|
goog.provide("prov.B");
/** @constructor */
function foo() {}
prov.B.typB = foo;
prov.B.valB = new foo();
|
/*
* Copyright (c) 2016, Bruce Schubert.
* The MIT License
*/
// Given these inputs:
// year = 2003;
// month = 10; (October)
// day = 17;
// hour = 12;
// minute = 30;
// second = 30;
// timezone = -7.0;
// delta_ut1 = 0;
// del... |
Prism.languages.scala = Prism.languages.extend('java', {
'keyword': /(<-|=>)|\b(abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/g,
'bu... |
define({
"add": "Klik om nieuwe toe te voegen",
"title": "Titel",
"placeholderBookmarkName": "Naam van bladwijzer",
"ok": "OK",
"cancel": "Afbreken",
"warning": "Bewerking voltooien!",
"edit": "Bladwijzer bewerken",
"errorNameExist": "Bladwijzer bestaat al.",
"errorNameNull": "Ongeldige naam van bladw... |
JSMpeg.Decoder.MPEG1Video = (function(){ "use strict";
// Inspired by Java MPEG-1 Video Decoder and Player by Zoltan Korandi
// https://sourceforge.net/projects/javampeg1video/
var MPEG1 = function(options) {
JSMpeg.Decoder.Base.call(this, options);
var bufferSize = options.videoBufferSize || 512*1024;
var buffe... |
var frontexpress = (function () {
'use strict';
/**
* HTTP method list
* @private
*/
var HTTP_METHODS = ['GET', 'POST', 'PUT', 'DELETE'];
// not supported yet
// HEAD', 'CONNECT', 'OPTIONS', 'TRACE', 'PATCH';
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
re... |
KISSY.add('a/b', function () {
return 2;
}); |
angular.module('IX.controllers')
.controller('Room', function($scope, /*$rootScope, */$stateParams, SharedProperties/*, $ionicScrollDelegate, $timeout, Message, Chatstate, Profile*/) {
var sharedData = SharedProperties.sharedObject,
roomJid = $stateParams.jid;
$scope.getRoomName = function() {
... |
/**
* Module dependencies.
*/
var dosMarkdown = require('markdown');
var marked = require('marked');
var t = require('t');
var template = require('./template');
var View = require('view');
/**
* Expose MarkdownView.
*/
module.exports = MarkdownView;
/**
* DemocracyOS markdown guide MarkdownView
*
* @return ... |
import { Point, ObservablePoint } from '../math';
import TransformBase from './TransformBase';
/**
* Generic class to deal with traditional 2D matrix transforms
* local transformation is calculated from position,scale,skew and rotation
*
* @class
* @extends PIXI.TransformBase
* @memberof PIXI
*/
export default ... |
var assert = require('assert');
var quiche = require('../quiche');
describe('QR Infograph', function() {
var qr = quiche('qr');
qr.setLabel('https://github.com/ryanrolds/quiche');
qr.setWidth(100);
qr.setHeight(100);
var url = qr.getUrl();
it('should return a url', function() {
assert.equal(typeof u... |
describe('jqLite', function() {
var scope, a, b, c;
beforeEach(module(provideLog));
beforeEach(function() {
a = jqLite('<div>A</div>')[0];
b = jqLite('<div>B</div>')[0];
c = jqLite('<div>C</div>')[0];
});
beforeEach(inject(function($rootScope) {
scope = $rootScope;
this.addMatchers({
... |
//
// 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
//
// Unle... |
var util = require('util')
, utils = require('utils')
, underscore = require('underscore')
, debug = require('debug')('cleverstack:utils:model');
module.exports = function emitBeforeEvent(eventName, modelDataOrFindOptions, queryOptions, callback) {
var listeners = this.listeners(eventName... |
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.
var common = require('./common.js');
var classCategory = 'class';
var namespaceCategory = 'ns';
exports.transform = function (model) {
handleItem(model, model._gitContr... |
'use strict';
const { By, until } = require('selenium-webdriver');
const { register, Page, platforms } = require('../../../../../scripts/e2e');
class E2ETestPage extends Page {
constructor(driver, platform) {
super(driver, `http://localhost:3333/src/components/segment/test/standalone?ionic:mode=${platform}`);
... |
/**
* @author Toru Nagashima
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/
"use strict";
//------------------------------------------------------------------------------
// Helpers
//-----------------------------------------------------------------... |
/**
* @fileoverview Tests for keyword-spacing rule.
* @author Toru Nagashima
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const parser = require("../../fixtures/fix... |
$(document).ready(
function()
{
var overall_data;
var linear_structure;
var json_string;
var conversion_factor;
/*
function modbus_statistics_success( data )
{
var keys;
var temp;
var html;
var keys;
var addresses;
var count;
... |
var iconv = require('iconv-lite'),
cmds = require('./commands');
/**
* Creates a new Printjob object that can process escpos commands
* which can then be printed with an attached USB escpos printer.
*
* @class
*/
var Printjob = function () {
this._queue = [];
}
Printjob.prototype = {
/**
* Add a st... |
/* eslint-env jest */
import path from 'path'
import fs from 'fs-extra'
import { join } from 'path'
import { nextBuild, nextExport } from 'next-test-utils'
const appDir = join(__dirname, '../')
const nextConfig = join(appDir, 'next.config.js')
const addPage = async (page, content) => {
const pagePath = join(appDir... |
import React, {Component, PropTypes} from 'react';
import Paper from '../Paper';
import CardExpandable from './CardExpandable';
class Card extends Component {
static propTypes = {
/**
* Can be used to render elements inside the Card.
*/
children: PropTypes.node,
/**
* Override the inline-s... |
import _ from 'lodash';
import { Validator } from 'meteor/jagi:astronomy';
const regExId = /^[23456789ABCDEFGHJKLMNPQRSTWXYZabcdefghijkmnopqrstuvwxyz]{17}$/;
Validator.create({
name: 'meteorId',
isValid({ value }) {
if (Array.isArray(value)) {
return _.map(value, a => regExId.test(a)).redu... |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... |
/*global Stem, _, Backbone, JST, $ */
Stem.Views = Stem.Views || {};
(function () {
'use strict';
Stem.Views.SearchAsForm = Backbone.View.extend({
// Markup stored as external template.
template: JST['app/scripts/templates/searchAsForm.ejs'],
// First level element is a `<form>`.
... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... |
/// <reference path="./typings/tsd.d.ts" />
import * as React from 'react';
//https://github.com/borisyankov/DefinitelyTyped/issues/5128
React.render(React.createElement("h1", null, "Hello JSX + TypeScript + JSPM"), document.getElementById("app"));
|
// Copyright 2013 Bowery Software, LLC
/**
* @fileoverview Test Key-Value methods.
*/
// Module Dependencies.
var assert = require('assert')
var nock = require('nock')
var token = 'sample_token'
var db = require('../')(token)
// Mock data.
var users = {
steve: {
"name": "Steve Kaliski",
"email": "sjkalis... |
import financial from './financial';
import walk from './walk';
import {skipWeekends} from './filter/skipWeekends';
export default {
filter: {
skipWeekends: skipWeekends
},
financial: financial,
walk: walk
};
|
var archinfo = require('../utils/archinfo.js');
var buildmessage = require('../utils/buildmessage.js');
var buildPluginModule = require('./build-plugin.js');
var colonConverter = require('../utils/colon-converter.js');
var files = require('../fs/files.js');
var compiler = require('./compiler.js');
var linker = require(... |
import styled from 'styled-components';
const Body = styled.p`
color: black;
width: 85%;
&:hover, &:active, &:focus {
color: #FF80AB;
}
`;
export default Body;
|
define(function(){
function Product(name, type, amount){
this.name = name || 'Producto';
this.type = type || 'Tipo';
this.amount = amount || 'Costo';
}
return Product;
});
|
// > Spec Header
{
$id: 'header',
$specs: [],
[uuid-header]: {
$module: 'ui/basic/header',
$params: { heading: '2' }
},
header: {
$module: 'view/header',
$params: [{
views: ['$bone![uuid-header]']
}]
}
}
// > Spec Footer
{
$id: 'footer',
$specs: [],
[uuid-paragraph]: {
$module: 'ui/basic/par... |
const DrawCard = require('../../drawcard.js');
class RenlyBaratheon extends DrawCard {
setupCardAbilities(ability) {
this.persistentEffect({
targetController: 'current',
effect: ability.effects.reduceFirstMarshalledCardCostEachRound(1, card => (
card.getType() === 'c... |
/** @jsx react.DOM */
"use strict";
var react = require('react');
var App = require('./components/App');
react.renderComponent(
App(),
document.body
);
|
var db = require( '../config' );
require( './tip' );
require( './ingredient' );
require( './ingredientstep' );
require( './tool' );
require( './steptool' );
require( './user' );
require( './stepuser' );
var Step = db.Model.extend( {
tableName: 's... |
'use strict';
/**
* Module dependencies.
*/
var should = require('should'),
mongoose = require('mongoose'),
User = mongoose.model('User'),
Search = mongoose.model('Search');
/**
* Globals
*/
var user, search;
/**
* Unit tests
*/
describe('Search Model Unit Tests:', function() {
beforeEach(function(done) {
... |
var keystone = require('keystone'),
Types = keystone.Field.Types;
var Consultingservice = new keystone.List('Consultingservice', {
autokey: { from: 'name', path: 'key' }
});
Consultingservice.add({
consultingService:{type:String},
consultingServiceimage:{ type: Types.CloudinaryImage},
consultingServicetext:{ typ... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var Debug = require('./Debug-a8010bfa.js');
require('./turn-order-f57ce2a9.js');
require('immer');
require('./reducer-85e302af.js');
require('flatted');
require('./ai-69af8a6d.js');
exports.Debug = Debug.Debug;
|
$(document).ready(
function()
{
var ref_flow_meter;
var conversion_factor_array;
var conversion_factor_index;
var conversion_factor;
var g,h,i
var alarm_data;
var queue_interval_id;
var nintervalId;
var data = [];
var t = new Date();
for (var i ... |
"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... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import * as React from 'react';
import { isFragment } from 'react-is';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/with... |
/**
* rcmSwitchUserAdmin
*/
angular.module('rcmSwitchUser').directive(
'rcmSwitchUserAdmin',
[
'rcmSwitchUserAdminService',
function (
rcmSwitchUserAdminService
) {
return {
link: rcmSwitchUserAdminService.link,
scope: rcmSwitchUs... |
(function($) {
function checkCorrection(ev, ui) {
var feedbackShowCorrection = $('input[name=show_correction]:checkbox:checked').val();
var inputSolution = $('input[name=show_solution]:checkbox');
var inputSolutionParent = inputSolution.parent().parent().parent();
var inputA... |
/**!
*
* Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file.
*/
'use strict';
require('./client/services/avatar');
require('./client/services/board');
require('./client/services/bot');
require('./client/services/conversation');
require('./client/services/encryption');
require('./client/services/feature')... |
'use strict';
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Any commits to this file should be reviewed with security in mind. *
* Changes to this file can potentially create security vulnerabilities. *
* An approval from 2 Core members with history of modifying ... |
"use strict";var sjcl={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(a){this.toString=function(){return"CORRUPT: "+this.message};this.message=a},invalid:function(a){this.toString=function(){return"INVALID: "+this.message};this.message=a},bug:function(a){this.toString=function(){r... |
export { default } from './TableCell';
|
version https://git-lfs.github.com/spec/v1
oid sha256:04f2d611408cbea533a052f39f087a218fec031783e0d508f118ca0db86785f0
size 2964
|
/*
* Module dependencies.
*/
var t = require('t');
var FormView = require('form-view');
var template = require('./signup-form');
var title = require('title');
/**
* Expose SignupForm.
*/
module.exports = SignupForm;
/**
* Proposal Comments view
*
* @return {SignupForm} `SignupForm` instance.
* @api public
... |
define(['jquery'], function($) {
function Library() {
// Returns true or false if the specified element exists.
this.elExists = function(name) {
return $('#' + name).length > 0;
};
// Converts 123456789 into 123,456,789.
this.formatNum = function(number) {
... |
/*!
* jQuery JavaScript Library v1.9.1 -ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-deprecated
* 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
*... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: replace with regexp /(uid=)(\d+)/ returns
es5id: 15.5.4.11_A3_T2
description: replaceValue is "$11" + '15'
---*/
var __str = 'uid=31';
var __re = /(uid=)(\d+)/;
////////////... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
If the argument len is a Number and ToUint32(len) is not equal to len,
a RangeError exception is thrown
es5id: 15.4.2.2_A2.2_T2
description: Use try statement. len =... |
it("should handle the pug loader correctly", function() {
expect(require("!pug-loader?self!../_resources/template.pug")({ abc: "abc" })).toBe("<p>selfabc</p><h1>included</h1>");
expect(require("../_resources/template.pug")({ abc: "abc" })).toBe("<p>abc</p><h1>included</h1>");
});
|
/**
* a HUD container and child items
*/
game.HUD = game.HUD || {};
game.HUD.Container = me.ObjectContainer.extend({
init: function() {
// call the constructor
this.parent();
// persistent across level change
this.isPersistent = true;
// non collidable
this.collidable = false;
// make s... |
/*
* volume.js: OpenStack Block Storage volume
*
* (C) 2014 Rackspace
* Ken Perkins
* MIT LICENSE
*
*/
var util = require('util'),
base = require('../../core/base'),
_ = require('lodash');
var Volume = exports.Volume = function Volume(client, details) {
base.Model.call(this, client, details);
};... |
/* ===========================================================
* trumbowyg.table.custom.js v2.0
* Table plugin for Trumbowyg
* http://alex-d.github.com/Trumbowyg
* ===========================================================
* Author : Sven Dunemann [dunemann@forelabs.eu]
*/
(function ($) {
'use strict';
... |
define({
label: {
foo: 'hello'
}
}); |
import { withAmp, useAmp } from 'next/amp'
function Home() {
const config = {}
return <h1>My AMP Page</h1>
}
export const config = {
foo: 'bar',
}
export default withAmp(Home)
|
/* Tabulator v4.2.0 (c) Oliver Folkerd */
var Persistence = function Persistence(table) {
this.table = table; //hold Tabulator object
this.mode = "";
this.id = "";
this.persistProps = ["field", "width", "visible"];
};
//setup parameters
Persistence.prototype.initialize = function (mode, id) {
//determine persist... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
(function(){CKEDITOR.plugins.add("selectall",{lang:"af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,k... |
(function (global, factory) {
if (typeof exports === "object" && exports) {
factory(exports); // CommonJS
} else if (typeof define === "function" && define.amd) {
define(['exports'], factory); // AMD
} else {
global.crossDomainHttp = factory(); // <script>
}
}(this, function (exports) {
/*常量*/
_... |
import React, { Component } from 'react';
import Container from './Container';
import CustomDragLayer from './CustomDragLayer';
import { DragDropContext } from 'react-dnd';
import HTML5Backend from 'react-dnd-html5-backend';
@DragDropContext(HTML5Backend)
export default class DragAroundCustomDragLayer extends Componen... |
define(function(require){
//automatically generated, do not edit!
//run `node build` instead
return {
'append' : require('./array/append'),
'collect' : require('./array/collect'),
'combine' : require('./array/combine'),
'compact' : require('./array/compact'),
'contains' : require('./array/... |
module.exports={A:{A:{"1":"G E A B","8":"H D fB"},B:{"1":"1 C p J L N I"},C:{"1":"0 2 3 5 6 7 8 9 Y Z a b d e f g h i j k l m n o M q r s t u v w x y z BB CB DB","33":"1 dB FB F K H D G E A B C p J L N I O P Q R S T U V W X bB VB"},D:{"1":"0 1 2 3 5 6 7 8 9 A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j k l ... |
/* */
System.register(['aurelia-router', './route-loader', './router-view', './route-href'], function (_export) {
var Router, AppRouter, RouteLoader, TemplatingRouteLoader, RouterView, RouteHref;
function configure(aurelia) {
aurelia.withSingleton(RouteLoader, TemplatingRouteLoader).withSingleton(Router, AppR... |
/* */
System.register(['core-js', 'aurelia-logging', 'aurelia-metadata'], function (_export) {
var core, LogManager, Metadata, _classCallCheck, logger, Plugins;
function loadPlugin(aurelia, loader, info) {
logger.debug('Loading plugin ' + info.moduleId + '.');
aurelia.currentPluginId = info.moduleId;
... |
'use strict';
var passwordGrant = require('./oauth/password-grant');
var refreshGrant = require('./oauth/refresh-grant');
var idSiteGrant = require('./oauth/id-site-grant');
var stormpathToken = require('./oauth/stormpath-token');
var clientCredentialsGrant = require('./oauth/client-credentials');
var stormpathSocial ... |
module.exports = app => {
app.get('/', app.controller.home);
app.get('/clear', app.controller.clear);
};
|
var DocUtils, XmlUtil;
DocUtils = require('./docUtils');
XmlUtil = {};
XmlUtil.getListXmlElements = function(text, start, end) {
var i, innerCurrentTag, innerLastTag, justOpened, lastTag, result, tag, tags, _i, _len;
if (start == null) {
start = 0;
}
if (end == null) {
end = text.length - 1;
}
/... |
var redis = require('redis');
/*
sub.subscribe('event');
sub.on("message", function (channel, message) {});
sub.unsubscribe();
pub.publish('event','newMessage');
sub/pub.get('key');
sub/pub.set('key', 'value');
*/
module.exports = {
sub: redis.createClient(),
pub: redis.createClient()
};
|
(function () {
'use strict';
angular
.module('umbraco.directives')
.component('umbLogin', {
templateUrl: 'views/components/application/umb-login.html',
controller: UmbLoginController,
controllerAs: 'vm',
bindings: {
isTimedOut: "<"... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fillOpacity=".3" d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v9.17h2L13 7v5.5h2l-1.07 2H17V5.33C17 4.6 16.4 4 15.67 4z" /><path d="M11 20v-5.5H7v6.17C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.3... |
function f() {
return '\'';
}
function g() {
return "\"";
}
function h() {
return '\\';
}
|
var A = 1;
interface A {}
|
var kunstmaanbundles = kunstmaanbundles || {};
kunstmaanbundles.appLoading = (function($, window, undefined) {
var init,
addLoading, addLoadingForms, removeLoading;
var $body = $('body');
init = function() {
$('.js-add-app-loading').on('click', addLoading);
$('.js-add-app-loading... |
/**
* 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 ... |
const SET_THEMES_FILTER = 'SET_THEMES_FILTER'
const reducers = {
themes: ThemesReducer
}
const actions = {
[ SET_THEMES_FILTER ]: (payload) => {
return { type: SET_THEMES_FILTER, payload }
}
}
const initialState = {
filters: { }
}
function ThemesReducer (state = initialState, {type, payload}) {
switch... |
var fs = require('fs');
var p = require('path');
var path = p.join(__dirname,'../','/cap_img');
var dir = function(){
fs.chmodSync(path, '777');//修改访问文件夹权限
var fileArray = fs.readdirSync(path);//获取所有文件名
fileArray.forEach(function(v,i){ //清空文件夹
fs.unlinkSync(p.join(path,v));
})
}
module.exports = dir; |
define({main:{"lv-LV":{identity:{version:{_number:"$Revision: 11914 $",_cldrVersion:"29"},language:"lv",territory:"LV"},dates:{calendars:{gregorian:{months:{format:{abbreviated:{1:"janv.",2:"febr.",3:"marts",4:"apr.",5:"maijs",6:"jūn.",7:"jūl.",8:"aug.",9:"sept.",10:"okt.",11:"nov.",12:"dec."},narrow:{1:"J",2:"F",3:"M"... |
/**
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"... |
export const value = 21; |
import throttle from './lib/throttle.js';
const fn = throttle( () => {
console.log( '.' );
}, 500 );
window.addEventListener( 'mousemove', throttle );
|
"use strict";
var Observable_1 = require('rxjs/Observable');
var select_1 = require('../../operator/select');
Observable_1.Observable.prototype.select = select_1.select;
|
module.exports = {
"@id": "/documents/df9dd0ec-c1cf-4391-a745-a933ab1af7a7/",
"@type": ["Document", "Item"],
"aliases": [
"ENCODE:Myers_Lab_ChIP-seq_Protocol_v042211"
],
"attachment": {
"download": "Myers_Lab_ChIP-seq_Protocol_v042211.pdf",
"href": "@@download/attachment/Myer... |
var title = "Peter out Peat";
var desc = "Grab your <a href=\"event:item|shovel\">Shovel<\/a> and wrangle some friends to help you harvest a full <b>Peat Bog<\/b> until it's empty. In less than 9 seconds.";
var offer = "Greetings, my round-headed friend. I have a job for you. Use your <a href=\"event:item|shovel\">Shov... |
goog.provide("trapeze.AffineTransform");
trapeze.AffineTransform = function(m00, m10, m01, m11, m02, m12) {
if(arguments.length == 0) {
m00 = 1; // Scale X = m00
m10 = 0; // Shear Y = m10
m01 = 0; // Shear X = m01
m11 = 1; // Scale Y = m11
m02 = 0; // Translation X = m02
m12 = 0; // Translation Y... |
// @flow
import React from 'react'
import { shallow } from 'enzyme'
import { resetStyled, expectCSSMatches } from './utils'
let styled
describe('css features', () => {
beforeEach(() => {
styled = resetStyled()
})
it('should add vendor prefixes in the right order', () => {
const Comp = styled.div`
... |
/*! Select2 4.0.6 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/bg",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Моля въведете с "+t+"... |
$.fn.dataTable.ext.order["dom-checkbox"]=function(e,n){return this.api().column(n,{order:"index"}).nodes().map(function(e,n){return $("input",e).prop("checked")?"1":"0"})}; |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.10.2.8_A2_T8;
* @section: 15.10.2.8;
* @assertion: The form (?! Disjunction ) specifies a zero-width negative lookahead.
* In order for it to succeed, the pattern inside... |
// Ajax Preloader
var Preloader;
if (Preloader == undefined) {
Preloader = function(dom_id) {
this.show(dom_id);
};
}
Preloader.select = function(dom_id) {
var element_id = (dom_id == null) ? 'preloader' : dom_id;
if (this.element == null)
{
this.element = document.getElementById(element_id);
}... |
/**
* @author Virtulous / https://virtulo.us/
*/
import {
Bone,
BufferAttribute,
BufferGeometry,
Color,
DefaultLoadingManager,
FileLoader,
LoaderUtils,
Matrix4,
Mesh,
MeshLambertMaterial,
MeshPhongMaterial,
Object3D,
Quaternion,
Skeleton,
SkinnedMesh,
TextureLoader,
Vector3
} from "../../../build/th... |
var uncurryThis = require('../internals/function-uncurry-this');
module.exports = uncurryThis({}.isPrototypeOf);
|
export { default } from './src/button.vue';
|
/**
* Background
* ==========
*
* Intercept and allow CORS request for all 'arraybuffer' requests on video sources.
*
* API:
* - https://developer.chrome.com/extensions/webRequest
*/
/**
* Open sonarvio site on browser action
*/
chrome.browserAction.onClicked.addListener(function(){
chrome.tabs.executeScri... |
/*! jQuery UI - v1.10.4 - 2014-05-18
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional.eo={closeText:"Fermi",prevText:"<Anta",nextText:"Sekv>",currentText:"Nuna",monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","J... |
import getMuiTheme from 'styles/getMuiTheme';
const MSIE9_USER_AGENT = 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 7.1; Trident/5.0)';
describe('prepareStyles', () => {
describe('prefixer', () => {
it('should prefix for all when userAgent is all', () => {
const muiTheme = getMuiTheme({}, {
user... |
'use strict';
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.