<commit_before>var React=require("react");
var style=require("./Animation.css");
var Link=require("react-router").Link;
var $=require("jquery");

var Animation = React.createClass({
    getInitialState:function() {
        return {
            load:0
        };
    },
    gressBarGo:function () {
      var counter=0;
      this.timer = setInterval(function () {
        if (this.state.load == 3 && counter < 5) {
          counter=counter+1;
        }
        else{
          this.setState({load:this.state.load+1});
        }
        if (this.state.load==9) {
          clearInterval(this.timer);
        }
      }.bind(this),500);
    },
    componentDidMount:function() {
        //页面加载完成后执行
        window.onload=function(){
          clearInterval(this.timer);
          var counter=0;
          this.timer = setInterval(function () {
            if (this.state.load == 7 && counter < 3) {
              counter=counter+1;
            }
            else{
              this.setState({load:this.state.load+1});
            }
            if (this.state.load==10) {
              $('.gressTip').html("资料读取完毕，准备好侵入INA了吗！").css('color','green');
              setTimeout(function(){
                $('.AnimationBox').fadeOut(2000);
              }.bind(this),2000)
              clearInterval(this.timer);
              clearInterval(this.timer2);
            }
          }.bind(this),300);
        }.bind(this);
        //背景图滚动
        var scrollLength=$('.bkgScroll').height()-document.body.clientWidth;
        this.timer2=setInterval(function(){
          if(scrollLength >= 1){<commit_msg>Update Animation.jsx<commit_after>var React=require("react");
var style=require("./Animation.css");
var Link=require("react-router").Link;
var $=require("jquery");

var Animation = React.createClass({
    getInitialState:function() {
        return {
            load:0
        };
    },
    gressBarGo:function () {
      var counter=0;
      this.timer = setInterval(function () {
        if (this.state.load == 3 && counter < 5) {
          counter=counter+1;
        }
        else{
          this.setState({load:this.state.load+1});
        }
        if (this.state.load==9) {
          clearInterval(this.timer);
        }
      }.bind(this),500);
    },
    componentDidMount:function() {
        //页面加载完成后执行
        window.onload=function(){
          clearInterval(this.timer);
          var counter=0;
          this.timer = setInterval(function () {
            if (this.state.load == 7 && counter < 3) {
              counter=counter+1;
            }
            else{
              this.setState({load:this.state.load+1});
            }
            if (this.state.load==10) {
              $('.gressTip').html("资料读取完毕，准备好侵入INA了吗！").css('color','green');
              setTimeout(function(){
                clearInterval(this.timer2);
                $('.AnimationBox').fadeOut(2000);
              }.bind(this),2000)
              clearInterval(this.timer);
            }
          }.bind(this),300);
        }.bind(this);
        //背景图滚动
        var scrollLength=$('.bkgScroll').height()-document.body.clientWidth;
        this.timer2=setInterval(function(){
          if(scrollLength >= 1){
{'fraction_non_alphanumeric': 0.15766468935373087, 'fraction_numerical': 0.01935685295035904, 'mean_word_length': 1.8031496062992125, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '751527', 'n_tokens_mistral': 991, 'n_tokens_neox': 970, 'n_words': 126}