code stringlengths 2 1.05M |
|---|
'use strict';
angular.module('categories').controller('CategoriesController', ['$scope','$stateParams','$location','Categories',
function($scope, $stateParams, $location, Categories) {
// Controller Logic
$scope.create = function(){
//redirect after save
var category = new Categories({
name: this.nam... |
var Product = require('../models/product')
module.exports = {
index: function (req, res, next) {
var success = req.flash('success')[0];
Product.getAll({}, function (products) {
res.render('shop/index', {title: 'Shopping cart', products: products, success: success});
});
}
} |
export const defaultState = {
loading: false
};
export default function reducer(state = defaultState, action) {
switch (action.type) {
case "PAY_IS_LOADING":
return {
...state,
loading: true
};
case "PAY_IS_NOT_LOADING":
retur... |
require("../src/Lay.js");
Lay.server({
path:{
log:"log",
conf:"config"
}
}); |
var assert = require('chai').assert;
var ElMap = require('../uglymol').ElMap;
var util = require('../perf/util');
/* Note: axis order in ccp4 maps is tricky. It was tested by re-sectioning,
* i.e. changing axis order, of a map with CCP4 mapmask:
mapmask mapin 1mru_2mFo-DFc.ccp4 mapout 1mru_yzx.ccp4 << eof
AXIS ... |
Blockly.Blocks['setup'] = {
init: function() {
this.appendDummyInput()
.appendField("setup");
this.appendStatementInput("do")
.setCheck(null)
.appendField("do");
this.setInputsInline(false);
this.setPreviousStatement(true, null);
this.setNextStatement(true, null);
this.... |
/**
* The Rewriter module that is only executed once at the start of query execution.
* It will split up the query into a static and dynamic part while rewriting the dynamic part to be able to extract the
* time annotation.
*/
var Composer = require('./SparqlComposer.js'),
util = require('./RdfUtils.js');
... |
var configuration = require('../../../config/configuration.json')
var utility = require('../../../public/method/utility')
module.exports = {
setCampaignSettingModel: function (redisClient, accountHashID, campaignHashID, payload, callback) {
var table
var score = utility.getUnixTimeStamp()
var multi = red... |
/*
* code for Route was extracted from express.js. https://github.com/visionmedia/express
* express.js was published under MIT license at time of extraction.
* We will monitor express' evolution to see if the Routing code gets pulled into a stand-alone lib
*/
module.exports = Route;
/**
* Initialize `Route` wit... |
/*eslint-env node, jasmine */
/*eslint no-unused-expressions: 0 */
'use strict'
var jspp = require('../lib/preproc'),
stream = require('stream'),
path = require('path'),
fs = require('fs'),
defaults = require('../lib/options').defaults
var fixtures = path.join(__dirname, 'fixtures'),
... |
(function() {
'use strict';
angular
.module('noodleApp')
.controller('SearchFilterViewController', SearchFilterViewController);
SearchFilterViewController.$inject = ['$rootScope', '$scope', 'Filters', 'ActiveFilter'];
function SearchFilterViewController($rootScope, $scope, Filters, ActiveF... |
// Polarbot
// database.js
// handles database connection and queries
var mysql = require('mysql');
var config = require('./config/config.js');
var logger = require('./logger.js');
// Init MySql-connection
var pool = mysql.createPool({
host : config.dbHost,
port : config.dbPort,
user : config.... |
/*
Copyright 2014, KISSY v1.49
MIT Licensed
build time: May 22 12:15
*/
/*
Combined processedModules by KISSY Module Compiler:
base
*/
KISSY.add("base", ["attribute"], function(S, require) {
var Attribute = require("attribute");
var ucfirst = S.ucfirst, ON_SET = "_onSet", noop = S.noop;
function __getHook(me... |
var GameOpts = require('./game_opts');
//Constructor
var Bullet = function(x,y,color){
var GameOpts = {
screenW : 800,
screenH : 600
};
//this.canvas = document.getElementById("canvas");
//this.ctx = canvas.getContext("2d");
this.rectangle = {x:x,y:y,w:10,h:25};
this.speed = 25;
this... |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var multer = require('multer')
var app = express();
// view engine setup
app.set('views', path.join... |
define([ 'backbone', 'metro', 'highcharts' ], function(Backbone, Metro, Highcharts) {
var ChartBtnView = Backbone.View.extend({
className: 'chart-btn-view menu-btn',
events: {
'click': 'toggle',
'mouseover': 'over',
'mouseout': 'out',
},
initialize: function(){
//ensure correct scope
... |
/**
* Express routes
*/
var errorHelper = require('../helpers/errorHelper');
var logger = require('../helpers/logger');
var routes = require('include-all')({
dirname: __dirname + '/../api/routes',
filter: /(.+)\.js$/,
excludeDirs: /^\.(git|svn)$/
});
logger.trace(Object.keys(routes));
/**
* Defines data t... |
'use strict';
describe('Service: ProgramsService', function () {
// load the service's module
beforeEach(module('riplive'));
// instantiate service
var ProgramsService;
beforeEach(inject(function (_ProgramsService_) {
ProgramsService = _ProgramsService_;
}));
it('should do something', function () ... |
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.0.0-rc5 - built Wed Mar 26 2014 16:25:10
* MIT Licensed
*
*/
!(function($) {
var ParsleyUtils = {
// Parsley DOM-API
// returns object from dom attributes and values
// if attr is given, returns bool if attr present in DOM or not
... |
var path = require('path'),
npm_crafty = require('../lib/npm_crafty.server'),
pongBasic = require('./pongBasic.game.js'),
matchmaker;
//setup default server with the following arguments
var Server = npm_crafty.setupDefault( function () { //immediate callback
//setup additional get requests
Server.app.get('/', fun... |
/**!
* ajax - v0.0.9
* Ajax module in Vanilla JS
* https://github.com/fdaciuk/ajax
* Wed Aug 26 2015 07:30:42 GMT-0300 (BRT)
* MIT (c) Fernando Daciuk
*/
;
(function(factory) {
'use strict';
var root = (typeof window === 'object' && window.window === window && window) || (typeof global === 'object' && globa... |
import sortByProp from '../../../../utils/sortByProp'
export default (newRef, prop) => (existingRefs = [], { readField }) => {
const toObj = (ref) => ({ ref, [prop]: readField(prop, ref) })
const toRef = (obj) => obj.ref
return [ ...existingRefs, newRef ]
.map(toObj)
.sort(sortByProp(prop))
.map(toRef)
} |
// Copyright 2014 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Array.prototype.splice sets `length` on `this`
es5id: 15.4.4.12_A6.1_T2
description: Array.prototype.splice throws if `length` is read-only
negative: TypeError
---*/
var a = [... |
'use strict';
(function () {
//var COOL_COLOURS = [0xffffff, 0x000000, 0xff1bc6, 0x7cff1b, 0xffcc1b, 0x1bc7ff];
var COOL_COLOURS = [0xffffff, 0xffffff, 0xeeeeee, 0xcccccc, 0x999999, 0x555555, 0x777777];
//var COOL_COLOURS = [0xffffff, 0x000000];
window.demoMode = true;
var view = document.getElem... |
/**
* @author chenx
* @date 2015.12.17
* copyright 2015 Qcplay All Rights Reserved.
*
* 测试 websocket 指令
*/
function main(socket, para1, para2, para3)
{
trace('TestSocket main para1:%j, para2:%j, para3:%j', para1, para2, para3);
socket.emit('MSG_TEST_SOCKET', para1, para2, para3);
}
COMMUNICATE_D.registe... |
/* ----------------------------------
* PUSH v2.0.1
* Licensed under The MIT License
* inspired by chris's jquery.pjax.js
* http://opensource.org/licenses/MIT
* ---------------------------------- */
/* global _gaq: true */
!(function () {
'use strict';
var noop = function () {};
// Pushstate cacheing
... |
// Copyright 2008 The Closure Library Authors. 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
//
// Unl... |
/**
* HTTP Server Tests
*/
define([ "mocks/http" ], function(http_mock) {
"use strict";
suite("HTTP Server", function() {
var server;
suiteSetup(function(done) {
injector.mock("http", http_mock);
injector.require(["lib/http-server"], function(http_server) {
... |
var Appl = {};
var blnTest = true;
var HEADER_HEIGHT = 48;
var FOOTER_HEIGHT = 26;
var RTCPeerConnection = window.mozRTCPeerConnection || window.webkitRTCPeerConnection || window.RTCPeerConnection;
var RTCSessionDescription = window.mozRTCSessionDescription || window.RTCSessionDescription;
var RTCIceCandidate = windo... |
var code = require('../app');
module.exports = function(app, db){
// --------------------------- API V1 for User model --------------------------------------- //
loginUser = function(req, res){
console.log("POST - login users");
db.get("SELECT * FROM user WHERE email = ? AND password = ?", [req.body.email, req.b... |
var test = require('tap').test;
var sliceFile = require('../');
var through = require('through2');
var fs = require('fs');
var wordFile = __dirname + '/data/words';
test('slice twice on the same instance', function (t) {
t.plan(2);
var xs = sliceFile(wordFile);
var first = [];
var second = [];
... |
expenseTrackerAppModule.directive("exptWhenActive",function($location){"use strict";return{scope:!0,link:function(scope,element){var currentSection=$location.$$path.split("/");currentSection=currentSection[1],element=element[0],currentSection===element.dataset.sectionname&&element.classList.add("active")}}}); |
'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... |
/**
* React Static Boilerplate
* https://github.com/kriasoft/react-static-boilerplate
*
* Copyright © 2015-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React, { PropTypes }... |
'use strict';
phoneApp.controller('ListModelsController',
function ListModelsController($scope, $routeParams, phoneDatas) {
if ($routeParams.smartphone) {
$scope.search = $routeParams.smartphone;
};
phoneDatas
.getAllPhones()
.$promise
.then... |
Meteor.publish("avatars", function () {
//Meteor._sleepForMs(2000);
return Avatars.find();
});
Meteor.publish("posts", function () {
//Meteor._sleepForMs(2000);
return Posts.find({
$or: [
{ hidden: {$ne: true} },
{ author: this.userId }
]
});
});
Meteor.publish("post", function (id) {
check(id, String... |
var EXPRESS=require("EXPRESS"),
PATH=require("path"),
FS=require("fs"),
CLUSTER=require("cluster"),
Q=require("q"),
HDMA=require("./nodejs/api/hdma"),
CONFIG=require("./nodejs/config"),
LOGGER=require("./nodejs/config/logger.js"),
NUMCPU=2, //require("os").cpus().length,
models={
geoviewer: null
},
domain=... |
const GraphDB = plugins.require('graphql/GraphDb').Instance()
const sequelize = require('sequelize')
class ApiEnvironment extends SuperClass {
get schemas() {
return this.siteManager.schemas
}
get sequelize() {
return GraphDB.sequelize
}
/**
* send a query to the database
... |
require('proof')(24, function (assert) {
var tz = require('timezone')(require('timezone/en_AU'))
// en_AU abbreviated months
assert(tz('2000-01-01', '%b', 'en_AU'), 'Jan', 'Jan')
assert(tz('2000-02-01', '%b', 'en_AU'), 'Feb', 'Feb')
assert(tz('2000-03-01', '%b', 'en_AU'), 'Mar', 'Mar')
assert(t... |
'use strict';
module.exports = {
"prompts": {
"name" : {
"type" : "string",
"required": true,
"message" : "Project name"
},
"version" : {
"type" : "string",
"message" : "Project version",
"default" : "1.... |
var UncrapCore =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])... |
import controller from './ngbPathwaysPanel.controller';
export default {
template: require('./ngbPathwaysPanel.html'),
controller: controller.UID
};
|
/**
* @jsx React.DOM
*/
'use strict';
var assert = require('assert');
var makeHref = require('../makeHref');
var getPattern = makeHref.getPattern;
var descriptors = require('../descriptors');
var Routes = descriptors.Routes;
var Route = descriptors.Route;
function makeMatchTrace(routes, ref) {
return descriptors.... |
/*
* Copyright (c) André Bargull
* Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms.
*
* <https://github.com/anba/es6draft>
*/
const {
assertThrows, fail
} = Assert;
// 24.3.2 JSON.stringify: Missing ReturnIfAbrupt calls
// https://bugs.ecmascript.org/show_bug.cgi?id=3666
class E... |
var stringtool = require('../../tools/string-tool');
describe('string-tool', function () {
'use strict';
it('should left pad string', function () {
expect(stringtool.padLeft('x', 4, 'y')).toBe('yyyx');
});
it('should left pad number', function () {
expect(stringtool.padLeft(1, 2, '... |
/* eslint camelcase:0 */
/**
This is a wrapper for `ember-debug.js`
Wraps the script in a function,
and ensures that the script is executed
only after the dom is ready
and the application has initialized.
Also responsible for sending the first tree.
**/
/*eslint prefer-spread: 0 */
/* globals Ember, adapter, en... |
import Ember from 'ember';
export default Ember.Component.extend({
questionCart: Ember.inject.service()
});
|
import Ember from 'ember';
export default Ember.Controller.extend({
actions: {
fileLoaded(file) {
this.set('data', file.data);
this.set('loaded', true);
this.set('name', file.name);
this.set('size', file.size);
}
},
data: null,
loaded: false,
name: null,
readAs: 'readAsFile'... |
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import { createLogger } from 'redux-logger';
import app from '../redux';
const configureStore = () => {
// only plain object reach createLogger middleware and then reducers
const middlewares = [thunk];
if (process.env... |
var fs2obj = require('../lib/');
var modules = fs2obj('./test/exampleFolder');
console.log(JSON.stringify(modules)); |
document.addEventListener("DOMContentLoaded", function() {
var xhr = new XMLHttpRequest();
xhr.open("GET", "https://service.yokunaine.mzyy94.com/api/v1/statistics/dislike", true);
xhr.responseType = "json";
xhr.onload = function(e) {
if (xhr.status === 200) {
document.getElementById("total").innerText = xhr.re... |
import Popper from '@vusion/popper.js';
import MEmitter from '../m-emitter.vue';
import ev from '../../utils/event';
import single from '../../utils/event/single';
export const MPopper = {
name: 'm-popper',
mixins: [MEmitter],
isPopper: true,
props: {
opened: { type: Boolean, default: false },
... |
var eventName = typeof(Turbolinks) !== 'undefined' ? 'turbolinks:load' : 'DOMContentLoaded';
if (!document.documentElement.hasAttribute("data-turbolinks-preview")) {
document.addEventListener(eventName, function flash() {
var flashData = JSON.parse(document.getElementById('shopify-app-flash').dataset.flash);
... |
import DES from './DES';
let d = new DES('qwertyui');
// let cipher = d.encrypt64bit('heleo we')
// console.log(cipher);
// let decipheredBits = d.decrypt64bit(cipher, true);
// console.log(decipheredBits.length);
// console.log(decipheredBits);
let cipher = d.encrypt('hello world!');
// console.log(cipher);
... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { push } from 'react-router-redux';
import _find from 'lodash/find';
import _isEmpty from 'lodash/isEmpty';
import { slate } from 'utils';
import permission from 'utils/privileges';
// STORE
impor... |
(function (cf, test) {
var fakeYellowPlayer;
QUnit.module("Slots", {
beforeEach: function() {
fakeYellowPlayer = {};
}
});
test("Can create default slot", function(assert) {
var slot = new cf.Slot();
assert.ok(!!slot);
});
test("Default slots are empty", function(assert) {
var slot = new cf.Slot()... |
export const CHANGE_LIST = 'CHANGE_LIST' |
//////////////////////////////////////////////////////
// Collection Hooks //
//////////////////////////////////////////////////////
/**
* Generate HTML body from Markdown on user bio insert
*/
Users.after.insert(function (userId, user) {
// run create user async callbacks
Telesc... |
import actionsHandlers, {
setActiveCalculatedVariables,
updateActiveCalculatedVariables,
} from './active-calculated-variables-by-id';
import { SET_ACTIVE_VARIABLES } from 'actions/app-state';
import { CREATE_COMPONENT, UPDATE_COMPONENT } from 'actions/component';
describe('setActiveCalculatedVariables', () => {
... |
/*
* grunt-static-i18next
*
*
* Copyright (c) 2014 Stas Yermakov
* Licensed under the MIT license.
*/
'use strict';
module.exports = function (grunt) {
// load all npm grunt tasks
require('load-grunt-tasks')(grunt);
// Project configuration.
grunt.initConfig({
yeoman: {
// configurable path... |
var helper = require("../../../helper");
var sqlHelper = require("../../../sql-helper");
var Manager = require("../../../../src/etl/dim/dim-staff-etl-manager");
var instanceManager = null;
var should = require("should");
before("#00. connect db", function (done) {
Promise.all([helper, sqlHelper])
.then((re... |
/*global createRegistryWrapper:true, cloneEvents: true */
function createErrorMessage(code) {
return 'Error "' + code + '". For more information visit http://thoraxjs.org/error-codes.html' + '#' + code;
}
function createRegistryWrapper(klass, hash) {
var $super = klass.extend;
klass.extend = function() {
var... |
/**
*
* FooterNav2
*
*/
import React from 'react';
import {Link} from "react-router";
import Responsive from 'react-responsive';
class FooterNav2 extends React.PureComponent {
render() {
const footerStyle={
display:"flex",
flexDirection:"row",
justifyContent:"space-around",
backgroundCol... |
import {EventEmitter} from 'events'//nodejs自带模块,不用另外安装
export default new EventEmitter(); |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors.server.controller'),
_ = require('lodash'),
async = require('async'),
Transaction = mongoose.model('Transaction'),
User = mongoose.model('User');
exports.list = function (req, res) {
Transact... |
defineClass('Consoloid.Server.ServerSideContainer', 'Consoloid.Service.ChainedContainer',
{
__constructor: function(options)
{
this.__base(options);
if(!('sessionId' in this)) {
throw new Error('sessionId must be injected');
};
},
getSessionId: function()
{
return ... |
export class GithubAuthProvider {
static credential(idToken, accessToken) {
throw new Error("not implemented");
}
addScope(scope) {
throw new Error("not implemented");
}
setCustomParameters(params) {
throw new Error("not implemented");
}
}
//# sourceMappingURL=GithubAuthP... |
const sqlite3 = require('sqlite3').verbose();
const userHome = process.env.HOME || process.env.USERPROFILE;
let db = null;
const create = (cb = () => {
}) => {
const sqlPlaylist = `CREATE TABLE IF NOT EXISTS playlist (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
... |
const fs = require('fs')
const http = require('http')
const mst = require('mustache')
const config = require('config')
const util = require('./util')
// Begin module
module.exports = function() {
// Create a server
http.createServer(function(req, res) {
const response = (res, output, content_type, status) =>... |
/**
* Copyright 2012-2020, Plotly, Inc.
* 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';
var tube2mesh = require('gl-streamtube3d');
var createTubeMesh = tube2mesh.createTubeMesh;
var Lib = require('.... |
const Promise = require('bluebird');
const fse = require('fs-extra');
const promisedFs = Promise.promisifyAll(fse);
module.exports = promisedFs;
|
var mongoose = require('mongoose'),
config = require('config');
// Require models
require('./example');
exports.initialize = function(cb) {
cb = cb || function() {};
// Connect
mongoose.set('debug', config.mongo.debug)
mongoose.connect(config.mongo.connectionString);
var db = mongoose.connec... |
(function () {
window.SnakeGame = window.SnakeGame || {};
var Board = SnakeGame.Board = function (options) {
options = options || {};
this.height = options.height || Board.HEIGHT;
this.width = options.width || Board.WIDTH;
this.player = options.player || new SnakeGame.Snake(this);
this.opponen... |
import React from "react";
import PropTypes from "prop-types";
import { withRouter } from "react-router-dom";
import { fetch_single_user, reset_password } from '../../api';
import { notify } from 'react-notify-toast';
import validatePassword from '../../common/utilities/validatePassword';
import Spinner from '../../co... |
/**
* Interactive Linter Copyright (c) 2015 Miguel Castillo.
*
* Licensed under MIT
*/
define(function (/*require, exports, module*/) {
"use strict";
function getType(message) {
return (message.fatal || message.severity === 2) ? "error" : "warning";
}
/**
* Generates codemirror toke... |
import React, { Component, PropTypes } from 'react';
import he from 'he';
import { format } from 'd3-format';
const formatNumber = format('.2s');
export default class Link extends Component {
render() {
const { onClick } = this.props;
const { title, score, link, is_answered, answer_count, view_count } = this... |
import pkg from "../../../package.json";
import GoogleAnalytics from "../../vendors/GoogleAnalytics";
const config = {
vendors: [
{
name: "Test Override",
api: {
name: "Test",
pageView(eventName, params) {
return new Promise(resolv... |
import * as Types from './types';
import iView from 'iview';
import {
cgiPrefix,
cgiName
} from '../commons/cgiConst.js';
const mutations = {
[Types.exportFile](state) {
let exportUrl = cgiPrefix + cgiName['download'];
let s = state.searchCgiParam;
let pStr = {
ClassL1Id:... |
function changeLogoLocation(src, orientation, logow, logoh){
var width = 960;
var height = 720;
var margin_left = "10px";
if (orientation == "tr" || orientation == "tl") margin_left = (width - logow - 10) + "px";
var margin_top = "10px";
if (orientation == "br" || orientation == "bl") margin_top = (height ... |
$('input').each(function() {
var default_value = this.value;
$(this).focus(function(){
if(this.value == default_value) {
this.value = '';
}
});
$(this).blur(function(){
if(this.value == '') {
this.v... |
import ElementCollector from './../src/index';
describe('ElementCollector', function() {
var x = new ElementCollector;
afterEach(function() {
x.reset();
});
describe('add', function() {
it('should add valid item', function() {
var elm = document.createElement('div');
x.add('div');
... |
define("ghost/helpers/ghost-paths",
["ghost/utils/ghost-paths","exports"],
function(__dependency1__, __exports__) {
"use strict";
// Handlebars Helper {{gh-path}}
// Usage: Assume 'http://www.myghostblog.org/myblog/'
// {{gh-path}} or {{gh-path ‘blog’}} for Ghost’s root (/myblog/)
// {{gh-path ... |
/******************************************************************************
* Copyright © 2013-2015 The Nxt Core Developers. *
* *
* See the AUTHORS.txt, DEVELOPER-AGREEMENT.txt and LICENSE.txt files at *
... |
define([
], function () {
var MyConstructor = function () {
this.testProp = false;
console.log(!this.testProp);
};
return new MyConstructor();
}); |
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
//= link shopping_cart_manifest.js
|
function table(factory) {
var dom = $.create({"table":{"class":"ku-table", "cellspacing":0}});
table.base.call(this, dom);
var colgroup = $.create({"colgroup":{"class":"ku-table-colgroup"}}),
caption = $.create({"caption":{"class":"ku-table-caption"}}),
head = $.create({"thead":{"... |
var searchData=
[
['local_680',['Local',['../namespacektt.html#a27feefe5217ccf7232f658cd88143f0fa509820290d57f333403f490dde7316f4',1,'ktt::Local()'],['../namespacektt.html#ac17be234b9c499fc808a40ba1fb17af5a509820290d57f333403f490dde7316f4',1,'ktt::Local()'],['../namespacektt.html#ac5bc0a65f097bc3326d6497c0f3877b0a509... |
/*!
* SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5)
* (c) Copyright 2009-2014 SAP AG or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
/* ----------------------------------------------------------------------------------
* Hint: This is a derived (generat... |
/* eslint-env node, mocha */
var chai = require('chai');
chai.use(require('chai-string'));
chai.use(require('chai-spies'));
var expect = chai.expect;
var alexaAseagSkill = require('../index');
describe('alexa-aseag-skill', function() {
const locales = ['en-GB', 'de-DE'];
locales.forEach(function(locale) {
de... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.16/esri/copyright.txt for details.
//>>built
define("require exports ../../../../core/has ../../../../core/maybe ../../../../core/now ../../../../core/libs/gl-matrix-2/mat4f64 ../../../../core/libs/gl-matrix-... |
/*! firebase-admin v5.5.1 */
"use strict";
/*!
* Copyright 2017 Google Inc.
*
* 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
*
* Unles... |
import {
sanitize,
sanitizeElement
} from './utils/sanitize';
import SanitizeMixin from './mixins/sanitize';
export {
sanitize,
sanitizeElement,
SanitizeMixin
}; |
var EcommerceOrders = function () {
var initPickers = function () {
//init date pickers
$('.date-picker').datepicker({
rtl: Metronic.isRTL(),
autoclose: true
});
}
var handleOrders = function () {
var grid = new Datatable();
g... |
/**
* Developer: Ksenia Kartvelishvili
* Date: 28.11.2014
* Copyright: 2009-2014 Comindware®
* All Rights Reserved
*
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Comindware
* The copyright notice above does not evidence any
* actual or intended publication of such source code.
*/... |
/**
* Created by trnay on 2017/01/12.
*/
'use strict';
angular.module('canvasJoin', [
'ngRoute',
'logoHeader'
]); |
module.exports = function assert(cond, message) {
if (!cond) {
throw new Error(message);
}
};
|
module.exports = {
env: {
browser: true,
es6: true,
'jest/globals': true,
},
extends: 'airbnb-base',
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 2018,
},
plugins: ['jest'],
rules: {
'no-unused-vars': 1,
'no-param-reass... |
var fs = require("fs");
var express = require("express");
var https = require('https');
var http = require('http');
/////////////////////////////////////////////
var HTTP_PORT = 3102;
var HTTPS_PORT = 3101;
/////////////////////////////////////////////
var app = express();
// Route all Traffic to Secure Server
// ... |
version https://git-lfs.github.com/spec/v1
oid sha256:b61ede29ddb0328c7b5128fc67de19a398ef803b361667669ae06e9f1e214b0c
size 45395
|
//Header copied from jQuery
(function(global, factory) {
/* istanbul ignore else */
if ((typeof module == "object") && (typeof module.exports == "object")) {
// For CommonJS and CommonJS-like environments where a proper window
// is present execute the factory and get Fluid
// For environments that do not inhe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.