Closed Bug 886824 Opened 11 years ago Closed 11 years ago

Introduce shell target for l20n.js

Categories

(L20n :: JS Library, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zbraniecki, Assigned: zbraniecki)

References

Details

Attachments

(1 file, 1 obsolete file)

We currently have to targets - html and gaia.

For performance testing I'd like to add a shell target. This will make it possible to launch l20n from v8 or jsshell.
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Attached patch patch (obsolete) — Splinter Review
Attachment #767232 - Flags: review?(stas)
Blocks: 886830
Comment on attachment 767232 [details] [diff] [review]
patch

Review of attachment 767232 [details] [diff] [review]:
-----------------------------------------------------------------

::: bindings/l20n/shell.js
@@ +2,5 @@
> +  'use strict';
> +
> +  var L20n = require('../l20n');
> +  var Promise = require('./promise').Promise;
> +  var io = require('./platform/io');

Why do you need promise and io here, without it exposing them on L20n?
Attached patch Patch 2Splinter Review
Attachment #767232 - Attachment is obsolete: true
Attachment #767232 - Flags: review?(stas)
Attachment #767712 - Flags: review?
Attachment #767712 - Flags: review? → review?(gandalf)
Attachment #767712 - Flags: review?(gandalf) → review+
https://github.com/l20n/l20n.js/commit/4210be148c3d9936c0b8e1386c91c3815292d5e9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: