blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
132
path
stringlengths
3
236
src_encoding
stringclasses
29 values
length_bytes
int64
8
7.94M
score
float64
2.52
5.72
int_score
int64
3
5
detected_licenses
listlengths
0
142
license_type
stringclasses
2 values
text
stringlengths
8
7.94M
download_success
bool
1 class
a50b6faf3d9b4aac00d983c638a61f9a83d396c7
JavaScript
arturacm/ResilinhaFlix
/InfoDeFilme/InfoDeFilme.js
UTF-8
1,255
2.828125
3
[]
no_license
let btn = document.getElementById("botao1") //tirando o botao e document.addEventListener("DOMContentLoaded", function () { // console.log(localStorage.getItem("movieID")) //let input = document.getElementById("input").value let input = localStorage.getItem("movieID") let url = "https://www.omdbapi.co...
true
0395b0243537b51f916ae93c35b419f36cf3f37e
JavaScript
leohliao/interview_study_guide
/hackerrank/longest_streak_of_decreasing.js
UTF-8
193
3.171875
3
[ "CC-BY-4.0" ]
permissive
// """ // Find the longest streak of decreasing numbers in a given array. // [1,2,4,3,-1,-5,0,9,7,6] -> 4 // [1,2,3,4] -> 1 // Max len of array - 10k // Smallest 4 // [] // input // """
true
9c9fe8c15f995da1cec4780cdeaf7d4d8d7931c6
JavaScript
guias12/guias12.github.io
/script.js
UTF-8
1,160
3.21875
3
[]
no_license
const selectAll = (s) => document.querySelectorAll(s); let currentLanguage = 'english'; let flagImages = selectAll('.flag'); let englishElements = selectAll('.english'); let portugueseElements = selectAll('.portuguese'); flagImages = [...flagImages] englishElements = [...englishElements] portugueseElements = [...portug...
true
1fb361e7c08e131fc65e84818aed0a64cccb4649
JavaScript
inwenc/Ying_Service_Photos
/db/listingTableDataGenerator.js
UTF-8
1,000
3
3
[ "MIT" ]
permissive
const faker = require ('faker'); const fs = require ('fs'); const file = fs.createWriteStream('./listingTableData.csv') function createRandomNum () { var randomNumForImageFetch = 100 + Math.floor(Math.random() * 100); return randomNumForImageFetch; } function createDataSetPerRow (id, queryId) { var dataString...
true
ecff3f1d80ef0d0ddf9ad015abccc0a0cdbeba9e
JavaScript
rileyzzz2/rileyzzz2.github.io
/projects/gameproject/js/interface.js
UTF-8
1,464
2.640625
3
[]
no_license
var allowInput = false; var bMoveForward = false; var bMoveBackward = false; var bMoveRight = false; var bMoveLeft = false; var bDrift = false; function ProcessInput (key, state) { if(!allowInput) return; switch(event.key) { case "w": case "ArrowUp": bMoveForward = state; ...
true
b7ed4528c3c1b5e3657dc73dd6e80fa307f4b441
JavaScript
Nowan/daemonis
/src/helper/ClippedArea.js
UTF-8
556
3.09375
3
[]
no_license
/* Extended Phaser Group which clips all overflowing elements. */ function ClippedArea(game, width, height) { Phaser.Group.call(this, game); // draw rectangle that would serve as a mask for clipped area var maskGraphics = game.add.graphics(0, 0); maskGraphics.lineStyle(0); maskGraphics.beginFill(...
true
775ea166edcfd564d9c86da5a2ca96cda0b290df
JavaScript
coalescejs/coalesce-ember
/src/promise.js
UTF-8
1,231
3.03125
3
[ "MIT" ]
permissive
/** A `ModelPromise` is an object that acts like both an `Ember.Object` and a promise. When the promise is resolved the the resulting value will be set to the `ModelPromise`'s `content` property. This makes it easy to create data bindings with the `ModelPromise` that will be updated when the promise resolves....
true
f16e50a3466033152699b6eafe45c051c7b3aa60
JavaScript
283arni/649599-cinemaddict-11
/src/utils/filter.js
UTF-8
696
2.515625
3
[]
no_license
import {NavItem} from '../consts'; const getWatchlistMovies = (movies) => { return movies.filter((movie) => movie.activedWatchlist); }; const getWatchedMovies = (movies) => { return movies.filter((movie) => movie.activedWatched); }; const getFavoriteMovies = (movies) => { return movies.filter((movie) => movie....
true
3720327aa8b314c8de59e528c3f2e6218ff33ade
JavaScript
rbuckton/ecmarkdown
/lib/EcmarkupEmitter.js
UTF-8
2,032
2.703125
3
[ "WTFPL" ]
permissive
'use strict'; const Emitter = require('./Emitter'); module.exports = class EcmarkupEmitter extends Emitter { emitDocument(document) { document.contents.forEach(p => this.emitNode(p)); } emitAlgorithm(algorithm) { this.str += '<emu-alg>'; this.emitOrderedList(algorithm.contents); th...
true
94567beb4cda67a9d76fd5e35aada7ff62b48f7e
JavaScript
V-Yeshwanth/JS-Quiz-App-with-Timer
/app.js
UTF-8
7,243
2.625
3
[]
no_license
const start_btn = document.querySelector('.start'); const rules_box = document.querySelector('.quiz-rules-block'); const exit_btn = rules_box.querySelector('.exit'); const continue_btn = rules_box.querySelector('.continue'); const quiz_box = document.querySelector('.quiz-box'); const time_sec = quiz_box.querySelector('...
true
07f746856e1372b87782acdb685372731381decd
JavaScript
demiribr/Flood-Map-WebGL
/6/main.js
UTF-8
30,660
2.59375
3
[]
no_license
var map; var canvasLayer; var gl; var pointProgram; var pointArrayBuffer, squareVertexPositionBuffer; var RegionCoords0 = []; ...
true
763f1466969a7ab3cdc10b7ece047cb4d407f53f
JavaScript
myakura/pwasamples
/homescreen-2/js/register-sw.js
UTF-8
484
2.546875
3
[]
no_license
"use strict"; const SERVICE_WORKER_PATH = `/homescreen-2/serviceworker.js`; function registerServiceWorker() { if (!('serviceWorker' in navigator)) { return } navigator.serviceWorker.register(SERVICE_WORKER_PATH) .then(registration => { console.log(`sw: registration succeeded`); console.dir(registratio...
true
f1d2040e1b7442fbef21d9cfdcfd2b391070574f
JavaScript
xnastia/osf-academy-anastasiia-prygun
/models/user.js
UTF-8
2,203
2.671875
3
[]
no_license
// require the needed modules const mongoose = require('mongoose'); const bcrypt = require('bcryptjs'); const crypto = require('crypto'); const Schema = mongoose.Schema; /** With mongoose, everything is derived from the schema. We have a Schema below with email, password, profile, address, history properties */ const...
true
bb399419c01d39c69ce71d4389c4061e5612fbb0
JavaScript
AndrewSlobodianiuk/GOIT_JS
/module_5_6/script.js
UTF-8
9,934
3.515625
4
[]
no_license
"use strict"; // Почему ООП? // Какой смысл несет фраза ООП в расшифровке? // -------------------------- // const user = { // name: "Andrew", // age: 29, // sayName: function () { // console.log(this.name); // }, // }; // user.sayName(); // ----------------------------- // const logger = { // console:...
true
979c2342a7a77a6e0cb14c9d3379cd9ff118d967
JavaScript
OsamaBentaib/ecommerce
/client/src/base/store/reducers/address.js
UTF-8
2,381
2.921875
3
[]
no_license
import * as actionTypes from "../actions/actionTypes"; import { updateObject } from "../utility"; const initialState = { addresses: [], error: null, loading: false, addAddressLoading: false, addAddressSuccess: false, }; // GET ADDRESS ITEMS const addressStart = (state, action) => { return updat...
true
4c790f4ed999b155ab73121ba938fc922991b866
JavaScript
JohandroG/Likes_JG
/6- Likes/Part 2/JS/index.js
UTF-8
595
3.265625
3
[]
no_license
function increaselikes1(){ let numberin = document.querySelector('.num1'); let numberLikes = parseInt(numberin.innerHTML); numberLikes += 1; numberin.innerHTML = numberLikes; } function increaselikes2(){ let numberin = document.querySelector('.num2'); let numberLikes = parseInt(numberin....
true
0899c08fa62a0f2d7af27e9cac05a75e229942d6
JavaScript
readr-media/readr-site
/src/constants/pointsIntro.js
UTF-8
4,675
2.765625
3
[ "MIT" ]
permissive
export function createPointsIntroContent (memberCenter = 'member') { return [ ` <h1>為什麼有 READr 點數?</h1> <p>READr 團隊在封測時,聽到好多讀者說明想要贊助以及小額付款加入編輯室。</p> <p>因此我們想到最簡單的小額付款方式,就是採用「READr 點數」來作為消費紀錄,並且讓支持 READr 的你,可以先消費後付款,無負擔的閱讀體驗。</p> `, ` <h1>READr 點數是什麼?</h1> <p>在 READr 你可以使用點數,閱...
true
2c1c895284c2abddb6923305102362684f5054d5
JavaScript
Bugro/ForPhoneGap
/js/getInstructor.js
UTF-8
1,463
2.890625
3
[]
no_license
$( document ).ready(function() { getDBTable("instructor", 2, function(instructor) { if (typeof instructor == 'string' || instructor instanceof String) { console.log("Error while getting database data"); } else { var instructorList=""; for(var i=0;i<instructor.len...
true
1c234e90a2a8290462a9d737699f712e8b7a1266
JavaScript
fluke-tracker/fluke-tracker
/src/utils/Cookies.js
UTF-8
714
2.734375
3
[ "MIT" ]
permissive
export default { create(name, value, seconds) { let expires = ''; if (seconds) { let date = new Date(); date.setTime(date.getTime() + seconds); expires = `; expires=${date.toUTCString()}`; } document.cookie = `${name}=${value}${expires}; path=/`; return true; }, read(name...
true
3860913bdb0d8041edff2e63aacef47708596d0f
JavaScript
mkalakota/angular-snakes-ladder
/app/utils.js
UTF-8
2,307
2.5625
3
[ "MIT" ]
permissive
angular.module('snakes-ladder') .factory('slCreateSpaces', function () { 'use strict'; return function (rowsNumber, columnsNumber) { var rowIdx, columnIdx, row, space, spaces = [], totalSpaces = rowsNumber * columnsNumber; for ...
true
6022f7f3559fd05316ec14a99b2d1388bb852238
JavaScript
darkterbear/advent-of-code
/2018/day-9/part1.js
UTF-8
968
3.21875
3
[ "MIT" ]
permissive
const highestPoints = 7091800 const numPlayers = 464 let marbles = [0, 1] let currentMarble = 1 let players = Array.from({ length: numPlayers }, () => 0) let currentPlayer = 0 for (let i = 2; i <= highestPoints; i++) { if (i % 23 === 0) { currentPlayer++ if (currentPlayer >= players.length) currentPlayer = 0 ...
true
df8797d0c8416abd0212d4a52c4ba6e8416e83be
JavaScript
FlorenciaBazan/discordbot
/index.js
UTF-8
1,375
2.625
3
[]
no_license
const Discord = require ("discord.js"); const client = new Discord.Client; const config = require ("./config.json"); require('custom-env').env('development') var prefix = config.prefix; client.on("ready", () => { console.log(`${client.user.username} esta preparado!`); client.user.setActivity("Este es el est...
true
c9d8ccfff8f658d6e253004f787a984cf72e997d
JavaScript
CarlosBonfim/Curso
/Array/foreach1.js
UTF-8
390
3.8125
4
[]
no_license
const aprovados = ['AAAA','BBB','CCCCC','DDDDDD'] aprovados.forEach(function(nome, indice){//crio uma função e passso os parametros console.log(`${indice + 1} ${nome}`)//exibo o nome e o indice }) aprovados.forEach(nome => console.log(nome))//uma arrow function que apenasd exibe o nome const exibirAprovados = apr...
true
52c69d8fdd18df60703b475efe9daace8a7e79bd
JavaScript
usiddiqui2209/Spatial-Hashing-Algorithm
/App.js
UTF-8
1,390
3.0625
3
[ "MIT" ]
permissive
import Canvas from './Canvas'; import GridController from './GridController'; import ParticleController from './ParticleController'; /** * @class App */ class App { constructor() { // Define app config parameters const numParticles = 50; // Define canvas config parameters const canvasWidth = 800;...
true
3eb2b9d30930f0aa128815d06e7f67b18559cbce
JavaScript
dcapeans/linkr
/src/components/sign-up/SignUp.js
UTF-8
2,281
2.515625
3
[]
no_license
import MainContainer from "./MainContainer"; import PagePresentation from "./PagePresentation"; import FormContainer from "./FormContainer"; import React, { useState } from 'react'; import axios from "axios"; import { Link, useHistory } from "react-router-dom"; export default function SignUp(){ const [email, setE...
true
a17f83d559cbb494b277ea371c5ac0dbb0ad9094
JavaScript
bbbbbj/baiduIFE
/小薇学院/任务七/js/script.js
UTF-8
1,743
2.546875
3
[]
no_license
window.onload = function(){ var oBody = document.getElementsByClassName('body')[0]; var searchMap = document.getElementById('search-map'); var oProvince = searchMap.getElementsByClassName('province'); var searchSelect = searchMap.getElementsByClassName('search-select'); var oLayer = document.getElementById('layer'...
true
ed380e95b1b7fcc865fa3b6bd3e573a3e92db58b
JavaScript
stegano/AVM
/test/Model.spec.js
UTF-8
2,797
2.65625
3
[]
no_license
var Model = require("../src/lib/framework/Model.js"); var expect = require("chai").expect; describe("`Model` 테스트", function () { var testModel = null; it("Model 객체 생성", function () { testModel = new Model(); expect(testModel).to.instanceOf(Model); }); it("데이터 입력, 가져오기", function () { var expected =...
true
f6bd59b4523cc1a047506c6419f58cebbf7c7094
JavaScript
SoftDevAndy/pubgstatviewer
/public/libs/tracker.js
UTF-8
2,331
3.265625
3
[ "MIT" ]
permissive
$(document).ready(function(){ $("#one").val("Player One"); $("#two").val("Player Two"); $("#three").val("Player Three"); $("#four").val("Player Four"); loadingBar(0); var retrieving = 0; function getStatistics(){ retrieving = 1; loadingBar(1); var url = "/stats?"; var first = 0; var empty = 0; ...
true
1206f065d11253d0229088dd1998d4c38db8843f
JavaScript
epulskyyy/side-bar
/src/utils/localStorage.js
UTF-8
2,185
2.65625
3
[]
no_license
import jwt from 'jwt-simple'; export const loadState = () => { try { const tokenRememberMe = localStorage.getItem('_id'); const serializedState = localStorage.getItem('state'); const tokenRememberMe2 = sessionStorage.getItem('_id'); const serializedState2 = sessionStorage.getItem('state'); let us...
true
f5ca618e63b7fd48f27a417de383527a24648266
JavaScript
gselenium/ProtractorDemo
/tests/iframhandling.js
UTF-8
881
2.515625
3
[]
no_license
describe('Handling IFrames', function () { it('Handling IFrames', function () { browser.ignoreSynchronization = true; browser.get("https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_submit_get"); element.all(by.tagName('iframe')).each(function (frame) { // console.log...
true
c72d8de80bc3e15a8e2ade2a13f6c68105921716
JavaScript
javascriptDC/payroll-panda
/API-demo/utils/routes.js
UTF-8
1,256
2.609375
3
[]
no_license
'use strict'; const playerHelper = require('../helpers/players'); class Routes{ constructor(app){ this.app = app; } /* creating app Routes starts */ appRoutes(){ /** * Route /players RESTful APIs */ this.app.get('/api/players', function(req, res){ playerHelper.getPlayers(req.query, function(r...
true
b161bf9d79ef96699a402d652286c9bd6651b6dc
JavaScript
gsovatzis/Javascript
/AJAX-tests/scripts/functions.js
UTF-8
5,767
3.234375
3
[]
no_license
// This is my POSTMAN mock server url const apiURL = "https://2a5c62f2-cc81-45cf-aa5a-c891a07e7159.mock.pstmn.io"; // Initialize button callbacks document.getElementById("getUsers").addEventListener('click', getUsers); document.getElementById("getUser").addEventListener('click', getUser); document.getElementById...
true
924d1999abac32c1671362a64cf9e2d2facbbeac
JavaScript
shubhangitaneja/common-js-problems
/array.js
UTF-8
2,576
4.0625
4
[]
no_license
// Space complexity: O(n) // Time complexity: O(n) function flattenArrayRecursive1(arr) { const flatArray = []; for (const item of arr) { if (Array.isArray(item)) { flatArray.push(...flattenArray(item, flatArray)); } else { flatArray.push(item); } } return flatArray; } function flattenA...
true
1576e621a301ec7ad269b912b1c4b9c21ef1c6aa
JavaScript
JonasFreireAlcantara/blogs-for-everyone-frontend
/src/lib/date.js
UTF-8
499
3.34375
3
[]
no_license
const monthsPortuguese = { 0: "Janeiro", 1: "Fevereiro", 2: "Março", 3: "Abril", 4: "Maio", 5: "Junho", 6: "Julho", 7: "Agosto", 8: "Setembro", 9: "Outubro", 10: "Novembro", 11: "Dezembro" }; function formatDate(dateString) { const elementsOfDate = dateString.split("/"); const day = element...
true
21d5e6535dfa4e4478d13c0b39b504dedb6093ba
JavaScript
chjalmar/PromiseConcat
/myExample.js
UTF-8
3,337
3.078125
3
[]
no_license
var fs = require("fs"); var request = require('request'); //Setting some general scope variables for flow control, and in order //to avoid private scope problems since this script generates only one general result var pagina = 0; var respuesta = ""; //'total' array will contain all the results from all different requ...
true
b3e930015470c0e2a0705b3c7a090cd2a4c2844a
JavaScript
matman-engee/trade-audit
/www/static/js/get-data-nueva-auditoria.js
UTF-8
2,493
2.515625
3
[ "MIT" ]
permissive
var viewModel = null; function ViewModel(data){ var self = this; self.currentUser = ko.observable(1); self.regions = ko.observableArray( $.map( data.regions || [], function(data){return new Region(data)}) ); self.selectedRegionId = ko.observable(); self.selectedRegion = ko.computed(function(){ return $.map( se...
true
0a53912de50c14dff4e8fa68d0e62a2f81618943
JavaScript
crimsonbelvedere/soen3412011
/mockup/js/Api.js
UTF-8
2,048
3.421875
3
[]
no_license
function FindFirstMondayOfTheWeek() { //set the day of the calendar to monday var d = new Date(); var DayNumber = d.getDay(); var DateNumber = d.getDate(); var MonthNumber = d.getMonth()+1; var YearNumber = d.getFullYear(); var FirtMondayOfThisWeek; //DateNumber=19; //DayNumber=6; //alert(YearNu...
true
9097b81ec318155e492246e01231189db50e6849
JavaScript
SDC-RPP29-sequoia/atelier-questions-answers
/server/routeHelpers.js
UTF-8
1,563
2.71875
3
[]
no_license
const filterOutReportedQuestions = (doc) => { let questions = []; for (let i = 0; i < doc.questions.length; i ++) { let question = doc.questions[i]; const answers = filterOutReportedAnswers(question); if (question.reported === 0) { try { questions.push({ 'question_id': question.i...
true
2c777b9ef67d2882612ea650ea6c9bb76c1fcb49
JavaScript
shailendrarijal/apps
/client/src/components/TimeNow.jsx
UTF-8
261
2.609375
3
[]
no_license
import React from "react"; function TimeNow(){ const hourNow = new Date().getHours(); const minNow = new Date().getMinutes(); const timeNow = `${hourNow}:${minNow}`; return ( <span>{timeNow}</span> ); } export default TimeNow;
true
05510d0f00bd2b2eb2e8304de8785b6833b80610
JavaScript
jsantias/POPme
/POPme/eventPage.js
UTF-8
2,107
3.015625
3
[]
no_license
// Set up context menu at install time. chrome.runtime.onInstalled.addListener(function() { var context = "all"; var title = "POP ME!"; //change me before submitting var id = chrome.contextMenus.create({"title": title, "contexts": [context], "id": "context" + context}); ...
true
b198ea49157bf97fc774d77d4133b04f818d2598
JavaScript
MoonWanki/octopusfantasy-mahjong
/src/Client/Mahjong/index.js
UTF-8
4,506
2.734375
3
[]
no_license
import React, { Component } from 'react' export default class Mahjong extends Component { state = { isInQueue: false, isMatchFound: false, isMatchAccepted: 0, // 1 (accpeted) | 0 (not chosen yet) | -1 (declined) isMatchSuccess: false, isGameStarted: false, connecte...
true
cfa3d8a8147102d9ee710c4f515acc5b6402dcd7
JavaScript
colletht/SpookyBot
/commands/shared_games.js
UTF-8
2,896
2.859375
3
[]
no_license
//for neater handling of nested callbacks const async = require('async'); const utils = require('../util'); //for access to our steam key require('dotenv').config(); //include steamapi for steam commands const steamAPI = require('steamapi'); const steam = new steamAPI(process.env.STEAM_API_KEY); const steamtools =...
true
84c31cb3e5c5b7d2233d91416bc955adf5d7077f
JavaScript
gourav-varma/CRUD-API
/index.js
UTF-8
715
2.625
3
[]
no_license
import express from "express"; import usersRoutes from "./routes/users.js"; // =The complete app lies within this. (app) const app = express(); const PORT = 5000; // app.use(bodyParser.json()); {deprecated} app.use(express.urlencoded({ extended: true })); app.use(express.json()); app.listen(PORT, () => console.l...
true
9449b0c95c26a9aee9c24ad93740f1903264263f
JavaScript
Max1Truc/golfbot
/challenges/10print/entries/doolittle/10print.js
UTF-8
105
2.515625
3
[]
no_license
i = 1 << 16; tp =''; while (i > 0) { tp+=(Math.random() <= 0.5) ? "/" : "\\"; i--; } console.log(tp);
true
605eb007fea61ec9be67761bb9386c949b169eac
JavaScript
AymanJabr/To-do-list-app
/src/clicking-events.js
UTF-8
5,779
2.515625
3
[ "MIT", "MIT-0" ]
permissive
/* eslint-disable import/no-cycle */ import createProject from './project-model'; import createTodo from './todo-model'; import app from './app-model'; import insertAllProjects from './dom-manipulation'; import insertModal from './modal'; /* eslint-enable import/no-cycle */ // console.log("app is in fact", app); cons...
true
b8e551936c8e93468c59b2675eedb1f11f0f55b0
JavaScript
michelle-mok/react-hotpot-bootcamp
/src/App.jsx
UTF-8
1,916
2.75
3
[]
no_license
import React, { useState } from 'react'; import axios from 'axios'; import Form from './components/inputs.jsx'; import ItemList from './components/itemList.jsx'; export default function App() { const [billName, setBillName] = useState(''); const [itemList, setItemList] = useState([]); const [peopleList, setPeopl...
true
8b93020afb8e66ec7e73f36d4105d28fdf4b7efa
JavaScript
huw12313212/RemoteLogServer
/Logger.js
UTF-8
300
2.609375
3
[]
no_license
var fs = require('fs'); var Logger = {}; module.exports = Logger; Logger.label = "Log"; Logger.log = function(str) { console.log("["+this.label+"]"+str); /* fs.appendFile('log.log', str+"\n", function (err) { if (err) { throw err; } });*/ } //Logger.log("test");
true
3641d14e58cc38b05ed59d174feab315c5eac4b6
JavaScript
rbrunge/mithril-kata
/kata_090_partial_views/src/MainView.js
UTF-8
1,505
2.53125
3
[]
no_license
import m from 'mithril'; import PartialView1 from './PartialView1'; import PartialView2 from './PartialView2'; import PartialView3 from './PartialView3'; import ModelStateView from './ModelStateView'; import Actions from './Actions'; export class MainView { constructor() { console.log("ctor", "MainView") ...
true
57d7da09627773c914fa8140b6a6435d9aa87afb
JavaScript
sgarza007/portfolio_refactored
/public/assets/js/rgb.js
UTF-8
2,987
3.65625
4
[]
no_license
function rgbMain(){ let squares = $(".square"); let rgbMessage = $("#rgbMessage"); let newColorsBtn = $("#newColors"); let easyBtn = $("#rgbEasy"); let hardBtn = $("#rgbHard"); let numOfSquares = 6; //assign a random RGB to each square setColor(squares); //pick an rgb to be the one...
true
ae174657ce19888aacad3da19d3a6a51bb63ecd1
JavaScript
nomoregrapes/faithcamp
/web/locations.js
UTF-8
1,973
2.6875
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
apibase = "http://www.livingwithdragons.com/maps/newday"; $(document).ready(function(){ //get data from local storage or online var ndSavedLocations = JSON.parse( localStorage.getItem('ndSavedLocations')); if (ndSavedLocations == null) { //if null, go get the data $.getJSON(apibase+'/_api_venues.php?', {year:...
true
cf24d87a2bf44844f060a8ce2cb873df7cc369c3
JavaScript
AnushaV1/mycollege
/static/js/app.js
UTF-8
5,549
2.640625
3
[]
no_license
const $showSingleCollege = $("#single-college"); $('.singlebtn').on("click","button", showCollegeForm); $('.notes-btn-div').on("click",".notes-btn", addTextField); $('.notes-btn-div').on("click",".add-field", addNotesBtn); $('body').on("click",".edit-field", changeNotesBtn); $('body').on("click",".edit-btn", editNotes...
true
5c80f1cd63d4fc72fdfc2c6a2a640a97af71d4cb
JavaScript
meixiann/projects
/insert.js
UTF-8
809
2.515625
3
[]
no_license
var express = require("express"); var app = express(); var db = require('./db'); var bodyParser = require('body-parser'); app.use(bodyParser.urlencoded({ extended: true })); module.exports = function(app){ app.post('/insert', function(req, res){ var id = req.body.id; var name = req.body.name; var age = req.body....
true
f0cce4911808f21714f7da7e68803e6ddd4ef010
JavaScript
WPPlugins/wp-pagescroll
/wp-pagescroll.js
UTF-8
2,728
2.890625
3
[]
no_license
//wp-pagescroll var scrolls= new Array();//to count how many scrolls we do scrolls.push(new Array(1,0));//we set manually the first page with 0 px //changing classes function getElementsByClassDustin(searchClass,node,tag) { //by http://www.dustindiaz.com/getelementsbyclass/ var classElements = new Array(); ...
true
fdb1ad356a72810aea92d75463f834d73e695763
JavaScript
aarnipavlidi/Biostack
/src/components/RegistrationScreen.jsx
UTF-8
8,825
2.8125
3
[]
no_license
// This project has been commented by Aarni Pavlidi, if you have any questions or suggestions with the code, // then please contact me by sending email at me@aarnipavlidi.fi <3 import React from 'react'; // Import "react" library's content for this component usage. import { Alert, View, ScrollView, Pressable, Text, St...
true
68a25dca05813f43548a1b767c7ee1d65d1a8b06
JavaScript
SeansXmasHack/todo-source
/web/src/js/myJs.js
UTF-8
674
2.796875
3
[]
no_license
var addItem = function() { var itemVal = $('#todoItem').val(); if(itemVal.length > 0){ //ajax $.ajax({ url:"/middleware/todos", contentType:"application/json", type:"POST", data:JSON.stringify({ item: itemVal }), dataType: 'json', success:function(data){ populateList(); } }...
true
fe54681452ceacec334cccc4f5789213eb598d53
JavaScript
julioruedass/ing_gasoline
/rutas/METODOS.js
UTF-8
1,711
2.9375
3
[]
no_license
//recorrer los datos //obtener base de datos const userli = document.querySelector('.user_li'); const setupUser =data => { if(data.length){ let html=``; data.forEach(doc => { const post =doc.data() console.log(user) const li= `<li class="list-group-item"> <h5>${doc.user_id}<...
true
bbd0becf8544129462765fc05df8f88c1bd1094f
JavaScript
rockhe168/JavaScript
/JavaScript/MyCode/闭包/demo1.js
UTF-8
205
2.75
3
[]
no_license
 function f1(){ var b = 99; add = function (){ b = b +1; }; function f2 (){ console.info(b); } return f2; } var result = f1(); //add(); result(); add(); result();
true
58a5a6011db0b79498d07bbc1af7181922e3eae5
JavaScript
serskine/DndUtilities
/app/src/main/res/raw/generate.js
UTF-8
11,518
2.828125
3
[]
no_license
function Monster() { return { name: "name", size: "medium", type: "humanoid", alignment: "unaligned", ac: "10", acType: "(natural)", maxHp: 5, hd: "1d8", speed: "30 ft", strength: 10, dexterity: 10, constitution: 10, ...
true
770e8db591efba0e82d166750c06c4b77fa61466
JavaScript
chinalijinglun/Mittes_Node
/models/category.js
UTF-8
2,469
2.53125
3
[ "MIT" ]
permissive
const db = require("../config/db"); const Sequelize = db.sequelize; const CategoryFirst = Sequelize.import("../services/categoryFirst.js"); const CategorySecond = Sequelize.import("../services/categorySecond.js"); class CategoryModel { static async createArticle(data) { return await CategoryFirst.create({ t...
true
911d5e3e611b07246f971af137a7d770c1491672
JavaScript
mfhbam/mfhbam.github.io
/js/script.js
UTF-8
4,742
2.765625
3
[]
no_license
'use strict'; // default variable for the deck var deck = {1:"./img/card1.jpg", 2:"./img/card2.jpg", 3:"./img/card3.jpg",4:"./img/card4.jpg",5:"./img/card5.jpg",6:"./img/card6.jpg",7:"./img/card7.jpg",8:"./img/card8.jpg", 9:"./img/card9.jpg", 10:"./img/card10.jpg", 11:"./img/card11.jpg", 12:"./img/card12.jp...
true
5b1e0a2554ad8d643a88f11c0f3259e2d01f7fca
JavaScript
gustavo-pessoa/Exercicios-JS-Basico
/exercicio05a10/script.js
UTF-8
1,813
4.40625
4
[ "MIT" ]
permissive
function processar(){ let inputNumero = document.getElementById("numero"); let num = numero.value; let resp; if (num%2 == 0) { resp = "O número digitado é Par"; } else{ resp = "O número digitado é ímpar" } alert(resp); multiplosDe4(); propriedadesDoObj...
true
b3059c0acb0602511e5746a4fddd43b5b57b470c
JavaScript
emilipla/JS_20210526
/FiltrosAjax_21/AjaxJqTxt.js
UTF-8
997
3.015625
3
[]
no_license
$(document).ready(function(){ $("#boton1").click(function() { $("#caja").load("fichero1.html"); //(url[,data][,complete]) }); $("#boton2").click(function() { $.ajax({ url: "fichero2.html", //obligatoria success: function(datos){ //data datos devueltos por el ...
true
e212d935bcc2b1502dd32c404e46a224e5c4bdd6
JavaScript
kt3kstudio/pairs
/src/level/c/exit-queue.js
UTF-8
1,838
3.109375
3
[]
no_license
const {wait} = require('spn') /** * ExitQueue class represents the exit queue at the level view. */ class ExitQueue { /** * @param {Grid} grid The grid */ constructor (grid) { this.grid = grid this.queue = [] } /** * Processes the new cell stream and returns a stream of arrays of exiting ce...
true
6eafa40b908e513460faa4b3533b5c43a367278a
JavaScript
rosiesinead/SpatialSkills
/static/spatialskills/js/AddTouch.js
UTF-8
9,052
2.71875
3
[]
no_license
//touch functionality used by the main app, with separate touch for Isometric and Orthographic grids //the function below have been created with help from the Mozilla Developer Network Canvas Totorials https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial //However, with use of jquery and bind events, th...
true
a82613ef5e37d21fed146da0ca5332ae39f55e4e
JavaScript
alfn7511/mycar82
/js/date.js
UTF-8
5,388
2.984375
3
[]
no_license
// 날자 유효성 확인 ################################################## function isDate(strDate){ var tmpArr; var tmpYear, tmpMon, tmpDay; if (strDate.length != 10) return false; tmpArr = strDate.split("-"); if (tmpArr.length != 3 ) return false; tmpYear = tmpArr[0]; tmpMon = tmpArr[1]; tmpDay = tmpArr[2]; var tD...
true
72890963b35f6e8bd6dd063fa849c219d77f381a
JavaScript
jsantiag/Noteful-PostgresSQL
/scratch/queries.js
UTF-8
1,298
2.921875
3
[]
no_license
'use strict'; const knex = require('../knex'); //search by title const searchTerm = 'loony'; knex .select('notes.id', 'title', 'content') .from('notes') .modify(queryBuilder => { if (searchTerm) { queryBuilder.where('title', 'like', `%${searchTerm}%`); } }) .orderBy('notes.id') .then(results ...
true
ed0674d7edfc5afbc858f072560af6a9af7a934b
JavaScript
sventendo/advent-of-code-2020
/src/day1/day1.js
UTF-8
958
3.328125
3
[]
no_license
export function part1(values) { for (let indexA = 0; indexA < values.length; indexA++) { for (let indexB = indexA; indexB < values.length; indexB++) { if (values[ indexA ] + values[ indexB ] === 2020) { return values[ indexA ] * values[ indexB ]; } } } ...
true
cd17a5678c268b699d9e29275356d841c77178c7
JavaScript
sujinleeme/reactnd-project-readable
/readable/src/modules/root/headers.js
UTF-8
318
2.515625
3
[ "MIT" ]
permissive
// Generate a unique token for storing your bookshelf data on the backend server. let token = localStorage.token if (!token) token = localStorage.token = Math.random().toString(36).substr(-8) export const headers = { 'Accept': 'application/json', 'Authorization': token, 'Content-Type': 'application/json' }
true
8979ed9cb4c593ebdc20f9398faddb547d5b1dd3
JavaScript
mattlunn/recipe
/views/helpers.js
UTF-8
250
2.578125
3
[]
no_license
module.exports.isMax = function (val) { return val === Number.MAX_VALUE; }; module.exports.inc = function (a, b) { return a + b; }; module.exports.dec = function (a, b) { return a - b; }; module.exports.eq = function (a, b) { return a == b; };
true
567e93c0364c95d397bb1e1d55e93f0f34570fd1
JavaScript
rauleite/react-shopify-draggable
/src/demo/MyDraggable/index.js
UTF-8
1,368
2.578125
3
[ "MIT" ]
permissive
// @flow import React, { Component, Fragment } from 'react' import { withDraggable } from '../../lib' import { Hello, Drag } from './etc/Hello' class MyDraggable extends Component { // SSR First: react-shopify-draggable não bloqueia sua aplicação. componentDidMount() { // sua instância de draggable this.dra...
true
5333d63903bb9c0e831870c2ca70996c7c92d7eb
JavaScript
pzl1026/xyDCloud
/src/helper/checkAllowDown.js
UTF-8
1,205
2.609375
3
[ "LicenseRef-scancode-unknown-license-reference", "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
var checkAvail = require('./checkAvail'); var os = require('os'); // 检查所有状态是否正常 function checkAllowDown (size, localPath) { return new Promise((resolve, reject) => { let disc = localPath.substr(0, localPath.indexOf(':') + 1); checkAvail((avail) => { if(avail <= size + Math.pow(1024, 3))...
true
799f36f5f85f246ec529538b457adf09c56d4006
JavaScript
jsperts/workshop_unterlagen
/performance/examples/05-Performance_Measuring/03-User_Timing.js
UTF-8
1,375
2.78125
3
[ "MIT" ]
permissive
(function (perf) { 'use strict'; function run() { var arr = ['a', 'b', 'c', 'd', 'e', 'f']; // mark(name) perf.mark('mark_start'); for (var i = 0; i < arr.length; i++) { arr[i]; } perf.mark('mark_t1'); var arrLength = arr.length; for (var j = 0; j < arrLength; j++) { ...
true
8ebb56e0ea8b4bb0896a5690f83e0c0c36d978cb
JavaScript
sdudakiya/test
/server.js
UTF-8
1,415
2.578125
3
[]
no_license
// Initial libraries declarations var express = require('express'); var morgan = require('morgan'); var bodyParser = require('body-parser'); const exphbs = require('express-handlebars'); const path = require('path'); var app = express(); const router = express.Router(); // Register Handlebars view engine app.engine('h...
true
3df2b944569357b861daa0ed7d787cf856b87441
JavaScript
BertrandMarlair/bertrandmeteor
/test.js
UTF-8
4,342
2.84375
3
[ "MIT" ]
permissive
var express = require('express'); var app = express(); var httpServer = require("http").createServer(app); var five = require("johnny-five"); var io=require('socket.io')(httpServer); var port = 3000; app.use(express.static(__dirname + '/public')); app.get('/', function(req, res) { ...
true
cac9a88dba37b3e589002be525fa517cbdc91151
JavaScript
noobouse/water_splash_cocos2d_js
/water.js
UTF-8
10,621
2.546875
3
[]
no_license
var COLUMN_COUNT = 80; var WATER_HEIGHT = 200 var TENSION = 0.025; var DAMPENING = 0.025; var SPREAD = 0.25; function Particle(pos, vel, scale, ori) { this.Position = pos; this.Velocity = vel; this.Scale = scale; this.Orientation = ori; } function WaterColumn() { this.TargetHeight = WATER_HEIGHT;...
true
656c758d22736e4dab30d6f52d0da99213e563d8
JavaScript
emilhellblom/shopping-cart
/src/components/CartItem.js
UTF-8
776
2.53125
3
[]
no_license
import React, { Component } from 'react'; import PropTypes from 'prop-types' import './CartItem.css'; export default class CartItem extends Component { static propTypes = { products: PropTypes.arrayOf(PropTypes.shape({ id: PropTypes.number.isRequired, name: PropTypes.string.isRequired, price: P...
true
d287cf1b0056682d558547e51461eebafedf9bb5
JavaScript
NellyGonzalezB/SCL016-burger-queen
/src/components/CartItem.jsx
UTF-8
776
2.546875
3
[]
no_license
/* eslint-disable object-curly-newline */ import React from 'react'; const CartItem = ({ // eslint-disable-next-line object-curly-newline // eslint-disable-next-line arrow-body-style name, price, id, remove }) => { return ( <div> <div className="element-list"> <p className="product-name">{nam...
true
e47d90f8b2d5da07bcd2ff36799a2ba0a1cf2934
JavaScript
zcoderboy/movie-hunt
/components/withAuth.js
UTF-8
537
2.546875
3
[]
no_license
import React, { useEffect, useState } from 'react'; const withAuth = (Component) => (props) => { const [render, setRender] = useState(false); async function getUser() { const response = await fetch('/api/getUser'); if (response.ok) { return await response.json(); } } useEffect(() => { getU...
true
555addc2774f1ea08937e74ffe66506ab7974095
JavaScript
shimataro/maylily
/src/maylily.mjs
UTF-8
3,080
2.96875
3
[ "MIT" ]
permissive
/** * @description MayLily - distributable, serverless, and customizable unique ID generator based on Snowflake * @license MIT License * https://github.com/shimataro/maylily */ export default maylily; import BigInteger from "big-integer"; /** * @typedef {Object} MaylilyOptions * @property {number} radix radix o...
true
0dae01832a859920e0fe6e07faa2ba0b27b032a4
JavaScript
SPEED-group-project/group-project
/javascript/signinscript.js
UTF-8
1,520
2.78125
3
[]
no_license
var loginusername = document.getElementById("loginusername"); var loginpassword = document.getElementById("loginpassword"); //var patt = /booking.html/i //var test = sessionStorage.getItem("url").match(patt); document.getElementById("submit").onclick = function(){submitin(loginusername.value,loginpassword.value)}; fun...
true
fcbbb74c3ab0b9d8bbd10716efe4b7ffef02cd57
JavaScript
joramantwi/TaskManagerAPI
/api/routes/tasks.js
UTF-8
2,082
2.734375
3
[]
no_license
const express = require("express"); const router = express.Router(); const Tasks = require("../models/task"); // route for creating task router.post("/", async (req, res) => { const task = new Tasks({ name: req.body.name, DueDate: req.body.DueDate, CompletionDate: req.body.CompletionDate, Status: req...
true
8cfd9526413d58ad41760c0a02602df83c0b1c59
JavaScript
mihail-petrov/grid-overlay
/src/gridOverlay.js
UTF-8
5,459
2.71875
3
[]
no_license
;(function(window, document, undefined) { /** * [GridOverlay description] * @param {[type]} options [description] */ var GridOverlay = function(options) { options = options || {}; this.width = options.width || 960; this.columns = options.columns |...
true
77118b3d279b0f97d3106555e374abd1f4d39a96
JavaScript
PedroMendez/cohesion
/src/Components/TimerItems.js
UTF-8
1,805
2.5625
3
[]
no_license
import React, { useEffect, useRef } from "react"; const MaxTime = { Seconds: 60, Minutes: 60, Hours: 24, }; const TimerItems = ({ timeLabel, timeValue }) => { const beforeCard = useRef(null); const afterCard = useRef(null); useEffect(() => { const { classList: beforeList } = beforeCard.current; c...
true
5aeac8d27aad08037e83f2951a041056a4e687b9
JavaScript
biggestT/thingscloud
/app/scripts/views/thing.js
UTF-8
3,626
2.75
3
[]
no_license
/*global define*/ define([ 'jquery', 'underscore', 'backbone', 'bootstrap', 'templates', 'views/object' ], function ($, _, Backbone, bs, JST, Object) { 'use strict'; var ENTER_KEY = 13; var ThingthumbnailView = Object.extend({ tagName: 'li', template: JST['app/scripts/templates/thing.ej...
true
be4c4ffeea5be405594f553e0d8ed689f7c4f232
JavaScript
pdey/vue-input-tag
/test/unit/index.js
UTF-8
1,210
2.796875
3
[ "MIT" ]
permissive
// Polyfill fn.bind() for PhantomJS /* eslint-disable no-extend-native */ Function.prototype.bind = require('function-bind'); if (!Array.prototype.includes) { Array.prototype.includes = (searchElement) => { const O = Object(this); const len = parseInt(O.length, 10) || 0; if (len === 0) { return fal...
true
d06bd218a2fa429b0833ac979cd8df8fb2472b86
JavaScript
OmKakatkar/track-it-evernote-clone
/src/App.js
UTF-8
2,578
2.546875
3
[]
no_license
import React, { useState, useEffect } from "react"; import "./App.css"; import EditorComponent from "./editor/editor"; import SidebarComponent from "./sidebar/sidebar"; import { timeStamp, fireStore } from "./firebase/config"; const App = () => { const [selectedNoteIndex, setSelectedNoteIndex] = useState(null); ...
true
2aa5031585c9327c35f11512723b650677014ec0
JavaScript
yatoogamii/login-nodejs
/login.js
UTF-8
2,718
2.625
3
[]
no_license
// const mysql = require('mysql'); const pg = require('pg'); const express = require('express'); const session = require('express-session'); const bodyParser = require('body-parser'); const path = require('path'); // connection psql // const client = new pg.Client({ user: 'postgres', host: 'localhost', database:...
true
5c691230abfde46f22eb3c8279170a2b61dea391
JavaScript
jeanGambit/toolsharing
/frontend/js/api_tool.js
UTF-8
1,778
3.203125
3
[ "MIT" ]
permissive
/* * Format of API calls: * * parameters: [ data ,] callback, (err,) authError * * data: multiple parameters which are to be sent to the server as data * callback: callback function called by jQuery AJAX (can accept data parameter that contains server response) * err: standard error handler, optional * authErro...
true
81df6368292c584921a4227221d0cd06d7e69aae
JavaScript
franciscop/server-next
/src/parseBody.js
UTF-8
2,422
2.875
3
[]
no_license
function getBoundary(header) { if (!header) return null; var items = header.split(";"); if (items) for (var j = 0; j < items.length; j++) { var item = new String(items[j]).trim(); if (item.indexOf("boundary") >= 0) { var k = item.split("="); return new String(k[1]).trim(); } ...
true
4fa8980d09f896bbdbdf17ed7f57006b16a84749
JavaScript
JeuriMorel/rock-paper-scissors-FEM
/script.js
UTF-8
3,280
3.484375
3
[]
no_license
// DOM ITEMS const rulesToggleBtns = document.querySelectorAll( "[data-function=toggleRules]" ); const rulesModal = document.querySelector(".rules__modal"); const playBtns = document.querySelectorAll("[data-play]"); const playSection = document.querySelector(".buttons--play"); const resultSection = document.querySel...
true
3f3da10e11a839974c491b1d33757dfd19667c78
JavaScript
smcarley/aws-iot-loxone
/iot-loader.js
UTF-8
4,738
2.59375
3
[]
no_license
'use strict'; const fs = require('fs'); const config = JSON.parse(fs.readFileSync('./config.json', 'utf-8')); var AWS = require('aws-sdk'); AWS.config.loadFromPath('./credentials-aws.json'); var iot = new AWS.Iot({ endpoint: config.aws.endpoint }); function run() { const fetch = require('node-fetch'); load(f...
true
bc68ece91d990de107ee2b98f68a5e48ad7e45af
JavaScript
dilosolid/cloudinary_test
/src/Image.js
UTF-8
3,566
2.71875
3
[]
no_license
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class Image extends Component { constructor(props, context) { super(props, context); this.setImagePosition = this.setImagePosition.bind(this); this.state = { container: { position:'relative', width: '...
true
b61677cbc5a4bbc50d04936a8a5d882413f5f10c
JavaScript
JurreBrandsen1709/Dataprocessing_2018
/homework/week_3/js/script.js
UTF-8
3,040
2.96875
3
[]
no_license
/* PERCENTAGE OF U.S. MEN WHO HAVE NEVER MARRIED, BY AGE, 1980-2015 By: Jurre Bransen 11808918 Based on: https://www.reddit.com/r/dataisbeautiful/comments/7b31li/percentage_of_us_women_never_married_by_age_1980/ Sources: - http://alignedleft.com/tutorials/d3/ - https://github.com/d3/d3/wiki/Tutorials...
true
72217f52583d6da4fa026bb7aa909dc33877bb86
JavaScript
RuchirSaxena/fullstackopen_Part1
/part1/unicafe/src/components/App.jsx
UTF-8
2,389
2.84375
3
[]
no_license
import React, { useState } from 'react'; import Button from './Button'; import Statistic from './Statistics'; import Constants from '../Constants'; const App = () => { const [good, setGood] = useState(0); const [bad, setBad] = useState(0); const [neutral, setNeutral] = useState(0); const updateFeedback = ...
true
e186779c51e3310e626862d4d93eb3258bec52ed
JavaScript
Zhdanown/d3_gantt
/AgexReactClient/ClientApp/src/components/shared/CheckboxList.js
UTF-8
1,296
2.6875
3
[]
no_license
import React, { useState } from "react"; import Checkbox from "./Checkbox"; function CheckboxList({ list, onListChange }) { const [allChecked, toggleAll] = useState(() => { if (list.find(x => !x.checked)) return false; else return true; }); const onInputChange = item => { const newList = list.map(x ...
true
ebc4f655ce2361108143891b1b779104b1581530
JavaScript
alfonsodomenici/tss-java
/noleggio/src/main/webapp/index.js
UTF-8
437
2.984375
3
[]
no_license
fetch('http://localhost:8080/noleggio/resources/biciclette') .then(response => response.json()) .then(data => renderData(data)); function renderData(data){ data.map(bici => renderBici(bici)) .forEach(el => document.body.appendChild(el)); } function renderBici(bici){ const el = docu...
true
cb874e70d2bf4a646336791886a36c9460e4c74b
JavaScript
itzzmeakhi/react-formsio
/src/shared/utils/validatorParseMethods.js
UTF-8
5,103
2.90625
3
[ "MIT" ]
permissive
import { acceptedValidators, regexAcceptedValidators } from './acceptedValidators'; ////////////////////////////////////////////////////// // Method that checks for the presence of operators // And slices the string based on the operator passed ////////////////////////////////////////////////////// export const spl...
true
b5a4f5a0818470f7a2513a8d3345b0dbf42e392f
JavaScript
luiznicolini/calculator
/calculadora.js
UTF-8
306
2.921875
3
[ "MIT" ]
permissive
$("input:button").click(() function { vlr = $(this).val(); atual = $("#resultado").val(); if(vlr=="C") { $("#resultado").val(""); }else { if(vlr=="="){ $("#resultado").val(eval(atual)); }else{ $("#resultado").val(atual + vlr); } } })
true
6c9529125752b2e62bf9561392b9a6d9d6b4f05d
JavaScript
Rubick1997/redux-cool
/src/store/index.js
UTF-8
1,024
2.71875
3
[]
no_license
import { configureStore } from "@reduxjs/toolkit"; import { counterSlice } from "./counterSlice"; import { authSlice } from "./authSlice"; const store = configureStore({ reducer: { counter: counterSlice.reducer, auth: authSlice.reducer, }, }); export default store; //action will always override the curre...
true
0c55fcdcb525e07737e832c13ce108360e3ec31b
JavaScript
chauthutran/HNQIS_IMCI
/WebContent/scripts/app/util/util.js
UTF-8
1,651
2.90625
3
[]
no_license
// ------------------------------------------- // -- Utility Class/Methods function Util() {} // ---------------------------------- // Seletet Tag Populate, Etc Related Util.findItemFromList = function( listData, searchProperty, searchValue ) { var foundData; $.each( listData, function( i, item ) { if ( ite...
true