You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/kitsu-core/src/splitModel/index.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
2
2
/**
3
-
* splitModel
3
+
* Split model name from the model's resource URL
4
4
*
5
+
* @name splitModel
5
6
* @param {string} url URL path for the model
6
7
* @param {Object} options
7
8
* @param {Function} options.resourceCase Convert libraryEntries to library-entries or library_entries (default no conversion). To use parameter, import kebab or snake from kitsu-core
Copy file name to clipboardExpand all lines: packages/kitsu/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@
26
26
27
27
<palign=center>A simple, lightweight & framework agnostic <ahref=http://jsonapi.org>JSON:API</a> client for <ahref=https://kitsu.io>Kitsu.io</a> and other APIs</p>
0 commit comments