Comments (22)
Are you talking about running locally on a branch that's not synced with the master? Or do you mean the static content on the gh-pages branches?
from samples.
No, I'm talking about adapter.js is being used by a lot of third-party projects (for instance, at my job), so the only two solutions are to use a local copy updated by hand, or use RawGit. By registering it on Bower it can be updated and managed automatically.
from samples.
Do you want to create a PR showing how to do this?
from samples.
Hi @juberti, I've already registered the repo on Bower (it doesn't require any permissions and can be done by anybody since Bower registry works mostly as a URL shortener) and done a pull-request with the required bower.json metadata file so it's easily indexable and only download the adapter.js file and no others.
from samples.
Great idea – thanks. Will duly tweet/post.
If no objections will close this issue.
from samples.
You are welcome @samdutton :-) Yes, this issue could be closed, it keeps remaining to accept the pull-request (or comment what needs to be fixed so it can be merged).
from samples.
Any update on this? Is there any issue with the pull-request?
from samples.
Thanks for your suggestion and pull request – apologies for delay in dealing with this.
LGTM. We could add a Grunt task to check bower.json validity if necessary.
Any objections to merging, @juberti or @KaptenJansson?
from samples.
I haven't taken the time to fully grok this but if it LGTY Sam go ahead.
from samples.
apologies for delay in dealing with this.
Don't worry, I supposed you were busy :-)
We could add a Grunt task to check bower.json validity if necessary.
The content of the bower.json file will mostly don't change, since it
only host generic metadata for the Bower registry. What do you want to
validate and in what cases?
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux
from samples.
The idea of adding a bower.json check is simply to make sure that
adapter.js stays where it should be.
No big deal – just (maybe) a nice to have.
On Thu, Nov 6, 2014 at 9:16 AM, Jesús Leganés Combarro <
[email protected]> wrote:
apologies for delay in dealing with this.
Don't worry, I supposed you were busy :-)
We could add a Grunt task to check bower.json validity if necessary.
The content of the bower.json file will mostly don't change, since it
only host generic metadata for the Bower registry. What do you want to
validate and in what cases?"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux—
Reply to this email directly or view it on GitHub
#104 (comment).
from samples.
i don't understand how should the grunt script work, if you explain me I would give it a try.
from samples.
Which grunt script – the one for adding new code demos?
On Mon, Nov 10, 2014 at 11:31 AM, Jesús Leganés Combarro <
[email protected]> wrote:
i don't understand how should the grunt script work, if you explain me I
would give it a try.—
Reply to this email directly or view it on GitHub
#104 (comment).
from samples.
No, the one as a sanity check for the availability of the adapter.js file.
El 10/11/2014 12:42, "Sam Dutton" [email protected] escribió:
Which grunt script – the one for adding new code demos?
On Mon, Nov 10, 2014 at 11:31 AM, Jesús Leganés Combarro <
[email protected]> wrote:i don't understand how should the grunt script work, if you explain me I
would give it a try.—
Reply to this email directly or view it on GitHub
#104 (comment).—
Reply to this email directly or view it on GitHub
#104 (comment).
from samples.
Ah – I meant this one: npmjs.org/package/grunt-bower-verify
https://www.npmjs.org/package/grunt-bower-verify.
On Mon, Nov 10, 2014 at 11:45 AM, Jesús Leganés Combarro <
[email protected]> wrote:
No, the one as a sanity check for the availability of the adapter.js file.
El 10/11/2014 12:42, "Sam Dutton" [email protected] escribió:Which grunt script – the one for adding new code demos?
On Mon, Nov 10, 2014 at 11:31 AM, Jesús Leganés Combarro <
[email protected]> wrote:i don't understand how should the grunt script work, if you explain me
I
would give it a try.—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleChrome/webrtc/issues/104#issuecomment-62372345>.—
Reply to this email directly or view it on GitHub
#104 (comment).—
Reply to this email directly or view it on GitHub
#104 (comment).
from samples.
Ah – I meant this one: npmjs.org/package/grunt-bower-verify
Didn't know of this package. Seems more focused to check that the
bower dependencies of a proyect are valid ones instead of validate
that the package itself is correct, isn't it?
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux
from samples.
to check that the bower dependencies of a project are valid
Yes. I don't think we definitely have to validate the Bower dependencies –
I just happened to notice this package and thought it might be worthwhile
:).
I've merged your pull request.
Thanks again for doing this – excellent suggestion.
Sam
On Mon, Nov 10, 2014 at 12:43 PM, Jesús Leganés Combarro <
[email protected]> wrote:
Ah – I meant this one: npmjs.org/package/grunt-bower-verify
Didn't know of this package. Seems more focused to check that the
bower dependencies of a proyect are valid ones instead of validate
that the package itself is correct, isn't it?"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux—
Reply to this email directly or view it on GitHub
#104 (comment).
from samples.
Thank you for accepting it, I think it will be useful :-)
One last note: I've check to download it on my machine and now it doesn't download the full repo (good! :-D ), but there are some pending useless files, maybe added after I did the pull-request:
[piranna@Latitude:/tmp/prueba]
> tree
.
└── bower_components
└── adapter.js
├── bower.json
├── Gruntfile.js
├── LICENSE
├── package.json
├── README.md
└── samples
└── web
└── js
└── adapter.js
5 directories, 6 files
Gruntfile.js and package.json shouldn't be there. I can be able to do a pull-request to add them to the ignore field, but it's not absolutely necesary :-)
from samples.
Ah... good spot. Obviously Gruntfile.js, etc., aren't required for
adapter.js. Would be good to ignore.
(Gruntfile.js and package.json are used for build testing.)
On Mon, Nov 10, 2014 at 2:29 PM, Jesús Leganés Combarro <
[email protected]> wrote:
Thank you for accepting it, I think it will be useful :-)
One last note: I've check to download it on my machine and now it doesn't
download the full repo (good! :-D ), but there are some pending useless
files, maybe added after I did the pull-request:[piranna@Latitude:/tmp/prueba]
tree.
└── bower_components
└── adapter.js
├── bower.json
├── Gruntfile.js
├── LICENSE
├── package.json
├── README.md
└── samples
└── web
└── js
└── adapter.js5 directories, 6 files
Gruntfile.js and package.json shouldn't be there. I can be able to do a
pull-request to add them to the ignore field, but it's not absolutely
necesary :-)—
Reply to this email directly or view it on GitHub
#104 (comment).
from samples.
Here you have the updated bower.json file with Gruntfile.js and package.json on the ignore hash :-)
from samples.
This is done right?
from samples.
Yes, this is already done, I'll close the issue. Thanks to everybody :-)
from samples.
Related Issues (20)
- When Chrome displays virtual camera colors, the colors are displayed incorrectly HOT 3
- When I use Android phone to publish stream, I get this problem in my chrome browser: "Uncaught TypeError: Cannot read property 'find' of undefined." HOT 1
- Invite is being truncated HOT 1
- Scalable Video Coding example needs update HOT 3
- Scalable Video Codec prevent incorrect Safari usage
- Scalable Video Codec include an SVC support check HOT 1
- WebGPU code refresh needed: layout parameter now required in createRenderPipeline calls HOT 2
- No SRFLX ICE candidates? HOT 1
- [Sample PeerConnection Channel] - The all sound turn off after enable navigator.mediaDevices.getUserMedia HOT 2
- E2E interop test failures HOT 4
- Send SDP answer without signalling server HOT 5
- Update insertable streams section to WebRTC Encoded transforms HOT 4
- Video Analyzer doesn't work on http/default server settings HOT 3
- Can I share some Windows? Let's HOT 1
- Add new sample: Mirroring and recording video from camera stream HOT 1
- navigator.mediaDevices.getUserMedia doesn't work on macos catalyst WKWebView HOT 1
- mp4 mimeType is downloaded with .webm extension, not a mp4. HOT 1
- Can a shared surface select its derivative window? HOT 1
- Script (lit-element) error , not close jsx param.
- On some of my machines I got the error "Error creating offer: SyntaxError: Failed to construct 'RTCPeerConnection': '' is not a valid URL." HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samples.