style: ensure named functions
This commit is contained in:
1 parent
dd07392821
commit
a086affbef
5 files changed
+7
-7
No files matched your search
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
export const ensureUnit = function(d) {
|
||||
export const ensureUnit = function ensureUnit(d) {
|
||||
if (!d) d = 0;
|
||||
|
||||
// ensure that it is a string
|
||||
|
||||
Reference in new issue
Block a user