cylon/dist/test/adaptor.js

34 lines
544 B
JavaScript

/*
* adaptor
* cylonjs.com
*
* Copyright (c) 2013 The Hybrid Group
* Licensed under the Apache 2.0 license.
*/
(function() {
'use strict';
var namespace;
namespace = require('node-namespace');
namespace('Cylon', function() {
return this.Adaptor = (function() {
function Adaptor(opts) {
this.name = opts.name;
}
Adaptor.prototype.commands = function() {
return ['smile', 'laugh', 'help'];
};
return Adaptor;
})();
});
module.exports = Cylon.Adaptor;
}).call(this);