jsfm.js
function addAddedFileInnScript(key, path, dot_path){
			dot_path = dot_path || path;
			// checking if same file imported twice for same Class.
			if(!dot_path) return;
			var script = scriptArr[scriptArr.length - 1];
			if( !script ){
				return;
			}
			var arr = script[key] ||  (script[key] = []);
			if( arr.indexOf(dot_path) === -1 ) {
				arr.push(dot_path);
			}
			return true;
		}
function addAddedFileInnScript(key, path, dot_path){
			dot_path = dot_path || path;
			// checking if same file imported twice for same Class.
			if(!dot_path) return;
			var script = scriptArr[scriptArr.length - 1];
			if( !script ){
				return;
			}
			var arr = script[key] ||  (script[key] = []);
			if( arr.indexOf(dot_path) === -1 ) {
				arr.push(dot_path);
			}
			return true;
		}
function addAddedFileInnScript ( key , path , dot_path ) { dot_path = dot_path || path ; // checking if same file imported twice for same Class. if ( ! dot_path ) return ; var script = scriptArr [ scriptArr . length - 1 ] ; if ( ! script ) { return ; } var arr = script [ key ] || ( script [ key ] = [ ] ) ; if ( arr . indexOf ( dot_path ) === - 1 ) { arr . push ( dot_path ) ; } return true ; }
Add imports for current loaded javascript file. Add imported javascript file for current class into scriptArr.
Add imports for current loaded javascript file . Add imported javascript file for current class into scriptArr .