Files
roi-theme/_planeacion/theme_referencias/_old/2025 Construction Cost Books with RSMeans data_files/loader.min.js.descarga
FrankZamora ea38a12055 [NIVEL 2 AVANCE] Issues #49-#53 - Componentes Principales Verificados
Todos los componentes del NIVEL 2 ya están implementados correctamente:
-  Notification Bar (#49)
-  Navbar (#50)
-  Hero Section (#51)
-  Sidebar (#52)
-  Footer (#53)

Solo se actualizó notification-bar.css para usar variables CSS.

Próximo paso: NIVEL 3 (Refinamientos visuales)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 20:01:07 -06:00

9 lines
1.3 KiB
Plaintext

define(['jquery'],function($){'use strict';var licenseRegExp=/<!--[\s\S]*?-->/,defaultPlugin='text',defaultExt='html';function hasFileExtension(str){return!!~str.indexOf('.')&&!!str.split('.').pop();}
function hasPlugin(str){return!!~str.indexOf('!');}
function isFullPath(str){return!!~str.indexOf('://');}
function removeLicense(content){return content.replace(licenseRegExp,function(match){return~match.indexOf('/**')?'':match;});}
return{loadTemplate:function(path){var content=this.loadFromNode(path),defer;if(content){defer=$.Deferred();defer.resolve(content);return defer.promise();}
return this.loadFromFile(path);},loadFromFile:function(path){var loading=$.Deferred();path=this.formatPath(path);require([path],function(template){template=removeLicense(template);loading.resolve(template);},function(err){loading.reject(err);});return loading.promise();},loadFromNode:function(selector){var node;try{node=document.getElementById(selector)||document.querySelector(selector);return node?node.innerHTML:false;}catch(e){return false;}},formatPath:function(path){var result=path;if(!hasPlugin(path)){result=defaultPlugin+'!'+result;}
if(isFullPath(path)){return result;}
if(!hasFileExtension(path)){result+='.'+defaultExt;}
return result.replace(/^([^\/]+)/g,'$1/template');}};});