window['TestPlugin'] = function(){
var helloWorld = function(){
alert('hello world');
}
}
Стараюсь называют это как:Что не так с этим простым Javascript?
$(document).ready(function() {
TestPlugin.hellowWorld();
}
, но я получаю:
TestPlugin.hellowWorld не является функцией
hellowWorld не HelloWorld ... – Sergeon