Skip to content

Commit 28bd928

Browse files
Docs - Change wording of SDK Summary when searching (#337)
1 parent 2b234a5 commit 28bd928

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

__docTemplate/src/tmpl/search/_modal.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</div>
2525

2626
<div class="pill-legend">
27-
<span class="lunr-search-result-pill sdk">sdk</span><span class="pill-desc">Internal SDK methods and classes</span>
27+
<span class="lunr-search-result-pill sdk">sdk</span><span class="pill-desc">SDK methods and classes</span>
2828
</div>
2929

3030
<div class="pill-legend">

__docTemplate/template/tmpl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Handlebars = glob.Handlebars || require('handlebars');
55
this["tmpl"] = this["tmpl"] || {};
66

77
Handlebars.registerPartial("search/modal", this["tmpl"]["search/modal"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
8-
return "<!-- start:lunr-search-modal.hbs -->\r\n<div class=\"modal fade\" id=\"lunr-search-modal\">\r\n <div class=\"modal-dialog\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span\r\n aria-hidden=\"true\">&times;</span></button>\r\n <h4 class=\"modal-title\">Search results</h4>\r\n </div>\r\n <div class=\"modal-body foobar\" id=\"lunr-search-body\">\r\n <div class=\"modal-body__left\"></div>\r\n <div class=\"modal-body__right\">\r\n <div style=\"font-weight:bold;text-decoration: underline\">Quick Help</div>\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill action\">action</span><span class=\"pill-desc\">An action object passed to a Transformation or an Asset</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill qualifier\">qualifier</span><span class=\"pill-desc\">A value passed to an Action, or to another Qualifier</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill namespace\">namespace</span><span class=\"pill-desc\">A collection of actions or qualifiers, grouped by a common theme</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill sdk\">sdk</span><span class=\"pill-desc\">Internal SDK methods and classes</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill test\">test</span><span class=\"pill-desc\">Unit test examples of the SDK</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill config\">config</span><span class=\"pill-desc\">Configuration related methods, interfaces and classes</span>\r\n </div>\r\n\r\n <div>You can search for any of the above terms, for example \"tests\" or \"action\"</div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\" id=\"lunr-search-footer\">\r\n <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\r\n </div>\r\n </div><!-- /.modal-content -->\r\n </div><!-- /.modal-dialog -->\r\n</div>\r\n<!-- end:lunr-search-modal.hbs -->\r\n";
8+
return "<!-- start:lunr-search-modal.hbs -->\r\n<div class=\"modal fade\" id=\"lunr-search-modal\">\r\n <div class=\"modal-dialog\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span\r\n aria-hidden=\"true\">&times;</span></button>\r\n <h4 class=\"modal-title\">Search results</h4>\r\n </div>\r\n <div class=\"modal-body foobar\" id=\"lunr-search-body\">\r\n <div class=\"modal-body__left\"></div>\r\n <div class=\"modal-body__right\">\r\n <div style=\"font-weight:bold;text-decoration: underline\">Quick Help</div>\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill action\">action</span><span class=\"pill-desc\">An action object passed to a Transformation or an Asset</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill qualifier\">qualifier</span><span class=\"pill-desc\">A value passed to an Action, or to another Qualifier</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill namespace\">namespace</span><span class=\"pill-desc\">A collection of actions or qualifiers, grouped by a common theme</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill sdk\">sdk</span><span class=\"pill-desc\">SDK methods and classes</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill test\">test</span><span class=\"pill-desc\">Unit test examples of the SDK</span>\r\n </div>\r\n\r\n <div class=\"pill-legend\">\r\n <span class=\"lunr-search-result-pill config\">config</span><span class=\"pill-desc\">Configuration related methods, interfaces and classes</span>\r\n </div>\r\n\r\n <div>You can search for any of the above terms, for example \"tests\" or \"action\"</div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\" id=\"lunr-search-footer\">\r\n <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\r\n </div>\r\n </div><!-- /.modal-content -->\r\n </div><!-- /.modal-dialog -->\r\n</div>\r\n<!-- end:lunr-search-modal.hbs -->\r\n";
99
},"useData":true}));
1010

1111
Handlebars.registerPartial("search/navbar-input", this["tmpl"]["search/navbar-input"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {

src/transformation/Transformation.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -272,23 +272,6 @@ class Transformation {
272272
return this.addAction(action);
273273
}
274274

275-
/**
276-
* Sets the total number of frames to sample from the original video.
277-
*
278-
* Relevant when converting videos to animated GIF or WebP format. If not specified, the resulting GIF or WebP
279-
* samples the whole video (up to 400 frames, at up to 10 frames per second). By default the duration of the
280-
* animated image is the same as the duration of the video, no matter how many frames are sampled from the original
281-
* video (use the delay parameter to adjust the amount of time between frames).
282-
*
283-
* @param {VideoSamplingAction} videoSamplingAction
284-
* @return {this}
285-
*/
286-
/*
287-
videoSampling(videoSamplingAction: VideoSamplingAction): this {
288-
return this.addAction(videoSamplingAction);
289-
}
290-
*/
291-
292275
/**
293276
* Applies the specified video edit action.
294277
*

0 commit comments

Comments
 (0)