Browse Source

jsjextension

0x4a52466c696e74 2 years ago
parent
commit
e00879d805
1 changed files with 1 additions and 1 deletions
  1. 1 1
      metla.go

+ 1 - 1
metla.go

@@ -23,7 +23,7 @@ type Metla struct {
 
 func (s *Metla) content(name string) (content []byte, err error) {
 	if content, err = s.contentCallback(name); err == nil {
-		if filepath.Ext(name) != ".script" {
+		if filepath.Ext(name) != ".script" || filepath.Ext(name) != ".sjs" {
 			content, err = parseBytes(content, name)
 		}
 	}