cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgrebnov <...@git.apache.org>
Subject [GitHub] cordova-paramedic pull request: Paramedic improvements
Date Wed, 06 Apr 2016 11:16:56 GMT
Github user sgrebnov commented on a diff in the pull request:

    https://github.com/apache/cordova-paramedic/pull/3#discussion_r58688217
  
    --- Diff: paramedic-plugin/paramedic.js ---
    @@ -0,0 +1,74 @@
    +var io = cordova.require('cordova-plugin-paramedic.socket.io');
    --- End diff --
    
    This is cordovaRequire (paramedic.js is plugin script, not a node module ) which works
slightly different.
    The _require("socket.io")_  and _require("./socket.io")_ won't work in this case.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message