jurisv / nodejs.extdirect

Ext.Direct connector for node.js (npm module)
41 stars 16 forks source link

public/index.html and /directapi script #3

Closed pward123 closed 11 years ago

pward123 commented 11 years ago

In the readme.md, the script link /directapi is inside the x-compile block. Doing so causes a sencha cmd compile error.

Since /directapi appears to be served by the node.js app, It seems like it should be placed outside the x-compile block.

jurisv commented 11 years ago

Fixed:

<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <title>DesktopDirect</title>
    <!-- <x-compile> -->
        <!-- <x-bootstrap> -->
            <link rel="stylesheet" href="bootstrap.css">
            <script src="ext/ext-dev.js"></script>
            <script src="bootstrap.js"></script>
        <!-- </x-bootstrap> -->
        <script src="app.js"></script>
    <!-- </x-compile> -->
    <script src="/directapi"></script>
</head>
<body></body>
</html>