Skip to content

Commit eb06c6a

Browse files
Update comments
1 parent 1fedc69 commit eb06c6a

4 files changed

Lines changed: 4 additions & 7 deletions

File tree

src/full/splitFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const platform = { getFetch, getEventSource, EventEmitter, now };
1212

1313
/**
1414
* SplitFactory with pluggable modules for Browser.
15-
* Includes fetch polyfill out-of-the-box.
15+
* It includes a `fetch` polyfill out-of-the-box.
1616
*
1717
* @param config configuration object used to instantiate the SDK
1818
* @param __updateModules optional function that lets redefine internal SDK modules. Use with

src/splitFactory.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import { IBrowserSettings } from '../types/splitio';
1111
const platform = { getFetch, getEventSource, EventEmitter, now };
1212

1313
/**
14-
* Slim SplitFactory with pluggable modules for Browser.
15-
* Doesn't include fetch ponyfill out-of-the-box.
14+
* SplitFactory with pluggable modules for Browser.
1615
*
1716
* @param config configuration object used to instantiate the SDK
1817
* @param __updateModules optional function that lets redefine internal SDK modules. Use with

types/full/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ declare module JsSdk {
99
/**
1010
* Full version of the Split.io SDK factory function.
1111
*
12-
* Unlike the slim version, it doesn't require a 'fetch' polyfill to support old browsers @see {@link https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK#language-support}.
12+
* It includes a `fetch` polyfill out-of-the-box. @see {@link https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK#language-support}.
1313
*
1414
* The settings parameter should be an object that complies with the SplitIO.IBrowserSettings.
1515
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK#configuration}

types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ export = JsSdk;
77

88
declare module JsSdk {
99
/**
10-
* Slim version of the Split.io SDK factory function.
11-
*
12-
* Recommended to use for bundle size reduction in production, since it doesn't include a 'fetch' polyfill out-of-the-box
10+
* Split.io SDK factory function.
1311
*
1412
* The settings parameter should be an object that complies with the SplitIO.IBrowserSettings.
1513
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK#configuration}

0 commit comments

Comments
 (0)