code stringlengths 2 1.05M |
|---|
type T = {a: number}.['a'];
|
(function () {
'use strict';
var DEFAULT_EVENT_NAMESPACE = '.dashboardshared';
var module = angular.module('pnDashboardShared');
module.directive('pnLoading', function () {
return {
restrict: 'EA',
replace: true,
transclude: true,
scope: {},
... |
var _lrpad = require('underscore.string/lrpad');
var _curry = require('chickencurry').n;
var _reverse = require('reverse-arguments');
module.exports = _curry(_reverse(_lrpad), 3);
|
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path fillOpacity=".3" d="M17 5.33C17 4.6 16.4 4 15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V9h10V5.33z" /><path d="M7 9v11.67C7 21.4 7.6 22 8.33 22h7.3... |
"use strict";
var test = require("blue-tape");
var path_1 = require("path");
var bundle_1 = require("./bundle");
var fs_1 = require("./utils/fs");
var events_1 = require("events");
var emitter = new events_1.EventEmitter();
test('bundle', function (t) {
t.test('bundle everything', function (t) {
var FIXTURE... |
// 如果有建view, 就要指定tagName為何, 不然會ember惠預設為div
var companyItemView = Ember.View.extend({
tagName: 'tr',
didInsertElement: function() {
},
willDestroyElement: function() {
}
});
export default companyItemView; |
var expect = require('chai').expect
import Message from '../../lib/http/message'
import Header from '../../lib/http/header'
import Body from '../../lib/http/body'
/** @test {Message} */
describe('http/message.js',() => {
let message
beforeEach(() => {
message = new Message()
})
/** @test {Message#getHeade... |
var locastyle = locastyle || {};
locastyle.topbarCurtain = (function() {
'use strict';
var config = {
module: '[data-ls-module="topbarCurtain"]'
};
function init() {
unbind();
positionTarget();
bindCloseCurtains();
bindPreventClosing();
repositionOnResize();
updateStatusCounter();... |
import React from "react";
import ReactDOM from "react-dom";
var FileUpload = React.createClass({
render() {
return (
<div className="upload">
<div className="upload__button" onClick={() => this.refs.input.click()}>
{this.props.children}
</... |
/****************************************************************************
Cocos2d-html5 show case : Moon Warriors
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of ... |
define("dojo/_base/declare dojo/_base/lang dojo/topic dojo/dom dojo/query dojo/dom-attr dojo/dom-construct dojo/json dojo/on dojo/keys dojo/_base/array dojo/dom-class dojo/Deferred dijit/focus dojo/i18n!./nls/strings dojo/domReady!".split(" "),function(J,f,K,L,g,d,t,D,h,M,m,p,u,v,w){function x(a,b){var c=new u,e=setInt... |
var assert = require('assert')
, moment = require('moment')
, log = require('winston')
, uuid = require('node-uuid')
, core = require('nitrogen-core')
, EventHubProvider = require('../../lib/eventhub');
log.remove(log.transports.Console);
log.add(log.transports.Console, { colorize: true, timestamp: true, l... |
exports.module = require('./live-reload'); |
/**
* Directive that handles the model arrays
*/
angular.module('schemaForm').directive('sfArray', ['sfSelect', 'schemaForm', 'sfValidator',
function(sfSelect, schemaForm, sfValidator) {
var setIndex = function(index) {
return function(form) {
if (form.key) {
form.key[form.key.indexOf('... |
/**
* @licstart The following is the entire license notice for the
* Javascript code in this page
*
* Copyright 2021 Mozilla Foundation
*
* 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... |
/**
* @fileoverview server模式专用,缓存前一次发布的文件md5,同时做一层过滤
* @author liweitao
*/
'use strict';
var fs = require('fs');
var path = require('path');
var _ = require('lodash');
var through2 = require('through2');
var mkdirp = require('mkdirp');
var gutil = require('gulp-util');
var Util = require('../../util');
module.expo... |
import platform from './dag-map/platform';
import DAG from './dag-map';
/* global define:true module:true window: true */
if (typeof define === 'function' && define.amd) {
define(function() { return DAG; });
} else if (typeof module !== 'undefined' && module.exports) {
module.exports = DAG;
} else if (typeof platf... |
var GEOM = require("./geom");
var Geometry = GEOM.Geometry;
var Feature = require("./feature").Feature;
var Layer = require("./layer").Layer;
var Map = require("./map").Map;
var UTIL = require("./util");
var JMapPane = Packages.org.geotools.swing.JMapPane;
var jts = Packages.com.vividsolutions.jts;
var bound = false;
... |
var searchData=
[
['pathindex',['pathIndex',['../class_file_system_model.html#affd37475376235a3c9ab9afad8e62924',1,'FileSystemModel']]]
];
|
/*!
* jQuery JavaScript Library v1.8.3
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time)
*/
(function(... |
var searchData=
[
['nirq',['NIRQ',['../group___microcontroller.html#ggacdad6d81b9a94402ce3979d531ae4f40ab6c06d9faecfce59a7da45b7944780bd',1,'microapi.h']]]
];
|
const KoaRouter = require('koa-router');
const initiativesRouter = require('./initiatives');
const router = new KoaRouter();
router.get('ongs', '/', async (ctx) => {
const ongs = await ctx.orm.ong.findAll();
await ctx.render('ongs/index', {
ongs,
ongPath: ong => ctx.router.url('ong', { id: ong.id }),
})... |
describe('Player',function(){
var player;
beforeEach(function(){
player = new Player();
});
it('#points are returned',function(){
expect(player.points()).toEqual(0);
});
xit('notes the points of a strike directly to Scorecard',function(){
player.notesPinsDown(10);
expect(player.points()).... |
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Node module: loopback-swagger
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
'use strict';
// Globalization
var g = require('strong-globalize')();
var _ = require('lodash');
module.exports = T... |
/*!
* vue-multiselect v0.1.20
* (c) 2016 Damian Dulisz
* Released under the MIT License.
*/
import Multiselect from './Multiselect'
import multiselectMixin from './multiselectMixin'
import pointerMixin from './pointerMixin'
export default Multiselect
export { Multiselect, multiselectMixin, pointerMixin }
|
/**
* 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 ... |
$(document).ready(function () {
$(".delete-job").bind("click", function () {removeJob($(this))});
$(".job-item").bind("click", function () {viewJob($(this).attr("data-job-id"))});
$(".edit-job").bind("click", function () {editJob($(this))});
})
function timedRefresh(timeoutPeriod) {
setTimeout("location.reload(tr... |
/**
* 培训课程信息
*
* Author: hustcer
* Date: 2012-1-19
*/
/**
* 当前开课情况:Latin
*/
var cCourseLatin = {
// ************** 不同的舞种数据存储在不同的Collecion里面的,一定不能混存。 *************
// ************** 拉丁数据存储在dance数据库中的 latin collecion中 *************
// ************** 爵士数据存储在dance数据库中的 jazz collecion中 ... |
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"am",
"pm"
],
"DAY": [
"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0b... |
import stringIsNumeric from './string-is-numeric';
// Returns true if `transactionDate` is of the form "2016-01", false
// otherwise.
//
// Some examples which return true:
// "2016-10", "201000-01", "1901-01", "1950-12"
//
// Some examples which return false:
// "pie", "asdf-fdsa", "2010-1", "2016-13", "2015-10.4", "... |
Template['home'].helpers({
myFormData: function() {
return { directoryName: 'images', prefix: this._id, _id: this._id }
},
filesToUpload: function() {
return Uploader.info.get();
}
});
Template['uploadedInfo'].helpers({
src: function() {
if (this.type.indexOf('image') >= 0) {
return 'upload... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import { chainPropTypes } from '@material-ui/utils';
import clsx from 'clsx';
import withSty... |
define([
'dojo/request',
'dojo/_base/lang',
'dojo/_base/array',
'dojo/json',
'dojo/_base/declare',
'./Store',
'./QueryResults'
], function (request, lang, arrayUtil, JSON, declare, Store, QueryResults) {
var push = [].push;
return declare(Store, {
// summary:
// This is a basic store for RESTful communi... |
"use strict";import"../../Stock/Indicators/AroonOscillatorIndicator.js"; |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.sWidth" );
/* NOTE - we need to disable the auto width for the majority of these test in order to preform
* these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests
* with auto width enabled however to ensure it scales co... |
var generateCrumb = require("../crumb"),
nock = require('nock'),
Code = require('code'),
Lab = require('lab'),
lab = exports.lab = Lab.script(),
describe = lab.experiment,
before = lab.before,
after = lab.after,
afterEach = lab.afterEach,
it = lab.test,
expect = Code.expect,
fixtures = require('..... |
var calOptions = {
destCssSelector: ".calHeatMap",
width: 1147,
height: 147,
margins: {top:15.5, right:5.5, bottom:5.5, left:40.5},
title: "",
colorScale: d3.scale.quantize().domain([0, 900]).range(d3.range(6)),
colorScaleSize: 6,
showMonthGroups: true,
showMonthContour: true,
showAllWeekDays: false... |
/* */
"format global";
/**
* 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 appl... |
const should = require('should');
const sinon = require('sinon');
const rewire = require('rewire');
const configUtils = require('../../../utils/configUtils');
const rssCache = rewire('../../../../core/frontend/services/rss/cache');
describe('RSS: Cache', function () {
let generateSpy;
let generateFeedReset;
... |
// Copyright 2018 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.
/**
* @implements {SDK.SDKModelObserver<!SDK.RuntimeModel>}
* @implements {UI.ListDelegate<!Profiler.IsolateSelector.ListItem>}
*/
Profiler.IsolateSele... |
(function(window) {
'use strict';
var plugins = namespace('plugins');
plugins.SystemEnvironment = function(cockpit) {
var self = this;
self.cockpit = cockpit;
console.log("SystemEnvironment Plugin running");
};
plugins.SystemEnvironment.prototype.getTelemetryDefintions = function getTelemetryDef... |
var express = require('../')
, request = require('./support/http');
describe('OPTIONS', function(){
it('should default to the routes defined', function(done){
var app = express();
app.del('/', function(){});
app.get('/users', function(req, res){});
app.put('/users', function(req, res){});
re... |
const expect = require('chai').expect;
describe('Page Load timeout', () => {
describe('Run level', () => {
describe('Should wait for the window.load event if necessary', function () {
it('Should wait for the window.load event if there are user event handlers for it', function () {
... |
'use strict';
module.exports = [''];
|
/*
* 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.
*/
'... |
// -------------------------------------------------------------
// WARNING: this file is used by both the client and the server.
// Do not use any browser or node-specific API!
// -------------------------------------------------------------
import INSTRUCTION from '../instruction';
import { createGetEvalMethCall } f... |
'use strict';
var async = require('async');
var utils = require('../../utils');
module.exports = function (db, module) {
var helpers = module.helpers.mongo;
require('./sorted/add')(db, module);
require('./sorted/remove')(db, module);
require('./sorted/union')(db, module);
require('./sorted/intersect')(db, modul... |
angular.module('MyApp')
.factory('Show', function($resource) {
return $resource('/api/shows/:_id');
}); |
var eep = require('eep');
var events = require('events');
var testCase = require('nodeunit').testCase;
var floatEquals = function (a,b) {
var a1 = Math.round(parseFloat(a)*100)/100;
var b2 = Math.round(parseFloat(b)*100)/100;
return a1 == b2;
};
exports.read = testCase({
setUp: function(cb) {
this._openS... |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
http://www.cocos2d-x.org
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 Sof... |
function foo() {
return regeneratorRuntime.async(function foo$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
(function _callee(number) {
var tmp;
return regeneratorRuntime.async(function _callee$(_context) {
while (1) switch (_context.prev ... |
/**
* AppRunStatus Factory
*
* @description Handles app status events such as "resume" etc.
*/
(function() {
'use strict';
angular
.module('starter.services')
.factory('AppRunStatusService', AppRunStatusService);
AppRunStatusService.$inject = ['$ionicPopup', '$ionicLoading', 'devUtils', 'vsnUtils', ... |
import Ember from 'ember';
export default Ember.Route.extend({
titleToken: function(){
var database = this.modelFor('database');
return `Cluster ${database.get('handle')}`;
}
});
|
define([
'misc/Utils',
'mesh/multiresolution/MeshResolution',
'mesh/multiresolution/LowRender',
'editor/Subdivision',
'editor/Reversion'
], function (Utils, MeshResolution, LowRender, Subdivision, Reversion) {
'use strict';
var Multimesh = function (mesh) {
// every submeshes will share the same ren... |
{
"type": "FeatureCollection",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "Incident number": 110600010, "Date": "3\/1\/2011", "Time": "03:01 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "3702 W JUNIPER ... |
tQuery.registerStatic('LeapController', function(opts){
opts = tQuery.extend(opts, {
world : tQuery.world
})
// init controller
this._controller= new Leap.Controller({
enableGestures : true
});
this._lastFrame = null;
// store last frame and notify all listener
this._controller.loop(function(frame) {
... |
import '../css/index.scss';
console.log('sprites-split-retina');
|
define({
"id": "ID",
"state": "Vaikimisi kuvatakse koordinaadid praeguse kaardi koordinaatsüsteemis. Koordinaatide kuvamiseks muudes koordinaatsüsteemides peate need eraldi lisama ja määrama vastavad transformatsioonid.",
"outputUnit": "Väljundi ühik",
"wkid": "Väljundi WKID",
"defaultTitle": "Vaikimisi",
"... |
exports.getFeatureResult = function(result, spatialcol) {
var props = new Object;
var crsobj = {
"type" : "name",
"properties" : {
"name" : "urn:ogc:def:crs:EPSG:6.3:4326"
}
};
//builds feature properties from database columns
for (var k in result) {
if (result.hasOwnProperty(k)) {
var nm ... |
// Copyright 2021 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
description: >
Unicode property escapes for `Script_Extensions=Tagbanwa`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
... |
// moment.js locale configuration
// locale : Moroccan Arabic (ar-ma)
// author : ElFadili Yassine : https://github.com/ElFadiliY
// author : Abdel Said : https://github.com/abdelsaid
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['moment'], factory); // AMD
} e... |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('cr... |
"use strict";
const {
wrapModuleWithTracking
} = require(`./tracking-unsafe-module-wrapper`);
module.exports = wrapModuleWithTracking(`https`, {
ignore: [`https.Agent`]
}); |
/*globals define, _, $*/
/*jshint browser: true*/
/**
* @author rkereskenyi / https://github.com/rkereskenyi
*/
define(['js/Controls/PropertyGrid/Widgets/WidgetBase'], function (WidgetBase) {
'use strict';
var BooleanWidget,
CHECKBOX_BASE = $('<input/>', {type: 'checkbox'});
BooleanWidget = f... |
var common = require('../common');
var connection = common.createConnection({port: common.bogusPort});
var assert = require('assert');
connection.connect();
connection.query('SELECT 1');
var err;
connection.on('error', function(_err) {
assert.equal(err, undefined);
err = _err;
});
process.on('exit', func... |
/**
* @fileoverview Tests for comma-dangle rule.
* @author Ian Christian Myers
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const rule = require("../../../lib/rules... |
absConfig.pushAfterBootstrap('abs.profileModel.providerModel'); |
'use strict';
const chai = require('chai'),
expect = chai.expect,
Sequelize = require('../../../../index'),
Support = require('../../support'),
dialect = Support.getTestDialect(),
tedious = require('tedious'),
sinon = require('sinon');
if (dialect === 'mssql') {
describe('[MSSQL Specific] Connection Man... |
/**
* @license Copyright (c) 2010 Brian Cavalier
* LICENSE: see the LICENSE.txt file. If file is missing, this file is subject
* to the MIT License at: http://www.opensource.org/licenses/mit-license.php.
*/
/*
File: events.js
wire plugin that can connect event handlers after an object is initialized,
and discon... |
$(document).ready(function() {
"use strict";
// AV variables
var initData,
bh,
swapIndex,
// Load the configurations created by odsaAV.js
config = ODSA.UTILS.loadConfig(),
interpret = config.interpreter,
code = config.code,
codeOptions = {after: {element: $(".instructio... |
const nest = require('depnest')
const pull = require('pull-stream')
const Notify = require('pull-notify')
const { isMsg, isFeed } = require('ssb-ref')
exports.gives = nest('about.pull.updates')
exports.needs = nest({
'keys.sync.id': 'first',
'message.obs.likes': 'first',
'sbot.pull.stream': 'first'
})
exports.... |
import React, { Component, PropTypes } from 'react'
import GoogleUserChip from 'template-ui/lib/components/widgets/GoogleUserChip'
import IconBadge from 'template-ui/lib/components/widgets/IconBadge'
import ActiveInstallationFilter from 'template-ui/lib/plugins2/installation/containers/ActiveInstallationFilter'
import ... |
import Promise from 'pinkie';
export function preventCaching (res) {
res.setHeader('cache-control', 'no-cache, no-store, must-revalidate');
res.setHeader('pragma', 'no-cache');
}
export function respond404 (res) {
res.statusCode = 404;
res.end();
}
export function respond500 (res, err) {
res.stat... |
/*! Esri-Leaflet - v0.0.1-beta.4 - 2014-03-09
* Copyright (c) 2014 Environmental Systems Research Institute, Inc.
* Apache License*/
/* globals L */
(function(L, Terraformer){
L.esri.HeatMapFeatureLayer = L.Class.extend({
includes: L.esri.Mixins.featureGrid,
options: {
cellSize: 512,
debounce:... |
GS.AnimationView = function(gridObject) {
this.gridObject = gridObject;
this.loops = {
attack: {
delay: 10,
},
inactive: {
delay: 30,
},
walk: {
delay: gridObject.walkDelay,
},
death: {
delay: 30,
runOnce: true,
},
};
this.floatYDelta = 0.5;
this.floatAngle = 0;... |
//>>built
define("dojox/wire/ml/XmlHandler",["dojo","dijit","dojox","dojo/require!dojox/wire/ml/RestHandler,dojox/xml/parser,dojox/wire/_base,dojox/wire/ml/util"],function(a,g,c){a.provide("dojox.wire.ml.XmlHandler");a.require("dojox.wire.ml.RestHandler");a.require("dojox.xml.parser");a.require("dojox.wire._base");a.re... |
import { createStructuredSelector } from 'reselect';
export default createStructuredSelector({
acknowledged: state => state.realityCheck.get('acknowledged'),
interval: state => state.realityCheck.get('interval'),
showInitial: state => state.realityCheck.get('showInitial'),
showSummary: state => state.r... |
import TreeSet from '../../../../java/util/TreeSet';
import LineString from '../geom/LineString';
import hasInterface from '../../../../hasInterface';
import MultiPoint from '../geom/MultiPoint';
import extend from '../../../../extend';
import GeometryGraph from '../geomgraph/GeometryGraph';
import GeometryCollection f... |
export default function IllegalArgumentException () {}
|
it("should polyfill System", function() {
if (typeof System === "object" && typeof System.register === "function") {
require("fail");
}
expect((typeof System)).toBe("object");
expect((typeof System.register)).toBe("undefined");
expect((typeof System.get)).toBe("undefined");
expect((typeof System.set)).toBe("und... |
({"1":"最小","2":"較小","formatBlock":"格式","monospaced":"單距","3":"小","4":"中","5":"大","6":"較大","7":"最大","fantasy":"Fantasy","serif":"新細明體","p":"段落","pre":"預先格式化","sans-serif":"新細明體","fontName":"字型","h1":"標題","h2":"子標題","h3":"次子標題","fontSize":"大小","cursive":"Cursive","monospace":"monospace"}) |
/**
* Copyright 2014 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 ... |
define(function() {
require('text!/templates/login');
});
|
var assert = require('assert');
var R = require('..');
describe('lensProp', function() {
var phraseLens = R.lensProp('catchphrase');
var xLens = R.lensProp('x');
var obj = {x: 100, y: 200, catchphrase: 'zing!'};
function uc(s) { return s.toUpperCase(); }
it('retrieves values from inside an object as defi... |
// Init & set carousel options for bootstrap-carousel plugin on homepage
jQuery(document).ready(function(){
$('.carousel').carousel({
interval: 5000,
loop: true
});
}); |
module.exports = {
suites: [
'tests/client/suites/library.js',
'tests/client/suites/after-body.js',
'tests/client/suites/source.js'
],
dependencies: [
{
name: 'jquery',
path: 'client-vendor/after-body/10-jquery/jquery'
},
{
name: 'underscore',
path: 'client-vendor/... |
const readingMinutes = require('@tryghost/helpers').utils.readingMinutes;
module.exports.forPost = (frame, model, attrs) => {
const _ = require('lodash');
if (!Object.prototype.hasOwnProperty.call(frame.options, 'columns') ||
(frame.options.columns.includes('excerpt') && frame.options.formats && frame... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsLocalTaxi = (props) => (
<SvgIcon {...props}>
<path d="M18.92 6.01C18.72 5.42 18.16 5 17.5 5H15V3H9v2H6.5c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.4... |
angular.module('subheaderBasicDemo', ['ngMaterial'])
.controller('SubheaderAppCtrl', function($scope) {
var imagePath = 'https://material.angularjs.org/img/list/60.jpeg';
$scope.messages = [
{
face : imagePath,
what: 'Brunch this weekend?',
who: 'Min Li Chan',
when: '3:08... |
import React from 'react'
import { prefix } from 'goober-autoprefixer'
import { setup } from 'goober'
// goober's needs to know how to render the `styled` nodes.
// So to let it know, we run the `setup` function with the
// `createElement` function and prefixer function.
setup(React.createElement, prefix)
export defa... |
'use strict';
var createHTML = require('../internals/create-html');
var FORCED = require('../internals/forced-string-html-method')('italics');
// `String.prototype.italics` method
// https://tc39.github.io/ecma262/#sec-string.prototype.italics
require('../internals/export')({ target: 'String', proto: true, forced: FOR... |
import Ember from 'ember';
export default {
/**
* Get the currently active account
* @param {DS.Store} store
* @return {Promise}
*/
getActiveAccount: function (store) {
return new Ember.RSVP.Promise(function (resolve, reject) {
var accounts = store.peekAll('account'),
... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'basicstyles', 'ka', {
bold: 'მსხვილი',
italic: 'დახრილი',
strike: 'გადახაზული',
subscript: 'ინდექსი',
superscript: 'ხარისხი',
underli... |
/**
* Created by jyothi on 16/2/17.
*/
import { getVideoInfoAPI } from './api';
export const getVideoInfo = (videoId) => {
return (dispatch, getState) => {
return dispatch({
types: [
],
payload: {
promise: getVideoInfoAPI(videoId)
... |
var fs = require("fs");
var path = require("path");
it("should correctly import a UMD2 external", function() {
var external = require("external0");
expect(external).toBe("module 0");
});
it("should contain `require()` statements for the UMD2 external", function() {
var source = fs.readFileSync(path.join(__dirname,... |
version https://git-lfs.github.com/spec/v1
oid sha256:c44f7b1d9ee972be0a3d2c8459182a0f4ad55f1d895b5924b529c1770a804c4e
size 479
|
/**!
*
* Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file.
*/
'use strict';
var BatchedRequestQueue = require('../../../../lib/batched-request-queue');
/**
* @class
* @extends BatchedRequestQueue
* @memberof Encryption
*/
var KmsBatchedRequestQueue = BatchedRequestQueue.extend({
namespace: 'Encr... |
/*! UIkit 3.0.1 | http://www.getuikit.com | (c) 2014 - 2018 YOOtheme | MIT License */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
typeof define === 'function' && define.amd ? define('uikitfilter', ['uikit-util'],... |
(function()
{
'use strict';
angular
.module('lumx.text-field')
.directive('lxTextField', lxTextField);
lxTextField.$inject = ['$timeout'];
function lxTextField($timeout)
{
return {
restrict: 'E',
templateUrl: 'text-field.html',
scope:
... |
/*
Highcharts JS v7.0.0 (2018-12-11)
Item series type for Highcharts
(c) 2010-2018 Torstein Honsi
License: www.highcharts.com/license
*/
(function(c){"object"===typeof module&&module.exports?module.exports=c:"function"===typeof define&&define.amd?define(function(){return c}):c("undefined"!==typeof Highcharts?Hi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.