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
<html> | |
<style media="screen" type="text/css"> | |
.box { | |
border-style: solid; | |
border-width: 1px; | |
display: block; | |
width: 300px; | |
min-height: -moz-calc(100% - 1px); | |
min-height: -o-calc(100% - 1px); | |
min-height: -webkit-calc(100% - 1px); |
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
define([ | |
dependencies... | |
], function($, backbone, ...) { | |
var BookView = backbone.View.extend({ | |
$el: $('#mainblock'), | |
initialize: function() { | |
}, | |
render: function() { | |
... | |
this.$el.html(compiledHTML); |
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 mongodb = require('mongodb'); | |
var events = require('events'); | |
var eventEmitter = new events.EventEmitter(); | |
var db = new mongodb.Db('Sika', new mongodb.Server(host, port, {})); | |
var dbclient = null; | |
db.open(function(err, db_client) { | |
if (err) throw err; |