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
"add this to .vimrc | |
source ~/dev/jasmine2qUnit/jasmine2qUnit.vim | |
nmap ;q :call ConvertJasmineTest2qUnit()<CR> |
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
# Dutch Translation for Vim vim:set foldmethod=marker: | |
# Do ":help uganda" in Vim to read copying and usage conditions. | |
# Do ":help credits" in Vim to see a list of people who contributed. | |
# Previous-Translator(s): | |
# highlight: oplichten | |
# Erwin Poeze <[email protected]>, 2011, 2012. | |
msgid "" | |
msgstr "" | |
"Project-Id-Version: vim 7.3\n" | |
"Report-Msgid-Bugs-To: \n" |
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$ | |
msgid "" | |
msgstr "" | |
"Project-Id-Version: Mutt 1.5.20\n" | |
"Report-Msgid-Bugs-To: \n" | |
"POT-Creation-Date: 2009-06-14 11:53-0700\n" | |
"PO-Revision-Date: 2012-06-20 12:59+0200\n" | |
"Last-Translator: Erwin Poeze <[email protected]>\n" | |
"Language-Team: René Clerc <[email protected]>\n" | |
"MIME-Version: 1.0\n" |
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 u = require('./user') | |
, mongoose = require('mongoose') | |
, db = mongoose.createConnection('localhost', 'mydb'); | |
var User = u.User; | |
var user = new User({username: 'test4', email:'[email protected]', password: 'secret'}); | |
user.save(function(err) { | |
User.find({username: 'test4' }, function(err, user){ | |
if ( err ) console.log(err) | |
user.comparePassword('hidden', function(err, isMatch) { |
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([ | |
'mongoose' | |
, './Cm' | |
], function( | |
mongoose, | |
Cm | |
) { | |
var A = new mongoose.Schema({ | |
name: String |
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([ | |
'mongoose' | |
, './Bm' | |
], function( | |
mongoose, | |
Bm | |
) { | |
var A = new mongoose.Schema({ | |
name: String |
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 requirejs = require('requirejs') | |
, mongoose = require('mongoose'); | |
requirejs.config({ | |
baseUrl: __dirname | |
, nodeRequire: require | |
}); | |
requirejs([], function() { |
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 lang="en"> | |
<head> | |
<title>QUnit Tests</title> | |
<meta charset='utf-8' /> | |
<link rel="stylesheet" href="./lib/qunit.css" type="text/css" media="screen" /> | |
<script type="text/javascript" src="./lib/jquery.js"></script> | |
<script type="text/javascript" src="./lib/underscore.js"></script> | |
<script type="text/javascript" src="./lib/backbone.js"></script> | |
<script type="text/javascript" src="./lib/backbone-associations.js"></script> |
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 lang="en"> | |
<head> | |
<title>QUnit Tests</title> | |
<meta charset='utf-8' /> | |
<link rel="stylesheet" href="./lib/qunit.css" type="text/css" media="screen" /> | |
<script type="text/javascript" src="./lib/json2.js"></script> | |
<script type="text/javascript" src="./lib/jquery.js"></script> | |
<script type="text/javascript" src="./lib/jquery.mockjax.js"></script> | |
<script type="text/javascript" src="./lib/underscore.js"></script> |
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 mongoose = require('mongoose'), | |
assert = require('assert') | |
mongoose.connect('localhost/mydb'); | |
var Schema = mongoose.Schema; | |
var ContainerSchema = new Schema({ | |
name: String, | |
}) |
OlderNewer