Browse Source

fix link generator

Gregg Tavares 6 years ago
parent
commit
b255110d02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      threejs/lessons/resources/lesson.js

+ 1 - 1
threejs/lessons/resources/lesson.js

@@ -304,7 +304,7 @@ $(document).ready(function($){
     return a;
     return a;
   });
   });
 
 
-  const methodPropertyRE = /^(\w+).(\w+)$/;
+  const methodPropertyRE = /^(\w+)\.(\w+)$/;
   const classRE = /^(\w+)$/;
   const classRE = /^(\w+)$/;
   $('a').each(function() {
   $('a').each(function() {
     const href = this.getAttribute('href');
     const href = this.getAttribute('href');