code stringlengths 2 1.05M |
|---|
$(document).ready(function(){
//Init functions
LazyLoad();
ProgressBar();
scrollToTop();
//Lazy Load
function LazyLoad() {
$("img.lazy").lazyload({
effect : "fadeIn"
});
}
//Top progress bar
function ProgressBar() {
//Start loader
NProg... |
/**
* Show an account
*/
var client = require('../../../client');
var async = require('async');
async.waterfall([
function(callback) {
// Fetch accounts to get an account ID
client.getAccounts({}, function(err, accounts) {
if (err) {
return console.log(err);
}
callback(null, ac... |
'use strict';
const BookshelfRepository = require('./bookshelfRepository');
class LoanRepository extends BookshelfRepository {
constructor(model) {
super(model);
this.relationships = {withRelated: ['users','books']};
}
getModels() {
let promise = this.model.fetchAll(this.relationships);
promis... |
var searchData=
[
['transwarp_20is_20a_20header_2donly_20c_2b_2b_20library_20for_20task_20concurrency_509',['transwarp is a header-only C++ library for task concurrency',['../index.html',1,'']]]
];
|
import { createBackendModule } from './backendModule'
import { SUCCESS_CREATE as JOURNAL_ENTRY_SUCCESS_CREATE } from './journalEntryCreatedEvents'
import { BASE_PATH, objectToQueryParams } from 'modules/http'
const path = 'journal-entry-proposals'
const SUCCESS_FETCH_JEP = '@@' + path + '/SUCCESS_FETCH'
const START_FE... |
/**
* Adds bindings for the keystone routes
*
* ####Example:
*
* var app = express();
* app.configure(...); // configuration settings
* app.use(...); // middleware, routes, etc. should come before keystone is initialised
* keystone.routes(app);
*
* @param {Express()} app
* @api public
*/
fu... |
var seneca = require('seneca')();
seneca.use('../suncalculator');
// Capture the sunrise event
seneca.add({role: 'suncalculator', event: 'sunrise'}, function (msg, respond) {
console.log('got sunrise event');
respond(null, {answer: 'ok'})
});
// Capture the sunset event
seneca.add({role: 'suncalculator', event: ... |
import { eventBus } from '../app';
export default {
bind: (el, binding, vnode) => {
el.addEventListener('click', () => {
eventBus.$emit('app:exchange::confirm', binding.value)
});
},
unbind: (el) => {
el.removeEventListener('click');
}
}
|
/*jshint node:true*/
const ModelBlueprint = require('../engine-model');
const testInfo = require('ember-cli-test-info');
const useTestFrameworkDetector = require('ember-data/blueprints/test-framework-detector');
module.exports = useTestFrameworkDetector({
description: 'Generates a model unit test.',
locals: func... |
//==============================
// (c) 2014 Envisix Labs
//
// License: MIT
// Author: Stuart Malin
// stuart [at] envisixlabs [dot] com
//==============================
"use strict";
var Actimony = require('./Lib/Actimony.js');
var Node = require('./Lib/Node.js');
var TransportWS = require('./lib/TransportWS.js');... |
/*
* Includes
*/
var fs = require('fs');
var colors = require('colors/safe');
/*
* Internal functions
*/
// Returns sections of the comment header grouped by new-lines
function makeStringBlocks(string) {
let stringBlocks = string.split(/(?:\r\n|\r|\n){3,}/gm);
// We don't want the comment notations i... |
// D3 render template
Template.d3svgStructure.rendered = function(){
Deps.autorun(function(){
graph = addLinks2structureGraph(structurePeg2graph(qmls.parse(
// "w:VLp,qRLw,v;v:VLr,sRLw,u;u:VLp,rRLw"
// "w:VLp,qRLw,v;v:VLr,sRL;u:VLp,rRLw"
// "w:VLp,qRLw,v,u;v:VLr,sRL;u:VLp,rRLw"
// "w:VLp,... |
import Page from '../classes/Page';
import request from 'request';
function getCompanies() {
// not yet associated with user
return {
method: 'GET',
url: `${process.env.CLIENTS_SERVICE_URL}/companies`,
headers: {
'content-type': 'application/json',
},
body: JSON.stringify(),
};
}
funct... |
var stemmer = stemmer || null;
var wps = function(document) {
var self = {};
var privy = {};
self.stem = stemmer || function(word) { return word; };
self.document = document;
privy.sln = document.defaultView.getSelection();
self.log = function(msg) {
console.log(msg);
};
self.indexDocument =... |
var JS = {};
/*
* JS: Core
*/
JS.core = [
"node_modules/tiny.js/dist/tiny.js",
"src/shared/scripts/core.js",
"src/shared/scripts/events.js",
"src/shared/scripts/factory.js",
"src/product-component/scripts/init.js"
];
/*
* JS: Abilities
*/
JS.abilities = [
"src/shared/scripts/Content.js",
... |
import CardParser from './utils/card-parser';
import CardInputParser from './mixins/card-input-parser';
export function isDigit(event) {
return String.fromCharCode(event.charCode).match(/\d/);
}
export { CardParser, CardInputParser };
|
exports.config = {
allScriptsTimeout: 11000,
specs: [
'e2e/*.js'
],
capabilities: {
'browserName': 'chrome'
},
baseUrl: 'http://127.0.0.1:8000/app/',
framework: 'jasmine',
jasmineNodeOpts: {
defaultTimeoutInterval: 30000
}
};
|
define("ace/mode/jack_highlight_rules", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text_highlight_rules"], function(e, t, n) {
"use strict";
var r = e("../lib/oop"),
i = e("./text_highlight_rules").TextHighlightRules,
s = function() {
this.$rules = {
start: [{
token: "... |
/*************************************************************
*
* MathJax/localization/lt/FontWarnings.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 obta... |
'use strict';
angular.module('cbt')
.directive('flagView', function(){
return {
restrict: 'E',
template: '{{title}}'+
'<a class="led" ng-repeat="led in values track by $index" ng-class="{\'active\':values[$index]}" title="{{info[title.toLowerCase()][$index]}}"></a>',
link: fun... |
jQuery(document).ready(function(){
var options = jQuery('#neutron-panels').data('options');
console.log(options);
jQuery('#neutron-plugin-containers').accordion({
active: false,
collapsible: true,
autoHeight: false,
animated: false
});
var dlg = jQuery( "#neu... |
/*
* This file is part of Invenio.
* Copyright (C) 2016-2020 CERN.
*
* Invenio is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
/**
* Copyright (c) 2011-2013 Fabien Cazenave, Mozilla.
*
* Permission is hereby granted, free of... |
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/*!
* Next JS
* Copyright (c)2011 Xenophy.CO.,LTD All rights Reserved.
* http://www.xenophy.com
*/
// {{{ NX.smtp.Smtp
NX.define('NX.smtp.Smtp', {
});
// }}}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* c-hanging-comment-ender-p:... |
var http = require('http');
var express = require('express');
var htmlToJson = require('../lib/htmlToJson');
describe('htmlToJson.request', function () {
it('should take request library options and a filter, then return parsed results based on the response body', function (done) {
var app = express();
var se... |
"use strict";
var reiny = require('reiny/runtime');
var __runtime = reiny.runtime;
var __extend = reiny.xtend;
module.exports = function(__props) {
if(__props == null) __props = {};
return __runtime(function($){
$('span', {className:['hoge']}, ''aaa'')
});
}; |
/*!
* ------------------------------
* jQuery.loadHtmlComponents.js v0.1.0
* http://anasnakawa.github.com/jquery.loadHtmlComponents
* license: MIT license (http://opensource.org/licenses/MIT)
* ------------------------------
*/
// ------------------------------
// table of content
// ----------------------------... |
;(function(window, _, $, undefined){
var Controller = new Class;
//Controller.extend({.
//Routes: {},.
//Hash: window.location.hash,.
// /**.
// * route(); initiate routing based on what the url is right now.
// * route('/path'); take the user to the given route.
/... |
export { default } from 'ember-theater/ember-theater/director/directions/random';
|
/* @flow */
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
toggleCustomInlineStyle,
getSelectionCustomInlineStyle,
} from 'draftjs-utils';
import LayoutComponent from './Component';
export default class FontSize extends Component {
static propTypes = {
onChange: Prop... |
import important from "../../plugins/important/index";
describe("Important plugin", () => {
it("should add !important to every number and string", () => {
const style = {
color: "blue",
fontSize: 15
};
expect(important()(style)).toEqual({
color: "blue!important",
fontSize: "15!important"
});
});... |
var fs = null;
function showWarning(resolution, APISupport) {
// set up text according to actual issue
if(resolution && APISupport) {
$('section#warning').html('\
<h1>Oops</h1>\
<p>In order to take advantage of framing app, you need to have a resolution of at least 1280x768px</p... |
/**
* @module opcua.address_space
* @class AddressSpace
*/
import assert from "better-assert";
import _ from "underscore";
import NodeClass from "lib/datamodel/NodeClass";
import Argument from "lib/datamodel/argument-list/Argument";
import DataValue from "lib/datamodel/DataValue";
import { Variant } from "lib/datamo... |
/**
* ParticlePack2 Shotgunflashyellow Effect.
* @method Shotgunflashyellow
* @param state {Kiwi.State} Current state
* @param x {Number} X position
* @param y {Number} Y position
* @return Kiwi.Group
* @public
* @static
*/
Kiwi.Plugins.ParticlePack2.Shotgunflashyellow = function( state, x, y ) {
this.config = {
"n... |
$(document).ready(main);
function parseDay() {
var inputDay = parseInt($("#day").val());
if (inputDay > workout.days || inputDay < 1 || isNaN(inputDay)) {
alert("Oops! I don't understand that. Please enter a day number between 1 and 28, inclusive.");
$("#day").val("");
} else {
showWorkout(inputDay);... |
$(document).ready(function() {
// Toggle Extra Informations for single Topic by Click +
$('.toggle-sibling').click(function() {
var infoBox = $(this).parent().next('.details-wrapper');
// console.log(infoBox);
if (infoBox.hasClass('active')) {
// if info box is open, close it and remove stat... |
#!/usr/bin/env node
var minimist = require('minimist');
var toureiro = require('../lib/toureiro');
var argv = minimist(process.argv.slice(2));
if (argv.h || argv.help) {
console.log('Usage: toureiro [port]');
console.log('[port] Port for toureiro to listen to');
console.log('Options:');
conso... |
var fs = require('fs');
var filename = 'data.txt';
fs.unlinkSync(filename);
console.log('File Deleted Successfully'); |
'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; }
__.prototype = b.prototype;
d.prototype = new __();
};
var __decorate = (this && this.__decorate) || function (decorators, targe... |
(function() {
'use strict';
const Class = require('ee-class')
const EventEmitter = require('ee-event-emitter')
const type = require('ee-types')
const log = require('ee-log')
const crypto = require('crypto')
const QueryContext = require('related-query-con... |
import fetch, { Response } from 'node-fetch';
export default {
load() {},
fetch,
Response,
set Promise(implementation) {
if (fetch.Promise === global.Promise) {
fetch.Promise = implementation;
}
}
};
|
Package.describe({
name: 'ndemoreau:azimulti-views-bootstrap',
summary: 'Azimuth Multilanguage CMS frontend templates (using Bootstrap 3.x)',
version: '0.4.3',
git: 'https://github.com/ndemoreau/azimulti-views-bootstrap'
});
Package.on_use(function (api) {
api.use(['less@1.0.11', 'templating@1.0.9', 'mizzao:... |
const Nutz = artifacts.require('./satelites/Nutz.sol');
const Storage = artifacts.require('./satelites/Storage.sol');
const PullPayment = artifacts.require('./satelites/PullPayment.sol');
const Market = artifacts.require('./controller/MarketEnabled.sol');
const BigNumber = require('bignumber.js');
const assertJump = re... |
/*
* @flow
*/
import React, { Component } from 'react';
import { Scrollbars } from 'react-custom-scrollbars';
// Blocks
import Search from '../Search';
import './Chat.css';
class Chat extends Component {
constructor(props) {
super(props)
this.state = {
}
this.onCreateComment = this.onCreateC... |
// 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... |
module.exports = (opt, columns, moduleCallback) => {
const mysql = require('mysql')
const readline = require('readline')
const mySqlCreds = require(opt.cfg.dirs.creds + opt.destination)
let db = mysql.createConnection(mySqlCreds)
const async = require('async')
let table = opt.source + '.' + opt.table.repla... |
export function add(a, b) {
return a + b
} |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const eslintScope = require("eslint-scope");
const {
CachedSource,
ConcatSource,
ReplaceSource
} = require("webpack-sources");
const DependencyTemplate = require("../DependencyTemplate");
const Module ... |
const functions = require('firebase-functions');
const Gdax = require('gdax');
const cors = require('cors')({origin: true});
// private endpoints
exports.getAccounts = functions.https.onRequest((request, response) => {
cors(request, response, () => {
var client = new Gdax.AuthenticatedClient(request.query.apikey... |
var CLE_EDITORS;
jQuery(document).ready(function() {
jQuery.cleditor.defaultOptions.controls = 'bold italic style removeformat | bullets numbering | link unlink | pasteword | source';
jQuery.cleditor.defaultOptions.colors = '387ab6 474747';
jQuery.cleditor.defaultOptions.styles = [["Paragraph", "<p>"], ["He... |
const ANCESTRY_FILE = "[\n " + [
'{"name": "Carolus Haverbeke", "sex": "m", "born": 1832, "died": 1905, "father": "Carel Haverbeke", "mother": "Maria van Brussel"}',
'{"name": "Emma de Milliano", "sex": "f", "born": 1876, "died": 1956, "father": "Petrus de Milliano", "mother": "Sophia van Damme"}',
'{"name": "Ma... |
'use strict';
// MODULES //
var similarity = require( 'compute-cosine-similarity');
// COSINE DISTANCE //
/**
* FUNCTION: distance( x, y[, accessor] )
* Computes the cosine distance between two arrays.
*
* @param {Number[]|Array} x - input array
* @param {Number[]|Array} y - input array
* @param {Function} [access... |
///
// Dependencies
///
import { fromJS } from 'immutable';
import configureMockStore from 'redux-mock-store';
import { ActionsObservable } from 'redux-observable';
import nock from 'nock';
import url from 'url';
import { baseURL } from '../../app/__mocks__/api';
import epic from '../epics';
import * as actions from ... |
export class InlineEditing {
constructor() {
let crudServiceBaseUrl = '//demos.telerik.com/kendo-ui/service';
this.datasource = new kendo.data.DataSource({
transport: {
read: {
url: crudServiceBaseUrl + '/Products',
dataType: 'jsonp'
},
update: {
url... |
// Karma configuration
// Generated on Mon Jun 22 2015 15:35:14 GMT+0200 (SAST)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/... |
(function (angular) {
"use strict";
angular.module("mfl.downloads", [
"ui.router",
"ui.bootstrap",
"ui.bootstrap.tpls",
"mfl.downloads.controllers",
"mfl.downloads.routes",
"mfl.facilities.wrapper"
]);
})(window.angular);
|
function f () {
try {
throw 'a'
}
catch (err) {}
}
try { f() }
catch (err) {}
|
"use strict";
angular.module('tcApp').factory('Auth', ['$http', '$q','Identity', 'UserResource',function($http, $q, Identity, UserResource){
return {
authenticateUser: function(username, password) {
var deferred = $q.defer();
$http.post('/login', {username:username, password:password}).then(functio... |
/*
* grunt-phantomcss
* https://github.com/micahgodbolt/grunt-phantomcss
*
* Copyright (c) 2013 Chris Gladd
* Copyright (c) since 2014 Anselm Hannemann
* Copyright (c) since 2015 Micah Godbolt
*
* Licensed under the MIT license.
*/
'use-strict';
// Get node fileSystem module and define the separator module
var fs = r... |
/*!
* Jquery EasterEgg v1.0.0 (https://github.com/gonpre/EasterEgg)
*
* Copyright 2015 Francisco Gonzalez
* Licensed under MIT (https://github.com/gonpre/EasterEgg/blob/master/LICENSE)
*/
(function($){
$.fn.easteregg = function(settings) {
var _settings = $.extend({}, $.fn.easteregg.default_settings... |
/*
* AppConstants
* Each action has a corresponding type, which the reducer knows and picks up on.
* To avoid weird typos between the reducer and the actions, we save them as
* constants here. We prefix them with 'yourproject/YourComponent' so we avoid
* reducers accidentally picking up actions they shouldn't.
*
... |
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
import moment from 'moment';
// import { run } from '@ember/runloop';
module('Integration | Component | time-input', function (hooks) {
setup... |
Package.describe({
name: 'numtel:pg-server',
version: '0.0.2',
summary: 'Run PostgreSQL server inside your Meteor app',
git: 'https://github.com/numtel/meteor-pg-server',
documentation: 'README.md'
});
function determinePlatformNpmPackage() {
switch(process.platform + '_' + process.arch) {
case 'linux_... |
import {NamespaceClass, ResourceClass, Namespace, URI, Class, Property, type, Resource, Vocab, Context, Prefix} from '../src/index'
import expect from 'expect'
import {Map, Set, List} from 'immutable'
describe('URI', () => {
it('should be a ResourceClass instance', () => {
expect(URI('test')).toBeA(ResourceClas... |
// ./models/user.js
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var UserSchema = new Schema({
userName: String,
email:String,
passwordHash: String,
passwordSalt: String,
createdOn : Date,
createdBy:{type: Schema.Types.ObjectId, ref: 'user'},
updatedOn:Date,
u... |
/* This module allows to create Cubemaps and store them as resources */
var CubemapTools = {
name: "CubemapTools",
default_resolution: 256,
current_cubemap: null,
preview_in_viewport: false,
init: function()
{
LiteGUI.menubar.add("Actions/Cubemap tools", { callback: function() { CubemapTools.showD... |
/*!
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file.
*/
import {WebexPlugin} from '@webex/webex-core';
const Calendar = WebexPlugin.extend({
namespace: 'Calendar',
/**
* Decrypts an encrypted incoming calendar event
* @param {Object} event
* @returns {Promise} Resolves with a decrypted ... |
var fs = require('fs')
net = require('net')
child = require('child_process')
spawn = child.spawn
exec = child.exec
var robot_ip = '20.10.10.115',
robot_name = 'raspberry pi',
robot_port = 5002
var server_ip = '192.168.2.2',
server_name = 'drewpi',
server_port ... |
$( document ).ready(function() {
"use strict";
firebase.auth().onAuthStateChanged(firebaseUser =>{
if (firebaseUser){
var rootRef = firebase.database().ref().child("users").child(firebaseUser.uid).child("movies").child("seen");
rootRef.on("child_added", snap =>{
var movieId = snap.child("m... |
'use strict';
/*
* Defining the Package
*/
var Module = require('meanio').Module;
var Players = new Module('players');
/*
* All MEAN packages require registration
* Dependency injection is used to define required modules
*/
Players.register(function(app, auth, database) {
//We enable routing. By default the ... |
require("coffee-script");
require("hubiquitus").start("topology.json"); |
/**
* @author mr.doob / http://mrdoob.com/
*/
THREE.DirectionalLight = function ( hex, intensity ) {
THREE.Light.call( this, hex );
this.position = new THREE.Vector3( 0, 1, 0 );
this.intensity = intensity || 1;
};
THREE.DirectionalLight.prototype = new THREE.Light();
THREE.DirectionalLight.prototype.construct... |
var querstring = require('querystring');
var obj = querstring.parse('username=stark&age=18&hobby=lanqiu');
console.log(obj);
// { username: 'stark', age: '18', hobby: 'lanqiu' } |
import { withRouter } from 'react-router';
import Component from './ndc-overview-component';
export default withRouter(Component);
|
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'colordialog', 'tt', {
clear: 'Бушату',
highlight: 'Билгеләү',
options: 'Төс көйләүләре',
selected: 'Сайланган төсләр'... |
/*!
* DevExtreme Web
* Version: 15.1.7
* Build date: Sep 22, 2015
*
* Copyright (c) 2012 - 2015 Developer Express Inc. ALL RIGHTS RESERVED
* EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml
*/
Globalize.addCultureInfo("ru", {messages: {
Yes: "Да",
No: "Нет",
Cancel: "Отмена",
... |
import React from 'react';
import HashtagList from './HashtagList';
export default class FollowList extends React.Component{
componentWillMount(){
}
render(){
let heartIcon = <i className="glyphicon glyphicon-heart"/>;
let heading = <div>{heartIcon} Follow
... |
/* 實作 ck.Express 物件 for API Server */
class ApiServer extends ck.Express {
static _addSlash (url) {
return url.indexOf(`/`) === 0 ? url : `/${url}`
}
static _genRouteFn (genFn) {
return async (req, res, next) => {
try {
await genFn(req, res, next)
} catch (e) {
next(e)
}... |
/**
* 用户业务操作
*/
const validator = require('validator')
const userModel = require('./../models/user-info')
const userCode = require('./../codes/user')
const user = {
/**
* 创建用户
* @param {object} user 用户信息
* @return {object} 创建结果
*/
async create( user ) {
let result = await userModel.create... |
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
import { Card, CardTitle, CardActions } from 'material-ui/Card';
import compose from 'recompose/compose';
import inflection from 'inflection';
import ViewTitle from '../layout/ViewTitle';
import Title from '../layout/Title';
imp... |
function spyProperties(a,b){Object.keys(b).forEach(function(d){var e="__"+d;try{b[e]=b[d];b[d]=undefined;Object.defineProperty(b,d,{get:function(){console.debug("[Property Usage] %debugNamespace.%property".replace("%debugNamespace",a).replace("%property",d));return b[e]}})}catch(c){if(b[e]){b[d]=b[e];b[e]=undefined}}})... |
module.exports = function(grunt) {
// Project configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
style: 'compressed',
noCache: true
},
files: {
'css/style.css': 'scss/style.scss',
'css/... |
var vertx = require('vertx');
vertx.createHttpServer().requestHandler(function(req) {
req.response.end('Hello World\n');
}).listen(8080)
|
Template['signup'].helpers({
});
Template['signup'].events({
});
|
$ = jQuery = require('jquery');
require('./picker.js');
require('./picker.date.js');
require('./picker.time.js');
require('./legacy.js');
|
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
export default function(babel, opts = {}) {
if (typeof babel.env === 'function') {
// Only available in Babel... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var _ = require('lodash');
var async = require('async');
/**
* Helper class that triggers execution for components
*/
var Executor = /** @class */ (function () {
function Executor() {
}
/**
* Triggers execution for component... |
// ==UserScript==
// @name Kingsage Enhancement Suite
// @version 1.3.1.0
// @author grafilicious
// @include http://*.kingsage.*game.php*
// @include http://*.kingsage.*redir.php*
// @include https://*.kingsage.*game.php*
// @include https://*.kingsage.*redir.php*
// @exclude http://support.*/*
// @grant none... |
import React, { Component, PropTypes } from 'react';
import { TextInput, ScrollView, Text, View, TouchableHighlight } from 'react-native';
import Icon from 'react-native-vector-icons/FontAwesome';
import DropdownAlert from 'react-native-dropdownalert';
import Swipeout from 'react-native-swipe-out';
import Modal from 'r... |
module.exports = [
{
output: {
filename: "commonjs.js",
libraryTarget: "commonjs-module"
},
resolve: {
alias: {
external: "./non-external"
}
}
},
{
output: {
filename: "umd.js",
libraryTarget: "umd"
},
resolve: {
alias: {
external: "./non-external"
}
}
},
{
output:... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
... |
import * as ModelUtils from './model-utils';
import * as IdentUtils from './identifier-utils';
import * as FieldUtils from './field-utils';
/**
* Builds a map of foreign key to primary key columns between the supplied child
* model and its parent model. The map is keyed by the child foreign key
* columns.
*
* @pa... |
var app = app || {}
app.TaskCollection = Backbone.Collection.extend({
model: app.SharedTaskModel,
url: "/tasks", // will be overwritten to be `tasks-unassigned`, `task-user/<username>`, or `tasks-completed`
collectionKind: null,
initialize: function(models, options) {
this.masterTaskCollection = app.allTas... |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Croatian language.
*/
/**#@+
@type String
@example
*/
/**
* Contains the d... |
// 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... |
var path = require('path');
var gulp = require('gulp');
var args = require('yargs').argv;
var colors = require('colors');
var spawn = require('child_process').spawn;
var fs = require('fs');
const mappings = require('./api-specs.json');
const defaultSpecRoot = "https://raw.githubusercontent.com/Azure/azure-rest-api-sp... |
// 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 ... |
/*
* Report container widget
*
* Data attributes:
* - data-control="report-container" - enables the report container plugin
*
* JavaScript API:
* $('#container').reportContainer()
*
* Dependancies:
* - Isotope (isotope.js)
*/
+function ($) { "use strict";
// REPORTCONTAINER CLASS DEFINITION
// =====... |
import React, {Component} from 'react';
import SelectField from 'material-ui/SelectField';
class TeamMatch extends Component {
render() {
const style = {
h1: {
fontFamily: "Roboto",
fontSize: 22,
fontWeight: 500,
marginTop: 15,
... |
AwsApplicationModel = AwsDeploy.Model.extend({
idAttribute: "application_name"
});
AwsApplicationCollection = AwsDeploy.Collection.extend({
model: AwsApplicationModel,
url: "/aws/apps"
});
AwsEnvironmentModel = AwsDeploy.Model.extend({
idAttribute: "environment_id"
});
AwsEnvironmentCollection = AwsD... |
version https://git-lfs.github.com/spec/v1
oid sha256:4cf204823e3498eff3398eefe0ba3895ba2ec12a24deeb0ff1ae3f01c5ce5f2d
size 129
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.