code stringlengths 2 1.05M |
|---|
'use strict';
/**
* The root conferenceApp module.
*
* @type {noteApp|*|{}}
*/
var noteApp = noteApp || {};
/**
* @ngdoc module
* @name noteControllers
*
* @description
* Angular module for controllers.
*
*/
noteApp.controllers = angular.module('noteControllers', ['ui.bootstrap']);
/**
* @ngdoc controll... |
(function(){
function spec(factory, name) {
describe(name, function () {
var set;
beforeEach(function () {
set = factory();
});
});
}
define([
"structures/sets/HashSet",
"structures/sets/TreeSet"], function (
Has... |
var auth = require('../modules/auth/module');
var provider = require('../modules/auth/provider').provider;
var provider = new provider();
var authenticate = auth.authenticate;
var referer = auth.referer;
var backURL;
exports.login = function(req, res, next){
switch(req.method){
case('GET'):
bac... |
'use strict';
const Fabric = require('@fabric/core');
const SlackSDK = require('@slack/client');
const Service = require('../types/service');
class Slack extends Fabric.Service {
constructor (config) {
super(config);
this.config = Object.assign({
store: './data/slack'
}, config);
return this... |
import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
class Login extends React.Component {
constructor(props) {
super(props);
this.state = {
name: '',
password: '',
error: '',
};
}
componentWillReceiveProps(nextProps) {
if (nextProps.loginApp.error)... |
var server = require('../server.js')
server.start(function() {
console.log('OK');
server.renew();
});
var assert = require('chai').assert;
describe('Array', function() {
describe('#indexOf()', function () {
it('should return -1 when the value is not present', function () {
assert.equal(-1, [1,2,3]... |
/*global require, console, describe, it, before */
'use strict';
var assert = require('chai').assert,
sqlite3 = require('..');
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
// Unit test object class
function Dummy(text) {
this._text = text;
}
Dummy.prototype.serialize = fu... |
/**
* jsgis - ES6 class
*
* @author Mihkel Oviir
*/
import ol from 'openlayers';
import './mouseposition.css!';
class MousePosition {
constructor(jsgis) {
this.jsgis = jsgis;
this.el = document.createElement('div');
this.el.id = 'mouseposition';
}
init() {
console.log('init mousepos')
co... |
Ext.define('ReisRadar.util.Util', {
singleton: true,
//display custom alert, with icon in button
showAlert: function(title, message)
{
var msg = new Ext.MessageBox();
msg.show({
title: 'Notificatie',
message: message,
buttons: [{text: 'OK',itemId: 'ok', cls: 'titleButton', iconCls:'check'}],
fn: f... |
module.exports = function(sequelize, DataTypes) {
var Location = sequelize.define('Location', {
latitude: DataTypes.FLOAT(10, 6),
longitude: DataTypes.FLOAT(10, 6)
}, {
tableName: 'locations',
timestamps: true,
underscored: true,
classMethods: {
associate: function(models) {
Location.belongsTo(... |
Router.configure({
layoutTemplate: 'basicLayout',
loadingTemplate: 'loading',
notFoundTemplate: 'notFound'
});
Router.route('/', {name: 'home'});
Router.route('/home', function(){this.render('home');}, {name: 'home2'});
Router.route("/(.*)", {
name: "notFound"
});
|
export function success(body) {
return buildResponse(200, body);
}
export function failure(body) {
return buildResponse(500, body);
}
function buildResponse(statusCode, body) {
return {
statusCode: statusCode,
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Credentials':... |
function modifyPage(doc)
{
if(this.features.enabled == false)
return;
if(doc.oz_data.profile != null && doc.oz_data.profile.search_me != null)
{
doc.oz_data.profile.search_me.appendChild(doc.createElement('br'));
var a = doc.createElement('A');
a.href = 'http://forum.onliner.by/search.php?search_id... |
/**
* Club module
*/
angular.module( 'league.team', [
'ui.state',
'league.club',
'ngResource',
'ngGrid'
])
/**
* Define the route that this module relates to, and the page template and controller that is tied to that route
*/
.config(function config( $stateProvider ) {
$stateProvider.state( 'teams', {
... |
'use strict';
describe('Users E2E Tests:', function () {
var user1 = {
firstName: 'test',
lastName: 'user',
email: 'test.user@meanjs.com',
username: 'testUser',
password: 'P@$$w0rd!!'
};
var user2 = {
firstName: 'test',
lastName: 'user2',
email: 'test.user2@meanjs.com',
usern... |
/* eslint-env node */
'use strict';
var checker = require('ember-cli-version-checker');
var PropertiesPreprocessor = require('broccoli-java-properties-to-object');
module.exports = {
name: 'ember-cli-java-properties-to-object',
shouldSetupRegistryInIncluded: function() {
return !checker.isAbove(this, '0.2.... |
import React from 'react';
import {connect} from 'react-redux';
import ActionCreators from '../actions/ActionCreators';
import ToolbarTabContent from './ToolbarTabContent';
import ToolbarGroup from './ToolbarGroup';
import ToolbarToken from './ToolbarToken';
import { renderOptionsFrom } from '../utils.js';
class TabT... |
export default {
title: 'Messages',
search: 'Recherche...',
noMessages: 'Aucun message',
noSearchResults: 'Aucun enregistrement correspondant trouvé',
};
|
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
options: {
separator: ';' },
dist: {
src: ['src/libs/*.js','src/js/*.js'],
dest: 'dist/js/<%=pkg.name%>.js'
}
},
copy: {
main: {
src: 'src/css/main.css',
d... |
/**
* Copyright (c) 2012 Sitelier Inc.
*
* 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 to use, copy, modify, merge, publ... |
search_result['4858']=["topic_0000000000000BCE.html","TleceDbContext.tlece_ApplyPostVacancyInterviewTime Property",""]; |
var express = require('express');
var router = express.Router();
/* GET stats page. */
router.get('/', function(req, res) {
res.render('stats', { title: 'Stats' });
});
// accept POST request at /join/
router.post('/', function (req, res) {
res.send('Got a POST request at /stats/');
});
// accept PUT request at... |
module.exports = {
ipv4: /^(\d{1,3}\.){3}(\d{1,3})$|^(0x[\da-fA-F]{2}\.){3}(0x[\da-fA-F]{2})$|^(0[0-3][0-7]{2}\.){3}(0[0-3][0-7]{2})|^0x[\da-fA-F]{8}$|^[0-4]\d{9}$|^0[0-3]\d{10}$/,
ipv6: /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}... |
(function (global) {
var canvas = new fabric.Canvas('canvas');
// 对<img> 元素开始到结束事件控制; <img> 元素放置在canvas容器内.
function handleDragStart(e) {
[].forEach.call(images, function (img) {
img.classList.remove('img_dragging');
});
this.classList.add('img_dragging');
}
//拽起
fu... |
//>>built
define(["dojo/_base/declare","dojo/_base/lang","dojo/has","esri/kernel","esri/OperationBase","esri/dijit/editing/Add"],function(b,e,f,g,c,d){return b(c,{declaredClass:"esri.dijit.editing.Delete",type:"edit",label:"Delete Features",constructor:function(a){a=a||{};this._add=new d({featureLayer:a.featureLayer,ad... |
'use strict';
/*
* NodePKI
* ... a NodeJS-based OpenSSL PKI management server.
* Originally developed by Thomas Leister for ADITO GmbH.
* NodePKI is published under MIT License.
*
* NodePKI startup file
* Loads config, prepares CertDB database, starts OCSP server, initializes and starts HTTP server and API.
*/... |
/**
@module ember-data
*/
import {
Adapter,
InvalidError
} from "ember-data/system/adapter";
var get = Ember.get;
var forEach = Ember.ArrayPolyfills.forEach;
/**
The REST adapter allows your store to communicate with an HTTP server by
transmitting JSON via XHR. Most Ember.js apps that consume a JSON API
s... |
'use strict';
const inherit = require('inherit');
const _ = require('lodash');
const debug = require('debug');
const promiseUtil = require('q-promise-utils');
const ActionsBuilder = require('../tests-api/actions-builder');
const Browser = require('../browser');
const temp = require('../temp');
const StateError = requi... |
app.controller('editMapController', ['$scope', '$http', '$log', '$window', '$timeout', 'mapService', 'leafletEvents', 'leafletData', function ($scope, $http, $log, $window, $timeout, mapService, leafletEvents, leafletData) {
var url = '/api/MapItem';
//Initialize map
$scope.leafletCenter = mapService.Get... |
window.requestAnimFrame = (function () {
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function (callback) {
window.setTimeout(callback, 1000 / 30)... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative ... |
define([
'jquery',
'underscore',
'backbone',
'views/firstPage',
'views/secondPage',
'views/thirdPage',
'models/person'
], function($, _, Backbone, FirstPage, SecondPage, ThirdPage, PersonModel) {
var AppRouter = Backbone.Router.extend({
routes: {
'first': 'showFirstPage',
'second': 'showSecondPage',
... |
import * as linkify from 'linkifyjs';
/**
* generated from https://raw.githubusercontent.com/w3c/html/26b5126f96f736f796b9e29718138919dd513744/entities.json
* do not edit
*/
var HTML5NamedCharRefs = {
// We don't need the complete named character reference because linkifyHtml
// does not modify the escape seque... |
// server.js
// BASE SETUP
// =============================================================================
// call the packages we need
var express = require('express'); // call express
var nodeExcel = require('excel-export'); // call excel export
var app = express(); // define ou... |
var car = document.getElementById("car");
var submit = document.getElementById("submit");
// 给一个element绑定一个针对event事件的响应,响应函数为listener
function addEvent(element, event, listener) {
if (element.addEventListener) {
element.addEventListener(event, listener, false);
}
else if (element.attachEvent) {
... |
/**
* @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... |
define(["exports","./when-4bbc8319","./RuntimeError-1349fdaf","./Matrix2-860854d4"],function(e,t,i,r){"use strict";e.GeometryInstance=function(e){e=t.defaultValue(e,t.defaultValue.EMPTY_OBJECT),this.geometry=e.geometry,this.modelMatrix=r.Matrix4.clone(t.defaultValue(e.modelMatrix,r.Matrix4.IDENTITY)),this.id=e.id,this.... |
import { _getProvider, getApp, _registerComponent, registerVersion } from 'https://www.gstatic.com/firebasejs/9.6.8-20222320822/firebase-app.js';
/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... |
/**
* @license
* Copyright 2021 Google LLC. 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 a... |
/**
* @license Highstock JS v9.3.2 (2021-11-29)
* @module highcharts/indicators/trix
* @requires highcharts
* @requires highcharts/modules/stock
*
* Indicator series type for Highcharts Stock
*
* (c) 2010-2021 Rafal Sebestjanski
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../Stock/Ind... |
/*!
* DevExtreme (dx.messages.es.js)
* Version: 22.1.0 (build 22018-0314)
* Build date: Tue Jan 18 2022
*
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
"use strict";
! function(root, factory) {
if ("function" ... |
/*!
* DevExtreme (dx.messages.sv.js)
* Version: 20.1.12
* Build date: Thu Apr 22 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
"use strict";
! function(root, factory) {
if ("function" === typeof define ... |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import { getThemeProps, useTheme } from '@material-ui/styles';
... |
/*!
* froala_editor v3.1.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2020 Froala Labs
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) :
typeof define === 'function... |
/*global describe:true, it:true, before:true, after:true, beforeEach: true, afterEach:true */
'use strict';
const
demand = require('must'),
dgram = require('dgram'),
net = require('net'),
Emitter = require('../index'),
JSONStream = require('json-stream')
;
describe('connections', function()
{... |
if (window.hasOwnProperty('GA_ACCOUNT')) {
(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.... |
'use strict';
let Relation = require('./relation');
let RelationshipBuilder = require('./relationshipBuilder');
let knex = null;
let modelClasses = {};
class Base extends Relation {
constructor (attrs = {}) {
if (!knex) throw 'You must first assign knex to use Base';
super();
if (!this.constructor.at... |
var sessionName ;
var sessionUser;
function check_user()
{
var check = window.sessionStorage.getItem("has_logged_in");
if(check==null)
{
console.log("you haven't Logged in!")
}
else{
window.location.replace("http://vigneashsundar.in/post");
}
}
function check_user_... |
require.config({
baseUrl: '/static/js/',
paths: {
'jquery': 'lib/jquery',
'bootstrap': 'lib/bootstrap'
},
shim: {
'bootstrap': ['jquery']
}
});
require(['jquery'], function($) {
$(document).ready(function() {
var modules = $('script[data-module]');
if (mo... |
/* global CustomEvent */
import WebSocket from 'ws'
import Path from 'function-tree/lib/Path'
const VERSION = 'v1'
class Devtools {
constructor (options = {
remoteDebugger: null
}) {
this.VERSION = VERSION
this.remoteDebugger = options.remoteDebugger || null
this.backlog = []
this.latestExecuti... |
import Ember from "ember";
export default Ember.ObjectController.extend({
}); |
import React from 'react';
import { shallow } from 'enzyme';
import ProfileDetail from './ProfileDetail';
it('<ProfileDetail />, renders the details', () => {
const wrapper = shallow(<ProfileDetail />);
expect(wrapper.find('li').length).toBe(1);
});
|
/*******************************************
egrModal created by Eric G Rogers 2014
********************************************
This plugin creates a blank modal center screen and repositions to center on browser resize. Clicking the overlay, hitting ESC, or simply clicking on the X will close the modal.
Feel free t... |
'use strict';
const Utils = require('./utils');
const Promise = require('./promise');
const debug = Utils.getLogger().debugContext('hooks');
/**
* Hooks are function that are called before and after (bulk-) creation/updating/deletion and validation. Hooks can be added to you models in three ways:
*
* 1. By specif... |
var zrUtil = require('zrender/lib/core/util');
var graphic = require('../../util/graphic');
var AxisBuilder = require('./AxisBuilder');
var ifIgnoreOnTick = AxisBuilder.ifIgnoreOnTick;
var getInterval = AxisBuilder.getInterval;
var axisBuilderAttrs = [
'axisLine', 'axisLabel', 'axisTi... |
// array to sort
const array = [9, 2, 5, 6, 4, 3, 7, 10, 1, 8];
// gaps
const gaps = [701, 301, 132, 57, 23, 10, 4, 1];
function shellsort(array) {
for(let g = 0; g < gaps.length; g++) {
const gap = gaps[g];
for(let i = gap; i < array.length; i++) {
const temp = array[i];
let last = i;
for... |
import * as constants from '../constants/';
const initialState = {
fetching: false,
content: {}
};
export const apiReducer = (state = initialState, action) => {
switch(action.type) {
case constants.GET_HOME_CONTENT_REQUEST:
return Object.assign({}, state, { fetching: true });
case constants.GET_HO... |
// Weapon-related code.
const Util = require('./Util');
const Log = require('./Log');
const Physics = require('./Physics');
// If the zombie and the player model circles are just touching, the centers are 32 pixels distance
// from each other. So the bare-minimum distance for a melee weapon is this far,
// then we ad... |
const path = Plugin.path;
const fs = Plugin.fs;
const sass = Npm.require('node-sass');
const Future = Npm.require('fibers/future');
const files = Plugin.files;
Plugin.registerCompiler({
extensions: ['scss', 'sass'],
archMatching: 'web'
}, () => new SassCompiler());
var toPosixPath = function (p, partialPath) {
... |
/** @jsx h */
import h from '../../helpers/h'
export default function (state) {
return state
.change()
.delete()
.state
.change()
.undo()
.state
}
export const input = (
<state>
<document>
<paragraph>
<link>o<anchor />ne</link>
</paragraph>
<paragraph>
... |
var searchData=
[
['derecha',['derecha',['../classArbolGeneral_1_1inorden__iterador.html#a374dc7ff5ed5e568ca496f103cf73a5d',1,'ArbolGeneral::inorden_iterador::derecha()'],['../classArbolGeneral_1_1postorden__iterador.html#ae2b24cd3445cac918c67574c0879b189',1,'ArbolGeneral::postorden_iterador::derecha()']]],
['destr... |
/**
* Created by Administrator on 2015-09-21.
*/
define(["jquery","bootstrap"],function(jQuery){
$.noConflict(true);
jQuery(window).ready(function () {
setTimeout(function(){
jQuery('[data-toggle="tooltip"]').tooltip();
},3000);
});
}); |
import { c as createCommonjsModule, a as commonjsRequire, b as moment, d as commonjsGlobal } from './moment-4505622d.js';
var fr = createCommonjsModule(function (module, exports) {
(function (global, factory) {
typeof commonjsRequire === 'function' ? factory(moment) :
factory(global.moment);
}(commonjsGlobal, (f... |
'use strict';
var MAX_FLOAT32 = require( './../lib' );
console.log( MAX_FLOAT32 );
// returns 3.4028234663852886e+38
|
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; }
__.prototype = b.prototype;
d.prototype = new __();
};
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
... |
/*global define*/
define([
'../Core/AxisAlignedBoundingBox',
'../Core/BoundingSphere',
'../Core/Cartesian2',
'../Core/Cartesian3',
'../Core/Cartographic',
'../Core/defaultValue',
'../Core/defined',
'../Core/Ellipsoid',
'../Core/EllipsoidalOccluder',
'../Core/Math',
'../Core/M... |
'use strict';
// Dependencies
//
var assert = require('assert');
var path = require('path');
var index = require('../../../lib/request/index');
describe('index()', function () {
it('should return an object with add, load, and clear functions', function (done) {
var ss = {root:'/some/path'};... |
import THREE from 'three.js';
import TWEEN from 'tween.js';
import Constants from './constants';
let camera;
let target;
let cameraTween;
let targetTween;
function init(ratio) {
camera = new THREE.PerspectiveCamera(45, ratio, 0.1, 20000);
camera.focalLength = 45;
camera.frameSize = 32;
camera.setLens(camera.... |
/**
* Copyright 2006-2014 GrapeCity inc
* Author: isaac.fang@grapecity.com
*/
define([
'server/models/Post',
'server/models/Draft'
], function (Post, Draft) {
'use strict';
return function (route) {
route
.get(function (req, res, next) {
var id = req.param('id');... |
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some... |
import _ from 'lodash'
import { createStore, applyMiddleware, compose, combineReducers } from 'redux'
import thunk from 'redux-thunk'
import { createEpicMiddleware, combineEpics } from 'redux-observable'
/**
* Add needed rxjs modules here
*/
import 'rxjs/add/operator/delay'
import 'rxjs/add/operator/mapTo'
import ... |
module.exports = require('@js-toolkit/configs/prettier');
|
version https://git-lfs.github.com/spec/v1
oid sha256:9576c5a5b130b2a9f7a18233bdedc82f678e1d2bbd2a7eef2b0c335d4cdd0109
size 3423
|
/**
* @author Slayvin / http://slayvin.net
*/
THREE.ShaderLib[ 'mirror' ] = {
uniforms: {
"mirrorColor": new THREE.Uniform( new THREE.Color( 0x7F7F7F ) ),
"mirrorSampler": new THREE.Uniform( null ),
"textureMatrix" : new THREE.Uniform( new THREE.Matrix4() )
},
vertexShader: [
"uniform mat4 textureMatri... |
var wd = require('wd')
, assert = require('assert')
, resource = require('resource')
, server
, browser = wd.remote();
/*
browser.on('status', function(info) {
console.log(info.cyan);
});
browser.on('command', function(meth, path, data) {
console.log(' > ' + meth.yellow, path.grey, data || '');
});
*/
v... |
'use strict';
var ctx = require('./_ctx')
, $export = require('./_export')
, toObject = require('./_to-object')
, call = require('./_iter-call')
, isArrayIter = require('./_is-array-iter')
, toLength = require('./_to-length')
, getIterFn = require('./core.get-iterator-method');
$e... |
/*jslint indent: 2 */
(function () {
"use strict";
var i, n = 0;
for (i = 0; i < 10; i += 1) {
n += i;
console.log(n);
}
}());
|
/**
* @author Adrian Teodorescu (ateodorescu@gmail.com)
*/
Ext.define('Ext.ux.grid.feature.MultiGrouping', {
extend: 'Ext.grid.feature.Feature',
mixins: {
summary: 'Ext.ux.grid.feature.MultiAbstractSummary'
},
requires: [
'Ext.ux.grid.feature.MultiGroupStore',
'Ext.ux.grid.feat... |
module.exports = ProtoList
function ProtoList () { this.list = [] }
ProtoList.prototype =
{ get length () { return this.list.length }
, get keys () {
var k = []
for (var i in this.list[0]) k.push(i)
return k
}
, get snapshot () {
var o = {}
this.keys.forEach(function (k) { o[k]... |
var gulp = require('gulp');
gulp.task('build', ['browserify', 'compass', 'images', 'copy']);
|
System.register([], function (_export) {
"use strict";
var TakeValueConverter;
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; ... |
define(function () { 'use strict';
function a() {
a = someGlobal;
return a();
}
a();
});
|
define( [ 'modules/default/defaultcontroller' ], function( Default ) {
/**
* Creates a new empty controller
* @class Controller
* @name Controller
* @constructor
*/
function controller() { };
// Extends the default properties of the default controller
controller.prototype = $.extend( true, {}, Default ... |
/**
*
* Magnific Popup Core JS file
*
*/
/**
* Private static constants
*/
var CLOSE_EVENT = 'Close',
AFTER_CLOSE_EVENT = 'AfterClose',
BEFORE_APPEND_EVENT = 'BeforeAppend',
MARKUP_PARSE_EVENT = 'MarkupParse',
OPEN_EVENT = 'Open',
CHANGE_EVENT = 'Change',
NS = 'mfp',
EVENT_NS = '.' + NS,
READY_CLASS =... |
var gulp = require("gulp");
var jshint = require("gulp-jshint");
var stylish = require("jshint-stylish");
var gulp = require("gulp");
var mocha = require("gulp-mocha");
var runSequence = require("run-sequence");
var jsFiles = [
"*.js",
"./routes/*.js",
"./socket/*.js",
"./public/javascripts/*.js"
];
g... |
const babelLoader = require('babel-loader')
const logger = require('@poi/logger')
const spinner = require('../utils/spinner')
const macroCheck = new RegExp('[./]macro')
module.exports = babelLoader.custom(babel => {
const configs = new Set()
const presetItem = babel.createConfigItem(require('../babel/preset'), {
... |
import Fundations from './Fundations.vue';
import FundationsCreate from './FundationsCreate.vue';
import FundationsList from './FundationsList.vue';
import FundationShow from './fundation/FundationShow.vue';
import FundationShowDetails from './fundation/FundationShowDetails.vue';
import Fund... |
E2.p = E2.plugins["depth_func_generator"] = function(core, node)
{
this.desc = 'Select z-buffer depth compare function.';
this.input_slots = [];
this.output_slots = [
{ name: 'func', dt: core.datatypes.FLOAT, desc: 'Emits the selected depth function when requested or the selection state changes.', def: 'Diffus... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const schematics_1 = require("@angular-devkit/schematics");
const tasks_1 = require("@angular-devkit/schematics/tasks");
const ast_1 = require("../utils/ast");
const change_1 = require("../utils/devkit-utils/change");
const config_1 = require(... |
var _ = require('lodash');
var React = require('react');
function applyContext(children, context, fieldNames) {
React.Children.forEach(children, function(child) {
if (child && child.props) {
if (child.props.name) {
// Add fields to a list.
fieldNames.push(child.props.name);
if (chi... |
import CreditCardExpiration from 'ember-cli-masked-inputs/components/credit-card-expiration';
export default CreditCardExpiration;
|
version https://git-lfs.github.com/spec/v1
oid sha256:1c94b75d20be8663571721a10a260d09c2bf1bca8841742884ffd69e3026baba
size 5060
|
import { assign } from "lodash"
import configurationError from "./configurationError"
import isSingleLineString from "./isSingleLineString"
import isWhitespace from "./isWhitespace"
/**
* Create a whitespaceChecker, which exposes the following functions:
* - `before()`
* - `beforeAllowingIndentation()`
* - `after(... |
const fixtures = require('../../fixtures')
const selectors = require('../../../../selectors')
const { assertBreadcrumbs } = require('../../support/assertions')
const { dashboard, investments } = require('../../../../../src/lib/urls')
describe('Investment Project Documents', () => {
context('when there is a document ... |
suite('rb/reviewRequestPage/models/ReviewEntry', function() {
it('parse', function() {
const diffCommentsData = [
['1', '100'],
['2', '100-101'],
];
const reviewRequestEditor = new RB.ReviewRequestEditor({
reviewRequest: new RB.ReviewRequest(),
});... |
#!/usr/bin/env node
/**
* Release this package.
*/
"use strict";
process.chdir(`${__dirname}/..`)
const apeTasking = require('ape-tasking')
const apeReleasing = require('ape-releasing')
apeTasking.runTasks('release', [
() => apeReleasing.releasePackage({
beforeRelease: [
'./ci/build.js',
'./ci/... |
define(['modules/jquery-mozu','underscore','backbone','hyprlive'], function($, _, Backbone, Hypr) {
// because mozuviews need mozumessageviews and mozumessageviews extend mozuviews, we're risking circular reference problems.
// we fix this by making a factory method that extends the mozu message view only when... |
// warning: This file is auto generated by `npm run build:tests`
// Do not edit by hand!
process.env.TZ = 'UTC'
var expect = require('chai').expect
var ini_set = require('../../../../src/php/info/ini_set') // eslint-disable-line no-unused-vars,camelcase
var ini_get = require('../../../../src/php/info/ini_get') // eslin... |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
'use strict';
describe('snapshot', () => {
it('works with plain objects and the title has `escape` chara... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.