Questions tagged [linq.js]

An implementation of List and Sequence operations for JavaScript, as inspired by .NET's Language INtegrated Query (LINQ).

LINQ.js

This project is an implementation of List and Sequence operations for JavaScript, as inspired by .NET's Language INtegrated Query (LINQ).

Features

  • All .NET 4.0 methods and many extras (with inspiration from Rx, Achiral, Haskell, Ruby, etc...)
  • Complete lazy evaluation
  • Full IntelliSense support for VisualStudio
  • Two versions - linq.js and jquery.linq.js (jQuery plugin)
  • Support Windows Script Host
  • Binding for Reactive Extensions for JavaScript(RxJS) and IntelliSense Generator -> see documentation
  • NuGet packages: linq.js, linq.js-jQuery, linq.js-Bindings

See or MSDN for more information regarding LINQ itself.

LINQ.js official website: http://linqjs.codeplex.com/

108 questions
-1
votes
1 answer

creating a date range from 2 dates with linq.js and momentjs

I want to get all dates between a startDate and an endDate. I wrap the startDate/endDate with moment() again to clone the start/endDate because they must not be changed. But still the getDateRange gives me odd results about dates: …
Elisabeth
  • 20,496
  • 52
  • 200
  • 321
-1
votes
2 answers

Passing a variable inside a LINQ.js query

I am trying to query my JSON data which is stored in data.json file. I successfully got desired result when i give static value inside the linq query but when i am passing a variable after user chooses a value from drop down menu, the linq query is…
Abhimanyu Baidya
  • 95
  • 1
  • 1
  • 10
-3
votes
3 answers

how to combine if else statements with javascript or linq.js

what is the best way to combine this using javascript or linq.js? I am trying to shorten what I have done, it works correctly but I am trying to be more efficient with less code. if (e.values.sqft == null) { updatedSqft = e.model.sqft } else { …
texas697
  • 5,609
  • 16
  • 65
  • 131
1 2 3 4 5 6 7
8