LoadScript

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

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.greatest.deepsurf.us/scripts/10108/54092/LoadScript.js

लेखक
bramblex
आवृत्ती
1.2
बनवली
2015-05-27
अपडेट केली
2015-05-27
आकार
1 KB
License
नाही

简介

一个用于按顺序加载外部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);