25 lines
515B

  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\validators;
  8. use yii\web\AssetBundle;
  9. /**
  10. * This asset bundle provides the javascript files needed for the [[EmailValidator]]s client validation.
  11. *
  12. * @author Qiang Xue <qiang.xue@gmail.com>
  13. * @since 2.0
  14. */
  15. class PunycodeAsset extends AssetBundle
  16. {
  17. public $sourcePath = '@bower/punycode';
  18. public $js = [
  19. 'punycode.js',
  20. ];
  21. }