code stringlengths 2 1.05M | repo_name stringlengths 5 114 | path stringlengths 4 991 | language stringclasses 1
value | license stringclasses 15
values | size int32 2 1.05M |
|---|---|---|---|---|---|
import Ember from 'ember';
/**
* @module ember-osf
* @submodule mixins
*/
/**
* Controller mixin that implements common actions performed on nodes.
* @class NodeActionsMixin
* @extends Ember.Mixin
*/
export default Ember.Mixin.create({
/**
* The node to perform these actions on. If not specified, defa... | jamescdavis/ember-osf | addon/mixins/node-actions.js | JavaScript | apache-2.0 | 9,323 |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/ary-ptrn-rest-obj-prop-id.case
// - src/dstr-binding/default/cls-expr-async-gen-meth.template
/*---
description: Rest element containing an object binding pattern (class expression method)
esid: sec-class-definitions-runtime-seman... | sebastienros/jint | Jint.Tests.Test262/test/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-obj-prop-id.js | JavaScript | bsd-2-clause | 2,585 |
/*
* This is a basic func test for a Common application.
*/
YUI({
useConsoleOutput: true,
useBrowserConsole: true,
logInclude: { TestRunner: true }
}).use('node', 'node-event-simulate', 'test', 'console', function (Y) {
var suite = new Y.Test.Suite("Common: configindefinitionfilenegserver");
... | jeffblack360/mojito | tests/func/common/testconfigindefinitionfilenegserver.js | JavaScript | bsd-3-clause | 1,445 |
'use strict';
const hljs = require('../../build');
const should = require('should');
describe('.autoDetection()', () => {
it('should get an existing language', () => {
const result = hljs.autoDetection('python');
result.should.be.instanceOf(Object);
});
it('should get an existing language by alias',... | highlightjs/highlight.js | test/api/autoDetection.js | JavaScript | bsd-3-clause | 860 |
/* version: 0.3.142, born: 8-2-2014 11:48 */
var Organic = (function(w){
var o = {
helpers: {},
lib: {
atoms: {},
molecules: {}
}
}
var require = function(v) {
if(v == "./helpers/extend") {
return o.helpers.extend;
} else if(v == "/helpers/snippets" || v == "../../helpers/snippets") {
return o.h... | tmthrgd/pagespeed-libraries-cdnjs | packages/absurd/0.3.142/absurd.organic.js | JavaScript | mit | 50,878 |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
(function(global) {
global... | wKoza/angular | packages/common/locales/global/yo-BJ.js | JavaScript | mit | 2,553 |
// const hash = window.location.hash;
const queryParamsHelper = (() => {
function getQueryParamsFromHash(hash) {
hash = String(hash);
let params = {};
if (hash.indexOf('?') < 0) {
return params;
}
const inputParams = hash.split('?')[1].split('&');
input... | shakuu/Exams | js-apps/template/old2/js-apps-with-login-webpack-tests/public/utils/query-params-helper.js | JavaScript | mit | 530 |
for(let i = 0; i < length; i++) {
console.log('foo');
}
| greyhwndz/ember-suave | tests/fixtures/rules/require-space-after-keywords/bad/for.js | JavaScript | mit | 58 |
var Api = require('../../../lib/api.js');
module.exports = {
setUp: function (callback) {
callback();
},
'cssProperty assertion passed' : function(test) {
var assertionFn = require('../../../lib/selenium/assertions/cssProperty.js');
var client = {
options : {},
api : {
getCssPrope... | noritama/nightwatch | tests/src/assertions/testCssProperty.js | JavaScript | mit | 2,962 |
/*!
* ui-grid - v4.6.1 - 2018-07-04
* Copyright (c) 2018 ; License: MIT
*/
/**
* Translated by: R. Salarmehr
* M. Hosseynzade
* Using Vajje.com online dictionary.
*/
(function () {
angular.module('ui.grid').config(['$provide', function ($provide) {
$provide.decorator('i18nSe... | seogi1004/cdnjs | ajax/libs/angular-ui-grid/4.6.1/i18n/ui-grid.language.fa.js | JavaScript | mit | 3,791 |
var debug = require('debug')('keystone:core:routes');
/**
* Adds bindings for the keystone routes
*
* ####Example:
*
* var app = express();
* app.use(...); // middleware, routes, etc. should come before keystone is initialised
* keystone.routes(app);
*
* @param {Express()} app
* @api public
*/
f... | BlakeRxxk/keystone | lib/core/routes.js | JavaScript | mit | 4,373 |
import Ember from 'ember';
import Torii from 'ember-simple-auth/authenticators/torii';
import raw from 'ic-ajax';
const { RSVP } = Ember;
const { service } = Ember.inject;
export default Torii.extend({
torii: service('torii'),
authenticate() {
return new RSVP.Promise((resolve, reject) => {
this._super(... | dustinfarris/ember-simple-auth | tests/dummy/app/authenticators/torii.js | JavaScript | mit | 885 |
/**
* TimedText loader.
*/
// Scope everything in "mw" ( keeps the global namespace clean )
( function( mw ) {
mw.addResourcePaths( {
"mw.TimedText" : "mw.TimedText.js",
"mw.style.TimedText" : "css/mw.style.TimedText.css",
"mw.TimedTextEdit" : "mw.TimedTextEdit.js",
"mw.style.TimedTextEdit" : "css/mw.style.T... | noximus/complete-killer | wp-content/themes/complete-killer/kaltura-html5player-widget/modules/TimedText/loader.js | JavaScript | gpl-2.0 | 3,303 |
/*!
* bootstrap-fileinput v4.5.1
* http://plugins.krajee.com/file-input
*
* Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`.
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD... | crushdepth/tuskfish | js/bootstrap-fileinput/themes/explorer/theme.js | JavaScript | gpl-2.0 | 2,689 |
/*!
* freezeframe.js v3.0.8
* MIT License
*/
var freezeframe = (function($) {
var images, options, is_touch_device, default_state;
//////////////////////////////////////////////////////////////////////////////
// //
// Private Meth... | proconnor15/elmsln | core/dslmcode/shared/drupal-7.x/libraries/freezeframe.js/src/js/freezeframe.js | JavaScript | gpl-3.0 | 11,511 |
import { map } from 'common/collections';
import { useBackend, useLocalState } from '../backend';
import { Button, Flex, LabeledList, Section, Table, Tabs } from '../components';
import { Window } from '../layouts';
export const ShuttleManipulator = (props, context) => {
const [tab, setTab] = useLocalState(context, ... | Bawhoppen/-tg-station | tgui/packages/tgui/interfaces/ShuttleManipulator.js | JavaScript | agpl-3.0 | 7,786 |
/**
* Shopware 4.0
* Copyright © 2012 shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permi... | flyingSkull/dl-shopware | templates/_default/backend/article/view/category/drop_zone.js | JavaScript | agpl-3.0 | 6,980 |
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 3.0.0
build: 1549
*/
YUI.add('event-resize',function(Y){(function(){var detachHandle,timerHandle,CE_NAME='window:resize',handler=function(e){if(Y.UA.gecko){Y.fire(CE_NAM... | yinhm/sugarcrm | include/javascript/yui3/build/event/event-resize.js | JavaScript | agpl-3.0 | 692 |
// Copyright 2014 The Oppia 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
//
// Unless required by ap... | nagyistoce/oppia | extensions/gadgets/AdviceBar/AdviceBar.js | JavaScript | apache-2.0 | 865 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2016 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides
sap.ui.define(['jquery.sap.global', 'sap/ui/core/Control', 'sap/ui/core/Element'],
function(jQuery, Control, Element) {... | SuicidePreventionSquad/SeniorProject | resources/sap/ui/suite/QuickViewUtils-dbg.js | JavaScript | apache-2.0 | 6,325 |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... | kelvindart/cordova-plugin-camera | www/Camera.js | JavaScript | apache-2.0 | 7,905 |
/**
* Copyright 2017 The AMP HTML 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
*
* Unless require... | engtat/amphtml | extensions/amp-story/0.1/background.js | JavaScript | apache-2.0 | 3,971 |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* Additional test image entry.
*/
ENTRIES.image4 = new TestEntryInfo(
EntryType.FILE, 'image3.jpg', 'image4.jpg',
'image/jpeg', SharedOp... | hujiajie/chromium-crosswalk | ui/file_manager/integration_tests/gallery/thumbnail_mode.js | JavaScript | bsd-3-clause | 14,662 |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functions used in the export tab
*
*/
/**
* Disables the "Dump some row(s)" sub-options
*/
function disable_dump_some_rows_sub_options()
{
$("label[for='limit_to']").fadeTo('fast', 0.4);
$("label[for='limit_from']").fadeTo('fast', 0.4);
$("input[type='te... | savchukoleksii/beaversteward | www/settings/tools/mysql/js/export.js | JavaScript | mit | 34,129 |
/* globals isRtl */
this.menu = new class {
constructor() {
this.updateUnreadBars = _.throttle(() => {
if (this.list == null) {
return;
}
const listOffset = this.list.offset();
const listHeight = this.list.height();
let showTop = false;
let showBottom = false;
$('li.has-alert').each(function... | xasx/Rocket.Chat | packages/rocketchat-ui/client/lib/menu.js | JavaScript | mit | 1,399 |
import Ember from 'ember';
import PaginationMixin from 'ghost/mixins/pagination-controller';
import SettingsMenuMixin from 'ghost/mixins/settings-menu-controller';
import boundOneWay from 'ghost/utils/bound-one-way';
export default Ember.ArrayController.extend(PaginationMixin, SettingsMenuMixin, {
tags: Ember.comp... | ITJesse/Ghost-zh | core/client/app/controllers/settings/tags.js | JavaScript | mit | 4,767 |
define(['jquery','jqueryui/datepicker'], function (jQuery) {
/* German initialisation for the jQuery UI date picker plugin. */
/* Written by Milian Wolff (mail@milianw.de). */
jQuery(function($){
$.datepicker.regional['de'] = {
closeText: 'schließen',
prevText: '<zurück',
nextText: 'Vor>',
currentTex... | PATRIC3/patric3_website | portal/patric-jbrowse/WebContent/jbrowse/plugins/WebApollo/jslib/jqueryui/datepicker-de.js | JavaScript | mit | 946 |
/* Copyright (c) 2006-2015 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Control.js
* @requires OpenLayers/Lang... | usgin/NGDSDataExplorer | static/lib/ol2-master/lib/OpenLayers/Control/Graticule.js | JavaScript | mit | 21,493 |
version https://git-lfs.github.com/spec/v1
oid sha256:dbea3ca3f5ac4645a1a47289cf98c5277816fbb47afccee5887354dee8ed9037
size 932
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.7.3/anim-scroll/anim-scroll.js | JavaScript | mit | 128 |
dojo.provide("dojo.tests.store.Memory");
dojo.require("dojo.store.Memory");
(function(){
var store = new dojo.store.Memory({
data: [
{id: 1, name: "one", prime: false, mappedTo: "E"},
{id: 2, name: "two", even: true, prime: true, mappedTo: "D"},
{id: 3, name: "three", prime: true, mappedTo: "C"},
{id:... | vadivelan-k/dojo_rails | vendor/assets/javascripts/dojo/tests/store/Memory.js | JavaScript | mit | 3,422 |
var NS=(document.layers);var IE=(document.all);function obj_enable(objid)
{var e=document.getElementById(objid);e.disabled=false;}
function obj_disable(objid)
{var e=document.getElementById(objid);e.disabled=true;}
function setactiveMenuFromContent()
{var a=parent.MySQL_Dumper_content.location.href;var menuid=1;if(a.in... | thaian2009/php | sql/js/script.js | JavaScript | mit | 5,190 |
/*!
* Bootstrap-select v1.13.14 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2020 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
!function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeof defin... | jurgendl/jhaws | jhaws/wicket/src/main/resources/org/jhaws/common/web/wicket/bootstrapselect/js/i18n/defaults-fr_FR.min.js | JavaScript | mit | 1,061 |
// TODO:: banner
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["pnp"] = factory();
else
... | joeyparrish/cdnjs | ajax/libs/pnp-graph/1.0.0-beta.5/graph.es5.umd.bundle.js | JavaScript | mit | 138,228 |
var ORM = require('../../');
var helper = require('../support/spec_helper');
var should = require('should');
var async = require('async');
var common = require('../common');
var _ = require('lodash');
describe("hasOne", function () {
var db = null;
var Person = null;
var Pet = null;
var setup = function () {
re... | pskucherov/node-orm2 | test/integration/association-hasone-reverse.js | JavaScript | mit | 8,537 |
/**
* Client showdown integration tests
*
* Ensures that the final output from showdown + client extensions is as expected
*/
/*globals describe, it */
/*jshint expr:true*/
var should = require('should'),
// Stuff we are testing
Showdown = require('showdown'),
ghostgfm = require('../../... | InnoD-WebTier/hardboiled_ghost | core/test/unit/showdown_client_integrated_spec.js | JavaScript | mit | 21,780 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.useDragLayer = useDragLayer;
var _react = require("react");
var _useDragDropManager = require("./useDragDropManager");
var _useCollector3 = require("./useCollector");
function _slicedToArray(arr, i) { return _arrayWithHoles(arr)... | cdnjs/cdnjs | ajax/libs/react-dnd/14.0.2/cjs/hooks/useDragLayer.js | JavaScript | mit | 2,444 |
CKEDITOR.plugins.setLang("easyimage","it",{commands:{fullImage:"Immagine a dimensione intera",sideImage:"Immagine laterale",altText:"Cambia testo alternativo dell'immagine",upload:"Carica immagine"},uploadFailed:"L'immagine non può essere caricata a causa di un errore di rete."}); | cdnjs/cdnjs | ajax/libs/ckeditor/4.17.2/plugins/easyimage/lang/it.min.js | JavaScript | mit | 282 |
EasySocial(function($)
{
var jQuery = $;
/*!
* FullCalendar v1.6.2
* Docs & License: http://arshaw.com/fullcalendar/
* (c) 2013 Adam Shaw
*/
/*
* Use fullcalendar.css for basic styling.
* For event drag & drop, requires jQuery UI draggable.
* For event resizing, requires jQuery UI resizable.
*/
(function($,... | Creativetech-Solutions/joomla-easysocial-network | media/com_easysocial/apps/user/calendar/assets/scripts/calendar.js | JavaScript | gpl-2.0 | 145,146 |
/*
WebPlotDigitizer - http://arohatgi.info/WebPlotDigitizer
Copyright 2010-2015 Ankit Rohatgi <ankitrohatgi@hotmail.com>
This file is part of WebPlotDigitizer.
WebPlotDigitizer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | zhouhaner/WebPlotDigitizer | javascript/widgets/webcam.js | JavaScript | gpl-3.0 | 2,872 |
//// [tests/cases/compiler/systemExportAssignment2.ts] ////
//// [a.ts]
var a = 10;
export = a; // Error: export = not allowed in ES6
//// [b.ts]
import * as a from "a";
//// [a.js]
System.register([], function (exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
... | vilic/TypeScript | tests/baselines/reference/systemExportAssignment2.js | JavaScript | apache-2.0 | 676 |
/*
Copyright (c) 2014-2015 F-Secure
See LICENSE for details
*/
'use strict';
var helpers = require('../../test_helpers/test_helpers');
var lmHelpers = require('../test_helpers/locMapHelpers');
var LocMapCommon = require('../lib/locMapCommon');
var locMapCommon = new LocMapCommon();
var testUserEmail = 'user1@example... | akkashaider/lokki-server | locmap/test/testRESTAPI_locmapAdmin.js | JavaScript | apache-2.0 | 7,314 |
//// [server.ts]
class c {
}
interface i {
}
module m {
export var x = 10;
}
var x = 10;
module uninstantiated {
}
export { c };
export { c as c2 };
export { i, m as instantiatedModule };
export { uninstantiated };
export { x };
//// [server.js]
"use strict";
Object.defineProperty(exports, "__esModule", { val... | domchen/typescript-plus | tests/baselines/reference/es6ExportClauseInEs5.js | JavaScript | apache-2.0 | 862 |
/**
* This file uses the Page Object pattern to define the main page for tests
* https://docs.google.com/presentation/d/1B6manhG0zEXkC-H-tPo2vwU06JhL8w9-XCF9oehXzAQ
*/
'use strict';
var MainPage = function() {
this.heroEl = element(by.css('.hero-unit'));
this.h1El = this.heroEl.element(by.css('h1'));
this.im... | daclouds/angular-fullstack-examples | e2e/main/main.po.js | JavaScript | apache-2.0 | 663 |
var underscore = require('./underscore.js');
// Start chaining a wrapped Underscore object.
function chain(obj) {
var instance = underscore(obj);
instance._chain = true;
return instance;
}
module.exports = chain;
| ealbertos/dotfiles | vscode.symlink/extensions/ms-mssql.mssql-1.11.1/node_modules/underscore/cjs/chain.js | JavaScript | mit | 221 |
(function($) {
Craft.TableFieldSettings = Garnish.Base.extend(
{
columnsTableName: null,
defaultsTableName: null,
columnsTableId: null,
defaultsTableId: null,
columnsTableInputPath: null,
defaultsTableInputPath: null,
defaults: null,
columnSettings: null,
columnsTable: null,
defaultsTable: null,
init: f... | delaneymethod/delaneymethod | craft/app/resources/js/TableFieldSettings.js | JavaScript | mit | 3,284 |
//>>built
define("dojox/mobile/Switch",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/event","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/dom-attr","dojo/touch","dijit/_Contained","dijit/_WidgetBase","./sniff","./_maskUtils","./common","dojo/has!dojo-bidi?d... | mbouami/pme | web/js/dojox/mobile/Switch.js | JavaScript | mit | 6,725 |
var should = require("should");
it("should be able to load JSON files without loader", function() {
var someJson = require("./some.json");
someJson.should.have.property("it", "works");
someJson.should.have.property("number", 42);
});
it("should also work when the json extension is omitted", function() {
var someJ... | g0ddish/webpack | test/cases/loaders/json-loader/index.js | JavaScript | mit | 924 |
module.exports = DTMF;
var C = {
MIN_DURATION: 70,
MAX_DURATION: 6000,
DEFAULT_DURATION: 100,
MIN_INTER_TONE_GAP: 50,
DEFAULT_INTER_TONE_GAP: 500
};
/**
* Expose C object.
*/
DTMF.C = C;
/**
* Dependencies.
*/
var debug = require('debug')('JsSIP:RTCSession:DTMF');
v... | tqcenglish/JsSIP | lib/RTCSession/DTMF.js | JavaScript | mit | 3,951 |
import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
import { loadRepo, loadStargazers } from '../actions'
import Repo from '../components/Repo'
import User from '../components/User'
import List from '../components/List'
function loadData(props) {
const { fullName } = props
pro... | kkav004/react-native-redux-real-world | webapp/containers/RepoPage.js | JavaScript | mit | 2,445 |
'use strict';
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 ("value" in descriptor) descriptor.writable = true; Object.definePrope... | cdnjs/cdnjs | ajax/libs/react-three-renderer/3.2.4/Shapes/BezierCurveToAction.js | JavaScript | mit | 2,841 |
/**
* Copyright (c) 2008-2011 The Open Planning Project
*
* Published under the BSD license.
* See https://github.com/opengeo/gxp/raw/master/license.txt for the full text
* of the license.
*/
/**
* @requires plugins/Tool.js
* @requires plugins/Login.js
*/
/** api: (define)
* module = gxp.plugins
* class... | kappu72/MapStore | mapcomposer/app/static/externals/gxp/src/script/plugins/SessionLogin.js | JavaScript | gpl-3.0 | 4,770 |
//>>built
define("dijit/form/_FormValueMixin","dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/on ./_FormWidgetMixin".split(" "),function(c,d,f,g,h,e){return c("dijit.form._FormValueMixin",e,{readOnly:!1,_setReadOnlyAttr:function(a){d.set(this.focusNode,"readOnly",a);this._set("readOnly",a)},postCreate:... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dijit/form/_FormValueMixin.js | JavaScript | apache-2.0 | 723 |
/**
* Copyright 2014 Google Inc. 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 applic... | andreimuntean/devsummit | src/static/scripts/helper/theme.js | JavaScript | apache-2.0 | 817 |
//>>built
define("dojox/editor/plugins/nls/nl/InsertAnchor",{insertAnchor:"Anker invoegen",title:"Ankereigenschappen",anchor:"Naam:",text:"Beschrijving:",set:"Instellen",cancel:"Annuleren"}); | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/editor/plugins/nls/nl/InsertAnchor.js | JavaScript | apache-2.0 | 191 |
function button_control(_args) {
var win = Ti.UI.createWindow({
title:_args.title
});
var b1 = Titanium.UI.createButton({
title:'I am a Button',
height:40,
width:200,
top:10
});
var b2 = Titanium.UI.createButton({
title:'I am a Button',
image:'/images/chat.png',
width:200,
height:40,
top:... | BetterTi/ti.debugger | testprojects/KitchenSink2/Resources/ui/common/controls/button.js | JavaScript | apache-2.0 | 4,236 |
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed un... | jkern/bigcouch | rel/overlay/share/www/script/futon.browse.js | JavaScript | apache-2.0 | 48,447 |
'use strict';
// Oracle Formatter
// ------
module.exports = function(client) {
var Formatter = require('../../formatter');
var inherits = require('inherits');
// The "formatter" is used to ensure all output is properly
// escaped & parameterized.
function Formatter_Oracle() {
this.client = client;
Formatter.ap... | wiredgms/contacts | server/node_modules/knex/lib/dialects/oracle/formatter.js | JavaScript | mit | 2,201 |
var should = require('should'),
sinon = require('sinon'),
Promise = require('bluebird'),
_ = require('lodash'),
authStrategies = require('../../../server/auth/auth-strategies'),
Models = require('../../../server/models'),
errors = require('../../../server/errors'),
globalUtils = require('..... | stridespace/Ghost | core/test/unit/auth/auth-strategies_spec.js | JavaScript | mit | 16,689 |
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 = Reflect.decorate... | mrgardner/mrgardner.github.io | node_modules/firebase-angular2/node_modules/angular2/es6/prod/src/animate/animation_builder.js | JavaScript | mit | 1,436 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
// persion shortened
var strings = {
prefixAgo: null,
prefixFromNow: null,
suffixAgo: '',
suffixFromNow: '',
seconds: '1دقیقه',
minute: '1دقیقه',
minutes: '%dدقیقه',
hour: '1ساعت',
hours: '%dسا... | cdnjs/cdnjs | ajax/libs/react-timeago/6.2.1/language-strings/fa-short.js | JavaScript | mit | 546 |
/*
* jQuery UI Dialog 1.8.16
* w/ Minimize & Maximize Support
* by Elijah Horton (fieryprophet@yahoo.com)
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Dialog
*
* Depends:
* jquer... | coursemdetw/2014c2 | wsgi/static/reeborg/src/js/jquery.ui.dialog.minmax.js | JavaScript | gpl-2.0 | 27,774 |
/* SCEditor v2.1.3 | (C) 2017, Sam Clarke | sceditor.com/license */
| acalcutt/WifiDB | wifidb/wifidb/themes/vistumbler_mobile/lib/sceditor/minified/plugins/strictbbcode.js | JavaScript | gpl-2.0 | 69 |
var path = require( 'path' );
var fs = require( 'fs' );
module.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP;
function mkdirP( p, opts, f, made ) {
if( typeof opts === 'function' ) {
f = opts;
opts = {};
}
else if( !opts || typeof opts !== 'object' ) {
opts = { mode: opts };
}
var mode = opts.mode;
va... | tracyapps/chad | node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/vinyl-fs/node_modules/mkdirp/index.js | JavaScript | gpl-2.0 | 2,046 |
/**
* ServerProxy is a superclass of {@link Ext.data.proxy.JsonP JsonPProxy} and {@link Ext.data.proxy.Ajax AjaxProxy}, and
* would not usually be used directly.
* @protected
*/
Ext.define('Ext.data.proxy.Server', {
extend: 'Ext.data.proxy.Proxy',
alias : 'proxy.server',
alternateClassName: 'Ext... | turtlerrrrr/myapp | web/src/main/webapp/WEB-INF/app/ext/packages/core/src/data/proxy/Server.js | JavaScript | gpl-2.0 | 19,301 |
/**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'codesnippet', 'vi', {
button: 'Chèn đoạn mã',
codeContents: 'Nội dung mã',
emptySnippetError: 'Một đoạn mã không thể để trống.',
... | akvamor/blog | src/main/webapp/resources/ckeditor/plugins/codesnippet/lang/vi.js | JavaScript | gpl-2.0 | 395 |
// |reftest| skip-if(!xulRuntime.shell) -- needs newGlobal()
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
//-----------------------------------------------------------------------------
var BUGNUMBER = 608473;
var summary =
'|var eval = otherWindow.e... | michath/ConMonkey | js/src/tests/ecma_5/extensions/cross-global-eval-is-indirect.js | JavaScript | mpl-2.0 | 1,560 |
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\u000b\u000c\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])\'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:(?:--+(?:... | fcoury/gitorious | public/javascripts/prettify/lang-hs.js | JavaScript | agpl-3.0 | 682 |
/*
* Copyright (c) 2014 ThoughtWorks, Inc.
*
* Pixelated is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Pixelated i... | PuZZleDucK/pixelated-user-agent | web-ui/app/js/page/logout_shortcut.js | JavaScript | agpl-3.0 | 1,160 |
/**
* Copyright 2017 The AMP HTML 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
*
* Unless require... | dotandads/amphtml | extensions/amp-viewer-integration/0.1/test/integration/test-viewer-initiated-handshake.js | JavaScript | apache-2.0 | 1,787 |
// Load modules
var Hapi = require('../lib');
// Declare internals
var internals = {};
internals.get = function (request, reply) {
reply(new Error('Here is my error'));
};
internals.onPreResponse = function (request, reply) {
// Demonstrates how to hide error messages from the client
if (request.... | thebillkidy/WebRTC-Stream | server/node_modules/hapi/examples/errors.js | JavaScript | apache-2.0 | 707 |
/**
* @fileoverview Abstraction of JavaScript source code.
* @author Nicholas C. Zakas
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const TokenStore = require("../to... | EdwardStudy/myghostblog | versions/1.25.7/node_modules/eslint/lib/util/source-code.js | JavaScript | mit | 18,981 |
/**
* @author gero3 / https://github.com/gero3
* @author tentone / https://github.com/tentone
*
* Requires opentype.js to be included in the project.
* Loads TTF files and converts them into typeface JSON that can be used directly
* to create THREE.Font objects.
*/
THREE.TTFLoader = function ( manager ) {
thi... | Michayal/michayal.github.io | node_modules/super-three/examples/js/loaders/TTFLoader.js | JavaScript | mit | 4,119 |
define(["require","exports","module","system"],function(e,t,n){t.print=typeof print!="undefined"?print:function(){var t=e("system"),n=t.stdio;n.print.apply(n,arguments)},t.assert=function(e,n){e?t.print("PASS "+n,"pass"):t.print("FAIL "+n,"fail")}}); | dnshi/ACalendar-Client | dist/js/vendor/requirejs/tests/commonjs/tests/modules/1.0/transitive/test.js | JavaScript | mit | 250 |
// $Id: memcache.js,v 1.1.2.1 2007/07/31 15:54:11 robertDouglass Exp $
// Global Killswitch
if (Drupal.jsEnabled) {
$(document).ready(function() {
$("body").append($("#memcache-devel"));
});
}
| gregstrang/Atlantis-Homes-LLC | sites/all/modules/memcache/memcache_admin/memcache.js | JavaScript | gpl-2.0 | 200 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var gTestfile = 'regress-355622.js... | ashwinrayaprolu1984/rhino | testsrc/tests/js1_5/extensions/regress-355622.js | JavaScript | mpl-2.0 | 949 |
Clazz.declarePackage ("J.shapebio");
Clazz.load (["J.shape.AtomShape", "JV.JC"], "J.shapebio.BioShape", ["java.lang.Float", "JU.AU", "$.BS", "J.c.PAL", "$.STR", "JM.NucleicPolymer", "JU.C", "$.Logger"], function () {
c$ = Clazz.decorateAsClass (function () {
this.modelIndex = 0;
this.modelVisibilityFlags = 0;
this... | bengusty/cbioportal | portal/src/main/webapp/js/lib/jsmol/j2s/J/shapebio/BioShape.js | JavaScript | agpl-3.0 | 9,386 |
/**
* Shopware 4.0
* Copyright © 2012 shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permi... | buddhaCode/shopware | templates/_default/backend/performance/view/tabs/settings/elements/no_cache.js | JavaScript | agpl-3.0 | 4,314 |
var searchData=
[
['natural',['Natural',['../class_qwt_spline.html#a2bd2bda128f82acd596348eb8d64231ca506b78ec81ab6d56a4bbce891490c857',1,'QwtSpline']]],
['nearestneighbour',['NearestNeighbour',['../class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209acaa0a9e3b8afd376472d6a587a3f9873',1,'QwtMatrixRast... | tomas789/aseba | thirdparty/qwt/doc/html/search/all_6e.js | JavaScript | lgpl-3.0 | 5,346 |
// Licensed to Pioneers in Engineering under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Pioneers in Engineering licenses
// this file to you under the Apache License, Version 2.0 (the
// "License"); you ... | cduck/tenshi | angel-player/src/chrome/content/test/main.js | JavaScript | apache-2.0 | 7,330 |
module.exports = require("./data/plugins.json");
| GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/@babel/compat-data/plugins.js | JavaScript | apache-2.0 | 49 |
Clazz.declarePackage ("JS");
Clazz.load (null, "JS.ScriptFlowContext", ["JS.ScriptCompiler"], function () {
c$ = Clazz.decorateAsClass (function () {
this.compiler = null;
this.token = null;
this.pt0 = 0;
this.ptDefault = 0;
this.$function = null;
this.$var = null;
this.parent = null;
this.lineStart = 0;
this.commandSt... | bas-rustenburg/jsmol-local | j2s/JS/ScriptFlowContext.js | JavaScript | bsd-2-clause | 2,087 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... | Bhullnatik/react-native | RNTester/js/ListViewPagingExample.js | JavaScript | bsd-3-clause | 7,272 |
/*
YUI 3.17.0 (build ce55cc9)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("lang/calendar-base_zh-Hans-CN",function(e){e.Intl.add("calendar-base","zh-Hans-CN",{very_short_weekdays:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d... | wayne-lewis/baiducdnstatic | libs/yui/3.17.0/calendar-base/lang/calendar-base_zh-Hans-CN.js | JavaScript | mit | 368 |
import Ember from 'ember';
export default Ember.Mixin.create({
queryParams: ["page", "perPage"],
pageBinding: "content.page",
totalPagesBinding: "content.totalPages",
pagedContentBinding: "content"
});
| darrenrogan/ember-cli-pagination | addon/remote/controller-mixin.js | JavaScript | mit | 217 |
/*#__PURE__*/
React.createElement("div", null);
| jridgewell/babel | packages/babel-preset-typescript/test/fixtures/jsx-compat/tsx-valid/output.js | JavaScript | mit | 48 |
/*
* Filter box on fields edit page.
*/
jQuery(document).ready(function(){
wpcfFieldsFormFiltersSummary();
});
function wpcfFieldsFormFiltersSummary() {
if (jQuery('#wpcf-fields-form-filters-association-form').find("input:checked").val() == 'all') {
var string = wpcf_filters_association_and;
... | dkallos/ontap | wp-content/plugins/wp-types/embedded/resources/js/custom-fields-form-filter.js | JavaScript | gpl-2.0 | 10,805 |
// test_1.js
| vladikoff/fxa-mochitest | tests/mozbase/manifestparser/tests/verifyDirectory/test_1.js | JavaScript | mpl-2.0 | 13 |
/**
* TODO
*/
THREE.DepthLimitedBlurShader = {
defines: {
"KERNEL_RADIUS": 4,
"DEPTH_PACKING": 1,
"PERSPECTIVE_CAMERA": 1
},
uniforms: {
"tDiffuse": { value: null },
"size": { value: new THREE.Vector2( 512, 512 ) },
"sampleUvOffsets": { value: [ new THREE.Vector2( 0, 0 ) ] },
"sampleWeights": { valu... | sinorise/sinorise.github.io | three/js/shaders/DepthLimitedBlurShader.js | JavaScript | apache-2.0 | 3,810 |
// Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
'use strict';
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: './../..',
// testing framework to use (jasmine/mocha/qunit/...)
framew... | npbtrac1/np_16014_kelle_mobile | www/js/angular-strap-master/test/~1.4.0/karma.conf.js | JavaScript | apache-2.0 | 2,090 |
/**
* Copyright (c) 2013, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list ... | VProdanov/sdl_core | src/components/qt_hmi/qml_model_qt5/models/Internal.js | JavaScript | bsd-3-clause | 5,467 |
var BottomBar = require("../lib/ui/bottom-bar");
var cmdify = require("cmdify");
var loader = [
"/ Installing",
"| Installing",
"\\ Installing",
"- Installing"
];
var i = 4;
var ui = new BottomBar({ bottomBar: loader[i % 4] });
setInterval(function() {
ui.updateBottomBar( loader[i++ % 4] );
}, 300 );
var s... | ehealthafrica-ci/Inquirer.js | examples/bottom-bar.js | JavaScript | mit | 569 |
//
// Copyright (c) Microsoft and contributors. 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 requi... | gyiang/advdb-exp | node_modules/keystone/node_modules/azure/node_modules/azure-storage/lib/services/file/models/directoryresult.js | JavaScript | mit | 1,500 |
/**
* @license
* Visual Blocks Editor
*
* Copyright 2011 Google Inc.
* https://developers.google.com/blockly/
*
* 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.apach... | manashmndl/bluebrain | src/www/apps/blockly/core/connection.js | JavaScript | mit | 27,109 |
/*
This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in... | TimboDynamite/TYPO3-Testprojekt | typo3/contrib/extjs/locale/ext-lang-am.js | JavaScript | gpl-2.0 | 12,175 |
dojo.provide("dotcms.dijit.AssignWorkflowDialog");
dojo.require("dijit._Widget");
dojo.require("dijit.Dialog");
dojo.declare("dotcms.dijit.AssignWorkflowDialog", null, {
actionId:"",
contentletId:"",
returnUrl:null,
myDialog:null,
myCp:null,
windowTitle:"Workflow Actions",
onAssign:this.saveAssign,
show : f... | wisdom-garden/dotcms | dotCMS/html/js/dotcms/dijit/AssignWorkflowDialog.js | JavaScript | gpl-3.0 | 1,966 |
/**
* Copyright (c) 2014, 2016, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
"use strict";var l={"AF":["AF","\u0623\u0641\u0631\u064A\u0642\u064A\u0627"]};(this?this:window)['DvtBaseMapManager']['_UNPROCESSED_MAPS'][2].push(["africa","continent",l]); | JDT2016-Hackathon/hr | src/main/resources/static/js/libs/oj/v2.0.1/resources/internal-deps/dvt/thematicMap/resourceBundles/AfricaContinentBundle_ar.js | JavaScript | apache-2.0 | 295 |
// [VexFlow](http://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
//
// ## Description
//
// This class implements vibratos.
Vex.Flow.Vibrato = (function() {
function Vibrato() { this.init(); }
Vibrato.CATEGORY = "vibratos";
var Modifier = Vex.Flow.Modifier;
// ## Static Methods
// Arrange vibratos ins... | niklasgrahl/vexflow | src/vibrato.js | JavaScript | mit | 4,167 |
version https://git-lfs.github.com/spec/v1
oid sha256:498ba5a89f8fe3e5627189b345eecaead4d7daa943daa9d714329d72a690dc16
size 287
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.9.7/_base/query.js | JavaScript | mit | 128 |
/**
* Interaction for the pages templates
*
* @author Matthias Mullie <forkcms@mullie.eu>
*/
jsBackend.template =
{
// default position names
defaultPositions: new Array('', 'main', 'left', 'right', 'top'),
/**
* Kind of constructor
*/
init: function()
{
// add first default position
if($('#position1'... | Schetss/vrd | src/Backend/Modules/Extensions/Js/ThemeTemplate.js | JavaScript | mit | 4,073 |
"use strict";
exports.__esModule = true;
exports.is = is;
exports.isType = isType;
exports.shallowEqual = shallowEqual;
exports.appendToMemberExpression = appendToMemberExpression;
exports.prependToMemberExpression = prependToMemberExpression;
exports.ensureBlock = ensureBlock;
exports.clone = clone;
exports.cloneDeep... | kenokabe/worldtimestream | react_pysics/www/babel-core/lib/types/index.js | JavaScript | mit | 11,081 |