code stringlengths 2 1.05M |
|---|
/*! UIkit 3.6.22 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
typeof define === 'function' && define.amd ? define('uikitupload', ['uikit-util'... |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
impo... |
/**
* @license Highcharts JS v9.2.1 (2021-08-19)
* @module highcharts/modules/pattern-fill
* @requires highcharts
*
* Module for adding patterns and images as point fills.
*
* (c) 2010-2021 Highsoft AS
* Author: Torstein Hønsi, Øystein Moseng
*
* License: www.highcharts.com/license
*/
'use strict';
import '.... |
/**
* @license Highcharts JS v9.2.0 (2021-08-18)
* @module highcharts/modules/variwide
* @requires highcharts
*
* Highcharts variwide module
*
* (c) 2010-2021 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../Series/Variwide/VariwideSeries.js';
|
/*!
* Copyright (c) 2017 ~ present NAVER Corp.
* billboard.js project is licensed under the MIT license
*
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 2.2.4
* @requires billboard.js
* @summary billboard.js plugin
*/
(function webpackUniversalModuleDefinition(ro... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
require('./reducer-d2994695.js');
require('redux');
require('immer');
require('./Debug-a6563590.js');
require('flatted');
require('./ai-9c3a6356.js');
require('./initialize-8bfbe4ed.js');
var client = require('./client-fb78b9dd.js');
expo... |
/*!
* DevExtreme (dx.aspnet.mvc.js)
* Version: 21.1.0 (build 20322-0316)
* Build date: Tue Nov 17 2020
*
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
! function(factory) {
if ("function" === typeof define && d... |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _extends from "@babel/runtime/helpers/esm/extends";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import { unstable_composeClasses as composeClasses } from '@material-ui/unstyled';
import clsx fr... |
// simple echo action
var
bole = require('bole'),
stream = require('stream'),
util = require('util')
;
var EchoRule = module.exports = function EchoRule()
{
stream.Writable.call(this, { objectMode: true });
this.logger = bole('echo');
};
util.inherits(EchoRule, stream.Writable);
EchoRule.prototype._write =... |
import acid from '../namespace/index';
import { assign } from '../internal/object';
import { hasValue } from '../internal/is';
import { toPath } from '../utility/toPath';
import { whileArray } from '../array/each';
/**
* Returns property on an object.
*
* @function get
* @category utility
* @type {Function}
... |
var app = require('express')(),
wizard = require('hmpo-form-wizard'),
steps = require('./steps'),
fields = require('./fields');
app.use(require('hmpo-template-mixins')(fields, { sharedTranslationKey: 'prototype' }));
app.use(wizard(steps, fields, { templatePath: 'priority_service_170202/photoguide-myself'... |
pc.extend(pc, function () {
/**
* @name pc.ComponentSystem
* @class Component Systems contain the logic and functionality to update all Components of a particular type
* @param {pc.Application} app The running Application
*/
var ComponentSystem = function (app) {
this.app = app;
... |
{
Vue.prototype._init = function(options) {
var vm = this;
vm._uid = uid++;
var startTag, endTag;
if (process.env.NODE_ENV !== "production" && config.performance && mark) {
startTag = "vue-perf-init:" + vm._uid;
endTag = "vue-perf-end:" + vm._uid;
mark(startTag);
}
vm._isVu... |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var abstract_1 = require("./abstract");
var Refe... |
module.exports={A:{A:{"2":"K C G E B A WB"},B:{"2":"D u Y I M H"},C:{"2":"0 1 2 3 5 6 7 UB z F J K C G E B A D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o p q r s t y v g SB RB"},D:{"1":"0 1 2 3 5 6 7 h i j k l m n o p q r s t y v g GB BB DB VB EB","2":"F J K C G E B A D u Y I M H N O P Q R S T U ... |
import React from 'react';
import {Icon, Popup} from "semantic-ui-react";
export class IconButton extends React.Component{
render() {
const icon = (
<Icon
circular
inverted
disabled={this.props.disabled}
name={this.props.name}
... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
var searchData=
[
['kinematics',['Kinematics',['../classrobotis__manipulator_1_1_kinematics.html#a3d08da271bc5cce3cafa2d331277cc5d',1,'robotis_manipulator::Kinematics']]]
];
|
const ipcRenderer = require('electron').ipcRenderer;
const CallbacksRegistry = require('electron').CallbacksRegistry;
const v8Util = process.atomBinding('v8_util');
const callbacksRegistry = new CallbacksRegistry;
var indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in thi... |
/*
* @require ../../server/author.js
*/
/************ vue ************/
var imgAlipay = __inline('../public/yhklogo.png');
var imgArrowRight = __inline('../public/arrow.png');
var imgCard = __inline('../public/zfblogo.png');
var imgEmpty = __inline('../public/konglogo.png');
var imgLogo = __inline('../public/jbylo... |
/**
* define content script namespace
* @type {Object}
*/
window.Inspect3js = window.Inspect3js || {}
//////////////////////////////////////////////////////////////////////////////////
// Comments
//////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////... |
var request = require('../../');
var setup = require('../support/setup');
var base = setup.uri;
var fs = require('fs');
describe('pipe on redirect', function () {
var destPath = 'test/node/fixtures/pipe.txt';
after(function removeTmpfile(done) {
fs.unlink(destPath, done);
});
it('should follow Location',... |
function basetext(widget_id, url, skin, parameters)
{
// Will be using "self" throughout for the various flavors of "this"
// so for consistency ...
self = this;
// Initialization
self.widget_id = widget_id;
// Store on brightness or fallback to a default
// Parameters may come in usefu... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
module.exports = {
demoTest: function (client) {
client.url('http://localhost')
.assert.elementPresent('#weblogin')
.end();
},
afterEach: function(client, done) {
}
};
|
require([
'gitbook'
], function(gitbook) {
gitbook.events.on('start', function(e, config) {
$('.fancybox').fancybox($.extend({
'loop': false,
'afterLoad' : function() {
this.title = (this.index + 1) + '/' + this.group.length + (this.title ? ' - ' + this.title : '');
... |
"use strict";
var p = require('./modules/utils.js').prettyPrint;
var Tcp = require('./modules/classes.js').Tcp;
var server, socket, client;
function Server(host, port) {
Tcp.call(this);
p("server", this);
this.bind(host, port);
this.listen(128, this.onConnection);
}
Server.prototype.__proto__ = Tcp.prototype;... |
var searchData=
[
['id',['id',['../structrobotis__manipulator_1_1_joint_constant.html#ac4e09e4e2886029c58d6f727e9b1e274',1,'robotis_manipulator::JointConstant']]],
['inertia',['inertia',['../structrobotis__manipulator_1_1_relative.html#ad761bd6e74a48a22dedb93feed45f5db',1,'robotis_manipulator::Relative']]],
['ine... |
lychee.define('fertilizer.event.flow.html.Build').includes([
'fertilizer.event.Flow'
]).exports((lychee, global, attachments) => {
const _Flow = lychee.import('fertilizer.event.Flow');
const _INDEX = {
application: attachments['index.html'],
library: attachments['index.js']
};
const _META = {
applica... |
/* global $ */
$(() => {
"use strict";
var $qanda = $(".js-q-and-a");
var url = "http://localhost:8000/5614e8bded37eded3f16a9e6";
fetch(url).then((response) => {
response.json().then((resp) => {
if (!resp._embedded || !resp._embedded["hack:questions"] || !resp._embedded["hack:questions"].length) {
... |
YUI.add('yui2-logger', function(Y) {
var YAHOO = Y.YUI2;
/*
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.9.0pr1
*/
/****************************************************************************/
/**************... |
import always from 'ramda/src/always';
import moment from 'moment';
const NOW = 'now';
const defaultMessage = '<%= propertyName %> must greater than <%= ruleParams[1] %>.';
// Use object (it will be passed as reference at index.js) to represent the message,
// because we want to change it dynamically based on the off... |
version https://git-lfs.github.com/spec/v1
oid sha256:19a2379369398913bbc402789e778c0c45d45104bacd7d2bc64f95033f1061a2
size 17119
|
var assert = require('assert'),
request = require('request'),
swintProcOps = require('../lib');
global.swintVar.printLevel = 5;
describe('Basic feature', function() {
before(function(done) {
var procOps = swintProcOps({
server: {
enabled: true
},
keyBind: {
enabled: true
}
});
pro... |
var http = require('http'),
request = require('request'),
helpers = require('./helpers');
/**
* MailChimp API wrapper for the API version 1.1. This object should not be
* instantiated directly but by using the version wrapper {@link MailChimpAPI}.
*
* @param apiKey The API key to access the MailChimp API w... |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
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 ('v... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2019 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Perimeter = require('./Perimeter');
var Point = require('../point/Point');
/**
* Position is a value between 0 and 1 where 0 = the top-lef... |
/**
* Utility functions for activity monitor presentation
* @module built.app.activity.activity
*/
define(function(require, exports, module) {
var vent = require('built/app/vent').vent;
var events = require('./events');
var count = 0;
/**
* called to trigger activity monitor to be presented
* should be called e... |
// https://github.com/DevExpress/DevExtreme.AspNet.Data
// Copyright (c) Developer Express Inc.
// jshint strict: true, browser: true, jquery: true, undef: true, unused: true, eqeqeq: true
/* global DevExpress, define */
(function(factory) {
"use strict";
if(typeof define === "function" && define.amd) {
... |
/*
jquery.nexMenu.js
http://www.extgrid.com/menu
author:nobo
qq:505931977
QQ交流群:13197510
email:zere.nobo@gmail.com or QQ邮箱
*/
;(function($){
"use strict";
var menu = Nex.widget('menu');
//Nex.menuzIndex = 99997;
$.nexMenu = $.extMenu = menu;
menu.extend({
version : '1.0',
getDefaults : function(opt){
var ... |
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
import AppBar from 'material-ui/AppBar';
import IconButton from 'material-ui/IconButton';
import NavigationMenu from 'material-ui/svg-icons/navigation/menu';
import MenuPopComponent from './MenuPopComponent';
import { toggleMenu... |
// Testing the main file
describe(".removeClass()", function() {
//var work = false;
beforeEach(function(){
base.addClass('bla blu blo');
hasClass('bla blu blo');
});
afterEach(function(){
base.removeClass('bla blu blo');
hasClass('bla blu blo', true);
});
it("should be defined", functio... |
/*
* Controllers for the NIPAP AngularJS app
*/
var nipapAppControllers = angular.module('nipapApp.controllers', []);
/*
* VRFListController - used to list VRFs on the /vrf/list-page
*/
nipapAppControllers.controller('VRFListController', function ($scope, $http) {
// Fetch VRFs from backend
$http.get('/xhr/lis... |
module.exports = require("./lib/experimental-worker");
|
///////////////////////////////////////////////////////////////////////////
// Copyright © Esri. 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.ap... |
{signal: [
{name: 'clk', wave: 'p.....|...'},
{name: 'dat', wave: 'x.345x|=.x', data: ['head', 'body', 'tail', 'data']},
{name: 'req', wave: '0.1..0|1.0'},
{name: 'ack', wave: '1.....|01.'}
]}
|
angular.module('abMaterial').controller('TableCtrl', function ($scope, $mdToast, $mdDialog, RestService, $ocLazyLoad, $timeout, $q, $log) {
var tableDataService = new RestService('app/data/tabledata.json');
$scope.appCfg.loading = true;
$scope.tableData = [];
$scope.maxSize = 5;
$scope.totalItems... |
{
"name": "logToServer.js",
"url": "https://github.com/mperdeck/JSNLog.AngularJS.git"
}
|
<script>
function enableNext() {
$("#next_button").prop("disabled", false);
$("#next_button").css("background-color", "white");
$("#next_button").css("border", "solid 3px white");
$("#next_button").css("cursor", "pointer");
}
function disableNext() {
$("#next_button").prop("disabled", true);
$("#next_... |
// Copyright (c) 2012 Ecma International. All rights reserved.
// Ecma International makes this code available under the terms and conditions set
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
// "Use Terms"). Any redistribution of this code must retain the above
// copyright and this n... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.7.3_A2.4_T1;
* @section: 11.7.3;
* @assertion: First expression is evaluated first, and then second expression;
* @description: Checking with "=";
*/
//CHE... |
//controller
var controller = require('../controllers/static');
module.exports = [
{
method: 'GET',
path: '/partials/{path*}',
config: controller.partials
},
{
method: 'GET',
path: '/images/{path*}',
config: controller.images
},
{
method: 'GET... |
'use strict';
module.exports = exports = require('./lib/config');
exports.Action = require('./lib/action');
exports.Command = require('./lib/command'); |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// Depends on jsonlint.view from https://github.com/zaach/jsonlint
// declare global: jsonlint
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
/*
* response-stream.js: A Stream focused on writing any relevant information to
* a raw http.ServerResponse object.
*
* (C) 2011, Nodejitsu Inc.
* MIT LICENSE
*
*/
var util = require('util'),
HttpStream = require('./http-stream');
//
// ### function ResponseStream (options)
//
//
var ResponseStream = modu... |
var pagerInstance = (
<Pager>
<PageItem previous href="#">← Previous</PageItem>
<PageItem disabled next href="#">Next →</PageItem>
</Pager>
);
React.render(pagerInstance, mountNode); |
define([
"dojo/_base/declare",
"dijit/_Widget",
"dijit/_TemplatedMixin",
"dijit/_WidgetsInTemplateMixin",
"plugins/form/DndSource",
"dojo/domReady!",
"dijit/TitlePane"
],
function (declare,
_Widget,
_TemplatedMixin,
_WidgetsInTemplateMixin,
DndSource) {
return declare("plugins.workflow.Apps... |
(function () {
'use strict';
angular.module('app.modelSettings', [
'app.core',
'app.widgets'
]);
})();
|
const SystemMetadata = Object.freeze({
maxAge: '$maxAge',
maxCount: '$maxCount',
truncateBefore: '$tb',
cacheControl: '$cacheControl',
acl: '$acl',
aclRead: '$r',
aclWrite: '$w',
aclDelete: '$d',
aclMetaRead: '$mr',
aclMetaWrite: '$mw',
userStreamAcl: '$userStreamAcl',
systemStreamAcl: '$systemS... |
/*!
* Chart.js
* http://chartjs.org/
*
* Copyright 2013 Nick Downie
* Released under the MIT license
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
*/
//Define the global Chart Variable as a class.
window.Chart = function(context, options){
var chart = this;
//Easing functions adapted from Robe... |
{
"translatorID": "3f73f0aa-f91c-4192-b0d5-907312876cb9",
"translatorType": 4,
"label": "ThesesFR",
"creator": "TFU, Mathis EON",
"target": "^https?://(www\\.)?theses\\.fr/([a-z]{2}/)?((s\\d+|\\d{4}.{8}|\\d{8}X|\\d{9})(?!\\.(rdf|xml)$)|(sujets/\\?q=|\\?q=))(?!.*&format=(json|xml))",
"minVersion": "3.0",
"maxVers... |
define(['./_baseForOwnRight', './_baseIteratee'], function(baseForOwnRight, baseIteratee) {
/**
* This method is like `_.forOwn` except that it iterates over properties of
* `object` in the opposite order.
*
* @static
* @memberOf _
* @since 2.0.0
* @category Object
* @param {Object} object Th... |
import { OpaqueToken } from '@angular/core';
import { ObservableWrapper } from '../facade/async';
import { StringMapWrapper } from '../facade/collection';
import { isBlank, isPresent, isString } from '../facade/lang';
import { PromiseWrapper } from '../facade/promise';
/**
* Providers for validators to be used for {@l... |
/* */
module.exports = function(hljs) {
return {
subLanguage: 'xml',
contains: [
hljs.COMMENT('<%#', '%>'),
{
begin: '<%[%=-]?', end: '[%-]?%>',
subLanguage: 'ruby',
excludeBegin: true,
excludeEnd: true
}
]
};
}; |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... |
define(
[
'ufojs/tools/pens/BasePen'
, 'ufojs/tools/misc/arrayTools'
],
function(
Parent
, arrayTools
) {
"use strict";
var updateBounds = arrayTools.updateBounds;
/**
* javascript port based on the original python sources from:
* https://github.com/robofab... |
import Head from 'next/head'
import clientPromise from '../lib/mongodb'
export default function Home({ isConnected }) {
return (
<div className="container">
<Head>
<title>Create Next App</title>
<link rel="icon" href="/favicon.ico" />
</Head>
<main>
<h1 className="title... |
module.exports = {
entry: './index.jsx',
output: {
publicPath: '/assets'
},
module: {
loaders: require('./loaders.config')
},
externals: {
'react': 'React'
},
resolve: {
extensions: ['', '.js', '.jsx']
}
} |
import {Decorators} from './decorators';
/**
* Chain mutator
* Makes a class method chainable by always returning `this` automatically.
*/
export function _chain(fn){
return function(){
fn.apply(this, arguments);
return this;
}
}
//create a decorator from the mutator
export var chain = Decorators.mutat... |
/* Copyright (C) 2012-2014 Kurt Milam - http://xioup.com | Source: https://gist.github.com/1868955
*
* 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... |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
module.exports = function (req, res, next) {
var format = req.query.format || 'json';
var s... |
/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
class example extends Component {
render() {
return (
<View style={styles.container}>
<Text style={st... |
define(['marionette'], function(marionette) {
return marionette.Behavior.extend({
defaults: {
width: '1px',
color: 'red',
style: 'solid'
},
events: {
'mouseenter': 'onMouseEnter',
'mouseleave': 'onMouseLeave'
},
on... |
;(function(undefined) {
'use strict';
if (typeof sigma === 'undefined')
throw 'sigma is not declared';
// Packages initialization:
sigma.utils.pkg('sigma.settings');
var settings = {
/**
* GRAPH SETTINGS:
* ***************
*/
// {boolean} Indicates if the data have to be cloned i... |
import {base64} from '@ciscospark/common';
export const eventNames = {
SPACES_READ: `rooms:read`,
SPACES_UNREAD: `rooms:unread`,
MESSAGES_CREATED: `messages:created`
};
/**
* Constructs an event detail object for messages:created
* @export
* @param {Object} activity from mercury
* @param {Object} toUser
* ... |
/**
* Copyright <%= year %> 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 agr... |
import React from 'react'
import Icon from 'react-icon-base'
const FaAngleDoubleLeft = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m22 30.7q0 0.3-0.2 0.5l-1.1 1.1q-0.3 0.3-0.6 0.3t-0.5-0.3l-10.4-10.4q-0.2-0.2-0.2-0.5t0.2-0.5l10.4-10.4q0.3-0.2 0.5-0.2t0.6 0.2l1.1 1.1q0.2 0.3 0.2 0.5t-0.2 0... |
/*!
* remark v1.0.6 (http://getbootstrapadmin.com/remark)
* Copyright 2015 amazingsurge
* Licensed under the Themeforest Standard Licenses
*/
$.components.register("selectpicker", {
mode: "default",
defaults: {
style: "btn-select",
iconBase: "icon",
tickIcon: "wb-check"
}
});
|
var express = require('express');
var client = require('twilio')(process.env.TWILIO_ACCOUNT_SID, process.env.TWILIO_AUTH_TOKEN);
var app = express();
var port = process.env.PORT || 4000;
app.listen(port);
app.use(express.static('public'));
app.all('*', function(req, res, next) {
res.header('Access-Control-Allow-Ori... |
define([
"backbonejs/views/sites/item",
"backbonejs/Collections/sites",
"backbonejs/mediator",
"hbs!Tmpl/Sites/List",
"jquery",
"backbone"
],function(
ViewSiteItem,
CollectionSites,
Mediator,
TmplSiteList
){
return Backbone.View.extend({
// el:".sites-list",
tmpl: TmplSiteList,
even... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.1.4_A1.4;
* @section: 11.1.4;
* @assertion: Evaluate the production ArrayLiteral: [ Elision, AssignmentExpression ];
* @description: Checking various properteis an... |
import Route from "../../../lib/http/routing/route"
import Bag from "../../../lib/bag"
import Request from "../../../lib/http/request"
var expect = require("chai").expect
describe("http/routing/route.js", () => {
let route
beforeEach(() => {
route = new Route()
})
it("[getter::options] should return an in... |
"use strict";var _interopRequire=function(obj){return obj&&obj.__esModule?obj["default"]:obj};var $=_interopRequire(require("jquery"));var React=require("react");var marked=require("marked");var _=require("lodash");module.exports=React.createClass({displayName:"Markdown2HTML",propTypes:{src:React.PropTypes.string.isReq... |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = createMount;
var _extends2 = _interopRequireD... |
/**
* Returns a new Int32Array based upon *this*
*/
sc.define("asInt32Array", {
Array: function() {
return new Int32Array(this);
}
});
|
jQuery(document).ready(function($){
$('.dropcapText').each(function(index,element) {
var dropcapped_letter = $(element).text().charAt(0).slice(0);
var custom_css = $(element).attr('style');
$(element).text($(element).text().substring(1));
$(element).prepend('<span class="dropcap" style="'+custom_css+'">'+dr... |
// Generated by CoffeeScript 1.9.0
(function() {
angular.module("ocNgRepeat", []).directive('ngRepeatOwlCarousel', function() {
return {
restrict: 'A',
scope: {
carouselInit: '&'
},
link: function(scope, element, attrs) {
if ((scope.$parent != null) && scope.$parent.$last) ... |
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
extends: 'qlfe',
// required to lint *.vue files
plugins: [
'html'
],
// check if imports actually resolve
'setti... |
var https = require('https');
var http = require('http');
var Watchdog = require('./watchdog');
var HttpAgent = require('agentkeepalive');
var HttpsAgent = HttpAgent.HttpsAgent;
HttpsAgent.prototype.getName = HttpAgent.prototype.getName;
function Upstream(upstreamURL, statsdClient, agentOpts) {
if (typeof upstreamUR... |
$A.bind(window, 'load', function(){
// Popup AccDC Object
var popupId = $A.setPopup(
{
// Set a unique ID for the popup AccDC Object, which can be referenced through $A.reg['uniqueId']
id: 'myPopup',
// Set the screen reader accessible boundary text values
role: 'Language Selector',
a... |
/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */
/*global define */
// ProjectViews.js
// Project creation / import functionality for AIM.
define(function (require) {
"use strict";
var $ = require('jquery'),
Underscore = require('underscore'),... |
/*
YUI 3.7.2 (build 5639)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("lang/console_ja",function(e){e.Intl.add("console","ja",{title:"\u30ed\u30b0\u30b3\u30f3\u30bd\u30fc\u30eb",pause:"\u4e00\u6642\u505c\u6b62",clear:"\u30af\u30ea\u30a2",coll... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var userSchema = new Schema({
name: String,
password: String
});
var User = mongoose.model('User', userSchema);
module.exports = User;
|
var path = require('path');
var webpack = require('webpack');
module.exports = {
devtool: 'cheap-module-eval-source-map',
entry: [
'webpack-hot-middleware/client',
'./index',
],
output: {
path: path.join(__dirname, 'dist'),
filename: 'bundle.js',
publicPath: '/static/',
},
plugins: [
... |
import forEach from '../../util/forEach'
/**
Index for Nodes.
Node indexes are first-class citizens in {@link model/data/Data}.
I.e., they are updated after each operation, and before any other listener is notified.
@abstract
*/
class NodeIndex {
/**
Check if a node should be indexed.
Used inte... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
import { get } from "ember-metal/property_get";
import { forEach } from "ember-metal/enumerable_utils";
import normalizeSelf from "ember-htmlbars/utils/normalize-self";
import decodeEachKey from "ember-htmlbars/utils/decode-each-key";
export default function legacyEachWithControllerHelper(params, hash, blocks) {
var... |
(function() {
CCJS.addPlugin({
title: 'table-generator',
action: function(){
/*
@TODO this is main task now.
build table generator that's easy to use and very flexible.
supposed to generate: the table elements and also a style element that'... |
/* ==========================================================
* bootstrap-carousel.js v2.3.2
* http://twitter.github.com/bootstrap/javascript.html#carousel
* ==========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License")... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.