Open liluxdev opened 7 years ago
Instead your validator should be updated to generate script dependency as new specs will require it, the official amp validator is saying now:
The tag ‘amp-ad extension .js script’ is missing or incorrect, but required by ‘amp-ad’. This will soon be an error.
The above script tag is also being removed. Any word on when this will be fixed?
I have the same issue, hope to get an update soon.
https://github.com/Lullabot/amp-library/pull/145 << So I suppose this means the amp-ad script tag isn't required, although the validator warns that it is?
It will/can be required soon. Any news about this?
@ahilles107 #145 has been merged into the code for 23 days now. @creativeprogramming @andrewdresden @dcfairwi can you confirm that this works for you now?
This isnt work unless you patch with composer because composer download the last tag and that is 1.07 and doenst have the code that was merged in master before the tag was created...
When there be another release in the tags?
@renzit I just released a new version, 1.1.0.
https://github.com/Lullabot/amp-library/releases/tag/1.1.0
Can you test the new release?
@sigginet i tested the tag 1.1.0 on stage a few hours ago , and now is in production working 100% OK. I was patching the master but now is clean and this are the fix i check: -The amp ad warning -The implementation of amp-sidebar.
So far so good :+1:
Thnks
I checked out the latest code from here and also tried 1.1.2 release however on both codes i am getting below error.
Githubissues.
Scripts like this are removed if full html document are passed to amp-library:
<script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-latest.js"></script>
But they shouldn't be stripped...