FirefoxOS/New security model/Packaging: Difference between revisions

Jump to navigation Jump to search
fix example (by SublimeText.Mediawiker)
(title (by SublimeText.Mediawiker))
(fix example (by SublimeText.Mediawiker))
Line 2: Line 2:




--gc0pJq0M:08jU534c0p
--gc0pJq0M:08jU534c0p
Content-Location: /index.html
Content-Location: /index.html
Content-Type: text/html
Content-Type: text/html
 
<html>
<html>
  <head>
  <head>
    <script src="scripts/app.js"></script>
    <script src="scripts/app.js"></script>
    ...
    ...
  </head>
  </head>
  ...
  ...
</html>
</html>
 
--gc0pJq0M:08jU534c0p
--gc0pJq0M:08jU534c0p
Content-Location: /scripts/app.js
Content-Location: /scripts/app.js
Content-Type: text/javascript
Content-Type: text/javascript
 
module Math from '/scripts/helpers/math.js';
module Math from '/scripts/helpers/math.js';
...
...
 
--gc0pJq0M:08jU534c0p
--gc0pJq0M:08jU534c0p
Content-Location: /scripts/helpers/math.js
Content-Location: /scripts/helpers/math.js
Content-Type: text/javascript
Content-Type: text/javascript
 
export function sum(nums) { ... }
export function sum(nums) { ... }
...
...
 
--gc0pJq0M:08jU534c0p--
--gc0pJq0M:08jU534c0p--




canmove, Confirmed users
1,220

edits

Navigation menu