Browse Site by Tags

Showing related tags and posts across the entire site.
  • Inheritance issue w/ Typescript (JavaScript) and MVC Bundling Ordering

    Today I extended one of our classes to use inheritance via Typescript (love that). When I refreshed the page I received an error here When I dropped to the Chrome debugger and outputted both the values for both ‘d’ and ‘b’ I was a bit shocked. ‘d’ was valid, but ‘b’...
    Posted to Derik Whittaker by Derik Whittaker on 04-30-2013
    Filed under: .Net, ASP.Net MVC, JavaScript, Typescript
  • Knockout Click binding and the ‘this’ context

    When using Knockout JS wiring to the click binding is cake and simply just works.  Or does it? Per the documentation there are multiple ways to wire the click binding within your html.  Assume you have a method such as (the code below is TypeScript) public AddMember(member: MemberViewModel...
    Posted to Derik Whittaker by Derik Whittaker on 04-29-2013
    Filed under: Typescript, Knockout.js
  • Validating all observables w/ Knockout validation and Typescript

    Knockout js is an awesome MVVM framework for HTML/Javascript development and there is an extension library which performs data validation called Knockout.Validation which is an equally awesome library.  Today when doing some coding I needed to validate that all properties on a VM were valid. A quick...
    Posted to Derik Whittaker by Derik Whittaker on 04-21-2013
    Filed under: JavaScript, Typescript, Knockout.js
  • Typescript, jQuery and the ‘this’ context causing issues

    Today I was in the middle of porting some raw javascript over to TypeScript as well as moving inline javascript into separate classes.  In the middle of doing this I started to run into some really odd stuff.  Namely, the ‘this’ context in one of my methods was set to window, not to the parent...
    Posted to Derik Whittaker by Derik Whittaker on 04-12-2013
    Filed under: jQuery, Typescript
  • Knockout JS and mapping from Json to a custom object type

    One of the really cool features of Knockout js is the ability to take a raw json object, say from a web endpoint, and map it to an observable.  This is done via the mapping plug-in. Take a look at the code below for an example $.get(url) .done((data) => { var temp = self.ToDos(); _.each(data...
    Posted to Derik Whittaker by Derik Whittaker on 03-06-2013
    Filed under: Typescript, Knockout.js
Page 4 of 6 (120 items) « First ... < Previous 2 3 4 5 6 Next >

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)