Improved caching in debug mode by adding global yepnope filter
This commit is contained in:
73
src/Umbraco.Web/UI/JavaScript/Resources.Designer.cs
generated
73
src/Umbraco.Web/UI/JavaScript/Resources.Designer.cs
generated
@@ -1,7 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18046
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@@ -62,23 +62,23 @@ namespace Umbraco.Web.UI.JavaScript {
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to [
|
||||
/// 'lib/jquery/jquery-1.8.2.min.js',
|
||||
/// 'lib/jquery/jquery.cookie.js',
|
||||
/// 'lib/angular/angular.min.js',
|
||||
/// 'lib/bootstrap/js/bootstrap.js',
|
||||
/// 'lib/underscore/underscore.js',
|
||||
/// 'lib/umbraco/Extensions.js',
|
||||
/// 'lib/jquery/jquery-ui-1.10.3.custom.min.js',
|
||||
///
|
||||
/// 'js/app.js',
|
||||
/// /*
|
||||
/// 'lib/jquery/jquery-ui-1.10.3.custom.min.js',
|
||||
/// 'lib/jquery/jquery.ui.core.min.js',
|
||||
/// 'lib/jquery/jquery.ui.widget.min.js',
|
||||
/// 'lib/jquery/jquery.ui.mouse.min.js',
|
||||
/// 'lib/jquery/jquery.ui.sortable.min.js',
|
||||
/// */
|
||||
///
|
||||
/// 'js/umbraco.resources.js',
|
||||
/// 'js/umbraco.directives.js',
|
||||
/// 'js/umbraco.filters.js',
|
||||
/// 'js/umbraco.services.js',
|
||||
/// 'js/umbraco.security.js',
|
||||
/// 'js/umbraco.controllers.js',
|
||||
/// 'js/routes.js'
|
||||
///].
|
||||
/// 'lib/angular/1.1.5/angular-cookies.min.js',
|
||||
/// 'lib/angular/1.1.5/angular-mobile.js',
|
||||
/// 'lib/angular/1.1.5/angular-sanitize.min.js',
|
||||
///
|
||||
/// 'lib/angular/angular-ui-sortable.js',
|
||||
///
|
||||
/// 'lib/jquery/jquery.u [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string JsInitialize {
|
||||
get {
|
||||
@@ -87,18 +87,41 @@ namespace Umbraco.Web.UI.JavaScript {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to yepnope({
|
||||
///
|
||||
/// load: "##JsInitialize##",
|
||||
///
|
||||
/// complete: function () {
|
||||
/// jQuery(document).ready(function () {
|
||||
/// angular.bootstrap(document, ['umbraco']);
|
||||
/// });
|
||||
///
|
||||
/// Looks up a localized string similar to yepnope.addFilter(function (resourceObj) {
|
||||
/// var url = resourceObj.url;
|
||||
/// if(url.indexOf("lib/") === 0 || url.indexOf("js/umbraco.") === 0){
|
||||
/// return resourceObj;
|
||||
/// }
|
||||
///
|
||||
/// resourceObj.url = resourceObj.url + "?umb__rnd=" + (new Date).getTime();
|
||||
/// return resourceObj;
|
||||
///});.
|
||||
/// </summary>
|
||||
internal static string JsNoCache {
|
||||
get {
|
||||
return ResourceManager.GetString("JsNoCache", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to "##JsNoCache##"
|
||||
///yepnope({
|
||||
/// load: [
|
||||
/// 'lib/jquery/jquery-2.0.3.min.js',
|
||||
/// 'lib/angular/1.1.5/angular.min.js',
|
||||
/// 'lib/underscore/underscore.js',
|
||||
/// ],
|
||||
/// complete: function () {
|
||||
/// yepnope({
|
||||
/// load: "##JsInitialize##",
|
||||
/// complete: function () {
|
||||
///
|
||||
/// //we need to set the legacy UmbClientMgr path
|
||||
/// UmbClientMgr.setUmbracoPath('"##UmbracoPath##"');
|
||||
///
|
||||
/// jQuery(document).ready(function () {
|
||||
/// [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Main {
|
||||
get {
|
||||
return ResourceManager.GetString("Main", resourceCulture);
|
||||
|
||||
Reference in New Issue
Block a user