Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1141 from imalberto/fix-test
Browse files Browse the repository at this point in the history
Fixing functional tests on #next
  • Loading branch information
imalberto committed May 25, 2013
2 parents ef9a434 + 3ca420c commit d15c302
Show file tree
Hide file tree
Showing 58 changed files with 1,420 additions and 45 deletions.
28 changes: 28 additions & 0 deletions examples/developer-guide/adding_view_engines/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/binding_events/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
5 changes: 5 additions & 0 deletions examples/developer-guide/binding_events/application.json
@@ -1,6 +1,11 @@
[
{
"settings": [ "master" ],
"yui": {
"config": {
"debug": false
}
},
"specs": {
"frame": {
"type": "HTMLFrameMojit",
Expand Down
28 changes: 28 additions & 0 deletions examples/developer-guide/configure_routing/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/device_assets/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/device_views/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/framed_assets/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/framed_config/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/generating_urls/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/global_assets/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/hello/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/htmlframe_mojit/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/inter-mojit/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});
28 changes: 28 additions & 0 deletions examples/developer-guide/locale_i18n/app.js
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/


/*jslint node:true*/

'use strict';

var debug = require('debug')('app'),
express = require('express'),
mojito = require('../../../'),
app;

app = express();

app.use(mojito.middleware());

app.get('/status', function (req, res) {
res.send('200 OK');
});

app.listen(app.get('port'), function () {
debug('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
});

0 comments on commit d15c302

Please sign in to comment.