code stringlengths 2 1.05M |
|---|
import React from 'react';
import SvgIcon from '../../SvgIcon';
const AvVideoLibrary = (props) => (
<SvgIcon {...props}>
<path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8 12.5v-9l6 4.5-6 4.5z"/>
</SvgIcon>
);
AvVideoLibrary.displayName = ... |
function AppCtrl($scope, $window, $routeParams, $location, $modal, $http,
$route, session, metadata, core, config) {
$scope.session = {logged_in: false};
$scope.config = config;
$scope.project = false;
$scope.navQuery = '';
$scope.searchEntities = function() {
$location.path('/p/' +... |
var mongoose = require('mongoose')
var Schema = mongoose.Schema
var FeedSchema = new Schema({
text: String,
create_time: Date,
pid: {
type: Schema.Types.ObjectId, ref: 'Feed'
}
})
// custom static method
FeedSchema.statics.custom = function(input, fn){
setTimeout(function(){
fn(null, input)
}, 20)
}
FeedSc... |
var should = require( 'should' );
var fireup = require( 'fire-up' ).newInjector( {
basePath: __dirname + '/..',
bustRequireCache: true,
require: require,
modules: [
'./modules/uuid/*.js'
]
} );
var uuid;
describe( "Module uuid", function() {
before( function( done ) {
// Fetch Schema Module
fireup( 'uuid' ... |
define({
"styleText": "Kaydırma aracı türü",
"vertical": "Dikey çubuk",
"horizontal": "Yatay çubuk",
"scope": "Dürbün",
"placement": "Yön",
"showLeftSide": "Kaydırılan katmanları sol tarafta göster",
"showRigthSide": "Kaydırılan katmanları sağ tarafta göster",
"showUpSide": "Kaydırılan katmanları üst ta... |
(function(Clazz
,Clazz_newLongArray
,Clazz_doubleToByte
,Clazz_doubleToInt
,Clazz_doubleToLong
,Clazz_declarePackage
,Clazz_instanceOf
,Clazz_load
,Clazz_instantialize
,Clazz_decorateAsClass
,Clazz_floatToInt
,Clazz_floatToLong
,Clazz_makeConstructor
,Clazz_defineEnumConstant
,Clazz_exceptionOf
,Clazz_ne... |
/*
This file is part of Ext JS 4
Copyright (c) 2011 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p... |
var cache = require('../');
var should = require('should');
var gutil = require('gulp-util');
var PassThrough = require('stream').PassThrough;
require('mocha');
describe('gulp-cached', function() {
it('should create a cache that only allows a file through once', function(done) {
var file = new gutil.File({
... |
var searchData=
[
['faceforward',['faceforward',['../a00697.html#ga7aed0a36c738169402404a3a5d54e43b',1,'glm']]],
['factorial',['factorial',['../a00747.html#ga8cbd3120905f398ec321b5d1836e08fb',1,'glm']]],
['fastacos',['fastAcos',['../a00742.html#ga9721d63356e5d94fdc4b393a426ab26b',1,'glm']]],
['fastasin',['fastA... |
/*
AngularJS v1.3.6
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(I,d,B){'use strict';function D(f,q){q=q||{};d.forEach(q,function(d,h){delete q[h]});for(var h in f)!f.hasOwnProperty(h)||"$"===h.charAt(0)&&"$"===h.charAt(1)||(q[h]=f[h]);return q}var w=d.$$minErr("$resource"),C=/^(\.[a-zA-... |
const html = require('choo/html');
module.exports = (scriptLine, state, prev, send) => {
return html`
<p>${scriptLine}</p>
`;
} |
module.exports={A:{A:{"1":"A B","2":"H D G E FB"},B:{"1":"C p z J L N I"},C:{"1":"0 2 3 5 6 8 9 G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y CB AB","2":"4 aB F K H D YB SB"},D:{"1":"0 2 3 5 6 8 9 J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w... |
define({
"instruction": "Uzplaiksnījuma ekrāns tiks parādīts, pirms iespējams piekļūt lietotnei.",
"defaultContent": "Šeit varat pievienot tekstu, tīmekļa saites un nelielus attēlus.",
"requireConfirm": "Pieprasīt apstiprinājumu, lai turpinātu",
"noRequireConfirm": "Nepieprasīt apstiprinājumu, lai turpinātu",
... |
'use strict';
function extend (destination) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (source.hasOwnProperty(key)) destination[key] = source[key];
}
}
return destination
}
function repeat (character, count) {
return Array(count + 1... |
var Crawler = require("../../lib/crawler").Crawler;
QUnit.module("simple");
var DEBUG = false;
var MOCKPORT = 30045;
test("inline html", function() {
expect( 2 );
stop();
var c = new Crawler({
"debug":DEBUG
});
c.queue({
"html":"<p><i>great!</i></p>",
"callback":functi... |
import React from 'react';
import ReactDOM from 'react-dom';
import JqxPanel from '../../../jqwidgets-react/react_jqxpanel.js';
class App extends React.Component {
render () {
let innerHtml =
`<div style="direction: rtl;">
<div style='margin: 10px;'>
<h3>Early Histo... |
'use strict';
const test = require('tap').test;
const ecstatic = require('../lib/ecstatic');
const http = require('http');
const request = require('request');
const path = require('path');
const root = `${__dirname}/public`;
const baseDir = 'base';
test('directory listing with query string specified', (t) => {
con... |
/**
* require all DI parameters to be located in their own line
*
* Injected dependencies should be written one per line.
*
* @version 0.14.0
* @category conventions
* @sinceAngularVersion 1.x
*/
'use strict';
var utils = require('./utils/utils');
module.exports = {
meta: {
schema: []
},
c... |
"use strict"
var o = require("ospec")
var stream = require("../stream")
o.spec("scan", function() {
o("defaults to seed", function() {
var parent = stream()
var child = stream.scan(function(out, p) {
return out - p
}, 123, parent)
o(child()).equals(123)
})
o("accumulates values as expected", function()... |
"use strict";
const expect = require('chai').expect;
const runner = require('../runner');
const fs = require('fs');
const path = require('path');
const yaml = require('js-yaml');
const exec = require('child_process').exec;
const prewarm = require('../../lib/utils/when-prewarmed').setupMocha;
describe('scala-runner', ... |
$( document ).ready(function() {
$('.table tbody tr').mouseenter(function() {
if(!$(this).hasClass('notRead'))
$(this).css("background-color", "#cc392f");
});
$('.table tbody tr').mouseleave(function() {
if(!$(this).hasClass('notRead'))
$(this).css("background-color",... |
import React from 'react';
import SvgIcon from '../../SvgIcon';
const ActionBugReport = (props) => (
<SvgIcon {...props}>
<path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-... |
import Expression from '../Expression';
export default class JSXElement extends Expression {
constructor(childNodes) {
super('JSXElement', childNodes);
}
_acceptChildren(children) {
let closingElement = null;
let childrenProperty = [];
let openingElement = children.passNod... |
import xs from 'xstream';
import tween from 'xstream/extra/tween';
import concat from 'xstream/extra/concat';
import {run} from '@cycle/xstream-run';
import {div, button, makeDOMDriver} from '@cycle/dom';
function targetStyle(left, top) {
return {
position: 'relative',
backgroundColor: 'blue',
width: '60... |
'use strict';
module.exports = {
db: 'mongodb://localhost/berniemetrics-dev',
app: {
title: 'berniemetrics - Development Environment'
},
facebook: {
clientID: process.env.FACEBOOK_ID || 'APP_ID',
clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET',
callbackURL: '/auth/facebook/callback'
},
twitter:... |
import path from 'path';
import fs from 'fs-extra';
import chalk from 'chalk';
import ejs from 'ejs';
import Level from './Level';
class PlayerGenerator {
constructor(level) {
this._level = level;
}
getLevel() {
return this._level;
}
getPreviousLevel() {
this._previousLevel = this._previousLeve... |
'use strict';
const logger = require('aurelia-logging').getLogger('Metadata');
let MetadataStrategy = class {
static inject() { return ['package']; }
constructor(pkg) {
this.package = pkg;
}
applies() {
if (!this.hasMetadata(this.package.packageJSON)) {
logger.debug(`There is no "aurelia"."im... |
this["JST"] = this["JST"] || {};
Handlebars.registerPartial("partial", this["JST"]["partial"] = Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
this.compilerInfo = [2,'>= 1.0.0-rc.3'];
helpers = helpers || Handlebars.helpers; data = data || {};
return "<span>Canada</span>";
}));
th... |
define({
"_widgetLabel": "Ringkasan Info",
"title": "Widget InfoSummary",
"helpText": "Teks Bantuan InfoSummary",
"expand": "Alihkan daftar fitur",
"logoPrefix": "Logo "
}); |
/* *
*
* (c) 2010-2021 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import Palette from '../../Color/Palette.js';
import PlotLineOrBandAxis from './PlotLineOrBandAxis.js';
import U from '../../Utilitie... |
/*!
* jQuery JavaScript Library v2.0.1 -sizzle,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr
* 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/license
*
* Date... |
// jshint expr: true
var notify = function () {
chrome.notifications.create('gotta_commit', {
type: 'basic',
iconUrl: '../images/icons/icon128.png',
title: 'You haven\'t commited today yet...',
message: 'Rush to keep your streak going!'
}, function (id) { });
};
var checkNotificationInterval = fun... |
import { moduleForComponent, test } from 'ember-qunit';
import { disabledStateTest, labelTest } from '../../helpers/selectable-item';
moduleForComponent('md-range', {
unit: true,
// Specify the other units that are required for this test
needs: ['service:keyboard']
});
test('it renders', function(assert) {
a... |
'use strict';
var colormin = require('colormin');
var postcss = require('postcss');
var parser = require('postcss-value-parser');
var stringify = parser.stringify;
var trim = parser.trim;
function optimise (decl) {
if (/^(?!font|filter|-webkit-tap-highlight-color)/.test(decl.prop)) {
decl.value = parser(d... |
/**
* 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<<25bcbb8b588db80ca176b38bed363aa1>>
* @flow
* @lightSyntaxTransform
* @nogrep
*/
/* eslint-disabl... |
/**
* jsBezier
*
* Copyright (c) 2010 - 2017 jsPlumb (hello@jsplumbtoolkit.com)
*
* licensed under the MIT license.
*
* a set of Bezier curve functions that deal with Beziers, used by jsPlumb, and perhaps useful for other people. These functions work with Bezier
* curves of arbitrary degree.
*
* - functions ... |
/*
James Cryer / Huddle 2014
URL: https://github.com/Huddle/Resemble.js
*/
(function(_this){
'use strict';
var pixelTransparency = 1;
var errorPixelColor = { // Color for Error Pixels. Between 0 and 255.
red: 255,
green: 0,
blue: 255,
alpha: 255
};
function colorsDistance(c1, c2){
return (Math.abs(c1... |
/**
* @author WestLangley / http://github.com/WestLangley
*/
import { LineSegments } from '../objects/LineSegments.js';
import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
import { BufferAttribute } from '../core/BufferAttribute.js';
import { Float32BufferAttribute } from '../core/BufferAttribute.... |
/*
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.jsonPath.query"]){
dojo._hasResource["dojox.jsonPath.query"]=true;
dojo.provide("dojox.jsonPat... |
import '../styles/global.styl';
import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import Header from '../components/Header/Header';
import { fetchProfile, logout } from '../actions/auth';
@connect(state => ({
auth: state.auth,
router: stat... |
/**
* bootstrap-table - An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3).
*
* @version v1.13.5
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
... |
import actionTypes from "../action types/manageFolderTypesPanelActionsTypes";
import folderPanelActionTypes from "../action types/folderPanelActionsTypes";
import addFolderPanelActions from "../actions/addFolderPanelActions";
import ItemsService from "../services/itemsService";
const manageFolderTypesPanelActions = {
... |
module.exports = exports = {
lang: 'zh-cn',
newglyph: '新字形',
undo: '撤销',
redo: '重做',
import: '导入',
import_svg: '导入svg',
import_svg_title: '导入svg格式字体文件',
import_pic: '导入图片',
import_pic_title: '导入包含字形的图片',
import_font: '导入字体文件',
import_font_title: '导入ttf,woff,eot,otf格式字体文件',
... |
'use strict';
import APIUtils from '../../app/js/utils/APIUtils';
import AuthAPI from '../../app/js/utils/AuthAPI';
import TestHelpers from '../../utils/TestHelpers';
describe('Util: AuthAPI', function() {
const user = TestHelpers.fixtures.user;
it('should make a request to check a user\'s login status',... |
import Hook from './shared/hooks/Hook';
import { getElement } from 'utils/dom';
var insertHook = new Hook( 'insert' );
export default function Ractive$insert ( target, anchor ) {
if ( !this.fragment.rendered ) {
// TODO create, and link to, documentation explaining this
throw new Error( 'The API has changed - yo... |
function KBase_Media(tabwidget) {
var self = this;
this.tabwidget = tabwidget;
this.set_metadata = function (indata) {
this.meta = indata;
this.overview.wsid = indata[7]."/".indata[1];
this.overview.objecttype = indata[2];
this.overview.owner = indata[5];
this.overview.instance = indata[4];
... |
module.exports = function (math) {
var util = require('../../util/index'),
Matrix = require('../../type/Matrix'),
Index = require('../../type/Index'),
array = util.array,
isString = util.string.isString,
isArray = Array.isArray;
/**
* Get or set a subset of a matrix or string
... |
import {
declarationValueIndex,
isSingleLineString,
isStandardSyntaxFunction,
report,
ruleMessages,
validateOptions,
} from "../../utils"
import valueParser from "postcss-value-parser"
export const ruleName = "function-parentheses-newline-inside"
export const messages = ruleMessages(ruleName, {
expected... |
describe("api/ng.$sce", function() {
describe("angular+jqLite", function() {
beforeEach(function() {
browser.get("index-nocache.html#!/api/ng.$sce");
});
describe('SCE doc demo', function() {
it('should sanitize untrusted values', function() {
expect(element(by.css('.htmlComment')).ge... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Appearing of "break" within "try/catch" Block yields SyntaxError
es5id: 12.8_A8_T2
description: >
Checking if using "break Identifier" from within catch Block
appears ... |
/**
* Module dependencies.
*/
var debug = require('debug')('koa-send');
var resolvePath = require('resolve-path');
var assert = require('assert');
var path = require('path');
var normalize = path.normalize;
var basename = path.basename;
var extname = path.extname;
var resolve = path.resolve;
var fs = require('mz/fs'... |
// var LensArticle = require('../model/LensArticle');
var oo = require('substance/util/oo');
var $ = require('substance/util/jquery');
var LensArticleImporter = require('../model/LensArticleImporter');
var importer = new LensArticleImporter();
var Backend = function() {
};
Backend.Prototype = function() {
// A ge... |
YUI.add('scrollview-list', function (Y, NAME) {
/**
* Provides a plugin, which adds support for a scroll indicator to ScrollView instances
*
* @module scrollview-list
*/
var getCN = Y.ClassNameManager.getClassName,
SCROLLVIEW = 'scrollview',
LIST_CLASS = getCN(SCROLLVIEW, 'list'),
ITEM_CLASS = getCN(SCROLLVIEW, 'i... |
const merge = require('webpack-merge');
const prodEnv = require('./prod.env');
module.exports = merge(prodEnv, {
NODE_ENV: '"development"'
});
|
sofia.resources['jw'] = {
"translation": {
"name": "Javanese",
"menu": {
"search": {
"placeholder": "Panelusuran"
},
"config": {
"font": "Font",
"settings": "Setelan",
"tools": "Pribadi"
},
"reset": "ngreset",
"themes": {
"default": "Normal",
"sepia": "Sepia",
"dark": ... |
var abp = abp || {};
(function ($) {
if (!$) {
return;
}
/* JQUERY ENHANCEMENTS ***************************************************/
// abp.ajax -> uses $.ajax ------------------------------------------------
abp.ajax = function (userOptions) {
userOptions = userOpti... |
/**
* The copyright in this software is being made available under the BSD License,
* included below. This software may be subject to other third party and contributor
* rights, including patent rights, and no such rights are granted under this license.
*
* Copyright (c) 2013, Dash Industry Forum.
* All rights re... |
'use strict';
/**
* Get unique error field name
*/
var getUniqueErrorMessage = function(err) {
var output;
try {
var fieldName = err.err.substring(err.err.lastIndexOf('.$') + 2, err.err.lastIndexOf('_1'));
output = fieldName.charAt(0).toUpperCase() + fieldName.slice(1) + ' already exist';
} catc... |
import React, { Component } from "react"
import PropTypes from "prop-types"
import Link from "gatsby-link"
import ClockIcon from "react-icons/lib/fa/clock-o"
import TagIcon from "react-icons/lib/fa/tag"
import OpenIcon from "react-icons/lib/fa/folder-open"
import PostIcons from "../components/PostIcons"
import { rhyt... |
/* *
* Solid angular gauge module
*
* (c) 2010-2018 Torstein Honsi
*
* License: www.highcharts.com/license
*/
/**
* Additional options, depending on the actual symbol drawn.
*
* @interface Highcharts.SymbolOptionsObject
*//**
* Whether to draw rounded edges.
* @name Highcharts.SymbolOptionsObject#rounded
... |
consts: [
["src", i0.ɵɵtrustConstantResourceUrl `https://angular.io/`],
["srcdoc", i0.ɵɵtrustConstantHtml `<h1>Angular</h1>`],
["data", i0.ɵɵtrustConstantResourceUrl `https://angular.io/`, "codebase", i0.ɵɵtrustConstantResourceUrl `/`],
["src", "https://angular.io/"]
],
template: function MyComponent_Template(r... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
function AggressiveMergingPlugin(options) {
if(options !== undefined && typeof options !== "object" || Array.isArray(options)) {
throw new Error("Argument should be an options object. To use defaults, pass in no... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'forms', 'da', {
button: {
title: 'Egenskaber for knap',
text: 'Tekst',
type: 'Type',
typeBtn: 'Knap',
typeSbm: 'Send',
typeRst: 'Nulstil... |
require('../..')()
.depends('foo', ['bar'])
|
#[0];
1 |> #[0, ^];
|
var assert = require('assert');
var R = require('..');
describe('pipeL', function() {
var headLens = R.lensIndex(0);
var xLens = R.lensProp('x');
var headThenXLens = R.pipeL(headLens, xLens);
var xThenHeadLens = R.pipeL(xLens, headLens);
var headXHeadLens = R.pipeL(headLens, xLens, headLens);
var objWi... |
/*!
* jQuery JavaScript Library v2.0.3 -css,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-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://jque... |
var util = require('util'),
director = require('../director');
var Router = exports.Router = function (routes) {
director.Router.call(this, routes);
this.recurse = 'backward';
};
//
// Inherit from `director.Router`.
//
util.inherits(Router, director.Router);
//
// ### function configure (options)
// #### @... |
'use strict';
angular.module('core').directive('interest', [
function() {
return {
template: '<div></div>',
restrict: 'E',
link: function postLink(scope, element, attrs) {
// Interest directive logic
// ...
element.text('this is the interest directive');
}
};
}
]); |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('primeng/dom'), require('primeng/inputtext'), require('@angular/forms')) :
typeof define === 'function' && define.amd ? define('primeng/inpu... |
export default function() {
var ctrlers = deps.ctrlers
var express = deps.express
var theme = deps.theme
var Admin = express.Router()
var config = ctrlers.config
var user = ctrlers.user
var board = ctrlers.board
var thread = ctrlers.thread
// => /admin
Admin.route('/')
// PAGE: Home of Admin p... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... |
/*
* 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.
*/
'... |
var Foo =
/*#__PURE__*/
function (_Bar) {
babelHelpers.inherits(Foo, _Bar);
function Foo() {
var _this;
babelHelpers.classCallCheck(this, Foo);
_this = babelHelpers.possibleConstructorReturn(this, (Foo.__proto__ || Object.getPrototypeOf(Foo)).call(this));
Object.defineProperty(babelHelpers.assertT... |
/**!
* jquery.fancytree.hotkeys.js
*
* Integrate the 'jQuery.Hotkeys' plugin as Fancytree extension:
* https://github.com/jeresig/jquery.hotkeys/
*
* Copyright (c) 2008-2017, Martin Wendt (http://wwWendt.de)
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*/
(function($, ... |
export default function Attribute$updateValue () {
var { node, value } = this;
// store actual value, so it doesn't get coerced to a string
node._ractive.value = value;
// with two-way binding, only update if the change wasn't initiated by the user
// otherwise the cursor will often be sent to the wrong place
i... |
import { Vector3 } from './Vector3.js';
import { Sphere } from './Sphere.js';
/**
* @author bhouston / http://clara.io
* @author WestLangley / http://github.com/WestLangley
*/
function Box3( min, max ) {
this.min = ( min !== undefined ) ? min : new Vector3( + Infinity, + Infinity, + Infinity );
this.max = ( max... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
steal('can/util', 'can/observe', function(can, Observe) {
can.each([ can.Observe, can.Model ], function(clss){
// in some cases model might not be defined quite yet.
if(clss === undefined){
return;
}
can.extend(clss, {
/**
* @attribute can.Observe.static.attributes
* @parent can.Observe.attributes
*... |
const crypto = require('crypto'),
config = require('../../config'),
imageLib = require('../../lib/image'),
urlService = require('../../services/url'),
packageInfo = require('../../../../package.json');
/**
* Serve either uploaded favicon or default
* @return {string}
*/
function getFaviconUrl() {
... |
var COMPILED = false;
var goog = goog || {};
goog.global = this;
goog.global.CLOSURE_UNCOMPILED_DEFINES;
goog.global.CLOSURE_DEFINES;
goog.isDef = function(val) {
return val !== void 0;
};
goog.isString = function(val) {
return typeof val == "string";
};
goog.isBoolean = function(val) {
return typeof val == "bool... |
/*
* Builder Index controller Plugin entity controller
*/
+function ($) { "use strict";
if ($.oc.builder === undefined)
$.oc.builder = {}
if ($.oc.builder.entityControllers === undefined)
$.oc.builder.entityControllers = {}
var Base = $.oc.builder.entityControllers.base,
BasePro... |
/**
* 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 {Source} from 'shared/ReactElementType';
import type {LazyComponent} from 'react/src/ReactLazy';
import {... |
var MeteorPromise = require("./promise.js");
var es6PromiseThen = MeteorPromise.prototype.then;
MeteorPromise.prototype.then = function (onResolved, onRejected) {
if (typeof Meteor === "object" &&
typeof Meteor.bindEnvironment === "function") {
return es6PromiseThen.call(
this,
onResolved && Me... |
/**
* 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... |
/*global describe, it, before, after, __dirname */
var TestEnv = require('./helper/testenv'),
assert = TestEnv.assert;
var _ = require('lodash/core'),
fs = require('fs'),
sf = require('../lib/jsforce'),
config = require('./config/salesforce');
var testEnv = new TestEnv(config);
/**
*
... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.4.2.2_A1.1_T2;
* @section: 15.4.2.2, 15.2.4.2;
* @assertion: The [[Prototype]] property of the newly constructed object
* is set to the original Array prototype obje... |
Clazz.declarePackage ("JZ");
c$ = Clazz.declareType (JZ, "GZIPInputStream");
|
define({main:{"en-AU":{identity:{version:{_number:"$Revision: 12413 $",_cldrVersion:"29"},language:"en",territory:"AU"},dates:{timeZoneNames:{hourFormat:"+HH:mm;-HH:mm",gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",regionFormat:"{0} Time","regionFormat-type-daylight":"{0} Daylight Time","regionFormat-type-standard":"{0} Stand... |
'use strict';
describe('Controller: MainCtrl', function () {
// load the controller's module
beforeEach(module('dashboardApp'));
var MainCtrl,
scope,
$httpBackend;
// Initialize the controller and a mock scope
beforeEach(inject(function (_$httpBackend_, $controller, $rootScope) {
$httpBack... |
/*!
* CanJS - 2.1.2
* http://canjs.us/
* Copyright (c) 2014 Bitovi
* Mon, 16 Jun 2014 20:44:18 GMT
* Licensed MIT
* Includes: CanJS default build
* Download from: http://canjs.us/
*/
define(["can/util/can", "can/util/attr", "can/event", "zepto", "can/util/object/isplain", "can/util/fragment", "can/util/deferred... |
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/*eslint max-nested-callbacks: 0*/
define([
'Magento_Ui/js/grid/paging/paging'
], function (Paging) {
'use strict';
describe('Magento_Ui/js/grid/paging/paging', function () {
var paging;
... |
const breadcrumbInstance = (
<Breadcrumb>
<BreadcrumbItem href="#">
Home
</BreadcrumbItem>
<BreadcrumbItem href="http://getbootstrap.com/components/#breadcrumbs">
Library
</BreadcrumbItem>
<BreadcrumbItem active>
Data
</BreadcrumbItem>
</Breadcrumb>
);
React.render(breadcr... |
"use strict";
var _getSert = require("../getsert");
var ObjectId = require("mongodb").ObjectId;
var generateCode = require("../../../src/utils/code-generator");
var uomData = require("./uom-data-util");
class MachineSpesificationStandardDataUtil {
getSert(input) {
var ManagerType = require("../../../src/... |
var searchData=
[
['get',['Get',['../classv8_1_1_persistent_value_map_base.html#a16b8f906ea42036c2f37d44813bf2a72',1,'v8::PersistentValueMapBase::Get()'],['../classv8_1_1_persistent_value_vector.html#a7b47cacf60ddfa3e2a7f57d788f18b84',1,'v8::PersistentValueVector::Get()']]],
['getalignedpointerfromembedderdata',['G... |
var searchData=
[
['scope',['Scope',['../classv8_1_1_context_1_1_scope.html',1,'v8::Context']]],
['script',['Script',['../classv8_1_1_script.html',1,'v8']]],
['scriptdata',['ScriptData',['../classv8_1_1_script_data.html',1,'v8']]],
['scriptorigin',['ScriptOrigin',['../classv8_1_1_script_origin.html',1,'v8']]],
... |
'use strict';
var debug = require('debug')('base:cli:process');
/**
* _(Requires [templates][], otherwise ignored)_
*
* Register generators to use in templates. Value can be a string or
* array of module names, glob patterns, or file paths, or an object
* where each key is a filepath, glob or module name, and th... |
declare module "react-native-youtube" {
declare type NativeEvent = {
target: number
};
declare type StandaloneAndroidOptions = {|
apiKey: string,
autoplay?: boolean,
lightboxMode?: boolean,
startTime?: number
|};
declare export var YouTubeStandaloneAndroid: {
playVideo: (options: {|
... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T8
description: "NonEscapeSequence :: RUSSIAN SMALL ALPHABET"
---*/
//CHECK#а-я
if ("а" !== "\а") {
$ERROR(... |
/**
* 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 memoize from 'memoize-one';
import type {BatchUID, Milliseconds, ReactProfilerData} from '../types';
function... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.