This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ko from 'knockout'; | |
import 'ko-router'; | |
ko.options.deferUpdates = true; | |
class Task { | |
constructor(id, name) { | |
this.id = ko.observable(id); | |
this.name = ko.observable(name); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ko from 'knockout'; | |
import 'ko-component-router'; | |
ko.options.deferUpdates = true; | |
class Task { | |
constructor(id, name) { | |
this.id = ko.observable(id); | |
this.name = ko.observable(name); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jspm": { | |
"dependencies": { | |
"amplify": "github:mikehostetler/amplify@1.1.2", | |
"bootstrap": "github:twbs/bootstrap@3.3.4", | |
"clean-css": "npm:clean-css@^3.4.5", | |
"css": "github:systemjs/plugin-css@0.1.18", | |
"image": "github:systemjs/plugin-image@0.1.0", | |
"jquery": "github:components/jquery@2.1.4", | |
"jquery-caret": "github:ichord/Caret.js@0.2.2", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.registerDynamic("github:knockout/knockout@3.3.0/dist/knockout.debug.js", [], false, function(__require, __exports, __module) { | |
var _retrieveGlobal = System.get("@@global-helpers").prepareGlobal(__module.id, "ko", null); | |
(function() { | |
"format global"; | |
"exports ko"; | |
(function() { | |
var DEBUG = true; | |
(function(undefined) { | |
var window = this || (0, eval)('this'), | |
document = window['document'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Had to make these types from the example since the example didn't compile and they weren't supplied | |
public interface IFoo { } | |
public interface IFoo2 { } | |
public interface IBar { } | |
public class Foo : IFoo { } | |
public class Bar : IBar { } | |
public class Test | |
{ | |
public IFoo Foo { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using Raven.Client; | |
using Raven.Client.Embedded; | |
using Raven.Client.Indexes; | |
using Xunit; | |
namespace Raven.Tests.Bugs.Indexing | |
{ | |
public class DiscussionSecurityIndexTest : LocalClientTest |