mityi Posted February 1, 2017 Share Posted February 1, 2017 Подскажите как добавить файл в JS в свой проект? хочу использовать пример из темы http://forums.unigui.com/index.php?/topic/4523-masked-input-plugin/?hl=unidatetimepicker&do=findComment&comment=22461но ни как не могу добавить файл с расширением JS в проект или достаточно его в папке с проектом держать? С копировал код вставил но выдает ошибку при запуске проекта. Quote Link to comment Share on other sites More sharing options...
mityi Posted February 1, 2017 Author Share Posted February 1, 2017 In server module --> Custome Meta --> add your link Ответ нашел, но пример не работает, может кто нибудь выложит сюда пример? из ссылки выше. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 2, 2017 Share Posted February 2, 2017 Здравствуйте, Есть несколько способов включить JS файлы в Ваш проект, 1. UniServerModule -> CustomFiles... (например: files/yourJSfile.js) 2. UniAddJSLibrary() в секции инициализации вашего модуля 3. CustomFiles.Add() - до инициализации UniServerModule... ... А для примера из ссылки выше, попробуйте просто добавить в uses - uniEdit и протестировать... 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.