source: imaps-frontend/node_modules/postcss/lib/warn-once.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 256 bytes
RevLine 
[d565449]1/* eslint-disable no-console */
2'use strict'
3
4let printed = {}
5
6module.exports = function warnOnce(message) {
7 if (printed[message]) return
8 printed[message] = true
9
10 if (typeof console !== 'undefined' && console.warn) {
11 console.warn(message)
12 }
13}
Note: See TracBrowser for help on using the repository browser.