Loading of external resources

Community Driven Extensions Project
Post Reply
Zardo
Posts: 46
Joined: 29 Jul 2015, 15:41

03 Sep 2019, 13:51

Is there a way to avoid loading of resources von githubusercontent.com?

Melloware
Posts: 1346
Joined: 22 Apr 2013, 15:48

03 Sep 2019, 13:53

Are you referring to the source maps like in this post? viewtopic.php?f=14&t=44293&p=138508&hil ... ap#p138508
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 7.0.8 / PF Extensions 7.0.3

Zardo
Posts: 46
Joined: 29 Jul 2015, 15:41

03 Sep 2019, 14:36

Ups, yes, I didn't see the post.

Sorry, I still not see where is this dependency and how I can remove it...

Melloware
Posts: 1346
Joined: 22 Apr 2013, 15:48

03 Sep 2019, 14:47

I am not sure exactly what of yours is complaining about the external URL's?

But if you open up the PrimeFaces Extensions JAR and navigate to \org\primefaces\extensions\primefaces-extensions\7.0.2\primefaces-extensions-7.0.2.jar\META-INF\resources\primefaces-extensions\calculator\calculator.js

If you open that JS file and go to the last line in the file you will see this...

Code: Select all

//# sourceMappingURL=https://raw.githubusercontent.com/primefaces-extensions/core/master/src/sourcemap/7.0.2/calculator.js.map
That is a Source Map hint so the browser can attach the uncompressed source to the debugger if you are debugging.
See: https://blog.teamtreehouse.com/introduction-source-maps

You can disable it in Chome like this: https://stackoverflow.com/questions/350 ... e-devtools
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 7.0.8 / PF Extensions 7.0.3

Zardo
Posts: 46
Joined: 29 Jul 2015, 15:41

03 Sep 2019, 15:09

Thx very much!

A customer is complaining about the presence of the URL

Melloware
Posts: 1346
Joined: 22 Apr 2013, 15:48

09 Nov 2019, 17:40

This will be removed in PFE 8.0. See: https://github.com/primefaces-extension ... issues/746
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 7.0.8 / PF Extensions 7.0.3

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests