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
'use strict'; | |
var mongoose = require('mongoose'); | |
var async = require('async'); | |
var schema = new mongoose.Schema({ | |
name: 'string', | |
size: 'number' | |
}); | |
var Tank = mongoose.model('Tank', schema); |
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
'use strict'; | |
var InputView = require('ampersand-input-view'); | |
module.exports = InputView.extend({ | |
template: [ | |
'<label>', | |
' <span data-hook="label"></span>', | |
' <input id="input" class="form-input">', | |
' <input id="confirm" class="form-input">', |