Пример #1
0
        private static string getTag(JavascriptEntry js)
        {
            string currentFormat;

            if (js.Async)
            {
                currentFormat = javascriptAsyncHtml;
            }
            else
            {
                currentFormat = javascriptHtml;
            }

            return(currentFormat);
        }
Пример #2
0
 public void addJavascript(JavascriptEntry file)
 {
     Js.Add(file);
 }