Skip to content

Instantly share code, notes, and snippets.

declare module 'aurelia-validation' {
import { Metadata } from 'aurelia-metadata';
import { ObserverLocator } from 'aurelia-binding';
import { inject } from 'aurelia-dependency-injection';
import { customAttribute } from 'aurelia-templating';
export class Debouncer {
constructor(debounceTimeout: any);
debounce(func: any): any;
}
export class ValidationMetadata {
D:\Development\validation\build\tasks\build.js:21
file.contents = new Buffer(tools.extractImports(file.contents.toString("
^
TypeError: Cannot read property 'contents' of undefined
at DestroyableTransform._transform (D:\Development\validation\build\tasks\build.js:21:59)
at DestroyableTransform.Transform._read (D:\Development\validation\node_modules\through2\node_modules\readable-stream\lib
\_stream_transform.js:172:10)
at DestroyableTransform.Transform._write (D:\Development\validation\node_modules\through2\node_modules\readable-stream\lib
declare module 'aurelia-validation' {
import { Metadata } from 'aurelia-metadata';
import { ObserverLocator } from 'aurelia-binding';
import { inject } from 'aurelia-dependency-injection';
import { customAttribute } from 'aurelia-templating';
export class Debouncer {
constructor(debounceTimeout: any);
debounce(func: any): any;
}
{
"id": 2,
"name": "\"aurelia-validation\"",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
"id": 644,
"name": "AlphaNumericOrWhitespaceValidationRule",
struct Address
{
public string adres {get;set;}
public Address(string adres) {
this.adres = adres;
}
}
class Person
import {customAttribute,bindable,bindingMode,inject,customElement} from 'aurelia-framework';
import {getLogger} from 'aurelia-logging';
export function configure(aurelia, configCallback) {
var builder = new kendoConfigBuilder();
if (configCallback !== undefined && typeof(configCallback) === 'function') {
configCallback(builder);
}
import {inject, noView, processContent, bindable, TargetInstruction} from 'aurelia-framework';
import {Compiler} from '../common/compiler';
import {DOM} from 'aurelia-pal';
import {ViewSlot} from 'aurelia-templating';
@noView
@processContent((compiler, resources, element, instruction) => {
// let html = element.innerHTML;
// if (html !== '') {
// instruction.template = html;
Wallaby Console: Started Wallaby.js Core v1.0.155
C:\Users\Jeroen\.atom\packages\atom-wallaby\wallaby-atom\index.js:14 Wallaby Console: Wed, 23 Dec 2015 08:25:33 GMT wallaby:project File cache: C:\Users\Jeroen\.atom\packages\atom-wallaby\projects\8e10364dcabc9109
C:\Users\Jeroen\.atom\packages\atom-wallaby\wallaby-atom\index.js:14 Wallaby Console: Wed, 23 Dec 2015 08:25:33 GMT wallaby:project Config file change detected, invalidating local cache
C:\Users\Jeroen\.atom\packages\atom-wallaby\wallaby-atom\index.js:14 Wallaby Console: No files with tests found, check your tests list patterns.(anonymous function) @ C:\Users\Jeroen\.atom\packages\atom-wallaby\wallaby-atom\index.js:14arrayEach @ C:\Users\Jeroen\.atom\packages\atom-wallaby\wallaby\node_modules\lodash\index.js:1286forEach @ C:\Users\Jeroen\.atom\packages\atom-wallaby\wallaby\node_modules\lodash\index.js:5700(anonymous function) @ C:\Users\Jeroen\.atom\packages\atom-wallaby\wallaby-atom\index.js:14emitOne @ events.js:77emit @ events.js:169(anonymous fun
export class BasicUse {
pageable = {
refresh: true,
pageSizes: true,
buttonCount: 10
};
foo = 'bar';
import {inject, noView, ViewCompiler, ViewResources, Container, ViewSlot} from 'aurelia-framework';
@noView
@inject(ViewCompiler, ViewResources, Container)
export class ViewFactory {
constructor(viewCompiler, resources, container) {
this.viewCompiler = viewCompiler;
this.resources = resources;
this.container = container;
}