FirefoxOS/New security model/Packaging: Difference between revisions

Jump to navigation Jump to search
trim example (by SublimeText.Mediawiker)
(fix example (by SublimeText.Mediawiker))
(trim example (by SublimeText.Mediawiker))
Line 65: Line 65:
  </html>
  </html>
   
   
  --gc0pJq0M:08jU534c0p
  ...etc
Content-Location: /index.html
Content-Type: text/html
<html>
  <head>
    <script src="scripts/app.js"></script>
    ...
  </head>
  ...
</html>
--gc0pJq0M:08jU534c0p
Content-Location: /scripts/app.js
Content-Type: text/javascript
module Math from '/scripts/helpers/math.js';
...
--gc0pJq0M:08jU534c0p
Content-Location: /scripts/helpers/math.js
Content-Type: text/javascript
export function sum(nums) { ... }
...
--gc0pJq0M:08jU534c0p--




canmove, Confirmed users
1,220

edits

Navigation menu