Giter VIP home page Giter VIP logo

autojscssversion's People

Stargazers

 avatar

autojscssversion's Issues

version number(id) is attached to html control id in javascript

This is a random case. i cant understand how it generates the IDs but when i 
write the javascript code and use the control id it take something like this.

Original id="mPlayer_playerPoster"
Generated id=?v=16010101053000"mPlayer_playerPoster"

this doesnt happen everytime but when i write the code for javascript so many 
times i found this issue. has anyone faced this one? is there any workaround 
for this?

Original issue reported on code.google.com by [email protected] on 20 Nov 2013 at 9:43

Handle special case of silverlight .xap

I would very much like to be able to have the same versioning for xap files.

That means that you have to parse things like :
<param name="source" value="ClientBin/SL.xap"/>
and render something like
<param name="source" value="ClientBin/SL.xap?v=........"/>

I tried to do it myself but I unable to make it work.

any hint on how I should handle this?
Thanks a lot.
John.


Original issue reported on code.google.com by [email protected] on 7 Aug 2011 at 11:49

Problem when handling raw javascript

What steps will reproduce the problem?
When your page has some javascript in it like:
<script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
        }
    </script>
The filter tries to parse this as a file and throws an exception


Original issue reported on code.google.com by [email protected] on 7 Aug 2011 at 11:46

Illegal characters in path exception

What steps will reproduce the problem?
1.  Create a new web app project.
2.  Add a master page and a content page.
3.  Add a few JS file references.
4.  Paste the BeginRequest code in.
5.  Add the StaticContentFilter class to the project.
6.  Run the project.

What is the expected output? What do you see instead?

Expect the page to load, and expect to see the JS file references versioned.  
Instead, I get an exception:

Illegal characters in path on the line "var physicalPath = 
Server.MapPath(relativePath);"


relativePath has the value:

" />

</head>
<body>
    <form method=



Original issue reported on code.google.com by [email protected] on 28 Feb 2012 at 2:28

Version info is not added to js file path.

What steps will reproduce the problem?
1. Add the StaticContentFilter class to the existing project.
2. Paste the code to the BeginRequest code in global.aszx.
3. Run the project.

What is the expected output? What do you see instead?
-Version info should be added to url path of js. It is adding version info in 
some of the js script but not adding to some. it is generated randomly and when 
i refresh the page then it is working fine with properly adding version info to 
all js file path.

Please resolve this issue asasp as i am trying to resolve it from last week but 
din't get any solution.

Please find attached screenshot so you can get better idea.

Thanks

Khushbu Vyas



Original issue reported on code.google.com by [email protected] on 3 Feb 2015 at 11:11

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.