Giter Club home page Giter Club logo

colintreefirstrun's Introduction

判断是否首次运行组件

更新于2016.10.2 版本1.0

感谢yunhcl的建议!

内含两个函数

  1. 查询是否首次运行,如果是,返回true并自动标记已运行;如果不是首次运行,则返回false
  2. 清除“已经运行标签”,会使得下次检查“是否首次运行”返回true

原网址:http://www.source-space.cn/down/FirstRun
作者:ColinTree

Check if the first time to run component

Version1.0 Update in Oct.2, 2016

Thanks for your advice yunhcl!

Included two function

  1. Check if it is the first time to run, if it is true, return "true" and set a flag; If it is not the first time(flag existed), Return "false"
  2. Clear the flag, causes returning true if check if it is first time to run

Original Web Page:http://www.source-space.cn/down/FirstRun
Author: ColinTree

colintreefirstrun's People

Contributors

colintree avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.