mirror of https://github.com/hashicorp/consul
17 lines
152 B
JavaScript
17 lines
152 B
JavaScript
|
// foo.js
|
||
|
|
||
|
var Foo = {};
|
||
|
|
||
|
Foo.hello = function(){
|
||
|
return "I am a foo";
|
||
|
}
|
||
|
|
||
|
// bar.js
|
||
|
|
||
|
var Bar = {};
|
||
|
|
||
|
Bar.hello = function(){
|
||
|
return "I am a bar";
|
||
|
}
|
||
|
|