Skip to content
Snippets Groups Projects
Select Git revision
  • c79f0bbf64590ce6f5b7603d05cc8c69293428ff
  • master default protected
  • hai
  • isaac
  • CheHao
  • Eldar
  • mpriymak
  • master-before-merging-with-hai
  • master-before-merging-with-isaac
  • rmi-working-before-merging-with-isaac
  • all-code-merged-by-hai-v1
11 results

PaintGUI.java

Blame
  • Forked from Ho Dac Hai / COMP90015-DSAss2-InfinityMonkeys-remaster
    Source project has a limited visibility.
    map.js 527 B
    function (doc) {
      var editDate = new Date(doc.created_at.split(" ")[0]);
      var month = editDate.getMonth()+1;
      var year = editDate.getFullYear();
      var date = editDate.getDate();
    
      if(year==2020){
    
        if(date<=10){
          stage='F'
        }
        else if(date<=20){
          stage='M'
        }
        else{
          stage='L'
        }
      if(doc.sentiment[0]<0)
        emit([doc.state,'negative',month,stage],1)
      else if(doc.sentiment[0]>0)
        emit([doc.state,'positive',month,stage],1)  
      else 
        emit([doc.state,'neutral',month,stage],1)
     
    }}