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 {Behavior} from 'aurelia-framework'; | |
import showdown from 'showdown'; | |
import prism from 'prism'; | |
//import 'prism/themes/prism-okaidia.css!'; | |
export class MarkdownComponentAttachedBehavior { | |
static metadata(){ | |
return Behavior |
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 {Configuration} from './configuration'; | |
import {HttpClient} from 'aurelia-http-client'; | |
import {inject} from 'aurelia-framework'; | |
@inject(Configuration, HttpClient) | |
export class DataAccessor { | |
constructor(config, http){ | |
this.path = config.baseUri + 'users/pwkad'; | |
this.http = http; | |
this.getUser(); |
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 {inject} from 'aurelia-framework'; | |
import {HttpClient} from 'aurelia-http-client'; | |
var autobind = fnDecorator(function(target, key, descriptor){ | |
let fn = descriptor.value; | |
descriptor.value = function autobound(){ | |
return fn.bind(this,arguments); | |
}; | |
return descriptor; | |
}); |
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
{ | |
"id": 2, | |
"name": "\"aurelia-metadata\"", | |
"kind": 2, | |
"kindString": "Module", | |
"flags": {}, | |
"children": [ | |
{ | |
"id": 15, | |
"name": "DecoratorApplicator", |
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
var gulp = require('gulp'); | |
var runSequence = require('run-sequence'); | |
var changed = require('gulp-changed'); | |
var plumber = require('gulp-plumber'); | |
var to5 = require('gulp-babel'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var paths = require('../paths'); | |
var compilerOptions = require('../babel-options'); | |
var assign = Object.assign || require('object.assign'); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Aurelia</title> | |
<link rel="stylesheet" href="jspm_packages/npm/[email protected]/css/font-awesome.min.css"> | |
<link rel="stylesheet" href="jspm_packages/github/twbs/[email protected]/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="styles/styles.css"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> |
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
So I talked with Luke last night for a while and I think we have some general ideas for how we can split the two repositories up and get some tasks in place. The big blocker that I can foresee is that thus far I've only been helping with some maintenance and easy tasks so I need to dive deeper in to the 'flow' of validation to make sure we maintain everything properly. I spent a few hours last night combing through the code to get a better technical understanding. I'm proposing that for the beta releases we make sure the validation library is rock-solid and that aurelia-templating-validation is priority #2. Removing the DOM manipulation that currently takes place in Validation seems like it is going to greatly simplify things and enable implementing better hooks for templating but it seems that the DOM-related stuff is all Bootstrap and I'm not certain if it adds as much value up front as having a stabilized and rock-solid API for validation. Most of the DOM manipulation should be able to be accomplished in a |
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 url(http://fonts.googleapis.com/css?family=Roboto:400); | |
body { | |
background-color:#e0e0e0; | |
-webkit-font-smoothing: antialiased; | |
font: normal 14px Roboto,arial,sans-serif; | |
} | |
/*.navbar-default {background-color:#f4f4f4;margin-top:50px;border-width:0;z-index:5;} | |
.navbar-default .navbar-nav > .active > a,.navbar-default .navbar-nav > li:hover > a {border:0 solid #4285f4;border-bottom-width:2px;font-weight:800;background-color:transparent;} | |
.navbar-default .dropdown-menu {background-color:#ffffff;} | |
.navbar-default .dropdown-menu li > a {padding-left:30px;} |
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
<template> | |
<h1>${message}</h1> | |
<input ref="control" /> | |
<button click.delegate="log()">Log</button> | |
</template> |
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
<template> | |
<h1>${message}</h1> | |
</template> |
OlderNewer