Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(322)

Issue 236800043: Add methods to public API to determine the mode in use (es5-only version). (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years ago by kpreid_google
Modified:
9 years ago
Reviewers:
MarkM
CC:
google-caja-discuss_googlegroups.com
Visibility:
Public.

Description

This is currently useful for migrating off ES5/3 while still using already-cajoled content when possible. It has been designed to be future-proof in case of the introduction of a new or variant implementation strategy, by offering independent answers to "is this ES5/3" and "is this SES" rather than an enumeration (or boolean), which could not express e.g. "this is not actually SES, but if you haven't heard of it you should treat it like SES". @ 3ea130b9de8ecda7daf6c96c715c1c4a9d475732

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M src/com/google/caja/plugin/caja.js View 1 chunk +4 lines, -0 lines 0 comments Download
M src/com/google/caja/plugin/ses-frame-group.js View 1 chunk +7 lines, -0 lines 0 comments Download
M tests/com/google/caja/plugin/test-cajajs-invocation.js View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 2
kpreid_google
9 years ago (2015-04-28 21:44:22 UTC) #1
MarkM
9 years ago (2015-04-28 21:47:16 UTC) #2
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b