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
๏ปฟ/*global angular*/ (function () { angular .module('simplAdmin.vendors') .controller('VendorListCtrl', ['vendorService', 'translateService', VendorListCtrl]); function VendorListCtrl(vendorService, translateService) { var vm = this; vm.tableStateRef = {}; vm.vendors = []...
simplcommerce/SimplCommerce
src/Modules/SimplCommerce.Module.Vendors/wwwroot/admin/vendors/vendor-list.js
JavaScript
apache-2.0
1,543
angular.module('ReceitasApp', ['ngRoute', 'minhasDiretivas']) .config(function ($routeProvider) { $routeProvider.when('/', { templateUrl: 'home.html', }); $routeProvider.when('/adicionar', { templateUrl: 'adicionar.html', }); }) .run(['DbFactory', fu...
Rfilomeno/MyRecipiesApp
www/js/modules/receitas-app.js
JavaScript
apache-2.0
378
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
stdlib-js/stdlib
lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-doctest-quote-props/test/fixtures/valid.js
JavaScript
apache-2.0
5,623
import React, { Component } from 'react'; import MePanel from '../components/panels/MePanel'; import { Segment } from 'semantic-ui-react' import DetailedActivity from './activities/DetailedActivity'; import ActivityGraph from './activities/ActivityGraph'; class ActivityOverview extends Component { constructor(prop...
jeroen-visser/strava
frontend/src/components/ActivityOverview.js
JavaScript
apache-2.0
1,666
// 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed...
max-mathieu/nodejs-channel
samples/quickstart.js
JavaScript
apache-2.0
5,053
/* * testlistfmt_ka_GE.js - test the list formatter object * * Copyright ยฉ 2020, JEDLSoft * * 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/LICEN...
iLib-js/iLib
js/test/strings-ext/testlistfmt_ka_GE.js
JavaScript
apache-2.0
8,383
/*global define*/ define([ '../Core/BoundingSphere', '../Core/Cartesian3', '../Core/clone', '../Core/Color', '../Core/ComponentDatatype', '../Core/defaultValue', '../Core/defined', '../Core/defineProperties', '../Core/destroyObject', '../Co...
omh1280/cesium
Source/Scene/ModelInstanceCollection.js
JavaScript
apache-2.0
43,075
initSidebarItems({"fn":[["ball_against_ball","Time Of Impact of two balls under translational movement."],["composite_shape_against_shape","Time Of Impact of a composite shape with any other shape, under translational movement."],["plane_against_support_map","Time Of Impact of a plane with a support-mapped shape under ...
nitro-devs/nitro-game-engine
docs/ncollide_geometry/query/time_of_impact_internal/sidebar-items.js
JavaScript
apache-2.0
803
/* Copyright 2017 The BioBricks Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
publicdomainchronicle/public-domain-chronicle
routes/accession.js
JavaScript
apache-2.0
3,156
'use strict'; /** * @ngdoc function * @name sbAdminApp.controller:MainCtrl * @description * # MainCtrl * Controller of the sbAdminApp */ angular.module('sbAdminApp') .controller('MainCtrl', function($scope,$position) { }) .controller('StoreCtrl',['$scope','$position','$state','XLSXReaderService',function...
ousmaneo/PULinterface
app/scripts/controllers/main.js
JavaScript
apache-2.0
2,493
// Copyright 2016 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...
sbhowmik89/oppia
core/templates/dev/head/collection_editor/CollectionEditor.js
JavaScript
apache-2.0
4,502
//Create Tab Group var tabGroup = Titanium.UI.createTabGroup(); // Variables var Teas = ['#F5F5DC', '#FFE4B5', '#FFE4C4', '#D2B48C', '#C3b091', '#c3b091', '#926F5B', '#804000', '#654321', '#3D2B1F']; allRows = []; var theColours = Ti.UI.createTableView({}); for (var i=0; i<Teas.length; i++){ theRow =...
Bassim-Nasser/TeaSelectionCamera
Resources/app.js
JavaScript
apache-2.0
2,752
/*! * Copyright (C) 2015 SequoiaDB 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 * * Unless required by applic...
dphdjy/node-sequoiadb
lib/replica_group.js
JavaScript
apache-2.0
10,516
/* * Copyright 2010-2011 Research In Motion Limited. * * 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 ...
marek/WebWorks-API-Docs
api/blackberry_pim_Attendee.js
JavaScript
apache-2.0
2,878
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const diagnostics = tslib_1.__importStar(require("./diagnostics")); const log = diagnostics.log; // new diagnostics.Logger( __filename ); //import compression = require("./compression"); //export import axios ...
Novaleaf/xlib
_obsolete/xlib-v17/built/core/net.js
JavaScript
apache-2.0
12,529
import {fromJS} from 'immutable'; import MAP_STYLE from '../assets/map-style-basic-v8.json'; // export multi object.. export const polyLayer = fromJS({ id: 'polyLayer', source: 'polyLayer', type: 'fill', interactive: true, paint: { 'fill-color': '#ffeb3b', 'fill-opacity': 0.8 } }); export const po...
alex2wong/react-mapglDemo
src/map-style.js
JavaScript
apache-2.0
1,235
describe('Controller: EditorCtrl', function () { var $rootScope, $scope, $controller; beforeEach( module( 'PMTViewer' ) ); beforeEach(inject(function (_$rootScope_, _$controller_) { $rootScope = _$rootScope_; $scope = $rootScope.$new(); $controller = _$controller_; ...
spatialdev/PMT
Viewer/Application/src/app/editor/editor.spec.js
JavaScript
apache-2.0
646
/* * /MathJax/extensions/TeX/noUndefined.js * * Copyright (c) 2010 Design Science, Inc. * * Part of the MathJax library. * See http://www.mathjax.org for details. * * Licensed under the Apache License, Version 2.0; * you may not use this file except in compliance with the License. * * ...
AKSW/SlideWiki
slidewiki/libraries/frontend/MathJax/extensions/TeX/noUndefined.js
JavaScript
apache-2.0
884
exports.setProperty =function(_args){ Ti.App.Properties.setString(_args.name, _args.value) }; exports.getProperty = function(_args){ return Ti.App.Properties.getString(_args.name) };
romanmartinp/CampusApps
Resources/LocalStorage.js
JavaScript
apache-2.0
195
module.exports = function(config) { config.set({ files: [ // Each file acts as entry point for the webpack configuration { pattern: 'test/*.test.js', watched: false }, { pattern: 'test/**/*.test.js', watched: false } ], preprocessors: { // Add...
andry-tino/flowable
karma.config.js
JavaScript
apache-2.0
939
/* jshint strict: false */ /* global assertTrue, assertFalse, assertEqual, fail, AQL_EXECUTE, AQL_PARSE, AQL_EXPLAIN, AQL_EXECUTEJSON */ // ////////////////////////////////////////////////////////////////////////////// // / @brief aql test helper functions // / // / @file // / // / DISCLAIMER // / // / Copyright 201...
arangodb/arangodb
js/server/modules/@arangodb/aql-helper.js
JavaScript
apache-2.0
12,946
var Pagination = Pagination || function(container, goto) { "use strict"; var $pg = $(container); var span = 5; $pg.on("click", "a", function() { event.preventDefault(); var page = $(this).prop("id"); goto(page); }); this.render = function(pageInfo) { var...
idf/DocumentMiner
km-web/src/main/webapp/js/km_v2/pagination.js
JavaScript
apache-2.0
1,225
// // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distribu...
googleapis/nodejs-notebooks
samples/test/quickstart.js
JavaScript
apache-2.0
1,296
/** * Created by BlueX on 6/11/16. */ angular .module('TK-WEB-PITCH') .factory('ConstantFactory', function(){ //var API_URL = 'http://127.0.0.1:8888/TK-API/'; var API_URL = 'http://api-test.tarangkhmer.com/'; // return $http.get('http://192.168.1.100:8888/TK-API/sportclu...
TKSite-KH/TK-WEB-PITCH
js/factories/ConstantFactory.js
JavaScript
apache-2.0
404
๏ปฟdefine( ({ addLayer: "ใƒฌใ‚คใƒคใƒผใฎ่ฟฝๅŠ ", layerName: "ใƒฌใ‚คใƒคใƒผ", layerRefresh: "ๆ›ดๆ–ฐ", layerLabel: "ใƒฉใƒ™ใƒซ", actions: "ๆ“ไฝœ", popupOk: "OK", popupCancel: "ใ‚ญใƒฃใƒณใ‚ปใƒซ", mainPanelTextPlaceholder: "ไพ‹: ้ซ˜้€Ÿ้“่ทฏใฎ็Šถๆ…‹", invalidInterval: "ๆ•ฐๅญ—ใฎใฟใŒใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ™ใ€‚", uploadImage: "็”ปๅƒใฎใ‚ขใƒƒใƒ—ใƒญใƒผใƒ‰", iconColumnText:...
fiskinator/WAB2.0_JBox_MutualAid
widgets/InfoSummary/setting/nls/ja/strings.js
JavaScript
apache-2.0
1,955
/* Copyright (C) 2016 R&D Solutions Ltd. * * 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...
rndsolutions/hawkcd
Server/ui/gulp/inject.js
JavaScript
apache-2.0
2,701
๏ปฟdefine( ({ map: { error: "Karte kann nicht erstellt werden", mouseToolTip: "Klicken Sie auf die Karte, um den Service zu รผberprรผfen" }, geocoder: { defaultText: "Geben Sie eine Adresse oder einen Point of Interest ein" }, error: { ...
MikeMillerGIS/information-lookup
js/nls/de/resources.js
JavaScript
apache-2.0
916
/** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: Apache-2.0 */ goog.provide('Main'); // Core // Either require 'Blockly.requires', or just the components you use: goog.require('Blockly'); goog.require('Blockly.geras.Renderer'); goog.require('Blockly.VerticalFlyout'); // Blocks goog.require('Bl...
rachel-fenichel/blockly
tests/compile/main.js
JavaScript
apache-2.0
555
/* * Sample Window */ function SampleWindow(navController){ /* * essentials */ var win = Titanium.UI.createWindow({ top: ULA_WIN_TOP, title: 'Sample Window', backgroundColor: 'red' }); var rootView = Titanium.UI.createView({ top: 10, bottom: 10, left: 10, right: 10, backgroundColor: 'blue', layo...
trs-mark/ula
Resources/ui/SampleWindow.js
JavaScript
apache-2.0
881
'use strict'; angular.module('footierepoApp').controller('FixtureDialogController', ['$scope', '$stateParams', '$uibModalInstance', 'entity', 'Fixture', function($scope, $stateParams, $uibModalInstance, entity, Fixture) { entity.kickOff = Date.parse(entity.kickOff); $scope.fixture = entity...
alex-charos/footie-predictions
src/main/webapp/scripts/app/entities/fixture/fixture-dialog.controller.js
JavaScript
apache-2.0
1,857
/* * 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"); you may ...
endian675/ignite
modules/web-console/frontend/app/components/page-configure/components/pcValidation.js
JavaScript
apache-2.0
6,803
Template.addComment.events({ // press enter on input 'keyup #addcomment': function(event) { if (event.which === 13) { event.stopPropagation(); const comment = event.target.value; if (comment) { event.target.value = ''; const userName = Meteor.users.findOne().username; ...
metroidhq/metroidhq
client/templates/discussion/addComment/addComment.js
JavaScript
apache-2.0
1,026
(function (w) { var MIN_LENGTH = 4; if (w.self != w.top) { return; } function colorize(config) { if ((config.enabled && config.disallowed && config.disallowed.indexOf(w.location.hostname)!== -1) || (!config.enabled && (!config.allowed || config.allowed.indexOf(w.location.hostname)=== -1))) ret...
parsifal-47/nalacol
source/content.js
JavaScript
bsd-2-clause
4,868
/** * Copyright 2016 Telerik AD * ...
gngeorgiev/platform-friends
friends-hybrid/bower_components/kendo-ui/src/js/cultures/kendo.culture.tg-Cyrl.js
JavaScript
bsd-2-clause
6,673
// This file was procedurally generated from the following sources: // - src/dstr-assignment/array-elem-trlg-iter-list-nrml-close-skip.case // - src/dstr-assignment/default/for-of.template /*--- description: IteratorClose is not invoked when evaluation of AssignmentElementList exhausts the iterator (For..of statement) ...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-of/dstr-array-elem-trlg-iter-list-nrml-close-skip.js
JavaScript
bsd-2-clause
2,200
// ## twig.core.js // // This file handles template level tokenizing, compiling and parsing. module.exports = function (Twig) { "use strict"; Twig.trace = false; Twig.debug = false; // Default caching to true for the improved performance it offers Twig.cache = true; Twig.placeholders = { ...
dave-irvine/twig.js
src/twig.core.js
JavaScript
bsd-2-clause
46,210
Ext.form.BasicForm.override({ resetDirty: function() { this.items.each(function(field) { field.resetDirty(); }); }, setDefaultValues: function() { this.items.each(function(field) { field.setDefaultValue(); }, this); }, clearValues: function() {...
mike-tuxedo/koala-framework
Kwf_js/Form/BasicForm.js
JavaScript
bsd-2-clause
2,143
/* Just Journal JavaScript Library author: Lucas Holt date created: June 10, 2007 */ function follow(friend) { 'use strict'; var request = jQuery.ajax({ url: "/api/friend/" + friend, type: "PUT", data: {} }); request.done(function () { ...
laffer1/justjournal
src/main/resources/static/js/jj.js
JavaScript
bsd-2-clause
3,728
'use strict'; var ok = require('assert').ok; const esprima = require('esprima'); function parseExpression(src, builder, isExpression) { ok(typeof src === 'string', '"src" should be a string expression'); ok(builder, '"builder" is required'); function convert(node) { if (Array.isArray(node)) { ...
ticolucci/dotfiles
atom/packages/atom-beautify/node_modules/marko/compiler/util/parseJavaScript.js
JavaScript
bsd-2-clause
7,632
/** * Created by Primoz on 20.7.2016. */ let renderingController = function($scope, SettingsService, InputService, TaskManagerService, Annotations, PublicRenderData, SharingService) { // Context let self = this; // Required programs this.requiredPrograms = ['basic', 'phong', 'custom_overlayTextures'...
UL-FRI-LGM/Med3D
web/app/components/rendering/renderingController.js
JavaScript
bsd-2-clause
28,938
"use strict"; module.exports = { tagName: "div", className: "", defaults: { content: "default content" }, render: function() { }, client: function(options) { var result = options.client_options.result; var session = result.data.session; var total = session.count; var cell_count; ...
logV/superfluous
superfluous/app/plugins/mars/components/paragraph_viz/paragraph_viz.js
JavaScript
bsd-2-clause
948
var NN = NN || {}; NN.InstructionsState = NN.InstructionsState || {}; NN.InstructionsState.init = function(levelnum) { this.game.stage.backgroundColor = '#00f'; this.levelnum = levelnum; this.GAMEX = this.game.world.width; this.GAMEY = this.game.world.height; }; NN.InstructionsState.preload = functio...
elegantelephant/NumberNabber
js/states/Instructions.js
JavaScript
bsd-2-clause
1,888
MessagesStore
kristijan-pajtasev/ChatBOx
dev/js/.module-cache/de6546b2c9685657e1a6a668adbc9d9f63aaa6bd.js
JavaScript
bsd-2-clause
13
/*jslint node: true*/ /*jslint expr: true*/ /*global describe, it*/ "use strict"; var irc = require('../..'); var Stream = require('stream').PassThrough; describe('mode.js', function () { describe('on MODE', function () { it('should parse usermode', function (done) { var stream = new Stream(),...
sagax/fgbot_coffea
test/plugins/mode.js
JavaScript
bsd-2-clause
2,812
"use strict"; var antlr4 = require('antlr4/index'); var LambdaCalculusLexer = require("../antlr/generated/LambdaCalculusLexer"); var LambdaCalculusParser = require("../antlr/generated/LambdaCalculusParser"); var AstCreator = require("./ParseTreeListeningAstCreator").AstCreator; var Immutable = require('immutable'); ...
supersven/lambda-core
lib/AntlrParser.js
JavaScript
bsd-2-clause
1,018
/* */ "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; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var ArrayObservable_1 = require(...
poste9/crud
deps/npm/rxjs@5.0.3/operator/zip.js
JavaScript
bsd-2-clause
6,928
/* * Copyright (C) 2012 Google Inc. All rights reserved. * Copyright (C) 2012 Zan Dobersek <zandobersek@gmail.com> * Copyright (C) 2015 University of Washington. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
CSE512-15S/fp-burg
dashboard/Models/BuilderHistoryDataSource.js
JavaScript
bsd-2-clause
8,030
// This file was procedurally generated from the following sources: // - src/dstr-binding/obj-ptrn-id-init-throws.case // - src/dstr-binding/error/for-of-let.template /*--- description: Error thrown when evaluating the initializer (for-of statement) esid: sec-for-in-and-for-of-statements-runtime-semantics-labelledevalu...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-of/dstr-let-obj-ptrn-id-init-throws.js
JavaScript
bsd-2-clause
1,759
define(["mobile-detect"], function(MobileDetect){ function Factory(){ var md = new MobileDetect(window.navigator.userAgent); return { isMobile : function(){ return md.mobile(); } }; } return [Factory]; });
Calculingua/cali-app
src/ng-corp/service/mobile-detect.js
JavaScript
bsd-2-clause
309
module.exports = { plugins: [ require('autoprefixer'), require('postcss-nested') ] }
mshossain110/LaravelAdmin
postcss.config.js
JavaScript
bsd-2-clause
109
var searchData= [ ['cdx_2dcompute_2dmultipath_2dspread_2dand_2denergy',['cdx-compute-multipath-spread-and-energy',['../cdx-compute-multipath-spread-and-energy.html',1,'']]], ['cdx_2dcompute_2dmultipath_2dto_2dline_2dof_2dsight_2dcomponents_2dpower_2dratio',['cdx-compute-multipath-to-line-of-sight-components-power-r...
fms13/cdx
documentation/html/search/files_1.js
JavaScript
bsd-2-clause
1,362
/* * repl.js * Copyright (C) 2015 Kovid Goyal <kovid at kovidgoyal.net> * * Distributed under terms of the BSD license. */ "use strict"; /*jshint node:true */ var fs = require('fs'); var path = require('path'); var vm = require('vm'); var util = require('util'); var utils = require('./utils'); var completelib = ...
kovidgoyal/rapydscript-ng
tools/repl.js
JavaScript
bsd-2-clause
8,168
var debugProtocol = require('debug')('node-inspector:protocol:devtools'); var RuntimeAgent = require('./RuntimeAgent').RuntimeAgent, PageAgent = require('./PageAgent').PageAgent, NetworkAgent = require('./NetworkAgent').NetworkAgent, DebuggerAgent = require('./DebuggerAgent').DebuggerAgent, ProfilerAgent = req...
charany1/node-inspector
lib/FrontendCommandHandler.js
JavaScript
bsd-2-clause
6,245
/** * Created with JetBrains WebStorm. * User: Dieter Beelaert * Date: 23/08/13 * Time: 11:42 * To change this template use File | Settings | File Templates. */ $(document).ready(function(){ localize(); }); function localize(){ $(".newEvent").html(localization.event); $(".weekname").html(localization...
jcoppieters/cody-samples
bok/static/js/localizer.js
JavaScript
bsd-2-clause
2,293
var express = require('express'); var router = express.Router(); const env = require('env2')('./env.json'); var Tag = require('../mongo/tags') var IssueTag = require('../mongo/Issue') router.post('/removeTag', function (req, res, next) { var userID = req.body.userID; var repoID = req.body.repoID; var nam...
Mignon-han/issue-processing
server/routes/tag.js
JavaScript
bsd-2-clause
2,197
/*! * CanJS - 1.1.4 (2013-02-05) * http://canjs.us/ * Copyright (c) 2013 Bitovi * Licensed MIT */ define(['can/util/can', 'zepto', 'can/util/object/isplain', 'can/util/event', 'can/util/fragment', 'can/util/deferred', 'can/util/array/each'], function (can) { var $ = Zepto; // data.js // --------- // _jQuery-like d...
kdar/morphgen
public/js/vendor/canjs/amd/can/util/zepto.js
JavaScript
bsd-2-clause
5,290
/*global Ext*/ /*jshint strict: false*/ Ext.define('Demo.view.portal.PortletsPanel', { extend: 'Ext.panel.Panel', alias: 'widget.portletspanel', uses: [ 'Demo.view.app.Portlet' ] });
liberborn/extapp
app/portal/view/portal/PortletsPanel.js
JavaScript
bsd-2-clause
208
'use strict'; // https://github.com/jambit/eslint-plugin-typed-redux-saga module.exports = { rules: { 'use-typed-effects': require('./rules/use-typed-effects'), 'delegate-effects': require('./rules/delegate-effects'), }, };
edrlab/readium-desktop
scripts/eslint-plugin-typed-redux-saga/index.js
JavaScript
bsd-3-clause
250
/*jslint browser: true, devel: true, node: true, ass: true, nomen: true, unparam: true, indent: 4 */ /** * @license * Copyright (c) 2015 The ExpandJS authors. All rights reserved. * This code may only be used under the BSD style license found at https://expandjs.github.io/LICENSE.txt * The complete set of authors ...
MassiveZergInc/MassiveZergInc.github.io
everHomev2/bower_components/expandjs/lib/number/round.js
JavaScript
bsd-3-clause
1,756
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ qx.Theme.define("soap.theme.classic.Color", { colors : { } });
arskom/qxsoap
source/class/soap/theme/classic/Color.js
JavaScript
bsd-3-clause
263
const certificationUrl = '/certification/developmentuser/responsive-web-design'; const projects = { superBlock: 'responsive-web-design', block: 'responsive-web-design-projects', challenges: [ { slug: 'build-a-tribute-page', solution: 'https://codepen.io/moT01/pen/ZpJpKp' }, { slug: '...
raisedadead/FreeCodeCamp
cypress/integration/ShowCertification.js
JavaScript
bsd-3-clause
4,115
const pathModule = require('path'); const expect = require('../../unexpected-with-plugins'); const AssetGraph = require('../../../lib/AssetGraph'); describe('relations/HtmlAlternateLink', function () { it('should handle a simple test case', async function () { const assetGraph = new AssetGraph({ root: path...
assetgraph/assetgraph
test/relations/Html/HtmlAlternateLink.js
JavaScript
bsd-3-clause
756
var gulp = require('gulp'); var del = require('del'); var plumber = require('gulp-plumber'); var replace = require('gulp-replace'); // lib gulp.task('lib-clean', function () { return del('./lib/*'); }); gulp.task('lib-assets', ['lib-clean'], function () { return gulp.src(['./src/**/*.*', '!./src/**/*.js']) ...
uooo/echarts-x
gulpfile.js
JavaScript
bsd-3-clause
1,582
var NAVTREEINDEX5 = { "structcrossbow_1_1serializer__into__array.html#a055a25fc545818f211721c9c1897e710":[2,0,0,58,0], "structcrossbow_1_1serializer__into__array.html#a0df5a581aa43a0e27b9a198959273f3f":[2,0,0,58,1], "structcrossbow_1_1serializer__into__array.html#a4f29e036e5a0ef00d4e4eeec2849c139":[2,0,0,58,3], "struct...
tellproject/homepage-generator
api/navtreeindex5.js
JavaScript
bsd-3-clause
9,777
import camelize from "./camelize"; const msPattern = /^-ms-/; function camelizeStyle(string) { return camelize(string.replace(msPattern, "ms-")); } export default camelizeStyle;
teasim/helpers
source/camelizeStyle.js
JavaScript
bsd-3-clause
182
/** * Copyright 2013-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. * * @providesModu...
wmill/draft-js-npm
lib/DraftFeatureFlags-core.js
JavaScript
bsd-3-clause
571
(function () { 'use strict'; angular.module('metronome.services.http', ['angular-jwt']) .factory('http', ['$http', 'CONFIG', 'jwtHelper', function($http, CONFIG, jwtHelper) { var token = Cookies.get('token'); var now = moment(); var expirationdate = moment(jwtHelper.getTokenExpirationDate(to...
runabove/metronome-ui
src/dash/services/http.js
JavaScript
bsd-3-clause
1,098
define( //begin v1.x content { "dateFormatItem-yyyyMMMEd": "E, d MMM y G", "dateFormatItem-MMMEd": "E, d MMM", "dateFormatItem-hms": "hh:mm:ss a", "days-standAlone-wide": [ "niedziela", "poniedziaล‚ek", "wtorek", "ล›roda", "czwartek", "piฤ…tek", "sobota" ], "months-standAlone-narrow": [ "s", "l", ...
kitsonk/expo
src/dojo/cldr/nls/pl/buddhist.js
JavaScript
bsd-3-clause
3,188
var dir_4627380db2f0c36581ca02ea208a64c6 = [ [ "support", "dir_2e2aa096c82c7fb5ccae4b9643632450.html", "dir_2e2aa096c82c7fb5ccae4b9643632450" ] ];
sthWrong/PaasACL
docs/generated documentation/html/dir_4627380db2f0c36581ca02ea208a64c6.js
JavaScript
bsd-3-clause
150
import 'whatwg-fetch'; import { getBaseURL } from 'new-dashboard/utils/base-url'; /* DEV CREDENTIALS: https://connreg.carto-staging.com/api/v4 c96add2d9d67ec784ebec742e2ea4cecdedfdf53 */ async function __createNewConnection (context, payload) { const baseURL = getBaseURL(context.rootState); const apiKey = c...
CartoDB/cartodb
lib/assets/javascripts/new-dashboard/store/actions/connector.js
JavaScript
bsd-3-clause
12,726
var webpack = require('webpack'); var path = require('path'); module.exports = { entry: './main.jsx', output: { path: './output', publicPath: '/output', filename: 'bundle.js' }, module: { loaders: [ { test: /\.jsx/, loader: 'jsx-loader' } ] }, watch: true };
comlewod/document
pages/tests/webpack.config.js
JavaScript
bsd-3-clause
279
var http = require('http'); var fs = require('fs'); var url = require('url'); http.createServer( function (req, res) { var pathname = url.parse(req.url).pathname; if (pathname == '/data' && req.method == "POST") { req.setEncoding('utf8'); var t = new Date(); var body = ''; ...
imalsogreg/retrospective
server.js
JavaScript
bsd-3-clause
1,676
/* Copyright (c) 2006 Patrick Fitzgerald */ /* Modified on 2009-02-04 by Jits, based on: http://groups.google.com/group/barelyfitz/browse_thread/thread/03e8b0672238391a */ function tabberObj(argsObj) { if ( window.location.hash && window.location.hash.match( /^#/ ) ) { var el = document.getElementById(window.location...
myGrid/methodbox
public/javascripts/tabber-minimized.js
JavaScript
bsd-3-clause
5,227
(function() { 'use strict'; var module = angular.module('offerFormDirective'); module.factory('requestSuggestions', ['$http', function($http) { return function(args) { return Rx.Observable.fromPromise( $http.post('/api/v1/restaurants/' + args.restaurantID + '/offer_suggestions', { ti...
Lunchr/luncher-client
public/src/restaurantAdminView/offerForm/suggestionsObservable.js
JavaScript
bsd-3-clause
1,955
/* Copyright (c) 2011, Claus Augusti <claus@formatvorlage.de> 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 ...
juxtapos/Rain
lib/server_new.js
JavaScript
bsd-3-clause
6,789
import WebSocket from 'ws'; import querystring from 'querystring'; import Socket from './Socket.js'; /** * Websocket server that creates and host all {@link server.Socket} instance. * * (@note - could be usefull for broadcasting messages, creating rooms, etc. * * @memberof server */ class Sockets { constructor...
collective-soundworks/soundworks
src/server/Sockets.js
JavaScript
bsd-3-clause
4,762
var path = require("path"); var fs = require("fs"); var wt = require("./walk-tree"); function createEvent(dirs, event, dir, fileName) { var fullPath = path.join(dir, fileName); var exists = dirs.some(function (d) { return d === fullPath; }); var statObj; function stat() { if (statObj) { return...
busterjs/fs-watch-tree
lib/watch-tree-unix.js
JavaScript
bsd-3-clause
2,405
/** * Copyright 2013-2015, 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. * * @emails react-co...
silkapp/react
src/shared/utils/__tests__/OrderedMap-test.js
JavaScript
bsd-3-clause
29,510
$('.ui.dropdown').dropdown(); $(document).ready(function() { $('#test-form').on('submit', function(e) { e.preventDefault(); var format = document.getElementsByName('test-format')[0].value; var email = document.getElementsByName('test-email')[0].value; // Verify the parameters were ...
helielson/trumail
web/assets/js/trumail.js
JavaScript
bsd-3-clause
1,268
'use strict'; const Assert = require('chai').assert; const request = require('../support/request'); const { Before, Given, Then, When, After } = require('cucumber'); // Timeout of 15 seconds const TIMEOUT = 15 * 1000; /** * Helper function to create a collection * @method createCollection * @param {Object} bod...
screwdriver-cd/api
features/step_definitions/collection.js
JavaScript
bsd-3-clause
9,865
describe("module:ng.input:input[url]",function(){var a;beforeEach(function(){a=browser.rootEl,browser.get("./examples/example-url-input-directive/index.html")});var b=element(by.binding("text")),c=element(by.binding("myForm.input.$valid")),d=element(by.model("text"));it("should initialize to model",function(){expect(b....
infrabel/docs-gnap
node_modules/gnap-theme-gnap-angular/js/angular/docs/ptore2e/example-url-input-directive/jqlite_test.min.js
JavaScript
bsd-3-clause
773
var Highlight = function() { /* Utility functions */ function escape(value) { return value.replace(/&/gm, '&amp;').replace(/</gm, '&lt;').replace(/>/gm, '&gt;'); } function tag(node) { return node.nodeName.toLowerCase(); } function testRe(re, lexeme) { var match = re && re.exec(lexeme); ...
gitterHQ/highlight.js
build/lib/highlight.js
JavaScript
bsd-3-clause
20,434
import React from "react"; import { View } from "react-native"; import styles from "./styles"; import { ListItemSeparator } from "./styles/responsive"; const ArticleListItemSeparator = () => ( <ListItemSeparator> <View style={styles.listItemSeparator} /> </ListItemSeparator> ); export default ArticleListItemS...
newsuk/times-components
packages/article-list/src/article-list-item-separator.js
JavaScript
bsd-3-clause
330
/* This is a generated file */ const React = require('React'); const JestIndex = require('JestIndex'); const index = React.createClass({ render() { return <JestIndex language={ 'en'} />; }, }); module.exports = index;
mpontus/jest
website/src/jest/en/index.js
JavaScript
bsd-3-clause
226
import React from 'react'; import { Icon } from 'design-react-kit'; import { createUseStyles } from 'react-jss'; import { SearchProvider } from '../../contexts/searchContext.js'; import { ALL_SITE } from '../../utils/constants.js'; import { useModal } from '../../hooks/useModal.js'; import { l10NLabels } from '../../ut...
italia/developers.italia.it
assets/js/components/Search/SearchContainer.js
JavaScript
bsd-3-clause
1,327
Tinytest.add('peerdb - defined', function (test) { var isDefined = false; try { Document; isDefined = true; } catch (e) { } test.isTrue(isDefined, "Document is not defined"); test.isTrue(Package['peerlibrary:peerdb'].Document, "Package.peerlibrary:peerdb.Document is not defined"); });
peerlibrary/meteor-peerdb
tests_defined.js
JavaScript
bsd-3-clause
308
function redrawFromSelection(obj, url, current_selection) { /* Create the selection */ var new_selection = {}; $.each(obj.exp_selection, function(ekey,evalue) { $.each(evalue.exp_data, function(dkey,dvalue) { if (dvalue.selected) { new_selection[ekey + "-" + dkey] = ...
sdressler/elapsd
analyzer/static/js/ajax.js
JavaScript
bsd-3-clause
3,418
const gulp = require('gulp'), eslint = require('gulp-eslint'), mocha = require('gulp-mocha'); const SOURCE = './src', TEST_SOURCE = './test', UNIT_TEST_SOURCE = './test/unit'; gulp.task('lint', function(){ return gulp .src([SOURCE + '/*.js...
SquadInTouch/propz
gulpfile.js
JavaScript
bsd-3-clause
786
/*jslint indent: 2 */ /*global $: false, document: false, togglbutton: false*/ 'use strict'; togglbutton.render('section.task-actions:not(.toggl)', {observe: true}, function (elem) { var link, linkAction = document.createElement("LI"), taskTitle = $("p.task-title"), firstAction = $('.task-actions ul li:...
eatskolnikov/toggl-button
src/scripts/content/kanbanery.js
JavaScript
bsd-3-clause
585
๏ปฟ/** * jQuery ligerUI 1.1.9 * * http://ligerui.com * * Author daomi 2012 [ gd_star@163.com ] * */ (function ($) { $.fn.ligerForm = function () { return $.ligerui.run.call(this, "ligerForm", arguments); }; $.ligerDefaults = $.ligerDefaults || {}; $.ligerDefaults.Form = { //ๆŽงไปถๅฎฝๅบฆ ...
wei1224hf/wei1224hf-myapp
WebContent/libs/liger/plugins/ligerForm.js
JavaScript
bsd-3-clause
10,745
/** * Created by praba on 2/13/2016. */ //JS page for outwardslip page Polymer({ is: "outwardslip-page", ready:function() { //Showing customerinfo page as the initial page in outwardslip page localStorage.setItem("curr_sess_saveflag","false"); if(sessionStorage.getItem("curr_sess_roleflag")=="0") ...
ZenCodes/erpworkflow
app/scripts/outwardslip-page.js
JavaScript
bsd-3-clause
921
var Lang = Y.Lang, getCN = Y.ClassNameManager.getClassName, //HTML5 Data Attributes DATA_CONTENT = 'data-content', DATA_PLACEMENT = 'data-placement', //Classes TIPSY = 'tipsy', FADE = 'fade', IN = 'in', CLASSES = { fade: getCN(TIPSY, FADE), fadeIn: getCN(TIPS...
tilomitra/tipsy
js/gallery-tipsy.js
JavaScript
bsd-3-clause
5,604
/* * Copyright (c) 2015, 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. * * @flow */ import ...
janicduplessis/react-docgen
src/handlers/componentMethodsJsDocHandler.js
JavaScript
bsd-3-clause
1,499
/** * Regex patterns used through keigai * * `url` was authored by Diego Perini * * @namespace regex * @private * @type {Object} */ let regex = { after_space: /\s+.*/, allow: /^allow$/i, allow_cors: /^access-control-allow-methods$/i, and: /^&/, args: /\((.*)\)/, auth: /\/\/(.*)\@/, bool: /^(true|false)?$...
avoidwork/keigai
src/regex.js
JavaScript
bsd-3-clause
2,560
/* medea.js - Open Source, High-Performance 3D Engine based on WebGL. * * (c) 2011-2013, Alexander C. Gessler * https://github.com/acgessler/medea.js * * Made available under the terms and conditions of a 3-clause BSD license. * */ medealib.define('light', ['entity', 'renderer'],function(medealib, undefined) {...
acgessler/medea.js
medea/medea.light.js
JavaScript
bsd-3-clause
1,748
module.exports = { clientCheckin: function(req, res, sockets) { console.log("clientnameee:", req.body); req.body.alert.expiresAt = new Date(new Date().getTime() + 10000); //FIVE SECS DURATION HARD CODED! NOT COOL!! sockets.emit("client-checkin", req.body.alert); res.end(); }, ...
vitorismart/ChromeCast
target/server/controllers/ChromecastMessagingController.js
JavaScript
bsd-3-clause
448
import React, {Component} from 'react'; import {connect} from 'react-redux'; import Button from "../../../../../components/buttons/button"; import {Link} from "react-router-dom"; import {firebaseResetPasswordRequest} from "../../../../../redux/firebase/actions/reset-password.action"; class ResetPasswordForm extends Co...
vFujin/HearthLounge
src/containers/pages/entry/right-container/sign-in/reset-password-form.js
JavaScript
bsd-3-clause
1,592
๏ปฟfunction ReportRowProvider() { var that = this; var mXHR = new XHR(); var mFetchListeners = []; var mReportId = ""; var mCriteriaText = ""; this.addFetchListener = function(address) { mFetchListeners.push(address); }; this.getReportId = function() { return mReportId; }; this.setReportI...
VincentFortuneDeng/VirtualRadarSource2.0.2
VirtualRadar.WebSite/Site/Reports/ReportRowProvider.js
JavaScript
bsd-3-clause
1,374
/** * Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name. Note that NamedNodeMap does not inherit from NodeList; NamedNodeMaps are not maintained in any particular order. Objects contained in an object implementing NamedNodeMap may also be accessed b...
louis-tru/touch_code
server/tesla/xml/NamedNodeMap.js
JavaScript
bsd-3-clause
3,030
"use strict"; var mapnik = require('../'); var assert = require('assert'); var path = require('path'); mapnik.register_datasource(path.join(mapnik.settings.paths.input_plugins,'geojson.input')); mapnik.register_datasource(path.join(mapnik.settings.paths.input_plugins,'ogr.input')); mapnik.register_datasource(path.joi...
CartoDB/node-mapnik
test/datasource.test.js
JavaScript
bsd-3-clause
9,384