commit stringlengths 40 40 | old_file stringlengths 4 236 | new_file stringlengths 4 236 | old_contents stringlengths 1 3.26k | new_contents stringlengths 16 4.43k | subject stringlengths 16 624 | message stringlengths 17 3.29k | lang stringclasses 5
values | license stringclasses 13
values | repos stringlengths 5 91.5k |
|---|---|---|---|---|---|---|---|---|---|
f1714ea0657c1c29ec945ef69269e1baf3bb020f | app/javascript/packs/call_tool.js | app/javascript/packs/call_tool.js | // @flow
import React from 'react';
import { render } from 'react-dom';
import { camelizeKeys } from '../util/util';
import ComponentWrapper from '../components/ComponentWrapper';
import CallToolView from '../call_tool/CallToolView';
window.mountCallTool = (root: string, props: any) => {
props = camelizeKeys(props);... | // @flow
import React from 'react';
import { render } from 'react-dom';
import { camelizeKeys } from '../util/util';
import ComponentWrapper from '../components/ComponentWrapper';
import CallToolView from '../call_tool/CallToolView';
window.mountCallTool = (root: string, props: any) => {
props = camelizeKeys(props);... | Add optimizelyHook to call tool | Add optimizelyHook to call tool
| JavaScript | mit | SumOfUs/Champaign,SumOfUs/Champaign,SumOfUs/Champaign,SumOfUs/Champaign,SumOfUs/Champaign |
8b032a48ef740356968b87e7eb1dacda94e807c7 | test/util/user-helper.spec.js | test/util/user-helper.spec.js | const expect = require('chai').expect;
const config = require('getconfig');
const UserHelper = require('../../app/util/user-helper');
describe('User Helper', () => {
const userHelper = new UserHelper(config.MC_SERVER_PATH);
describe('Details', () => {
it('should return expected values', () => {
const e... | const expect = require('chai').expect;
const config = require('getconfig');
const UserHelper = require('../../app/util/user-helper');
describe('User Helper', () => {
const userHelper = new UserHelper(config.MC_SERVER_PATH);
describe('Details', () => {
it('should return expected values', () => {
const e... | Fix false positive user helper test | Fix false positive user helper test
| JavaScript | mit | nathancashmore/Leaderboard |
8b018cb04f349a53eef7f66848c3e76bf09d1e94 | sencha-workspace/SlateAdmin/app/store/progress/interims/Students.js | sencha-workspace/SlateAdmin/app/store/progress/interims/Students.js | Ext.define('SlateAdmin.store.progress.interims.Students', {
extend: 'Ext.data.Store',
requires: [
'SlateAdmin.proxy.Records'
],
model: 'SlateAdmin.model.person.Person',
config: {
pageSize: false,
proxy: {
type: 'slaterecords'
},
sorters: [
... | Ext.define('SlateAdmin.store.progress.interims.Students', {
extend: 'Ext.data.Store',
requires: [
'Slate.proxy.Records'
],
model: 'Slate.model.person.Person',
config: {
pageSize: false,
proxy: 'slate-records',
sorters: [
{
property: 'Las... | Use slate-core-data for people model/proxy | Use slate-core-data for people model/proxy
| JavaScript | mit | SlateFoundation/slate,SlateFoundation/slate-admin,SlateFoundation/slate,SlateFoundation/slate-admin,SlateFoundation/slate-admin,SlateFoundation/slate,SlateFoundation/slate,SlateFoundation/slate,SlateFoundation/slate-admin,SlateFoundation/slate-admin |
8a7ba1d61acf2313faef7570551bb2d8b576c7bb | public/js/poem/new.js | public/js/poem/new.js | $(function() {
$('.poetsearch').typeahead({
name: 'poets',
remote: '/poet?q=%QUERY',
valueKey: 'name'
}).on('typeahead:selected', function(element, poet) {
var poets = $(this).closest('form').find('.poets');
var li = $('<li/>', {
text: poet.name
}).appendTo(poets);
$('<input/>', ... | $(function() {
var poetSearch = $('.poetsearch');
var poetsList = poetSearch.closest('form').find('.poets');
poetSearch.typeahead({
name: 'poets',
valueKey: 'name',
remote: {
url: '/poet?q=%QUERY',
filter: function(poets) {
return poets.filter(function(p) {
return poets... | Exclude poets from typeahead that have already been added to the poem. | Exclude poets from typeahead that have already been added to the poem.
Use the typeahead filter function to exclude items that are already in the list. This approach has the limitation of potentially returning fewer than 10 results. In a worst-case scenario, the top 10 poets starting with a given letter could be added... | JavaScript | mit | jimguys/poemlab,jimguys/poemlab |
9a147218ce81d2418b04a206b2cb8c474f8b1fb9 | test/asset/worker.js | test/asset/worker.js | addEventListener('message', function(e) {
if (e.data) {
try {
importScripts('../' + e.data);
} catch(e) {
self._ = {};
}
postMessage(_.VERSION);
}
}, false);
| if (!self.console) {
console = { 'log': function() {} };
}
addEventListener('message', function(e) {
if (e.data) {
try {
importScripts('../' + e.data);
} catch(e) {
self._ = { 'VERSION': e.message };
}
postMessage(_.VERSION);
}
}, false);
| Add `console.log` shim to avoid errors while deving. | Add `console.log` shim to avoid errors while deving.
| JavaScript | mit | Jaspersoft/lodash,samuelbeek/lodash,samuelbeek/lodash,IveWong/lodash,tgriesser/lodash,felixshu/lodash,greyhwndz/lodash,phillipalexander/lodash,lekkas/lodash,naoina/lodash,gutenye/lodash,r14r-work/fork_javascript_lodash,jasnell/lodash,therebelbeta/lodash,xiwc/lodash,krrg/lodash,neouser99/lodash,IveWong/lodash,IveWong/lo... |
6b11536c6844608338e7da292ea57cb1dba71bc2 | tests/ids/add_ids.js | tests/ids/add_ids.js | /* bender-tags: editor,unit */
/* bender-ckeditor-plugins: autoid */
'use strict';
(function() {
bender.editor = {
config: {
enterMode: CKEDITOR.ENTER_P
}
};
bender.test({
setUp: function() {
this.editor = this.editorBot.editor;
},
'test it can add a unique id to a heading': fu... | /* bender-tags: editor,unit */
/* bender-ckeditor-plugins: autoid */
'use strict';
(function() {
bender.editor = {
config: {
enterMode: CKEDITOR.ENTER_P
}
};
bender.test({
setUp: function() {
this.editor = this.editorBot.editor;
},
'test it can add a unique id to a heading': fu... | Change tests to wait until the id check is complete to test assertions | Change tests to wait until the id check is complete to test assertions
| JavaScript | mit | PolicyStat/ckeditor-plugin-autoid-headings,PolicyStat/ckeditor-plugin-autoid-headings |
1b85eb4eff334bbb97044566552f0f935a2c4f80 | bh1750.js | bh1750.js | var i2c = require('i2c');
var _ = require('lodash');
var utils = require('./utils');
var BH1750 = function (opts) {
this.options = _.extend({}, {
address: 0x23,
device: '/dev/i2c-1',
command: 0x10,
length: 2
}, opts);
this.wire = new i2c(this.options.address, {device: this.o... | var i2c = require('i2c');
var _ = require('lodash');
var utils = require('./utils');
var BH1750 = function (opts) {
this.options = _.extend({}, {
address: 0x23,
device: '/dev/i2c-1',
command: 0x10,
length: 2
}, opts);
this.verbose = this.options.verbose || false;
this.wi... | Add verbose mode to turn off logging | Add verbose mode to turn off logging
This will be done using callbacks
Bug: https://github.com/miroRucka/bh1750/pull/6
Change-Id: Iedac11d08a4ee0081732922fdedf1fb8a1204c2a
Signed-off-by: Philippe Coval <ff46fec9739d31cce915aabcc3a7a2c00eee4d6c@osg.samsung.com>
| JavaScript | mit | miroRucka/bh1750 |
ab706173cbd370a5015ad6341e646524633bf669 | system/call/requestbody.js | system/call/requestbody.js | var RequestBody = require('../context/requestbody.js');
function CallRequestBody(ctx, data) {
RequestBody.apply(this, [ctx]);
this._ctx = ctx;
this._data = data;
}
CallRequestBody.prototype.readBody = function (cb) {
cb();
}
CallRequestBody.prototype.__proto__ = RequestBody.prototype;
module.exports... | var RequestBody = require('../context/requestbody.js');
function CallRequestBody(ctx, data) {
RequestBody.apply(this, [ctx]);
this._ctx = ctx;
this._data = data;
this._read = true;
}
CallRequestBody.prototype.readBody = function (cb) {
cb();
}
CallRequestBody.prototype.__proto__ = RequestBody.pr... | Call Request Body Read 버그 수정 | Call Request Body Read 버그 수정
| JavaScript | mit | shlee322/saram-core |
46e925aa9f7bdbff3fb062e26eb49025bbc0c570 | addons/web/static/src/js/widgets/systray_menu.js | addons/web/static/src/js/widgets/systray_menu.js | odoo.define('web.SystrayMenu', function (require) {
"use strict";
var Widget = require('web.Widget');
var SystrayMenu = Widget.extend({
/**
* This widget renders the systray menu. It creates and renders widgets
* pushed in instance.web.SystrayItems.
*/
init: function(parent) {
this._sup... | odoo.define('web.SystrayMenu', function (require) {
"use strict";
var Widget = require('web.Widget');
var SystrayMenu = Widget.extend({
/**
* This widget renders the systray menu. It creates and renders widgets
* pushed in instance.web.SystrayItems.
*/
init: function(parent) {
this._sup... | Load SystrayMenu even if a systray's deferred is rejected | [FIX] web: Load SystrayMenu even if a systray's deferred is rejected
| JavaScript | agpl-3.0 | ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,dfang/odoo,hip-odoo/odoo,dfang/odoo,dfang/odoo,ygol/odoo,dfang/odoo,hip-odoo/odoo,hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,hip-odoo/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo,dfang/odoo |
b74c1c2cb24d59f314d82e92047955d37e33d884 | tests/chord-regex.js | tests/chord-regex.js | const chordRegex = require('../chord-regex')
const tape = require('tape')
tape('regex test', function (test) {
test.plan(1)
const myChord = "[C]"
var match = chordRegex.exec(myChord)[1]
test.equal(match, 'C')
});
| const chordRegex = require('../chord-regex')
const tape = require('tape')
tape('regex test', function (test) {
let chords = [
'C', 'D', 'E', 'F', 'G', 'A', 'B', // white keys
'C#', 'Eb', 'F#', 'Ab', 'G#', 'Bb', // sharps and flats
'Db', 'D#', 'Gb', 'A#', // for those who like to use non-canon names for ... | Add more elaborate regex test | Add more elaborate regex test
| JavaScript | mit | gldraphael/chordsheet |
f518072b1f25a30fd229a00027dfeb511fe2e505 | server/frontend/src/containers/App.js | server/frontend/src/containers/App.js | import React, { Component } from 'react';
import SocketIOClient from 'socket.io-client';
import logo from '../assets/logo.svg';
import './App.css';
class App extends Component {
constructor(props) {
super(props);
this.socket = SocketIOClient('http://localhost:3000');
this.keyPressEvent = this.keyPressEve... | import React, { Component } from 'react';
import SocketIOClient from 'socket.io-client';
import logo from '../assets/logo.svg';
import './App.css';
class App extends Component {
constructor(props) {
super(props);
this.socket = SocketIOClient(location.origin);
this.keyPressEvent = this.keyPressEvent.bind(... | Fix bug where client didn't use proper host name | Fix bug where client didn't use proper host name
| JavaScript | mit | cs472-spots/spots,cs472-spots/spots,cs472-spots/spots |
7c8ca810ba47a9c218b58b1fa09cf7d7860a3520 | gulpTasks/new-component.js | gulpTasks/new-component.js | var fs = require('fs');
var path = require('path');
var chalk = require('chalk');
var viewsPath = path.join(process.cwd(), 'views')
var partialsPath = path.join(viewsPath, '_partials');
var componentPath;
var hbsFileName;
var scssFileName;
module.exports = function(gulp, argv) {
gulp.task('new-component', funct... | var fs = require('fs');
var path = require('path');
var chalk = require('chalk');
var viewsPath = path.join(process.cwd(), 'views')
var partialsPath = path.join(viewsPath, '_partials');
var componentPath;
var hbsFileName;
var scssFileName;
module.exports = function(gulp, argv) {
gulp.task('new-component', funct... | Add abit of visual jazz to the gulp output | feat: Add abit of visual jazz to the gulp output
| JavaScript | mit | cartridge/cartridge-cli,code-computerlove/slate,CodeRichardJohnston/slate-demo,code-computerlove/quarry,cartridge/cartridge,code-computerlove/slate,code-computerlove/slate-cli,CodeRichardJohnston/slate-demo |
10ae414982b5cc8eb12c965d419ed5f8b1706fa0 | website/src/app/project/experiments/experiment/experiment.model.js | website/src/app/project/experiments/experiment/experiment.model.js | export class ExperimentStep {
constructor(title, _type) {
this.id = '';
this.title = title;
this._type = _type;
this.steps = [];
this.description = '';
this.flags = {
important: false,
review: false,
error: false,
done: ... | export class ExperimentStep {
constructor(title, _type) {
this.id = '';
this.title = title;
this._type = _type;
this.steps = [];
this.description = '';
this.flags = {
important: false,
review: false,
error: false,
done: ... | Remove hard coded experiment description. Remove done field and add status field since that is what we get from the backend. | Remove hard coded experiment description. Remove done field and add status field since that is what we get from the backend.
| JavaScript | mit | materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org |
06afe0d658803b33c6ae2b55bf09da92c7908b28 | test/endpoints/changelog.js | test/endpoints/changelog.js | 'use strict';
var assert = require('assert');
var sinon = require('sinon');
var Changelog = require('../../lib/endpoints/changelog');
var Request = require('../../lib/request');
describe('endpoints/changelog', function () {
describe('api', function () {
it('should set the request URL', function () {
... | 'use strict';
const assert = require('assert');
const sinon = require('sinon');
const Changelog = require('../../lib/endpoints/changelog');
const Request = require('../../lib/request');
describe('endpoints/changelog', () => {
describe('api', () => {
it('should set the request URL', () => {
co... | Rewrite Changelog tests to ES2015 | Rewrite Changelog tests to ES2015
| JavaScript | mit | jwilsson/glesys-api-node |
2d890ba775b398fc1833021b490fceffa2d8dfa4 | v3/copy-to-examples.js | v3/copy-to-examples.js | var fs = require('fs-extra');
var source = './dist/phaser.js';
var dest = '../../phaser3-examples/public/build/dev.js';
fs.copy(source, dest, function (err) {
if (err)
{
return console.error(err);
}
console.log('Copied to ' + dest);
});
| var fs = require('fs-extra');
var source = './dist/phaser.js';
var dest = '../../phaser3-examples/public/build/dev.js';
if (fs.existsSync(dest))
{
fs.copy(source, dest, function (err) {
if (err)
{
return console.error(err);
}
console.log('Build copied to ' + dest);
... | Copy to examples now displays an error if it cannot find the examples repo locally. | Copy to examples now displays an error if it cannot find the examples repo locally.
| JavaScript | mit | spayton/phaser,TukekeSoft/phaser,mahill/phaser,BeanSeed/phaser,englercj/phaser,mahill/phaser,spayton/phaser,photonstorm/phaser,TukekeSoft/phaser,pixelpicosean/phaser,photonstorm/phaser,TukekeSoft/phaser,rblopes/phaser,BeanSeed/phaser |
ad6fd2efed05876bfd70accbdde95088827b1403 | slackbot.js | slackbot.js | var SlackBot = require('slackbots');
var config = require('./config');
console.log("Read config: " + config)
console.log(config)
// Initialize the bot
var bot = new SlackBot({
token: config.token,
name: config.name
});
bot.on('start', function() {
var params = {
icon_emoji: ':cat:'
};
... | var SlackBot = require('slackbots');
var config = require('./config');
console.log("Read config: " + JSON.stringify(config, null, 4))
// Initialize the bot
var bot = new SlackBot({
token: config.token,
name: config.name
});
var params = {
icon_emoji: ':cat:'
};
bot.on('start', function() {
bot.... | Make bot listen and respond in specified channel | Make bot listen and respond in specified channel
| JavaScript | mit | edmundlam/slackbot-fr |
0e4124c31875b26e0e7fb907eae59522ed4a521b | app/assets/javascripts/wecrowd-demo.js | app/assets/javascripts/wecrowd-demo.js | $(function() {
$("[data-end-demo]").click(function() {
$.cookie('demo_state', "disabled");
});
$("[data-start-demo]").click(function() {
$.cookie('demo_state', "enabled");
});
if (demo_enabled()) {
load_demo();
}
});
function load_demo() {
if ($(".demo").length > 0) {
$(".modal .modal-title").html($(... | $(function() {
$("[data-end-demo]").click(function() {
$.cookie('demo_state', "disabled");
});
$("[data-start-demo]").click(function(e) {
e.preventDefault();
$.cookie('demo_state', "enabled");
document.location.href = $(e.target).attr('href');
});
if (demo_enabled()) {
load_demo();
}
});
function lo... | Make sure the demo is restarted when the user clicks on start seller/buyer demo | Make sure the demo is restarted when the user clicks on start seller/buyer demo
| JavaScript | apache-2.0 | wepay/wecrowd-rails,wepay/wecrowd-rails,wepay/wecrowd-rails,wepay/wecrowd-rails |
b33b2136aacec805c2f5af7cde812d4ad9791198 | app/assets/js/modules/_image-loader.js | app/assets/js/modules/_image-loader.js | 'use strict';
import $ from 'jquery';
export default class ImageLoader {
constructor(dataSrcAttr) {
this.dataSrcAttr = dataSrcAttr || 'data-preload-src';
}
isInlineImage($el) {
return $el.is('img');
}
getDataSrc($el) {
return $el.attr(this.dataSrcAttr);
}
setInl... | 'use strict';
import $ from 'jquery';
export default class ImageLoader {
constructor(dataSrcAttr) {
this.dataSrcAttr = dataSrcAttr || 'data-preload-src';
}
isInlineImage($el) {
return $el.is('img');
}
getDataSrc($el) {
return $el.attr(this.dataSrcAttr);
}
setInl... | Use ternary operator in image loader method | Use ternary operator in image loader method
| JavaScript | mit | oksana-khristenko/assemble-starter,oksana-khristenko/assemble-starter |
3824d862ff6a13893fe6f40350dadd8573b42103 | app/controllers/dashboardController.js | app/controllers/dashboardController.js | app.controller("DashboardController", function ($controller, $scope, UserService, NoteRepo, OverallStatusFull, OverallStatusPublic, ServiceRepo) {
angular.extend(this, $controller('AppAbstractController', {
$scope: $scope
}));
$scope.overallStatus = $scope.isFullServiceConsumer() ? new OverallStat... | app.controller("DashboardController", function ($controller, $scope, UserService, NoteRepo, OverallStatusFull, OverallStatusPublic, ServiceRepo) {
angular.extend(this, $controller('AppAbstractController', {
$scope: $scope
}));
$scope.overallStatus = $scope.isFullServiceConsumer() ? new OverallStat... | Handle case where user.role is null when determining the public view status for a user | Handle case where user.role is null when determining the public view status for a user
| JavaScript | mit | TAMULib/LibraryServiceStatusSystemUI,TAMULib/LibraryServiceStatusSystemUI,TAMULib/LibraryServiceStatusSystemUI |
21851600c50e608f6242eacc16e0b5e84229da19 | BookShelf.Mobile/views/BookEdit.js | BookShelf.Mobile/views/BookEdit.js | BookShelf.BookEdit = function(params) {
return $.extend(BookShelf.BookForm(params), {
save: function() {
BookShelf.db.books.update(this.getBook());
BookShelf.app.bookListShowing.fire({ reloadBook: this.getBook().id });
BookShelf.app.back();
}
... | BookShelf.BookEdit = function(params) {
return $.extend(BookShelf.BookForm(params), {
save: function() {
var bookStatus = BookShelf.db.getBookStatus(BookShelf.db.books.get(this.getBook().id));
BookShelf.db.books.update(this.getBook());
if(BookShelf.db.g... | Fix book status change issue | Views: Fix book status change issue
| JavaScript | mit | tabalinas/BookShelf,tabalinas/BookShelf |
7a83c957f9c7c08f4587468e78d057815b1d50c0 | src/init.js | src/init.js | import fs from "fs-extra";
import fsPath from "path";
const packageJs = (dir) => fs.readJsonSync(fsPath.join(dir, "package.json"));
const packageVersion = (dir) => packageJs(dir).version;
/**
* Ensure the `react` module exists within root module
* and that it is the correct version.
*/
const REACT_PATH = fsPath.... | import fs from "fs-extra";
import fsPath from "path";
const packageJs = (dir) => fs.readJsonSync(fsPath.join(dir, "package.json"));
const packageVersion = (dir) => packageJs(dir).version;
/**
* Ensure the `react` module exists within root module
* and that it is the correct version.
*/
const REACT_PATH = fsPath.... | Copy and check version of react. | Copy and check version of react.
| JavaScript | mit | philcockfield/react-server-pages,philcockfield/react-middleware |
5d16e1da9dbee9dd288fcf21e1443907f0e0bd4c | src/main.js | src/main.js | import localforage from 'localforage';
import Vue from 'vue'
import SpotifyWebApi from 'spotify-web-api-js'
import App from './App.vue'
var spotify = new SpotifyWebApi();
Vue.prototype.$spotify = spotify;
localforage.config({
name: 'sortzzi'
});
window.vm = new Vue({
el: '#app',
render: h => h(App)
});
| import localforage from 'localforage';
import Vue from 'vue'
import SpotifyWebApi from 'spotify-web-api-js'
import App from './App.vue'
var spotify = new SpotifyWebApi();
Object.definePrototype(Vue.prototype, '$spotify', {value: spotify});
localforage.config({
name: 'sortzzi'
});
window.vm = new Vue({
el: '#ap... | Make a read-only property of the Vue proto | Make a read-only property of the Vue proto
| JavaScript | apache-2.0 | eamonnbell/sortzzi,eamonnbell/sortzzi |
227230c6edf26d832cdb2b59801b30ba5a4109d3 | webpack.config.base.js | webpack.config.base.js | /**
* @file Webpack basic configuration file.
*/
const path = require('path');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
module.exports = {
entry: {
app: './front/js/app.js',
},
output: {
path: path.resolve(__dirname, 'public/dist'),
},
devtool: 'source-map',
module: {
... | /**
* @file Webpack basic configuration file.
*/
const path = require('path');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
module.exports = {
entry: {
app: './front/js/app.js',
},
output: {
path: path.resolve(__dirname, 'public/dist'),
},
devtool: 'source-map',
module: {
... | Remove obsolete minimize option from css-loader | Remove obsolete minimize option from css-loader
| JavaScript | mit | giannisp/rails-react-boilerplate,giannisp/rails-react-boilerplate,giannisp/rails-react-boilerplate |
a091f73e22e9bc51af5655eaba85b20c3387f434 | recipes/aeolus/templates/iwhd-conf.js | recipes/aeolus/templates/iwhd-conf.js | [
{
"name": "rhevm",
"type": "fs-rhev-m",
"path": "<%= rhevm_nfs_mount_point %>"
}
]
| [
{
"name": "rhevm",
"type": "fs-rhev-m",
"path": "/var/lib/iwhd"
}
]
| Change iwhd path for RHEV setup from NFS mount to /var/lib/iwhd. | Change iwhd path for RHEV setup from NFS mount to /var/lib/iwhd.
| JavaScript | apache-2.0 | aeolusproject/aeolus-configure,aeolusproject/aeolus-configure,aeolusproject/aeolus-configure |
786e26b4fe7dd9eb9a4dc795cab755c73a76f8aa | js/locales/bootstrap-datepicker.fr.js | js/locales/bootstrap-datepicker.fr.js | /**
* French translation for bootstrap-datepicker
* Nico Mollet <nico.mollet@gmail.com>
*/
;(function($){
$.fn.datepicker.dates['fr'] = {
days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"],
daysMin: [... | /**
* French translation for bootstrap-datepicker
* Nico Mollet <nico.mollet@gmail.com>
*/
;(function($){
$.fn.datepicker.dates['fr'] = {
days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
daysShort: ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", "Ven.", "Sam.", "Dim."],
da... | Fix translation of French months | Fix translation of French months
Official translation of French months (followed by glibc, GNOME and
so on). See http://fr.wikipedia.org/wiki/Mois.
| JavaScript | apache-2.0 | parkeugene/bootstrap-datepicker,rstone770/bootstrap-datepicker,HNygard/bootstrap-datepicker,zhaoyan158567/bootstrap-datepicker,darluc/bootstrap-datepicker,xutongtong/bootstrap-datepicker,Doublemedia/bootstrap-datepicker,parkeugene/bootstrap-datepicker,menatoric59/bootstrap-datepicker,martinRjs/bootstrap-datepicker,chri... |
ac41e799144688a00b63459205e01d234e0a04b5 | app/assets/javascripts/admin/app/controllers/process_stage_pages_controller.js | app/assets/javascripts/admin/app/controllers/process_stage_pages_controller.js | this.GobiertoAdmin.ProcessStagePagesController = (function() {
function ProcessStagePagesController() {}
ProcessStagePagesController.prototype.form = function() {
_selectPage();
};
function _selectPage() {
$(document).ready(function() {
$("select#process_stage_page_page_id").select2({
w... | this.GobiertoAdmin.ProcessStagePagesController = (function() {
function ProcessStagePagesController() {}
ProcessStagePagesController.prototype.form = function() {
_selectPage();
};
function _selectPage() {
Turbolinks.clearCache();
$(document).ready(function() {
$("select#process_stage_page_... | Fix stage page form with select2 are duplicated when clicking back button on browser in rails 5 | Fix stage page form with select2 are duplicated when clicking back button on browser in rails 5
| JavaScript | agpl-3.0 | PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev |
991e2a82d0a8a168b05f817681ddf75e02b46d06 | app/pages/project/project-page.spec.js | app/pages/project/project-page.spec.js | import React from 'react';
import { mount, shallow } from 'enzyme';
import { expect } from 'chai';
import { project, workflow } from '../dev-classifier/mock-data';
import ProjectPage from './project-page';
describe('ProjectPage', () => {
const background = {
src: 'the project background image url'
};
it('sh... | import React from 'react';
import { mount, shallow } from 'enzyme';
import { expect } from 'chai';
import { project, workflow } from '../dev-classifier/mock-data';
import ProjectPage from './project-page';
function Page() {
return(
<p>Hello world!</p>
)
}
describe('ProjectPage', () => {
const background = {... | Add a mock page component | Add a mock page component
| JavaScript | apache-2.0 | jelliotartz/Panoptes-Front-End,amyrebecca/Panoptes-Front-End,amyrebecca/Panoptes-Front-End,amyrebecca/Panoptes-Front-End,jelliotartz/Panoptes-Front-End,jelliotartz/Panoptes-Front-End,zooniverse/Panoptes-Front-End |
294b2c1d7c7384c73573f710aa8e26e8591a0d39 | bin/collider.js | bin/collider.js | #!/usr/bin/env node
'use strict';
var pkg = require('../package.json')
var yargs = require('yargs');
var updateNotifier = require('update-notifier');
updateNotifier({ pkg }).notify();
yargs
.strict()
.version()
.usage('collider [--version] [--help] <command> [<args>]')
.command('run', 'R... | #!/usr/bin/env node
'use strict';
var pkg = require('../package.json')
var yargs = require('yargs');
var updateNotifier = require('update-notifier');
updateNotifier({ pkg }).notify();
yargs
.strict()
.version()
.usage('collider [--version] [--help] <command> [<args>]')
.command('run', 'R... | Add matter/clone,remove generate and status commands | Add matter/clone,remove generate and status commands
| JavaScript | mit | simonsinclair/collider-cli |
51a40447578c2fe0eff7509f7692eda6510c5ab9 | app/assets/javascripts/vivus/application.js | app/assets/javascripts/vivus/application.js | // 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 vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | // 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 vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | Allow all heading to be added to the nav | Allow all heading to be added to the nav
| JavaScript | mit | markcipolla/vivus,markcipolla/vivus,markcipolla/vivus |
3e0bdad4512cf92ff403c1af506fc006c98802b7 | app/components/GoodDetail/BidTable/index.js | app/components/GoodDetail/BidTable/index.js | import React from 'react';
import CSSModules from 'react-css-modules';
import styles from './styles.css';
import BidForm from '../BidForm';
class BidTable extends React.Component {
constructor(props) {
super(props);
this.displayName = 'BidTable';
}
render() {
const tableTitle = ['Display Name', 'Mone... | import React from 'react';
import CSSModules from 'react-css-modules';
import styles from './styles.css';
import BidForm from '../BidForm';
class BidTable extends React.Component {
constructor(props) {
super(props);
this.displayName = 'BidTable';
}
render() {
const tableElements = ['displayName', 'mo... | Use enum both in titles and datas. | Use enum both in titles and datas.
| JavaScript | mit | FuBoTeam/fubo-flea-market,FuBoTeam/fubo-flea-market |
049daab0ed8e44fae6955f952a71fc8477548cd5 | lib/lifx/packets/stateHostFirmware.js | lib/lifx/packets/stateHostFirmware.js | 'use strict';
var utils = require('../../lifx').utils;
var Packet = {
size: 20
};
/**
* Converts packet specific data from a buffer to an object
* @param {Buffer} buf Buffer containing only packet specific data no header
* @return {Object} Information contained in packet
*/
Packet.toObject = function(buf)... | 'use strict';
var utils = require('../../lifx').utils;
var Packet = {
size: 20
};
/**
* Converts packet specific data from a buffer to an object
* @param {Buffer} buf Buffer containing only packet specific data no header
* @return {Object} Information contained in packet
*/
Packet.toObject = function(buf)... | Convert firmware version to a readable format | Convert firmware version to a readable format
| JavaScript | mit | MariusRumpf/node-lifx,WigWagCo/node-lifx |
1103b6fd8329195e67cd928cd5ea8a723d10c3c7 | test/app.js | test/app.js | var path = require('path');
var assert = require('yeoman-generator').assert;
var helpers = require('yeoman-generator').test;
describe('app', function () {
before(function (done) {
helpers
.run(path.join(__dirname, '../generators/app'))
.withOptions({skipInstall: true})
.on('end', done);
});
... | var path = require('path');
var assert = require('yeoman-generator').assert;
var helpers = require('yeoman-generator').test;
describe('app', function () {
before(function (done) {
helpers
.run(path.join(__dirname, '../generators/app'))
.withOptions({skipInstall: true})
.on('end', done);
});
... | Add more file to check in test | Add more file to check in test
| JavaScript | mit | ghaiklor/generator-es5-npm-module |
d2744dd4390cb44c2e0312c5251e9be3f111beb1 | app/assets/javascripts/application.js | app/assets/javascripts/application.js | /* global $ */
/* global GOVUK */
// Warn about using the kit in production
if (
window.sessionStorage && window.sessionStorage.getItem('prototypeWarning') !== 'false' &&
window.console && window.console.info
) {
window.console.info('GOV.UK Prototype Kit - do not use for production')
window.sessionStorage.setI... | /* global $ */
/* global GOVUK */
// Warn about using the kit in production
if (
window.sessionStorage && window.sessionStorage.getItem('prototypeWarning') !== 'false' &&
window.console && window.console.info
) {
window.console.info('GOV.UK Prototype Kit - do not use for production')
window.sessionStorage.setI... | Fix error summary not getting focus | Fix error summary not getting focus
| JavaScript | mit | cfq/elements-testing,cfq/elements-testing,cfq/elements-testing,selfthinker/elements-testing,selfthinker/elements-testing,selfthinker/elements-testing |
4a70300b081626b34ee90dac9066b6786d882bb6 | packages/react-native-web/src/vendor/react-dom/setValueForStyles/index.js | packages/react-native-web/src/vendor/react-dom/setValueForStyles/index.js | /* eslint-disable */
/**
* 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.
*
* From React 16.3.0
* @noflow
*/
import dangerousStyleValue from '../dangerousStyleValue';
import hyphenat... | /* eslint-disable */
/**
* 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.
*
* From React 16.3.0
* @noflow
*/
import dangerousStyleValue from '../dangerousStyleValue';
/**
* Sets th... | Remove unnecessary code from setValueForStyles | Remove unnecessary code from setValueForStyles
Close #1734
| JavaScript | mit | necolas/react-native-web,necolas/react-native-web,necolas/react-native-web |
2c3e7025b7dad210079ab5af690f7c30dd5dc885 | app/assets/javascripts/application.js | app/assets/javascripts/application.js | // 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 ... | // 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 ... | Add assets js file for scrivito | Add assets js file for scrivito
| JavaScript | mit | coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp |
1b2bd7d4afe2b99b52c979d0475ec127a1ea2c89 | app/assets/javascripts/application.js | app/assets/javascripts/application.js | // 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 vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | // 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 vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | Fix broken syntax highlighting regexes | Fix broken syntax highlighting regexes
| JavaScript | mit | d4rky-pl/bootstrap-sass-mixins-cheat-sheet,d4rky-pl/bootstrap-sass-mixins-cheat-sheet |
487352b2044291e6f88abed30fc23cf161305d99 | app/webpack.config.js | app/webpack.config.js | module.exports = {
entry: "./app/App.jsx",
output: {
filename: "public/bundle.js"
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /node_modules|bower_components/,
loader: 'babel',
query: {
presets: ['react', 'es2015']
}
}
]
}
} | require('dotenv').config()
var webpack = require('webpack')
module.exports = {
plugins: [
new webpack.DefinePlugin({
'process.env': {
'GOOGLE_MAPS_API_KEY': JSON.stringify(process.env.GOOGLE_MAPS_API_KEY)
}
})
],
entry: "./app/App.jsx",
output: {
filename: "public/bundle.js"
},
module: {
loader... | Add env files for bundle | Add env files for bundle
| JavaScript | mit | taodav/MicroSerfs,taodav/MicroSerfs |
faeec3d66dbfb75d311f30d12e8a3fd19478e269 | plugin/handler.js | plugin/handler.js | /**
* Created by netanel on 01/01/15.
*/
var minify = Npm.require('html-minifier').minify;
Plugin.registerSourceHandler('ng.html', {
isTemplate: true,
archMatching: "web"
}, function(compileStep) {
var contents = compileStep.read().toString('utf8');
var results = 'angular.module(\'angular-meteor\').run([\'$... | /**
* Created by netanel on 01/01/15.
*/
var minify = Npm.require('html-minifier').minify;
Plugin.registerSourceHandler('ng.html', {
isTemplate: true,
archMatching: "web"
}, function(compileStep) {
var contents = compileStep.read().toString('utf8');
var results = 'angular.module(\'angular-meteor\').run([\'$... | Maintain a single whitespace between elements in templates | Maintain a single whitespace between elements in templates
Removing all whitespace in templates can have side effects for how
the content is presented when it comes to inline elements, eg.
```html
<p>My name is <em>Fredrik</em></p>
```
is compiled into
```html
<p>My name is<em>Fredrik</em></p>
```
Even though this do... | JavaScript | mit | ajbarry/angular-meteor,ajbarry/angular-meteor,MarkPhillips7/angular-meteor,jonmc12/angular-meteor,efosao12/angular-meteor,IgorMinar/angular-meteor,evanliomain/angular-meteor,DAB0mB/angular-meteor,newswim/angular-meteor,simonv3/angular-meteor,simonv3/angular-meteor,oshai/angular-meteor,divramod/angular-meteor,eugene-d/a... |
378c1b0bf17b45c27eea9a164189619967a7bd23 | tests/tests.mocha.js | tests/tests.mocha.js | var fs = require('fs');
var ttf2woff2 = require('../src/index');
var assert = require('assert');
describe('ttf2woff2', function() {
it('should work', function(done) {
this.timeout(5000);
var inputContent = fs.readFileSync(__dirname + '/expected/iconsfont.ttf');
assert.deepEqual(
ttf2woff2(inputCon... | var fs = require('fs');
var assert = require('assert');
describe('ttf2woff2', function() {
it('should work from the main endpoint', function(done) {
this.timeout(10000);
var ttf2woff2 = require('../src/index');
var inputContent = fs.readFileSync(__dirname + '/expected/iconsfont.ttf');
assert.deepEqu... | Improve tests to run either the native and the emscripten endpoints | Improve tests to run either the native and the emscripten endpoints
| JavaScript | mit | nfroidure/ttf2woff2,nfroidure/ttf2woff2,nfroidure/ttf2woff2,nfroidure/ttf2woff2 |
7d3c99978be27eebc53cc1811ad31098705781c6 | src/utilities/getModalTitle.js | src/utilities/getModalTitle.js | /**
* mSupply Mobile
* Sustainable Solutions (NZ) Ltd. 2019
*/
import { modalStrings } from '../localization';
export const MODAL_KEYS = {
SELECT_CUSTOMER: 'selectCustomer',
COMMENT_EDIT: 'commentEdit',
THEIR_REF_EDIT: 'theirRefEdit',
ITEM_SELECT: 'itemSelect',
SELECT_CUSTOMER: 'selectCustomer',
SELECT... | /**
* mSupply Mobile
* Sustainable Solutions (NZ) Ltd. 2019
*/
import { modalStrings } from '../localization';
export const MODAL_KEYS = {
SELECT_CUSTOMER: 'selectCustomer',
COMMENT_EDIT: 'commentEdit',
THEIR_REF_EDIT: 'theirRefEdit',
ITEM_SELECT: 'itemSelect',
SELECT_CUSTOMER: 'selectCustomer',
SELECT... | Add program modal PROGRAM_REQUISITION modal key | Add program modal PROGRAM_REQUISITION modal key
| JavaScript | mit | sussol/mobile,sussol/mobile,sussol/mobile,sussol/mobile |
b0c02597b27893af59c4dd6074bcecdd1721e7fa | config/webpack.config.base.js | config/webpack.config.base.js | const webpack = require('webpack');
const path = require('path');
module.exports = {
context: path.resolve(__dirname, '..'),
entry: {
'easy-bits.min': './src/index.js'
},
target: 'web',
output: {
path: path.resolve(__dirname, '../dist/'),
publicPath: '/',
filename: '[name].js',
libraryTarget: 'umd'
},
... | const webpack = require('webpack');
const path = require('path');
module.exports = {
context: path.resolve(__dirname, '..'),
entry: {
'easy-bits.min': './src/index.js'
},
target: 'web',
output: {
path: path.resolve(__dirname, '../dist/'),
publicPath: '/',
filename: '[name].js',
libraryTarget: 'umd',
g... | Remove window reference from UMD module | Remove window reference from UMD module
| JavaScript | mit | easyfuckingpeasy/Easy-Bits |
c88947f2570fe91797cfddf034d4681346522f27 | app/constants/organisation-unit.js | app/constants/organisation-unit.js | module.exports = {
OFFENDER_MANAGER: { name: 'offender-manager', ref: 'I', displayText: 'Offender Manager', capacityView: 'workload_owner', caseProgressView: 'individual_case_progress_view' },
TEAM: { name: 'team', ref: 'T', displayText: 'Team', capacityView: 'team_capacity_view', caseProgressView: 'team_case_progr... | module.exports = {
OFFENDER_MANAGER: { name: 'offender-manager', ref: 'I', displayText: 'Offender Manager', capacityView: 'workload_owner', caseProgressView: 'individual_case_progress_view' },
TEAM: { name: 'team', ref: 'T', displayText: 'Team', capacityView: 'team_capacity_view', caseProgressView: 'team_case_progr... | Update ldu and region display names | Update ldu and region display names
| JavaScript | mit | ministryofjustice/wmt-web,ministryofjustice/wmt-web |
03f2ec848454ed7601cc6d3fd50827a24276df3f | src/schema/Heading.js | src/schema/Heading.js | const React = require('react');
const classNames = require('classnames');
const { BLOCKS } = require('markup-it');
const TAGS = {
[BLOCKS.HEADING_1]: 'h1',
[BLOCKS.HEADING_2]: 'h2',
[BLOCKS.HEADING_3]: 'h3',
[BLOCKS.HEADING_4]: 'h4',
[BLOCKS.HEADING_5]: 'h5',
[BLOCKS.HEADING_6]: 'h6'
};
... | const React = require('react');
const classNames = require('classnames');
const { BLOCKS } = require('markup-it');
const TAGS = {
[BLOCKS.HEADING_1]: 'h1',
[BLOCKS.HEADING_2]: 'h2',
[BLOCKS.HEADING_3]: 'h3',
[BLOCKS.HEADING_4]: 'h4',
[BLOCKS.HEADING_5]: 'h5',
[BLOCKS.HEADING_6]: 'h6'
};
... | Fix tooltip message for titles | Fix tooltip message for titles
| JavaScript | apache-2.0 | GitbookIO/react-rich-diff,GitbookIO/react-rich-diff |
cd94bed9aaa43450c1b7712fec9f98b05c572b5f | app/cardpool.js | app/cardpool.js | var _ = require('underscore');
var cards = require('./cards.js');
function CardPool(collection) {
this.answerCards = cards.getAnswerCards(collection);
this.answerCardIndex = 0;
this.questionCards = cards.getQuestionCards(collection);
this.questionCardIndex = 0;
function reshuffleQuestionCards() {
this.questio... | var _ = require('underscore');
var cards = require('./cards.js');
function CardPool(collection) {
this.answerCards = cards.getAnswerCards(collection);
this.answerCardIndex = 0;
this.questionCards = cards.getQuestionCards(collection);
this.questionCardIndex = 0;
var reshuffleQuestionCards = function() {
this.q... | Fix cards not getting shuffled | Fix cards not getting shuffled
| JavaScript | mit | ircah/cah-js,ircah/cah-js |
a0836b1744e92b5b54f5e839a07461be65b003cc | both/router/routes.js | both/router/routes.js | /*****************************************************************************/
/* Client and Server Routes */
/*****************************************************************************/
Router.configure({
layoutTemplate: 'MasterLayout',
loadingTemplate: 'Loading',
notFoundTemplate: 'NotFound'
});
/*
* Exa... | /*****************************************************************************/
/* Client and Server Routes */
/*****************************************************************************/
Router.configure({
layoutTemplate: 'MasterLayout',
loadingTemplate: 'Loading',
notFoundTemplate: 'NotFound'
});
Router.rou... | Remove example route. Clean up noise | Remove example route. Clean up noise
| JavaScript | mit | bojicas/letterhead,bojicas/letterhead |
d8c7446498c2491ddd31ab6edc3a2eda586d547d | src/view/WorldView.js | src/view/WorldView.js | function WorldView(world, paper) {
this.world = world;
this.paper = paper;
this.cellSize = 16;
this.world.observe(this);
}
WorldView.prototype.paintLiveCell = function(cell) {
this.paintCell(cell, "#222");
};
WorldView.prototype.paintDeadCell = function(cell) {
this.paintCell(cell, "#fff");
};
WorldView.... | function WorldView(world, paper) {
this.world = world;
this.paper = paper;
this.cellSize = 16;
this.world.observe(this);
}
WorldView.prototype.paintLiveCell = function(cell) {
this.paintCell(cell, "#222");
};
WorldView.prototype.paintDeadCell = function(cell) {
this.paintCell(cell, "#fff");
};
WorldView.... | Set stroke width to 0 | Set stroke width to 0
| JavaScript | mit | strika/ant |
6f376a91a142cc94dfefc0d84f72b3a7d1b164ac | helper.js | helper.js | var Appbase = require('appbase-js');
module.exports = {
getRequestObject: function (type, venue) {
return ({
type: type,
body: {
"size": 1000,
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
"geo_bounding_box": {
"venue": venue
}
... | var Appbase = require('appbase-js');
module.exports = {
getRequestObject: function (config, fieldName, boundingBoxCoordinates) {
var geo_bounding_box = JSON.parse(`{"${fieldName}":` + JSON.stringify(boundingBoxCoordinates) + '}');
return ({
type: config.appbase.type,
body: {
"size": 1000,
"query":... | Use fieldName while building query | Use fieldName while building query
| JavaScript | apache-2.0 | appbaseio/reactive-maps,appbaseio/reactive-maps |
1ba988f827a3be2ad4d33301d5ae170cffcd27ad | auth.example.js | auth.example.js | module.exports = {
facebook: {
appID: 'FACEBOOK_APP_ID',
appSecret: 'FACEBOOK_APP_SECRET',
callbackUrl: 'http://localhost:3000/auth/facebook/callback',
profileFields: ['id', 'displayName', 'name', 'email', 'gender', 'age_range', 'link', 'picture', 'locale', 'timezone', 'updated_time', 'verified']
},... | module.exports = {
facebook: {
appID: 'FACEBOOK_APP_ID',
appSecret: 'FACEBOOK_APP_SECRET',
callbackUrl: 'http://localhost:3000/auth/facebook/callback',
profileFields: ['id', 'displayName', 'name', 'email', 'gender', 'age_range', 'link', 'picture', 'locale', 'timezone', 'updated_time', 'verified']
},... | Add template for google cloud api keys | Add template for google cloud api keys
| JavaScript | mit | scrumptiousAmpersand/journey,scrumptiousAmpersand/journey |
b9420de3ce1534b18e6cfa5a9be2046ac5c55d06 | public/js/shared/socket.js | public/js/shared/socket.js | define([], function() {
/**
* @description Methods related to SocketIO.
*/
var Module = {
/**
* @description Invoke this helper on the server once it's ready -- it has
* attached its (message) observer. The client will be notified of the server's
* readiness, and asked to reply about it... | define([], function() {
/**
* @description Methods related to SocketIO.
*/
var Module = {
/**
* @description Invoke this helper on the server once it's ready -- it has
* attached its (message) observer. The client will be notified of the server's
* readiness, and asked to reply about it... | ADD missing callback trigger in syncWithServer() | ADD missing callback trigger in syncWithServer()
| JavaScript | mit | codeactual/mainevent |
25828768d7bc2d76438244e69d6eeb69c36227e6 | build/jslint-check.js | build/jslint-check.js | load("build/jslint.js");
var src = readFile("dist/jquery.js");
JSLINT(src, { evil: true, forin: true, maxerr: 100 });
// All of the following are known issues that we think are 'ok'
// (in contradiction with JSLint) more information here:
// http://docs.jquery.com/JQuery_Core_Style_Guidelines
var ok = {
"Expected a... | load("build/jslint.js");
var src = readFile("dist/jquery.js");
JSLINT(src, { evil: true, forin: true, maxerr: 100 });
// All of the following are known issues that we think are 'ok'
// (in contradiction with JSLint) more information here:
// http://docs.jquery.com/JQuery_Core_Style_Guidelines
var ok = {
"Expected a... | Handle the case where JSLint complains about arguments in try/catch already being defined (we use the name 'e' consistently for catch(e) - will work to standardize on that now). | Handle the case where JSLint complains about arguments in try/catch already being defined (we use the name 'e' consistently for catch(e) - will work to standardize on that now).
| JavaScript | mit | hoorayimhelping/jquery,diracdeltas/jquery,demetr84/Jquery,Karyotyper/jquery,scottjehl/jquery,RubyLouvre/jquery,eburgos/jquery,Karyotyper/jquery,dtjm/jquery,chitranshi/jquery,diracdeltas/jquery,rwaldron/jquery,sancao2/jquery,roytoo/jquery,ilyakharlamov/jquery-xul,jcutrell/jquery,isaacs/jquery,jquery/jquery,ilyakharlamov... |
c9b2f724afdf6502f9b6a481723821a2d429f0c1 | src/backend/data/migrations/20151222165715_add_completed_to_calls.js | src/backend/data/migrations/20151222165715_add_completed_to_calls.js |
exports.up = function(knex, Promise) {
return knex.schema.table('bsd_calls', function(table) {
table.boolean('completed')
})
};
exports.down = function(knex, Promise) {
};
|
exports.up = function(knex, Promise) {
return knex.schema.table('bsd_calls', function(table) {
table.boolean('completed')
})
};
exports.down = function(knex, Promise) {
return knex.schema.table('bsd_calls', function(table) {
table.dropColumn('completed')
})
};
| Add instructions column to call assignments. | Add instructions column to call assignments.
| JavaScript | agpl-3.0 | Bernie-2016/ground-control,al3x/ground-control,Bernie-2016/ground-control,Bernie-2016/ground-control,al3x/ground-control,Bernie-2016/ground-control,al3x/ground-control,al3x/ground-control |
bf899398b76d1ddbef6f1e921f76f2bfefe28469 | gulp/config.js | gulp/config.js | const minimist = require("minimist");
const options = minimist(process.argv.slice(2));
const isProduction = options.env === 'production';
config = {
console_options: options,
isProduction: isProduction,
src: {
js: "./sec/js/**/*.js",
vue: "./src/js/app.js",
vue_watch: "./src/js/**/... | const minimist = require("minimist");
const options = minimist(process.argv.slice(2));
const isProduction = options.env === 'production';
config = {
console_options: options,
isProduction: isProduction,
src: {
js: "./sec/js/**/*.js",
vue: "./src/js/app.js",
vue_watch: "./src/js/**/... | Fix the bootstrap js path | Fix the bootstrap js path
| JavaScript | mit | Hiroto-K/Hiroto-K.github.io,Hiroto-K/Hiroto-K.github.io,Hiroto-K/Hiroto-K.github.io,Hiroto-K/Hiroto-K.github.io |
161b2bde0a8cd1d053ac381c5c86090a1f5518e1 | app/assets/javascripts/application.js | app/assets/javascripts/application.js | //= require jquery
//= require jquery_ujs
//= require turbolinks
//= require_tree .
//= require bootstrap-sprockets
$(document).ready(function(){
$('.contact-artist').click(function (e) {
e.preventDefault();
var at = '@'
var ending = ".com"
var dom = "markeinert"
var user = 'hello';
var subject = "Your ... | //= require jquery
//= require jquery_ujs
//= require turbolinks
//= require_tree .
//= require bootstrap-sprockets
$(document).ready(function(){
$('.contact-artist').click(function (e) {
e.preventDefault();
var at = '@'
var ending = ".com"
var dom = "markeinert"
var user = 'hello';
var subject = "Conta... | Add missing href to mailto Javascript function | Add missing href to mailto Javascript function
| JavaScript | mit | ericbooker12/fuzzy_hat_artist_site,ericbooker12/fuzzy_hat_artist_site,ericbooker12/fuzzy_hat_artist_site |
d110f299b1424a863f16dacbed239e805461588c | config/webpack.dev.js | config/webpack.dev.js | const _ = require('lodash');
const path = require('path');
const WebpackConfig = require('./webpack.config');
module.exports = (entry, output) => {
return _.merge({}, WebpackConfig, {
mode: 'development',
entry: `./lib/${entry}`,
output: {
path: path.resolve(__dirname, '../dist'),
filename: o... | const _ = require('lodash');
const path = require('path');
const WebpackConfig = require('./webpack.config');
module.exports = (entry, output) => {
return _.merge({}, WebpackConfig, {
mode: 'development',
entry: `./lib/${entry}`,
output: {
library: 'Formio',
libraryTarget: 'umd',
librar... | Make Webpack builds export correctly and use umd. | Make Webpack builds export correctly and use umd.
| JavaScript | mit | formio/formio.js,formio/formio.js,formio/formio.js |
e70b6bcd42802fa3f2dcc6a7bf4c1337bc3c63e2 | Server/Models/usersModel.js | Server/Models/usersModel.js | const mongoose = require('mongoose');
const Schema = mongoose.Schema
var userSchema = new Schema({
name: {type: String, required: true},
photo: {type: String, required: true},
email: {type: String, required: true, unique: true},
fbId: {type: String},
fbAccessToken: {type: String},
googleId: {t... | const mongoose = require('mongoose');
const Schema = mongoose.Schema
var userSchema = new Schema({
name: {type: String, required: true},
photo: {type: String, required: true},
email: {type: String, required: true, unique: true},
fbId: {type: String},
fbAccessToken: {type: String},
googleId: {t... | Adjust User Model by removing unused fields createdSpots and savedSpots | Adjust User Model by removing unused fields createdSpots and savedSpots
| JavaScript | mit | JabroniZambonis/pLot |
d42ae5a30b93398740c0868399f7f4b0239d945d | src/ui/overlay_test.js | src/ui/overlay_test.js | // Copyright (c) 2013 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.
'use strict';
base.require('ui.overlay');
base.unittest.testSuite('ui.overlay', function() {
test('showHideUnparented', function() {
var overl... | // Copyright (c) 2013 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.
'use strict';
base.require('ui.overlay');
base.unittest.testSuite('ui.overlay', function() {
test('instantiate', function() {
var dlg = new ui... | Add test to launch an overlay | Add test to launch an overlay
git-svn-id: 3a56fcae908c7e16d23cb53443ea4795ac387cf2@894 0e6d7f2b-9903-5b78-7403-59d27f066143
| JavaScript | bsd-3-clause | bpsinc-native/src_third_party_trace-viewer,bpsinc-native/src_third_party_trace-viewer,bpsinc-native/src_third_party_trace-viewer,bpsinc-native/src_third_party_trace-viewer |
a2ba9768154efb291e231011e074478c0d09c4a4 | src/platforms/android/sim-host-handlers.js | src/platforms/android/sim-host-handlers.js | // Copyright (c) Microsoft Corporation. All rights reserved.
module.exports = {
'CoreAndroid': {
'show': function (success, fail, service, action, args) {
success();
},
'messageChannel': function (success, fail, service, action, args) {
// This call is used to commun... | // Copyright (c) Microsoft Corporation. All rights reserved.
module.exports = {
'CoreAndroid': {
'show': function (success, fail, service, action, args) {
success && success();
},
'messageChannel': function (success, fail, service, action, args) {
// This call is use... | Handle case where CoreAndroid.show is called without success callback | Handle case where CoreAndroid.show is called without success callback
| JavaScript | mit | Microsoft/taco-simulate-server,guillaumejenkins/taco-simulate-server,TimBarham/cordova-simulate,Microsoft/taco-simulate-server,guillaumejenkins/taco-simulate-server,busykai/cordova-simulate,TimBarham/cordova-simulate,busykai/cordova-simulate |
1aaf4360c6a5a6e28efce95663164905d211b4fc | api/services/HelpersService.js | api/services/HelpersService.js | 'use strict';
/**
* Helpers services. A collection of services to be used throughout the application.
*/
module.exports = {
isOneOfFieldSet(submission) {
return ['user_id', 'email', 'mobile'].every(userField => !submission[userField]);
},
};
| 'use strict';
/**
* Helpers services. A collection of services to be used throughout the application.
*/
module.exports = {
isOneOfFieldSet() {
return ['user_id', 'email', 'mobile'].every(userField => !this[userField]);
},
};
| Use this rather than parameter in isOneOfFieldSet() | Use this rather than parameter in isOneOfFieldSet()
| JavaScript | mit | DoSomething/quicksilver-api,DoSomething/quicksilver-api |
a0dc2db9c343740fc5fdd648a1090787cf926e59 | lib/ui/collections/projectList.js | lib/ui/collections/projectList.js | var ProjectList,
Project = require("../models/project"),
server = require("../server"),
storage = require("../storage");
ProjectList = Backbone.Collection.extend({
model: Project,
initialize: function () {
var collection = this,
projects = storage.readProjects(),
pro... | var ProjectList,
Project = require("../models/project"),
server = require("../server"),
storage = require("../storage");
ProjectList = Backbone.Collection.extend({
model: Project,
initialize: function () {
var collection = this,
projects = storage.readProjects(),
pro... | Allow spaces in path for project create | Allow spaces in path for project create
| JavaScript | apache-2.0 | blackberry-webworks/webworks-gui,blackberry/webworks-gui,blackberry-webworks/webworks-gui,blackberry/webworks-gui |
2de6dd4be3f51b00db7d1c46e5473338123ad0e3 | jest.config.js | jest.config.js | module.exports = {
moduleNameMapper: {
"\\.scss$": "<rootDir>/tests/styleMock.js",
},
testPathIgnorePatterns: ["/node_modules/", "/dist/", "/es/", "/integration/"],
coveragePathIgnorePatterns: ["<rootDir>/tests"],
snapshotSerializers: ["enzyme-to-json/serializer"],
setupFiles: ["<rootDir>/tests/polyfill... | module.exports = {
moduleNameMapper: {
"\\.scss$": "<rootDir>/tests/styleMock.js",
},
testPathIgnorePatterns: ["/node_modules/", "/dist/", "/es/", "/integration/"],
coveragePathIgnorePatterns: ["<rootDir>/tests", "/examples/"],
snapshotSerializers: ["enzyme-to-json/serializer"],
setupFiles: ["<rootDir>/... | Exclude examples code from unit test coverage metrics for now | Exclude examples code from unit test coverage metrics for now
| JavaScript | mit | springload/draftail,springload/draftail,springload/draftail,springload/draftail |
a8a7dbd72673cb894b12a25e2724d8d4ba6bdc6e | js/TagField.js | js/TagField.js | /**
* Register TagField functions with fields.
*/
(function ($) {
/*
* The multiple-select plugin (Chosen) applies itself to everything!
* We have to remove it before selectively applying select2, or
* we'll see an extra field where there should be only one.
*/
$.fn.chosenDestroy = function () {
$(this)
... | /**
* Register TagField functions with fields.
*/
(function ($) {
/*
* The multiple-select plugin (Chosen) applies itself to everything!
* We have to remove it before selectively applying select2, or
* we'll see an extra field where there should be only one.
*/
$.fn.chosenDestroy = function () {
$(this)
... | Fix race condition with Select2 | Fix race condition with Select2
| JavaScript | bsd-3-clause | kinglozzer/silverstripe-tagfield,pedro2555/silverstripe-tagfield,silverstripe-labs/silverstripe-tagfield,pedro2555/silverstripe-tagfield,kinglozzer/silverstripe-tagfield,silverstripe-labs/silverstripe-tagfield |
7c94b622ca5da6bf229976b51e53e21c628a401a | catwatch/assets/scripts/coupon.js | catwatch/assets/scripts/coupon.js | var coupon = function () {
var durationSelector = '#duration';
var $body = $('body');
var $duration = $(durationSelector);
var $durationInMonths = $('#duration-in-months');
var $redeem_by = $('#redeem_by');
$body.on('change', durationSelector, function () {
if ($duration.val() === 'rep... | var coupon = function () {
var durationSelector = '#duration';
var $body = $('body');
var $duration = $(durationSelector);
var $durationInMonths = $('#duration-in-months');
var $redeem_by = $('#redeem_by');
$body.on('change', durationSelector, function () {
if ($duration.val() === 'rep... | Add missing font awesome icons for the datetime picker | Add missing font awesome icons for the datetime picker
| JavaScript | mit | nickjj/build-a-saas-app-with-flask,nickjj/build-a-saas-app-with-flask,nickjj/build-a-saas-app-with-flask,nickjj/build-a-saas-app-with-flask,z123/build-a-saas-app-with-flask,z123/build-a-saas-app-with-flask,z123/build-a-saas-app-with-flask |
a210fdf2bcb9868275f2d3ffb825b02faa34f244 | frontend/src/components/welcome/body/Intro.js | frontend/src/components/welcome/body/Intro.js | import React, { Component } from 'react';
import SignupForm from './SignupForm';
import LoginForm from '../common/LoginForm';
class Intro extends Component {
render() {
return (
<div className="intro-section">
<div className="container">
<div className="row">... | import React, { Component } from 'react';
import SignupForm from './SignupForm';
import LoginForm from '../common/LoginForm';
class Intro extends Component {
render() {
return (
<div className="intro-section">
<div className="container">
<div className="row">... | Move signup form before login for responsive screens | Move signup form before login for responsive screens
| JavaScript | mit | dimkarakostas/unimeet,dimkarakostas/unimeet,dimkarakostas/unimeet,dimkarakostas/unimeet |
f3ebcb1fa33591f75cd09ee93dfd8842309a19a6 | functions/funchand/function_exists.js | functions/funchand/function_exists.js | function function_exists (function_name) {
// http://kevin.vanzonneveld.net
// + original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
// + improved by: Steve Clay
// + improved by: Legaev Andrey
// + improved by: Brett Zamir (http://brett-zamir.me)
// * example 1: function_e... | function function_exists (func_name) {
// http://kevin.vanzonneveld.net
// + original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
// + improved by: Steve Clay
// + improved by: Legaev Andrey
// + improved by: Brett Zamir (http://brett-zamir.me)
// * example 1: function_exist... | Rename internal variable to avoid compiler conflict | Rename internal variable to avoid compiler conflict
| JavaScript | mit | davidgruebl/phpjs,revanthpobala/phpjs,VicAMMON/phpjs,Mazbaul/phpjs,cigraphics/phpjs,strrife/phpjs,revanthpobala/phpjs,chand3040/phpjs,J2TeaM/phpjs,VicAMMON/phpjs,strrife/phpjs,strrife/phpjs,FlorinDragotaExpertvision/phpjs,Mazbaul/phpjs,w35l3y/phpjs,hirak/phpjs,imshibaji/phpjs,kvz/phpjs,FlorinDragotaExpertvision/phpjs,F... |
b8200ffa06e496bc8a10fdb1130b35a8a71cde35 | tests/mocha/client/displayAListOfPlaces.js | tests/mocha/client/displayAListOfPlaces.js | if (!(typeof MochaWeb === 'undefined')){
MochaWeb.testOnly(function () {
describe('The Route "/"', function () {
it('Should have the title "map"', function () {
var title = document.title
console.log(title)
chai.assert.include(title, 'Map')
})
})
describe('A list of pla... | if (!(typeof MochaWeb === 'undefined')){
MochaWeb.testOnly(function () {
setTimeout(function (){
describe('The Route "/"', function () {
it('Should have the title "Map"', function () {
var title = document.title
console.log(title)
chai.assert.include(title, 'Map')
... | Add a hack to ensure mocha waits for page to load | Add a hack to ensure mocha waits for page to load
| JavaScript | mit | Kriegslustig/Bergbau-Graub-nden,Kriegslustig/Bergbau-Graub-nden,Kriegslustig/Bergbau-Graub-nden |
df4ddd862e3af64b0762dbdadbd3a08eeea841d1 | lib/cli/src/frameworks/html/Button.stories.js | lib/cli/src/frameworks/html/Button.stories.js | import { createButton } from './Button';
export default {
title: 'Example/Button',
argTypes: {
label: { control: 'text' },
primary: { control: 'boolean' },
backgroundColor: { control: 'color' },
size: {
control: { type: 'select', options: ['small', 'medium', 'large'] },
},
onClick: { ... | import { createButton } from './Button';
export default {
title: 'Example/Button',
argTypes: {
label: { control: 'text' },
primary: { control: 'boolean' },
backgroundColor: { control: 'color' },
size: {
control: { type: 'select', options: ['small', 'medium', 'large'] },
},
onClick: { ... | Add comment for HTML string | Add comment for HTML string
| JavaScript | mit | storybooks/storybook,storybooks/react-storybook,storybooks/react-storybook,kadirahq/react-storybook,storybooks/react-storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,kadirahq/react-storybook,storybooks/storybook,storybooks/react-storybook,storybooks/storybook |
0793be07eb70f8f2ef0ee18e8704fae9eb321f5d | gulpfile.js | gulpfile.js | import del from 'del';
import path from 'path';
import gulp from 'gulp';
import eslint from 'gulp-eslint';
import babel from 'gulp-babel';
import writeFile from './build/write-file';
import generateRoutes from './src/routes/generate';
import './build/azure';
gulp.task('clean', ['azure:clean'], () =>
del(['dist']));... | import del from 'del';
import path from 'path';
import gulp from 'gulp';
import eslint from 'gulp-eslint';
import babel from 'gulp-babel';
import writeFile from './build/write-file';
import generateRoutes from './src/routes/generate';
import './build/azure';
gulp.task('clean', ['azure:clean'], () =>
del(['dist']));... | Rename the configuration task to services. | Rename the configuration task to services.
| JavaScript | mit | lijunle/depcheck-web,depcheck/depcheck-www,depcheck/depcheck-www,lijunle/depcheck-web |
9e0fbb52e532d73568806fb2781b36916da7461f | gulpfile.js | gulpfile.js | 'use strict';
var gulp = require('gulp'),
batch = require('gulp-batch'),
concat = require('gulp-concat'),
ignore = require('gulp-ignore'),
jshint = require('gulp-jshint'),
watch = require('gulp-watch'),
path = require('path');
var dist = 'dist/hypermedia.js';
gulp.task('default', ['jshint'], function... | 'use strict';
var gulp = require('gulp'),
batch = require('gulp-batch'),
concat = require('gulp-concat'),
ignore = require('gulp-ignore'),
jshint = require('gulp-jshint'),
jscs = require('gulp-jscs'),
watch = require('gulp-watch'),
path = require('path');
var dist = 'dist/hypermedia.js';
gulp.tas... | Move jshint and jscs into default build pipeline | Move jshint and jscs into default build pipeline
| JavaScript | mit | jcassee/angular-hypermedia |
44c684b75424a665da23476d73dfd7bf278c1082 | .storybook/preview.js | .storybook/preview.js | import React from 'react'
import {ApplyTheme} from '@instructure/ui-themeable'
import '@instructure/canvas-high-contrast-theme'
import '@instructure/canvas-theme'
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
}
export const globalTypes = {
canvasTheme: {
name: 'Canvas Theme',
descr... | import React from 'react'
import {ApplyTheme} from '@instructure/ui-themeable'
import {ApplyTextDirection} from '@instructure/ui-i18n'
import '@instructure/canvas-high-contrast-theme'
import '@instructure/canvas-theme'
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
}
export const globalTypes ... | Add bidirectional toggle to storybook | Add bidirectional toggle to storybook
closes OUT-4253
flag=none
Test-plan: - Find bidirectional toggle, ensure rtl / ltr function as
expected
Change-Id: I15d61906f7ff2f8202b5bac51418ec9fa56b3c20
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/258581
Tested-by: Service Cloud Jenkins <9144042a601061f88f1... | JavaScript | agpl-3.0 | sfu/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,sfu/canvas-lms |
215eb3118226efec31fb61ad4240afc84dd12039 | lib/joiless.js | lib/joiless.js | var isFunction = require('lodash.isfunction');
var joi = require('joi');
var pc = require('pascal-case');
/* Public */
function attach(schema) {
var attachments = {};
schema && schema._inner && schema._inner.children.forEach(function (child) {
attachments[pc(child.key)] = {
get: function () {
r... | var isFunction = require('lodash.isfunction');
var joi = require('joi');
var pc = require('pascal-case');
/* Public */
function attach(schema) {
var attachments = {};
schema &&
schema._inner &&
schema._inner.children &&
schema._inner.children.forEach(function (child) {
attachments[pc(child.key)] = {
... | Fix an issue with children missing | Fix an issue with children missing
| JavaScript | mit | zackehh/joiless |
da92ef3a58297cd0661357a31a3fe250c155434b | src/Components/Table/index.js | src/Components/Table/index.js | import React, { Component } from 'react'
import PropTypes from 'prop-types'
import TableRow from './TableRow/index.js'
import Button from '../../Components/Button/index.js'
export default class Table extends Component {
static propTypes = {
tableName: PropTypes.string,
columnTypes: PropTypes.object.isRequir... | import React, { Component } from 'react'
import PropTypes from 'prop-types'
import TableRow from './TableRow/index.js'
import Button from '../../Components/Button/index.js'
export default class Table extends Component {
static propTypes = {
tableName: PropTypes.string,
columns: PropTypes.arrayOf(PropTypes.s... | Make table prop columns an array of column objects | Make table prop columns an array of column objects
| JavaScript | mit | severnsc/brewing-app,severnsc/brewing-app |
cbbe695e01215db8cc1f1bc29d2d67ab37436e60 | lib/printer.js | lib/printer.js | var _ = require('lodash');
exports.printSeparator = function (s) {
console.log((new Array(51)).join(s || "-"));
};
exports.printObject = function (object, indent) {
function padRight(string, length) {
return string + (new Array((length - string.length) + 1).join(" "));
}
var indentPad = Array... | var _ = require('lodash');
exports.printSeparator = function (s) {
console.log((new Array(51)).join(s || "-"));
};
exports.printObject = function (object, indent) {
function padRight(string, length) {
return string + (new Array((length - string.length) + 1).join(" "));
}
var indentPad = Array... | Support for stories without owners. | Support for stories without owners.
| JavaScript | bsd-3-clause | kelveden/zenga |
cae0ca98936a046d73f35aded09c6ebd931058ff | src/React/Properties/index.js | src/React/Properties/index.js | import CellProperty from './CellProperty';
import CheckboxProperty from './CheckboxProperty';
import EnumProperty from './EnumProperty';
import PropertyFactory from './PropertyFactory';
import PropertyPanel from './PropertyPanel';
import SliderProperty from './SliderProperty';
export default {
CellProperty,
Checkb... | import CellProperty from './CellProperty';
import CheckboxProperty from './CheckboxProperty';
import EnumProperty from './EnumProperty';
import MapProperty from './MapProperty';
import PropertyFactory from './PropertyFactory';
import PropertyPanel from './PropertyPanel';
import SliderProperty from './SliderProperty';
... | Add MapProperty into the generated file | fix(MapProperty): Add MapProperty into the generated file
| JavaScript | bsd-3-clause | Kitware/paraviewweb,Kitware/paraviewweb,Kitware/paraviewweb,Kitware/paraviewweb |
d76072eadf62ed9769cd8c32a818daa9a2b7fc97 | lib/replace.js | lib/replace.js | var falafel = require('falafel');
module.exports = replace;
function replace (src, deps) {
return falafel(src, function (node) {
if (isRequire(node)) {
var value = node.arguments[0].value;
if (has(deps, value) && deps[value]) {
node.update('require(' + JSON.stringify... | var falafel = require('falafel');
module.exports = replace;
function replace (src, deps) {
return falafel(src, {ecmaVersion: 6}, function (node) {
if (isRequire(node)) {
var value = node.arguments[0].value;
if (has(deps, value) && deps[value]) {
node.update('require(... | Set "{ecmaVersion: 6}" for falafel's acorn | Set "{ecmaVersion: 6}" for falafel's acorn
| JavaScript | mit | niksy/bundle-collapser,substack/bundle-collapser |
1360c156743ecbdd68e609cc340cbf83e293aa6f | addons/jest/src/register.js | addons/jest/src/register.js | import React from 'react';
import addons from '@storybook/addons';
import PanelTitle from './components/PanelTitle';
import Panel from './components/Panel';
addons.register('storybook/tests', api => {
const channel = addons.getChannel();
addons.addPanel('storybook/tests/panel', {
title: <PanelTitle channel={a... | import React from 'react';
import addons from '@storybook/addons';
import PanelTitle from './components/PanelTitle';
import Panel from './components/Panel';
addons.register('storybook/tests', api => {
const channel = addons.getChannel();
addons.addPanel('storybook/tests/panel', {
// eslint-disable-next-line r... | Update `addon-jest` to new propType | Update `addon-jest` to new propType
Fixes #4251. | JavaScript | mit | kadirahq/react-storybook,storybooks/react-storybook,storybooks/react-storybook,storybooks/storybook,kadirahq/react-storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,storybooks/react-storybook,storybooks/storybook,storybooks/react-storybook,storybooks/storybook,storybooks/storybook |
dc767df7b41e8d0e7ad913503792f1c289c359fe | src/actions/Directories.js | src/actions/Directories.js | import {
GET_DEFAULT_DIRECTORIES_REQUEST, GET_DEFAULT_DIRECTORIES_FAILURE, GET_DEFAULT_DIRECTORIES_SUCCESS,
LOAD_DIRECTORY_REQUEST, LOAD_DIRECTORY_SUCCESS, LOAD_DIRECTORY_FAILURE,
SET_DIRECTORY_SORT_OPTION
} from '../constants/ActionTypes';
import { CALL_API, Schemas } from '../middleware/api';
const getDefaultD... | import {
GET_DEFAULT_DIRECTORIES_REQUEST, GET_DEFAULT_DIRECTORIES_FAILURE, GET_DEFAULT_DIRECTORIES_SUCCESS,
LOAD_DIRECTORY_REQUEST, LOAD_DIRECTORY_SUCCESS, LOAD_DIRECTORY_FAILURE,
SET_DIRECTORY_SORT_OPTION
} from '../constants/ActionTypes';
import { CALL_API, Schemas } from '../middleware/api';
const getDefaultD... | Check if directory already exists sending request | Check if directory already exists sending request
| JavaScript | mit | thehink/linkify,thehink/linkify,thehink/linkify |
1d2e210694189b4257e31b8e132310d7154e7ca6 | pages/home.js | pages/home.js | "use strict";
var m = require("mithril"),
db = require("../lib/firebase");
module.exports = {
controller : function() {
},
view : function() {
return m("h1", "HOME");
}
};
| "use strict";
var m = require("mithril"),
db = require("../lib/firebase");
module.exports = {
controller : function() {
},
view : function() {
return [
m("h1", "HOME"),
m("ul",
m("li",
m("a", { href : "/schemas", config : m.route }... | Add some kind of nav | Add some kind of nav
| JavaScript | mit | tivac/anthracite,Ryan-McMillan/crucible,tivac/crucible,tivac/anthracite,Ryan-McMillan/crucible,tivac/crucible,kevinkace/crucible,kevinkace/crucible |
eb2eabe018a4f298aa0f038f00f7f3542c69e54d | src/filters/test/path.spec.js | src/filters/test/path.spec.js | describe('Filter: path', function () {
beforeEach(module('ngNephila.filters.path'));
var pathFilter;
beforeEach(inject(function($filter) {
pathFilter = $filter('path');
}));
it('has a path filter', function () {
expect(pathFilter).not.toBeNull();
});
it('should compose paths automagically', fu... | describe('Filter: path', function () {
beforeEach(module('ngNephila.filters.path'));
var pathFilter;
beforeEach(inject(function($filter) {
pathFilter = $filter('path');
}));
it('has a path filter', function () {
expect(pathFilter).not.toBeNull();
});
it('should compose paths automagically', fu... | Add tests for relative path | Add tests for relative path
| JavaScript | mit | ng-ramen/ng-ramen,ng-ramen/ng-ramen,nephila/ng-nephila,nephila/ng-nephila |
bc1fb256fbdb2686079cc70e26bb65f5753186de | app/lib/esQueryBuilder.js | app/lib/esQueryBuilder.js | function build(searchTerm) {
return {
index: 'profiles',
type: 'gps',
body: {
size: 30,
query: {
bool: {
should: [
{
match_phrase: {
name: {
query: searchTerm,
boost: 2,
slop: 1
... | function build(searchTerm) {
return {
index: 'profiles',
type: 'gps',
body: {
size: 30,
query: {
bool: {
should: [
{
match_phrase: {
name: {
query: searchTerm,
boost: 2,
slop: 1
... | Remove parameter left over from version of common terms search | :bug: Remove parameter left over from version of common terms search
| JavaScript | mit | nhsuk/gp-finder,nhsuk/gp-finder |
b0a2163a3f598724907359c7b5190c96afe51393 | website/app/application/core/projects/project/processes/process-view-controller.js | website/app/application/core/projects/project/processes/process-view-controller.js | (function (module) {
module.controller('projectViewProcess', projectViewProcess);
projectViewProcess.$inject = ["$state", "process"];
function projectViewProcess($state, process) {
var ctrl = this;
ctrl.editProvenance = editProvenance;
ctrl.process = process;
function editP... | (function (module) {
module.controller('projectViewProcess', projectViewProcess);
projectViewProcess.$inject = ["process"];
function projectViewProcess(process) {
var ctrl = this;
ctrl.process = process;
}
}(angular.module('materialscommons')));
| Remove editProvenance and replace with ui-sref. | Remove editProvenance and replace with ui-sref.
| JavaScript | mit | materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org |
b192a16ea383361288b4993617f7369a5822900e | src/hooks/add-route-object.js | src/hooks/add-route-object.js | import fp from 'mostly-func';
const defaultOptions = {
field: 'primary',
select: '*'
};
/**
* Add route service object to hook.params
*/
export default function addRouteObject (name, opts) {
opts = Object.assign({}, defaultOptions, opts);
return async context => {
let options = Object.assign({}, opts);... | import fp from 'mostly-func';
const defaultOptions = {
field: 'primary',
select: '*'
};
/**
* Add route service object to hook.params
*/
export default function addRouteObject (name, opts) {
opts = Object.assign({}, defaultOptions, opts);
return async context => {
let options = Object.assign({}, opts);... | Fix get route object with user for permission | Fix get route object with user for permission
| JavaScript | mit | MostlyJS/mostly-feathers-mongoose |
6a9a148fed28f8b5725a6662c6c23a2650217d13 | static/js/reddit2kindle.js | static/js/reddit2kindle.js | $(function () {
$('#single').submit(function (event) {
event.preventDefault();
$(':submit').button('loading')
$.post('/thread', {
submission: $('input[name="submission"]').val(),
email: $('input[name="email"]').val()
})
.done(function (data) {
... | var csrftoken = $('input[name=csrf_token]').attr('value');
$.ajaxSetup({
beforeSend: function (xhr, settings) {
if (!/^(GET|HEAD|OPTIONS|TRACE)$/i.test(settings.type) && !this.crossDomain) {
xhr.setRequestHeader("X-CSRFToken", csrftoken)
}
}
});
$(function () {
$('#single').sub... | Add CSRF token to JS POST header | Add CSRF token to JS POST header
| JavaScript | mit | JamieMagee/reddit2kindle,JamieMagee/reddit2kindle |
3c872f80bc041bb6a12c1b9e263cd69c7b3de726 | index.js | index.js | /**
* Sample project code
*/
class Person {
constructor () {
this.name = "annonymous"
this.age = 20
}
hello () {
return `Hello! I'm ${ this.name }! I'm ${ this.age } years old.`
}
get nextage () {
return this.age + 1
}
}
module.exports = {
Person: Person
} | /**
* Sample project code
*/
class Person {
constructor () {
this.firstname = ""
this.lastname = ""
this.age = 20
}
hello () {
return `Hello! I'm ${ this.fullname }! I'm ${ this.age } years old.`
}
get nextage () {
return this.age + 1
}
get fullname () {
if (this.firstname =... | Change Person.name to firstname and lastname | Change Person.name to firstname and lastname
| JavaScript | mit | nid-horih/sample-project |
4fc0489b550e48efc9d95d1cf7ac03f9d82eedcd | server/public/scripts/services/bio.factory.js | server/public/scripts/services/bio.factory.js | app.factory('BioFactory', ['$http', function($http){
console.log('BioFactory running');
var mentorInfo = {};
var mentors = {};
var mentor = {};
function getMentors(newSearch){
console.log("NEW SEARCH:", newSearch);
var newSearchString = JSON.stringify(newSearch);
return $http({
method: ... | app.factory('BioFactory', ['$http', function($http){
console.log('BioFactory running');
var mentors = {};
var mentorBio = {};
// gets all the mentors that match the newSearch selected fields
function getMentors(newSearch){
console.log("NEW SEARCH:", newSearch);
var newSearchString = JSON.stringify(... | Change mentor to mentorBio to fix bug | Change mentor to mentorBio to fix bug
| JavaScript | mit | STEMentor/STEMentor,STEMentor/STEMentor |
34120e47268354d025e45cfdb1cb798d0d1385ac | packages/facebook-oauth/package.js | packages/facebook-oauth/package.js | Package.describe({
summary: "Facebook OAuth flow",
version: "1.7.1"
});
Package.onUse(api => {
api.versionsFrom('1.11.1');
api.use('ecmascript', ['client', 'server']);
api.use('oauth2', ['client', 'server']);
api.use('oauth', ['client', 'server']);
api.use('http', ['server']);
api.use('random', 'clien... | Package.describe({
summary: "Facebook OAuth flow",
version: "1.7.1"
});
Package.onUse(api => {
api.use('ecmascript', ['client', 'server']);
api.use('oauth2', ['client', 'server']);
api.use('oauth', ['client', 'server']);
api.use('http', ['server']);
api.use('random', 'client');
api.use('service-configu... | Support all arguments of OAuth._redirectUri | Support all arguments of OAuth._redirectUri
| JavaScript | mit | Hansoft/meteor,Hansoft/meteor,Hansoft/meteor,Hansoft/meteor,Hansoft/meteor,Hansoft/meteor,Hansoft/meteor |
1c8d394c73f697452dd88b762b59c394cf7be30e | Gruntfile.js | Gruntfile.js | module.exports = function( grunt ) {
"use strict";
grunt.initConfig({
bump: {
options: {
files: [ "package.json" ],
// Commit
commit: true,
commitMessage: "Release v%VERSION%",
commitFiles: [ "package.json" ],
... | module.exports = function( grunt ) {
"use strict";
grunt.initConfig({
bump: {
options: {
files: [ "package.json" ],
// Commit
commit: true,
commitMessage: "Release v%VERSION%",
commitFiles: [ "package.json" ],
... | Change order of test declarations | Change order of test declarations
| JavaScript | mit | jscs-dev/grunt-jscs,BridgeAR/grunt-jscs,markelog/grunt-checker |
c6871612f4a2443712395aa76096f35523f21960 | config/webpack.loaders.js | config/webpack.loaders.js | module.exports = [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loader: 'babel',
},
{
test: /\.scss$/,
exclude: /node_modules/,
loaders: ['style', 'css', 'postcss', 'sass']
},
{
test: /\.sass$/,
exclude: /node_modules/,
loaders: ['style', 'css', 'postcs... | module.exports = [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loader: 'babel',
},
{
test: /\.scss$/,
exclude: /node_modules/,
loaders: ['style', 'css', 'postcss', 'sass']
},
{
test: /\.sass$/,
exclude: /node_modules/,
loaders: ['style', 'css', 'postcs... | Fix error from importing css from node_modules | (config): Fix error from importing css from node_modules
| JavaScript | mit | AdamSalma/Lurka,AdamSalma/Lurka |
b573b3206175bbbfb4e3e61b312b098c8b09059d | app/components/exp-player/component.js | app/components/exp-player/component.js | import Ember from 'ember';
import ExpPlayer from 'exp-player/components/exp-player/component';
export default ExpPlayer.extend({
// Show an early exit modal (return non-empty string), but only with browser default message- don't require translation of custom text.
messageEarlyExitModal: ' ',
currentUser: ... | import Ember from 'ember';
import ExpPlayer from 'exp-player/components/exp-player/component';
export default ExpPlayer.extend({
// Show an early exit modal (return non-empty string), but only with browser default message- don't require translation of custom text.
messageEarlyExitModal: ' ',
currentUser: ... | Fix race condition that prevented session from being marked as complete | Fix race condition that prevented session from being marked as complete
Ember actions are fire and forget (unless using closure actions + return values).
So when the frame next/save action happened, it had the effect of saving the frame payload before the flag got set. This changes the order: it marks the session as... | JavaScript | apache-2.0 | CenterForOpenScience/isp,CenterForOpenScience/isp,CenterForOpenScience/isp |
b9bfdb34bf6b3b7d24052d28d87c8cfc3b0152de | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
sourcemap: 'none'
},
files: {
'test/hocus-pocus.css': 'hocus-pocus.sass'
}
}
},
autoprefixer: {
no_dest: {
... | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
sourcemap: 'none'
},
files: {
'test/hocus-pocus.css': 'hocus-pocus.sass'
}
}
},
autoprefixer: {
no_dest: {
... | Enable livereload in grunt watch | Enable livereload in grunt watch
| JavaScript | mit | bkzl/hocus-pocus |
6ee5985f5ac2af5fee4a115637c543aaa7d1ee4e | e2e/e2e.conf.js | e2e/e2e.conf.js | // An example configuration file.
exports.config = {
// The address of a running selenium server.
seleniumAddress: 'http://localhost:4444/wd/hub',
// Capabilities to be passed to the webdriver instance.
capabilities: {
'browserName': 'chrome'
},
// URL of the app you want to test.
baseUrl: 'http://localhost:8000/',
... | // An example configuration file.
exports.config = {
// The address of a running selenium server.
seleniumAddress: 'http://localhost:4444/wd/hub',
// Capabilities to be passed to the webdriver instance.
capabilities: {
'browserName': 'chrome'
},
// URL of the app you want to test.
baseUrl: 'http://localhost:8000/',
... | Add some testing code for the product lookup operations, both from the index and from the individual product pages. | Add some testing code for the product lookup operations, both from
the index and from the individual product pages.
| JavaScript | agpl-3.0 | TomDataworks/angular-inventory,TomDataworks/angular-inventory |
3c90ff89feedb0671f34bdc452500b6d444318e7 | public/javascripts/angular-app/app.js | public/javascripts/angular-app/app.js | var apiFactoryApp = angular.module("APIFactoryWeb", ["ngRoute", "Shared", "Main", "Entities"]);
apiFactoryApp.config(['$routeProvider',
function($routeProvider) {
$routeProvider.
when('/entities', {
templateUrl: 'partials/entities.partial.html',
controller: 'Enti... | var apiFactoryApp = angular.module("APIFactoryWeb", ["ngRoute", "Shared", "Main", "Entities"]);
apiFactoryApp.config(['$routeProvider',
function($routeProvider) {
$routeProvider.
when('/entities', {
templateUrl: 'partials/entities.partial.html',
controller: 'Enti... | Fix added for faster animation. Conflict with modals not showing up resolved. | Fix added for faster animation. Conflict with modals not showing up resolved.
| JavaScript | mit | manthanhd/flow2-api-manager,manthanhd/flow2-api-manager |
9a2c863921eeb9c87b6bfaf1285626ae9ecedd35 | plugins/livedesk/gui-resources/scripts/js/manage-feeds/services/chained-blogs-data.js | plugins/livedesk/gui-resources/scripts/js/manage-feeds/services/chained-blogs-data.js | define([
'angular',
'lib/livedesk/scripts/js/manage-feeds/manage-feeds',
'lib/livedesk/scripts/js/manage-feeds/services/providers-blogs-data',
'lib/livedesk/scripts/js/manage-feeds/services/all-blog-sources'
],function(ngular, feeds){
feeds.factory('chainedBlogsData', ['$http', '$q','providersBlogsData'... | define([
'angular',
'lib/livedesk/scripts/js/manage-feeds/manage-feeds',
'lib/livedesk/scripts/js/manage-feeds/services/providers-blogs-data',
'lib/livedesk/scripts/js/manage-feeds/services/all-blog-sources'
],function(ngular, feeds){
feeds.factory('chainedBlogsData', ['$http', '$q','providersBlogsData'... | Check on admin all POST, PUT, DELETE URLs to use my | LB-1458: Check on admin all POST, PUT, DELETE URLs to use my
Cleared a console.log
| JavaScript | agpl-3.0 | vladnicoara/SDLive-Blog,superdesk/Live-Blog,superdesk/Live-Blog,superdesk/Live-Blog,superdesk/Live-Blog,vladnicoara/SDLive-Blog,vladnicoara/SDLive-Blog |
4ae7c47ca7a8edc9f1a3477ffe03b2880dfa1965 | test/scriptsToHTML-test.js | test/scriptsToHTML-test.js | import expect from 'expect'
import scriptsToHTML from '../src/utils/scriptsToHTML'
describe('scriptsToHTML', () => {
it('converts a scripts object into an HTML string', () => {
const scripts = [
'string.js',
Object.create({ foo: 'bar' }, { src: { value: 'Test.js', enumerable: true } }),
{ src: ... | import expect from 'expect'
import scriptsToHTML from '../src/utils/scriptsToHTML'
describe('scriptsToHTML', () => {
it('converts a scripts object into an HTML string', () => {
function ProtoTest() {}
ProtoTest.prototype = { foo: 'bar' }
const scripts = [
'string.js',
Object.assign(new Proto... | Fix scriptsToHTML prototype test to work in IE | Fix scriptsToHTML prototype test to work in IE
| JavaScript | mit | chromakode/isolated-core,chromakode/isolated-core,chromakode/isolated-core |
bb1b9849adee3a42b87e1a8805b65d3141a0bb20 | entry_types/scrolled/package/src/contentElements/inlineBeforeAfter/editor.js | entry_types/scrolled/package/src/contentElements/inlineBeforeAfter/editor.js | import {editor} from 'pageflow-scrolled/editor';
import {ColorInputView, FileInputView} from 'pageflow/editor';
import {SliderInputView, TextInputView} from 'pageflow/ui';
editor.contentElementTypes.register('inlineBeforeAfter', {
supportedPositions: ['inline'],
configurationEditor() {
this.tab('general', fun... | import {editor} from 'pageflow-scrolled/editor';
import {ColorInputView, FileInputView} from 'pageflow/editor';
import {SliderInputView, TextInputView} from 'pageflow/ui';
editor.contentElementTypes.register('inlineBeforeAfter', {
supportedPositions: ['inline', 'sticky', 'left', 'right', 'full'],
configurationEdi... | Allow more position options for before/after | Allow more position options for before/after
REDMINE-19176
| JavaScript | mit | codevise/pageflow,tf/pageflow,codevise/pageflow,tf/pageflow,tf/pageflow,codevise/pageflow,codevise/pageflow,tf/pageflow |
5348063770e60558ea1266c3ec31d03d0b2f189e | lib/lnsr.js | lib/lnsr.js | const queue = require('./queue.js');
const error = require('./error.js');
const filter = require('./filter.js');
const passFilter = require('./filters/pass.js');
const blockFilter = require('./filters/block.js');
const hostFilter = require('./filters/host.js');
const protocolFilter = require('.filters/protocol');
const... | const queue = require('./queue.js');
const error = require('./error.js');
const filter = require('./filter.js');
const passFilter = require('./filters/pass.js');
const blockFilter = require('./filters/block.js');
const hostFilter = require('./filters/host.js');
const protocolFilter = require('.filters/protocol');
const... | Add simple path filter to lib | Add simple path filter to lib
| JavaScript | mit | matths/lnsr |
e239616968f4ac8bca284ccb1f29a5d1edac69cc | app/assets/javascripts/components/ElementCollectionLabels.js | app/assets/javascripts/components/ElementCollectionLabels.js | import React from 'react';
import {Label} from 'react-bootstrap';
export default class ElementCollectionLabels extends React.Component {
constructor(props) {
super(props);
this.state = {
element: props.element
}
}
render() {
return (
<div>
{this.collectionLabels(this.state.el... | import React from 'react';
import {Label, OverlayTrigger, Popover} from 'react-bootstrap';
export default class ElementCollectionLabels extends React.Component {
constructor(props) {
super(props);
this.state = {
element: props.element
}
}
render() {
return (
<div>
{this.colle... | Add a compact collection label view and popup details on hover | Add a compact collection label view and popup details on hover
| JavaScript | agpl-3.0 | ComPlat/chemotion_ELN,ComPlat/chemotion_ELN,ComPlat/chemotion_ELN,ComPlat/chemotion_ELN |
8f6160a99ac79eb37804fd8eb4cc64d15cea6f4f | src/reports/base/currencyDirective.js | src/reports/base/currencyDirective.js | /**
* Created by rerobins on 10/6/15.
*/
var CurrencyDirectiveGenerator = function(formatters) {
return {
scope: {
value: '&'
},
template: '<span ng-style="style">{{currencyValue}}</span>',
link: function($scope) {
if ($scope.value() > 0.0) {
... | /**
* Created by rerobins on 10/6/15.
*/
var CurrencyDirectiveGenerator = function(formatters) {
return {
scope: {
value: '&'
},
template: '<span ng-style="style">{{currencyValue}}</span>',
link: function($scope) {
$scope.currencyValue = formatters.currency... | Update currency directive to render 0's | Update currency directive to render 0's
| JavaScript | bsd-3-clause | MeerkatLabs/gnucash-reporting-view,MeerkatLabs/gnucash-reporting-view |
b647cfdd300f1ad1a11c68d3b769914092dbc735 | src/javascript/binary/pages/trade/currency.js | src/javascript/binary/pages/trade/currency.js | /*
* Handles currency display
*
* It process 'socket.send({payout_currencies:1})` response
* and display them
*/
function displayCurrencies(selected) {
'use strict';
var target = document.getElementById('currency'),
fragment = document.createDocumentFragment(),
currencies = JSON.parse(ses... | /*
* Handles currency display
*
* It process 'socket.send({payout_currencies:1})` response
* and display them
*/
function displayCurrencies(selected) {
'use strict';
var target = document.getElementById('currency'),
fragment = document.createDocumentFragment(),
currencies = JSON.parse(ses... | Fix payout currencies in Trading page | Fix payout currencies in Trading page
| JavaScript | apache-2.0 | junbon/binary-static-www2,junbon/binary-static-www2 |
6e74bc9ba2e74c63653b0d900c53bc5fed450434 | src/amanda.js | src/amanda.js | var Amanda = function(engine) {
if (!hasProperty(engines, engine)) {
throw new Error('The ‘' + engine + '’ engine is not supported. Please use a different one.');
}
return engines[engine];
};
/**
* Amanda.validate
*
* This method is deprecated, please use ‘amanda('json').validate’ instead.
*/
Amanda.v... | var amanda = function(engine) {
if (!hasProperty(engines, engine)) {
throw new Error('The ‘' + engine + '’ engine is not supported. Please use a different one.');
}
return engines[engine];
};
/**
* Amanda.validate
*
* This method is deprecated, please use ‘amanda('json').validate’ instead.
*/
amanda.v... | Convert the export variables to lowercase | Convert the export variables to lowercase
| JavaScript | mit | Baggz/Amanda,apiaryio/Amanda,apiaryio/Amanda |
7f8742f385414a76a76bee580aeee868e63609ce | ember/app/components/comments-list.js | ember/app/components/comments-list.js | import Component from '@ember/component';
import { inject as service } from '@ember/service';
import { task } from 'ember-concurrency';
export default class CommentsList extends Component {
tagName = '';
@service account;
@service ajax;
addCommentText = '';
@(task(function* () {
let id = this.flightI... | import Component from '@ember/component';
import { inject as service } from '@ember/service';
import { tracked } from '@glimmer/tracking';
import { task } from 'ember-concurrency';
export default class CommentsList extends Component {
tagName = '';
@service account;
@service ajax;
@tracked addCommentText = ... | Use `@tracked` property instead of `this.set()` | CommentsList: Use `@tracked` property instead of `this.set()`
| JavaScript | agpl-3.0 | skylines-project/skylines,skylines-project/skylines,skylines-project/skylines,skylines-project/skylines |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.