Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29827633: Issue 6538, 6781 - Add initial snippets library (Closed)

Created:
July 11, 2018, 3:49 p.m. by Manish Jethani
Modified:
July 11, 2018, 5:59 p.m.
Reviewers:
kzar, hub
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Description

This is the initial version of the snippets library. It contains only one snippet called "log", which can be used for debugging purposes. adblockpluschrome will include this file similar to the way it includes lib/content/elemHideEmulation.js Eventually the snippets library will have its own repo.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -0 lines) Patch
A lib/content/snippets.js View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 4
Manish Jethani
July 11, 2018, 3:49 p.m. (2018-07-11 15:49:21 UTC) #1
Manish Jethani
Patch Set 1
July 11, 2018, 3:52 p.m. (2018-07-11 15:52:07 UTC) #2
kzar
We know that `args` will always be an empty array, or an array of strings ...
July 11, 2018, 5:47 p.m. (2018-07-11 17:47:12 UTC) #3
Manish Jethani
July 11, 2018, 5:58 p.m. (2018-07-11 17:58:51 UTC) #4
On 2018/07/11 17:47:12, kzar wrote:
> We know that `args` will always be an empty array, or an array of strings
right?

Yes, zero or more elements in the array, and each element is guaranteed (by the
other part of the implementation) to be a string.

> If so LGTM.

Thanks!

Powered by Google App Engine
This is Rietveld