Classical 0.1.11
See the version list below for details.
dotnet add package Classical --version 0.1.11
NuGet\Install-Package Classical -Version 0.1.11
<PackageReference Include="Classical" Version="0.1.11" />
paket add Classical --version 0.1.11
#r "nuget: Classical, 0.1.11"
// Install Classical as a Cake Addin #addin nuget:?package=Classical&version=0.1.11 // Install Classical as a Cake Tool #tool nuget:?package=Classical&version=0.1.11
A TypeScript Base Class Library.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.3.1 | 1,797 | 8/23/2015 |
0.3.0 | 1,442 | 7/18/2015 |
0.2.19 | 1,625 | 2/19/2015 |
0.2.18 | 1,437 | 2/18/2015 |
0.2.17 | 1,524 | 2/18/2015 |
0.2.16 | 1,490 | 2/18/2015 |
0.2.15 | 1,585 | 2/18/2015 |
0.2.14 | 1,355 | 1/28/2015 |
0.2.13 | 1,302 | 1/28/2015 |
0.2.12 | 1,354 | 1/28/2015 |
0.2.11 | 1,326 | 1/28/2015 |
0.2.10 | 1,272 | 1/28/2015 |
0.2.9 | 1,297 | 1/12/2015 |
0.2.8 | 1,374 | 1/12/2015 |
0.2.7 | 1,252 | 1/12/2015 |
0.2.6 | 1,369 | 1/12/2015 |
0.2.5 | 1,310 | 1/12/2015 |
0.2.4 | 1,238 | 1/12/2015 |
0.2.3 | 1,310 | 1/12/2015 |
0.2.2 | 1,322 | 1/12/2015 |
0.2.1 | 1,308 | 1/11/2015 |
0.2.0 | 1,290 | 1/11/2015 |
0.1.14 | 1,283 | 1/8/2015 |
0.1.13 | 1,773 | 12/24/2014 |
0.1.12 | 1,577 | 12/22/2014 |
0.1.11 | 1,710 | 12/21/2014 |
0.1.10 | 1,653 | 12/21/2014 |
0.1.9 | 1,705 | 12/20/2014 |
0.1.8 | 1,730 | 12/20/2014 |
0.1.7 | 1,670 | 12/20/2014 |
0.1.6 | 1,697 | 12/20/2014 |
0.1.5 | 1,873 | 12/19/2014 |
0.1.4 | 1,702 | 12/19/2014 |
0.1.3 | 1,617 | 12/19/2014 |
0.1.2 | 1,510 | 12/16/2014 |
0.1.1 | 1,487 | 12/16/2014 |
0.1.0 | 1,617 | 12/16/2014 |
- The Watch.js polyfill was added to classical.js.
- The MutationObserver.js polyfill was added to classical.js
- JsMin was used to minify classical.js
- Added Intro.ts for getting started
- Added a minified version of classical.js: classical.min.js
- Added two methods to the Type class in Reflection
- getFieldsOf
- getFieldOf
- All tests continue to pass
//Write your first few lines of Classical.js
module Classical.Introduction {
import Assert = Classical.Assert;
import Expression = Classical.Expression;
import u = Utilities;
import r = Classical.Reflection;
import e = Classical.Events;
import b = Classical.Binding;
import cc = Classical.Collections;
import bc = Classical.Binding.Collections;
//1. Read through the Classical.js code below
//2. Inspect the results in the browser console
//3. Explore each of the modules above using intellisense
//4. Have fun!
//Array extensions
export var array = []
.add(0).add(0.5).add(1)
.addRange([1.5, 2, 2.5])
.set(6, 3)
.query()
.concat(
cc.Enumerable
.range(3.5, .5, 10))
.where(x => x < 5)
.select(x => Math.round(x * 2))
.array();
//Query Comprehension
export var aggregation =
array.query()
.sum(x =>
Math.pow(Math.sin(x), 2) +
Math.pow(Math.cos(x), 2)) /
array.length;
//Query Information
export var queryType = typeOf(cc.Queryable);
export var queryMethods = queryType
.getMethods(r.Modifier.Public, r.Modifier.Instance)
.dictionary(
m => m.name,
m => u.format('{0}({1})',
m.name,
m.getParameters()
.select(p => p.name)
.array()));
//Reflection Classes
export var reflectionModule = moduleOf(r.Type);
export var reflectionClasses = reflectionModule
.getTypes().select(t => t.name)
.array();
//Type Members
export var typeType = queryType.getType();
export var typeMembers = typeType
.getProperties(r.Modifier.Public, r.Modifier.Instance, r.Modifier.Static)
.select(m => m.name)
.array();
}