Greasy Fork is available in English.

LoadScript

一个用于按顺序加载外部js的脚本的库

As of 2015-05-27. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/10108/54091/LoadScript.js

نووسەر
bramblex
وەشان
1.1
Created
2015-05-27
Updated
2015-05-27
مۆڵەت
نییە

简介

一个用于按顺序加载外部js的脚本的库

用法

  var urls = [
   'http://cdnjs.net/ajax/libs/jquery/2.1.4/jquery.min.js',
   'http://cdnjs.net/ajax/libs/jquery.blockUI/2.66.0-2013.10.09/jquery.blockUI.min.js'
  ];

  var onReady = function onReady(){
    $.blockUI();
  };

  loadScript(urls, onReady);