File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11// Import ZZ from '@aureooms/js-integer-ring' ; 
22import  { _chr }  from  '@aureooms/js-integer-big-endian' ; 
33import  { ZZ ,  DEFAULT_DISPLAY_BASE }  from  '@aureooms/js-integer' ; 
4- import  RationalField  from  ' ./RationalField' ; 
4+ import  RationalField  from  " ./RationalField.js" ; 
55
66const  domain  =  { 
77	name : 'ZZ' , 
Original file line number Diff line number Diff line change 11import  { ValueError }  from  '@aureooms/js-error' ; 
22import  { ZeroDivisionError }  from  '@aureooms/js-integer' ; 
3- import  _make_rational_class  from  ' ./_make_rational_class' ; 
3+ import  _make_rational_class  from  " ./_make_rational_class.js" ; 
44
55export  default  class  RationalField  { 
66	constructor ( name ,  domain ,  base )  { 
Original file line number Diff line number Diff line change 1- import  _make_methods  from  ' ./_make_methods' ; 
1+ import  _make_methods  from  " ./_make_methods.js" ; 
22
33import  { ZeroDivisionError }  from  '@aureooms/js-integer' ; 
44
Original file line number Diff line number Diff line change 1- import  QQ  from  ' ./QQ' ; 
2- import  RationalField  from  ' ./RationalField' ; 
3- import  _make_methods  from  ' ./_make_methods' ; 
4- import  _make_rational_class  from  ' ./_make_rational_class' ; 
1+ import  QQ  from  " ./QQ.js" ; 
2+ import  RationalField  from  " ./RationalField.js" ; 
3+ import  _make_methods  from  " ./_make_methods.js" ; 
4+ import  _make_rational_class  from  " ./_make_rational_class.js" ; 
55
66export  default  QQ ; 
77
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import test from 'ava';
22
33import  { ZZ }  from  '@aureooms/js-integer' ; 
44// Import ZZ from '@aureooms/js-integer-ring' ; 
5- import  QQ  from  ' ../../src' ; 
5+ import  QQ  from  " ../../src/index.js" ; 
66
77test ( '1 ∈ ℚ' ,  ( t )  =>  { 
88	t . true ( QQ . has ( 1 ) ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments