SORU
6 Kasım 2013, ÇARŞAMBA


Ui-bootstrap-tpls.min.js ve ui-bootstrap.min.js arasındaki fark nedir

Cdnjs Angular-UI-Bootstrap page, diyor

Yerel (Açısal) Twitter Bootstrap için direktifler AngularJS. Küçük ayak izi (5kB gzip'!), 3. parti bağımlılıkları JS (jQuery, bootstrap JS) gerekli!

... ve seçenekleri vardır

//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.6.0/ui-bootstrap-tpls.min.js

ve

//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.6.0/ui-bootstrap.min.js

Fark bence bu çok ince bir fark gösterir, ve eğer herhangi bir belge bulamadım

Edit:

Uzun lafın kısası kullanın özelleştirilmiş oluşturmak için gidiyoruz sürece tpls şablonlar.

Edit:

Burada belgelenmiştir: github.açısal-uı/ağaç//bootstrap gh-pages com/#-dosya oluştur (bağlantılı de giriş sayfası). Kısa tpls sürüm BS varsayılan vardır. şablonları birlikte. Her durumda tek bir içermelidir listelenen dosyalar. - Teşekkürler pkozlowski.açık kaynak kodlu

CEVAP
6 Kasım 2013, ÇARŞAMBA


Yaniui-bootstrap-tpls.min.js == (ui-bootstrap.min.js şablonlar html)js tarafından gerekli. Sadece ui-bootstrap.min.js ayrıca kendi html şablonları sağlamak gerekir dahil.

Aksi gibi bir şey göreceksiniz:

GET http://localhost:8989/hello-world/template/tooltip/tooltip-popup.html 404 (Not Found) angular.js:7073
Error: [$compile:tpload] http://errors.angularjs.org/undefined/$compile/tpload?p0=template/tooltip/tooltip-popup.html
    at Error (<anonymous>)
    at http://localhost:8989/hello-world/js/vendor/angular-1.2.0-rc.3/angular.min.js:6:453
    at http://localhost:8989/hello-world/js/vendor/angular-1.2.0-rc.3/angular.min.js:54:14
    at http://localhost:8989/hello-world/js/vendor/angular-1.2.0-rc.3/angular.min.js:64:438
    at A (http://localhost:8989/hello-world/js/vendor/angular-1.2.0-rc.3/angular.min.js:89:258)
    at A (http://localhost:8989/hello-world/js/vendor/angular-1.2.0-rc.3/angular.min.js:89:258)
    at http://localhost:8989/hello-world/js/vendor/angular-1.2.0-rc.3/angular.min.js:90:465
    at g.$eval (http://localhost:8989/hello-world/js/vendor/angular-1.2.0-rc.3/angular.min.js:98:272)
    at g.$digest (http://localhost:8989/hello-world/js/vendor/angular-1.2.0-rc.3/angular.min.js:96:142)
    at g.$apply (http://localhost:8989/hello-world/js/vendor/angular-1.2.0-rc.3/angular.min.js:99:100) 

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • JorteexHD

    JorteexHD

    20 NİSAN 2012
  • Microsoft Help & Training Videos

    Microsoft He

    31 Mart 2009
  • Pepsi

    Pepsi

    1 Kasım 2005