Skip to content

Instantly share code, notes, and snippets.

{{#each scripts.polyfills}}<script src="{{.}}"></script>{{/each}}
<script type="text/javascript" src="cordova.js"></script>
<script>
System.import('system-config.js').then(function () {
System.import('main');
}).catch(console.error.bind(console));
</script>
{
"compileOnSave": false,
"compilerOptions": {
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"mapRoot": "",
"module": "commonjs",
"moduleResolution": "node",
"noEmitOnError": true,
{
"ambientDevDependencies": {
"angular-protractor": "registry:dt/angular-protractor#1.5.0+20160425143459",
"jasmine": "registry:dt/jasmine#2.2.0+20160412134438",
"selenium-webdriver": "registry:dt/selenium-webdriver#2.44.0+20160317120654"
},
"ambientDependencies": {
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654",
"firebase": "registry:dt/firebase#2.4.1+20160412125105",
"moment": "registry:dt/moment#2.8.0+20160316155526",
/***********************************************************************************************
* User Configuration.
**********************************************************************************************/
/** Map relative paths to URLs. */
const map: any = {
};
/** User packages configuration. */
const packages: any = {
};
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ITHS1._3
{
class Program
{
"dependencies": {
"async": "^1.5.0",
"body-parser": "^1.14.1",
"chalk": "^1.1.1",
"coffee-script": "^1.10.0",
"coffeeify": "^1.1.0",
"compression": "^1.6.0",
"connect-mongo": "^0.8.2",
"cookie-parser": "^1.4.0",
"d-bootstrap": "git://github.com/cjblomqvist/d-bootstrap.git#npm-3.x",
<Body:>
<ul>{#each _page.unplannedOrder as :row}<li style="{#if _page.selected[:row.id]}background: red;{/}">{:row.id}</li>{/}</ul>
<ul>{#each _page.unplannedOrder as :row}<li style="{#if multiplePartPath(_page.selected, :row.id)}background: red;{/}">{:row.id}</li>{/}</ul>
var app = require('derby').createApp(module)
;
app.get('/*', function(page, model, params) {
model.set('_page.unplannedOrder', [{"id":"1"}, {"id":"2"}, {"id":"3"}]);
page.render('');
});
app.enter('/*', function (model) {
model.remove('_page.unplannedOrder', 0);
form.onPart = function(part) {
if (!part.filename) {
// let formidable handle all non-file parts
incomingForm.handlePart(part);
return false;
}
client.putStream(part, part.filename, {'Content-Length': form.bytesExpected, 'Content-Type': part.mime}, function() {
console.log('uploaded?');
});
expressApp.post('/', function( req, res, next ) {
var
model = req.getModel();
model.fetch(
store.query('people').login(req.body),
function( err, scoped_user ) {
var