Greasy Fork is available in English.

LoadScript

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

Acest script nu ar trebui instalat direct. Aceasta este o bibliotecă pentru alte scripturi care este inclusă prin directiva meta a // @require https://update.greasyfork.org/scripts/10108/54092/LoadScript.js

Autor
bramblex
Versiune
1.2
Creat
27-05-2015
Actualizat
27-05-2015
Licență
N/A

简介

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