code stringlengths 2 1.05M |
|---|
function test(chart) {
var point = chart.series[0].points[4],
offset = $(chart.container).offset();
// Set hoverPoint
point.onMouseOver();
chart.pointer.onContainerMouseMove({
type: 'mousemove',
pageX: point.plotX + chart.plotLeft + offset.left,
pageY: point.plotY + chart.plotTop + offset.top,
target: c... |
const https = require('https');
const options = {
hostname: process.argv[2],
path: '/',
method: 'GET',
headers:{
'Accept': '*/*'
}
};
const bids = [
'ZyBnHSGLqPSnhM%2F95ehFLg%3D%3D',
'UJyfMBEsf%2BXP425crU7j4w%3D%3D',
's6lgGPUqkTqvzaXJCua9lg%3D%3D',
'YaXE19Fuygtmq%2F7s5l25yQ%3D%3D',
'0qmsj78C04BSLQ6a2QRdQw... |
/**
* @module opcua.server
*/
import Dequeue from "dequeue";
import subscription_service from "lib/services/subscription_service";
const NotificationMessage = subscription_service.NotificationMessage;
const StatusChangeNotification = subscription_service.StatusChangeNotification;
import { StatusCodes } from "lib/da... |
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['1608',"Tlece.Recruitment.Models.Agent Namespace","topic_0000000000000547.html"],['1664',"PersonDatatableDto Class","topic_0000000000000560.html"],['1666',"Properties","topic_0000000000000560_props--.html"],['1667',"... |
import React, { PropTypes as T } from 'react'
import mdl from '../mdl'
export default React.createClass({
displayName: 'Menu',
propTypes: {
align: T.oneOf(['left', 'right']),
valign: T.oneOf(['bottom', 'top']),
target: T.string.isRequired,
children: T.node
},
getDefaultProps: function() {
... |
//
// ILC Server.js v.0.0.1
//
var express = require('express')
, engine = require('ejs').__express
, config = require('./config/env.json')
, menu = require('./config/menu.json')
, flashcardscat = require('./config/flashcards-cat.json')
, app = express()
, mongo = require('mongodb')
, mongoose = require('mongoose')
, ... |
var React = require('react/addons');
import {mergeProps} from 'pui-react-helpers';
/**
* @component UIButton
* @description A wrapper around the Pivotal UI button component
*
* @property href {String} Makes a button-styled link pointing to the given URL
* @property block {Boolean} Makes the button fill the width ... |
export default (err, req, res, next) => {
res.status(500).render('error', {
message: err.message,
error: err
});
} |
/**
* 更新系统配置编辑上面的标签名称
* @param realName
* @returns
*/
function refrehConfigEditTabName(realName) {
var editConfig_span = $("#editConfig_span_id");
editConfig_span.text(realName);
editConfig_span.text("系统配置编辑");
}
/**
* 配置类型转换为字符串
* @param configType
* @returns
*/
function stringFromConfigType(configType) {
... |
'use strict';
define([
], function () {
var AuthService = function (BORAYU, $q, $http, $rootScope, ngProgress) {
this.baseUrl = BORAYU.API_URL + ':' + BORAYU.API_PORT;
this.user = null;
this.token = null;
this.group = null;
this.getHttpOptions = function () {
var authToken = "Token " +... |
'use strict';
var querystring = require('querystring');
function encoder(key, value) {
if (typeof value === 'number') {
return ['\\', value].join('');
}
if (value === true) {
return '\\true';
}
if (value === false) {
return '\\false';
}
if (value === null) {
return '\\null';
}
if... |
/**
* 引入css文件
* 支持css,less,scss三种格式
*/
require('bootstrap/dist/css/bootstrap.min.css');
require('metismenu/dist/metisMenu.min.css');
require('font-awesome/css/font-awesome.min.css');
require('../../styles/common/sb-admin-2.scss');
/**
* 引入js
*/
require('jquery');
require('bootstrap');
require('metisMenu');
requir... |
describe("DrawChemCache service tests", function () {
beforeEach(module("mmAngularDrawChem"));
var DrawChemCache;
beforeEach(inject(function (_DrawChemCache_) {
DrawChemCache = _DrawChemCache_;
}));
it("should store data in cachedStructures array and retrieve them", function () {
DrawChemCache.addStruct... |
define(['angular',
'ap.config',
'angular.route',
'cfail/filter/filter-user/filter-user',
'cfail/filter/filter-url/filter-url',
'cfail/filter/filter-failures/filter-failures',
'cfail/filter/filter-client/filter-client',
'cfail/exception/exception',
'cfail/a... |
/**
* chester
*/
angular.module("SkyboxApp", ['angularSpinner', 'angularSoap','ngRoute','base64','ngCookies'])
.controller('SkyboxController',['$rootScope', '$scope', 'icSOAPServices', '$soap', '$http', function($rootScope, $scope, icSOAPServices, $soap, $http) {
$scope.Acct = "";
// Tab counte... |
'use strict';
angular.module('mean.trialmatch').factory('Trialmatch', [
function() {
return {
name: 'trialmatch'
};
}
]);
|
'use strict';
var createStore = require('fluxible/addons/createStore');
var makeHandlers = require('../lib/fluxible/makeHandlers');
var Actions = require('../constants/Actions');
var _ = require('lodash');
module.exports = createStore({
storeName: 'BusinessLeadStore',
handlers: makeHandlers({
onHairdr... |
/*************************************************************
*
* MathJax/localization/lki/HTML-CSS.js
*
* Copyright (c) 2009-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain ... |
'use strict'
const express = require('express')
const bodyParser = require('body-parser')
const request = require('request')
const app = express()
app.set('port', (process.env.PORT || 5000))
// parse application/x-www-form-urlencoded
app.use(bodyParser.urlencoded({extended: false}))
// parse application/json
app.us... |
(function(){
"use strict";
angular.module( 'app.controllers' ).controller( 'GradientCreatorCtrl', function(){
//
});
})();
|
const koa = require('koa');
const logger = require('koa-logger');
const limit = require('koa-better-ratelimit');
const compress = require('koa-compress');
const responseTime = require('koa-response-time');
const cors = require('koa-cors');
const config = require('../config/config');
const users = require('./resources... |
'use strict';
// Employers controller
angular.module('employers').controller('EmployersController', ['$scope', '$stateParams', '$location', 'Authentication', 'Employers',
function($scope, $stateParams, $location, Authentication, Employers ) {
$scope.authentication = Authentication;
// Create new Employer
$scop... |
import path from 'path'
import webpack from 'webpack'
const { NODE_ENV } = process.env
const plugins = [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(NODE_ENV),
}),
]
const filename = `redux-promise-bind${NODE_ENV === 'production' ? '.min' : ''}.js`
NODE_ENV === 'production' && plugins.... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* The Keyboard class monitors keyboard input and dispatches keyboard events.
*
* _Note_: many keyboards are unable to ... |
/*
---
description: Creates instances of Drag for resizable elements.
provides: [Behavior.Resizable]
requires: [Behavior/Behavior, More/Drag]
script: Behavior.Resizable.js
name: Behavior.Resizable
...
*/
Behavior.addGlobalFilter('Resizable', {
//deprecated options
deprecated: {
handle: 'resize-handle',
child: 're... |
function log(str) {
self.postMessage({
log: str
});
}
self.onmessage = function (e) {
importScripts('http://' + e.data.host + '/kissy/build/seed.js');
KISSY.config('base', 'http://' + e.data.host + '/kissy/build/');
//KISSY.config('combine',true);
KISSY.config('loadModsFn', function (rs... |
const assert = require("assert");
const XRegExp = require("xregexp");
const quotemeta = require("./xregexp-quotemeta");
quotemeta.addSupportTo(XRegExp);
assert(XRegExp('^\\Q(?*+)').test('(?*+)'));
assert(XRegExp('^\\Q.\\E.').test('.x'));
assert(!XRegExp('^\\Q.\\E.').test('xx'));
assert(XRegExp('^\\Q\\E$').test(''));
... |
/******************************************************************************
* Spine Runtimes Software License
* Version 2.3
*
* Copyright (c) 2013-2015, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable and
* non-transferable license to use, install... |
import List from '../list/list';
import { Group } from '../group';
class Registry extends List {
constructor() {
super([]);
}
/**
* Add unique group
*
* @param {Group} group
*/
add(group) {
if (!(group instanceof Group)) {
throw new Error('Invalid group. Only Group instances allowed.... |
/**
* Crayola 1903 original colors.
*
* Includes alternative label names.
*/
module.exports = require('./lut').create({
"Red": "#ED0A3F",
"English Vermilion": "#CC474B", "Vermillion": "#CC474B",
"Madder Lake": "#CC3336",
"Permanent Geranium Lake": "#E12C2C",
"Indian Red": "#B94E48",
"Dark V... |
'use strict';
/*
* Purpose:
* Address missing capability in jasmine to not run any more tests after the first failure.
* https://github.com/jasmine/jasmine/issues/414
*
* Usage:
* const JasmineDisableRemaining = require('jasmine-disable-remaining');
* ... somewhere the `jasmine` global is now set:
* cons... |
module.exports = function( grunt ) {
"use strict"
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
//watch and compile all files
watch: {
html: {
files: 'prod/*.html',
},
css: {
files: 'prod/assets/styles/*.css',
},
jd: ... |
'use strict';
const electron = require('electron');
// Module to control application life.
const app = electron.app;
// Module to create native browser window.
const BrowserWindow = electron.BrowserWindow;
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when t... |
/* generated from Designfiles Public by generate_data_designfles */
require ('wh.ui.popup');
/*! LOAD: wh.ui.popup !*/
(function($) { //mootools wrapper
/* title: Dialog title (embedded as <h1> )
text: Dialog text (embedded as <div class="dialogtext">, supports linefeeds)
html: Dialog raw html code (embedded as... |
define(["require", "exports", '../../src/easelts/display/Stage', '../../src/easelts/display/Shape', '../../src/easelts/behavior/ButtonBehavior', '../../src/easelts/display/BitmapProjective'], function (require, exports, Stage_1, Shape_1, ButtonBehavior_1, BitmapProjective_1) {
"use strict";
var holder = documen... |
{
expect(/character/i.test(error.message)).toEqual(true);
}
|
const bcrypt = require('bcrypt-nodejs');
module.exports = {
password: (user) => {
const salt = bcrypt.genSaltSync();
const hash = bcrypt.hashSync(user.password, salt);
return hash;
},
comparePassword: (password, hash, done) => {
bcrypt.compare(password, hash, (err, isMatch) => {
done(err, ... |
'use strict'
import React from 'react'
import ReactDOM from 'react-dom'
import Request from 'superagent'
module.exports = class VerbGallery extends React.Component {
constructor(props){
super(props)
this.state = {images: []}
}
componentDidMount(){
Request
.get('/database')
.end(function(err, ... |
var Utils = require('./utils');
var condition = function() {
this.list = [];
};
Utils.apply(condition.prototype, {
add: function(key, op, value) {
this.list.push({
key: key,
op: op,
value: value
});
},
equal: function(key, value) {
this.add(key, '=', value);
},
like: function(key, ... |
const xxSmall = '5px';
const xSmall = '10px';
const small = '20px';
const medium = '30px';
const large = '40px';
const xLarge = '50px';
const xxLarge = '100px';
export default function (type) {
switch (type) {
case 'margin-left-xx-small':
return `
margin-left: ${xxSmall};
`;
}
}
|
/**
* Menu class
*
* Vertical ordered list of buttons
*/
function Menu(x, y, buttons) {
Menu._super.constructor.call(this, x, y);
this.set("constructorName", "Menu");
this.buttons = buttons;
var offset = 0;
var maxWidth = 0;
this.buttons.forEach(function (button) {
button.setPosit... |
function ResourceStation(name, State, min, max) {
var station = this;
var eventCards = [];
var baseMinOut = min;
var baseMaxOut = max;
this.name = name;
this.MaxCrew = 5;
this.MetaData = {
get CrewCount() {
return State.player.Crew.StationCounts[station.name];
},
get MinGen() {
r... |
/**
* @author mrdoob / http://mrdoob.com/
* @author Mugen87 / https://github.com/Mugen87
*/
import { Geometry } from '../core/Geometry';
import { BufferGeometry } from '../core/BufferGeometry';
import { Float32BufferAttribute } from '../core/BufferAttribute';
import { Vector3 } from '../math/Vector3';
//... |
import { from } from 'most'
import { NodeDescriptor } from './node'
import { createNodeDescriptors } from './node-helpers'
import { isObservable } from './kind'
export function createElementNode (scope, args) {
const { document, parentNamespaceUri } = scope
const {
nodeName,
nsUri,
name,
attrs = {... |
/*!
* Author : Matteo Bruni - https://www.matteobruni.it
* MIT license: https://opensource.org/licenses/MIT
* Demo / Generator : https://particles.matteobruni.it/
* GitHub : https://www.github.com/matteobruni/tsparticles
* How to use? : Check the GitHub README
* v1.17.3
*/
(function(e, a) { for(var i in a) e[i] ... |
import React from 'react';
import classNames from 'classnames';
import RankingBadgeBackground from 'components/ranking-badge-background';
import RankingBadgeLabel from 'components/ranking-badge-label';
import getRadius from 'decorators/get-radius';
import setStateFromProps from 'decorators/set-state-from-props';
@getR... |
FollowUp.widgets = {
lbxMain: ["wm.Layout", {"horizontalAlign":"left","verticalAlign":"top"}, {}]
} |
// Load modules
var Url = require('url');
var Hoek = require('hoek');
var Cryptiles = require('cryptiles');
var Crypto = require('./crypto');
var Utils = require('./utils');
// Declare internals
var internals = {};
// Generate an Authorization header for a given request
/*
uri: 'http://example.com/resource?a... |
/**
* jQuery UI DataList Widget for "lists of data cards"
*
* @copyright 2013-2016 (c) Sahana Software Foundation
* @license MIT
*
* requires jQuery 1.9.1+
* requires jQuery UI 1.10 widget factory
*
*/
(function($, undefined) {
"use strict";
var datalistID = 0;
/**
* DataLi... |
// # Api Route tests
// As it stands, these tests depend on the database, and as such are integration tests.
// Mocking out the models to not touch the DB would turn these into unit tests, and should probably be done in future,
// But then again testing real code, rather than mock code, might be more useful...
var shou... |
/// <reference path="RoadsLib.d.ts" />
window.onload = function () {
runGame();
};
function runGame() {
var cvs = document.getElementById('cvs');
var gl = cvs.getContext('webgl') || cvs.getContext('experimental-webgl');
if (!gl) {
document.getElementById('error_webgl').style.display = '';
... |
/*!
* find-telegram-bot <https://github.com/alopatindev/find-telegram-bot>
*
* Copyright (c) 2017 Alexander Lopatin
* Licensed under the MIT License
*/
'use strict'
module.exports = function() {
const botUrlPrefix = this.baseUrl + '/bot/'
function htmlDecode(value) {
return $('<div/>')
... |
"use strict";
const path = require("path");
const {
executeTests,
prepareForTests,
utilityFunctions
} = require(path.resolve("tests/unit-tests.js"));
const m = prepareForTests(__filename);
executeTests("Service starter", [{
name: "addMiddlewares()",
assertions: [{
when: "there is an erro... |
/**
* Configuration file manager
* @todo refactor this, make async
*/
(function(require, m)
{
'use strict';
var fs = require('fs');
var module = function(config_path)
{
var path = config_path;
/**
* Updates the needed backup
* @param data
* @param callb... |
const runAPI = require("../../runCompiler");
runAPI.run(); |
import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router';
export class Hero extends React.Component {
static propTypes = {
// No prop types required
keyword: PropTypes.string.isRequired,
location: PropTypes.string.isRequired,
onChangeSearchI... |
import LinearGradient from 'canvas/graphics/LinearGradient.js';
import RadialGradient from 'canvas/graphics/RadialGradient.js';
export const SOLID = 0;
export const PATTERN = 1;
export const LINEAR_HORIZONTAL = 2;
export const LINEAR_VERTICAL = 3;
export const LINEAR_DIAGONAL = 4;
export const RADIAL = 5;
export defa... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2014-2022 Mickael Jeanroy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... |
const { removeExcept } = require('./util'),
INVALID_ARGUMENT_ERROR = 'INVALID_ARGUMENT_ERROR',
DELETE_ERROR = 'DELETE_ERROR',
CLEAR_COMPLETED = 'CLEAR_COMPLETED';
/**
* Defines the basic properties needed for clearing a directory.
* @typedef {object} clearInputData
*
* @property {String} eID the... |
// Spectrum Colorpicker v1.3.1
// https://github.com/bgrins/spectrum
// Author: Brian Grinstead
// License: MIT
(function (window, $, undefined) {
var defaultOpts = {
// Callbacks
beforeShow: noop,
move: noop,
change: noop,
show: noop,
hide: noop,
// Option... |
// h3 セクションの見出し
module.exports = {
type: {
flow : true,
heading : true,
palpable: true
},
contents: {
phrasing: true
}
};
|
export const setUser = function($email, hasWeb3, lastUpdated, userEntryRoute) {
let user = {
$email,
hasWeb3,
lastUpdated,
userEntryRoute
}
return user
}
export const trackCollectionView = function(
sourceComponent,
sourcePath,
targetCollection
) {
let name = 'Collection - View'
let da... |
'use strict';
angular.module('srs.sales', ['ngRoute','srs.customer.services'])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/sales', {
templateUrl: 'modules/sales/sales.html',
controller: 'srs.salesHome'
});
}])
.controller('srs.salesHome', salesHome);
salesHome.$inject = [... |
/**
* Created by zhengguo.chen on 17/4/24.
* Group routers
*/
var router = require('express').Router();
var groupModel = require('../models/group');
router.route('/')
// get group list
.get((req, res) => {
res.handleResult(groupModel.getGroupList());
})
// create group
.post((req, res) => {
res.... |
$(document).ready(function() {
// Initialize Masonry
$('#content').masonry({
columnWidth: 205,
itemSelector: '.item',
isFitWidth: true,
isAnimated: !Modernizr.csstransitions
}).imagesLoaded(function() {
$(this).masonry('reload');
});
}); |
import Ember from 'ember';
export default Ember.Mixin.create({
queryParams: {
q: {
replace: true
}
},
model: function() {
return [];
},
setupController: function(controller, model) {
this._super.apply(this, arguments);
controller.filter();
}
});
|
/*
* ajaxify.js
* Ajaxify - The Ajax Plugin
* https://4nf.org/
*
* Copyright Arvind Gupta; MIT Licensed
*/
/* INTERFACE: See also https://4nf.org/interface/
Simplest plugin call:
let ajaxify = new Ajaxify({options});
Ajaxifies the whole site, dynamically replacing the elements specified in "elements" ac... |
var request = require('request');
module.exports = function (city) {
return new Promise(function (resolve,reject){
var url = 'http://api.openweathermap.org/data/2.5/weather?q='+ city
+'&APPID=5380693afcd9a8800c6c17856c7e92f5&units=metric';
request({
url: url,
json: true
}, function (err... |
/*
* Bristol
* Copyright 2014 Tom Frost
*/
const DEFAULT_SEVERITY_LEVELS = ['error', 'warn', 'info', 'debug', 'trace'];
const DEFAULT_FORMATTER = require('./formatters/json');
var logUtil = require('./Util'),
events = require('events'),
util = require('util');
/**
* The Bristol class defines a logger capable o... |
module.exports = {
name: 'logout',
command: function logout (args) {
console.log('not yet implemented')
},
options: [
{
name: '',
abbr: '',
boolean: false,
default: null,
help: ''
}
]
}
|
'use strict';
//Projects service used to communicate Projects REST endpoints
angular.module('projects').factory('Projects', ['$resource',
function($resource) {
return $resource('projects/:projectId', {
projectId: '@_id'
}, {
update: {
method: 'PUT'
}... |
var Express = require('express');
var app = Express();
app.use(Express.static(__dirname));
app.listen(3000);
|
search_result['1966']=["topic_00000000000004C4_attached_props--.html","PhoneNumberHelper Attached Properties",""]; |
import DateService from './date.service';
const deepEqual = require('deep-equal');
export default class UserService {
/**
* Gets a list of all the users in the database
* @return {Array} User objects
*/
static getAllUsers() {
const usersRef = firebase.database().ref('users');
usersRef.once('valu... |
/*!
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file.
*/
/* istanbul ignore else */
if (!global._babelPolyfill) {
/* eslint global-require: [0] */
require(`babel-polyfill`);
}
module.exports = require(`./ciscospark`);
/**
* The date and time, specified in ISO 8601 extended offset date/time
* f... |
/* eslint-disable no-var, no-unused-vars, no-underscore-dangle */
// Make a proxy of the global Jest expect function so we can test the global
// expect-webdriverio version
global._expect = global.expect;
|
Auslastung.editMenu = new Class({
Extends: Auslastung.actionMenu,
Implements: Events,
entryid: null,
name: null,
hideAble: false,
showEl: null,
hideEl: null,
hideState: false,
deleteAble: true,
customEventListener: null,
initialize: function( parent, table, id, name, options ) {
this.parent( parent, table ... |
//~ name c422
alert(c422);
//~ component c423.js
|
module.exports = {
parseSubreddit: function(subredditData, visited){
}
} |
import { takeLatest, takeEvery } from 'redux-saga';
import { fork, put } from 'redux-saga/effects';
import { browserHistory } from 'react-router';
import * as API from '../api';
import { serverName } from '../components/ServerList';
import createFetchSaga from './helpers/createFetchSaga';
import { showNotification, sho... |
'use strict';
describe('Service: vnApiProducts', function () {
// load the service's module
beforeEach(module('Volusion.toolboxCommon'));
// instantiate service
var vnApiProducts;
beforeEach(inject(function (_vnApiProducts_) {
vnApiProducts = _vnApiProducts_;
}));
it('should defa... |
import { diff } from 'adiff';
function compareArrays(collector, base, target) {
const changes = diff(base, target);
if (changes.length > 0) {
collector.$splice = changes;
}
return collector;
}
export default compareArrays;
|
console.log(JSXTransformer.exec(_TPL_["/jsx/hw.jsx"]));
|
const webpack = require('webpack');
const path = require('path');
var CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = (env) => {
const plugins = [
new CopyWebpackPlugin([
{ from: 'src/static', to: 'static' },
{ from: 'src/styles/preload.css', to: 'preload.css' }... |
const path = require('path');
module.exports = {
entry: {
main: "./lib/index.js",
// test: "mocha!./test/index.js"
test: 'sinon/pkg/sinon.js'
},
output: {
path: __dirname,
filename: "[name].bundle.js",
},
module: {
noParse: [
/\/sinon\.js/,
],
loaders: [{
test: /\.... |
// use this hack to prevent async errors from DOM.importStyles
jasmine.clock().install();
DOM.importStyles("@keyframes fade", "from {opacity: 1} to {opacity: 0}");
DOM.importStyles("@-webkit-keyframes fade", "from {opacity: 1} to {opacity: 0}");
jasmine.clock().uninstall();
DOM.importStyles(".hidden", "display:none... |
import React from 'react'
import { render } from 'react-dom'
import { Router, Route, hashHistory } from 'react-router'
import childRoutes from './utils/urls'
import Library from './components/Library'
const routes = {
path: '/',
component: Library,
childRoutes
}
render((
<Router history={hashHistory} routes={... |
var mw = require('./middleware');
module.exports = [ {
title: 'Membership',
template: 'admin/pages/landing',
pages: [
{
title: 'Roles',
middleware: [ mw.roles.formatQuery, mw.roles.paginate, mw.roles.find ],
template: 'admin/pages/membership/roles',
reload: true,
pages: [ {
... |
// https://github.com/nodejs/node/blob/b4cf8c403623a9f0bdbbb8aa43df79c68cbe8f66/test/parallel/test-assert.js
'use strict';
var assert = require('../../src');
var a = require('../../src');
describe('core assert tests', function () {
it('should pass', function () {
// Copyright Joyent, Inc. and other Nod... |
/*
Highcharts JS v9.0.1 (2021-02-15)
(c) 2009-2021 Torstein Honsi
License: www.highcharts.com/license
*/
(function(c){"object"===typeof module&&module.exports?(c["default"]=c,module.exports=c):"function"===typeof define&&define.amd?define("highcharts/modules/broken-axis",["highcharts"],function(h){c(h);c.Highchart... |
(function() {
return {
name: 'fr',
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
months: 'janvier_février_mars_avril_mai_juin_juillet_... |
/*!
Autosize v1.18.6 - 2014-03-13
Automatically adjust textarea height based on user input.
(c) 2014 Jack Moore - http://www.jacklmoore.com/autosize
license: http://www.opensource.org/licenses/mit-license.php
*/
(function ($) {
var
defaults = {
className: 'autosizejs',
id: 'autosizejs',
append: '',
callba... |
/**
* @license
* Lo-Dash 1.2.0 <http://lodash.com/>
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.4.4 <http://underscorejs.org/>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
* Available under MIT license <http://lodash.com/license>
*/
;(function(wi... |
/**
* Created by zekar on 9/15/2016.
*/
import React from 'react';
import Skblock from './details.skblock';
class Overview extends React.Component {
render() {
return (<Skblock header={'Overview'}>
<br/>
{/*<icon-Skblock icon="'/images/group-114.png'" text="car.mileage"></icon-Skblock>*/}
{... |
(function() {
var moment = require('moment');
function hours(duration){
return format(duration.hours());
}
function minutes(duration){
return format(duration.minutes());
}
function seconds(duration){
return format(duration.seconds());
}
function milliseconds(duration){
return form... |
'use strict';
angular.module('cloudoptingApp')
.controller('RegisterController', function ($scope, $translate, $timeout, Auth) {
$scope.scrollTo = function(element) {
$( 'html, body').animate({
scrollTop: $(element).offset().top
}, 500);
};
$scope.scr... |
import generateNode from '../generate-node';
export default generateNode({
spec: {
inlets: [
{ id: 'd1', type: 'float', value: '0.0' },
{ id: 'd2', type: 'float', value: '0.0' }
],
outlet: { id: 'd', type: 'float' }
},
generate: ({ d1, d2 }) => {
return `max(
-${d1},
${d... |
// ## Server Loader
// Passes options through the boot process to get a server instance back
var server = require('./server');
// Set the default environment to be `development`
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
function makeGhost(options) {
options = options || {};
return server(o... |
search_result['333']=["topic_00000000000000AA_attached_props--.html","Constants Attached Properties",""]; |
exports.foo = 'module0.foo';
exports.bar = function () {
return 'module0.bar';
};
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.