UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

31 lines (24 loc) 824 B
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="//cdn.sencha.com/ext/gpl/4.2.1/resources/css/ext-all.css"> <script type="text/javascript" src="//cdn.sencha.com/ext/gpl/4.2.1/ext-all-debug.js"></script> </head> <body> <script> Ext.Loader.setConfig({ enabled : true, paths : { My : 'lib/My' } }) Ext.onReady(function () { Ext.require('My.Store.ResourceStore', function () { STORE = new My.Store.ResourceStore({}) STORE.someMethod() }) }) </script> </body> </html>