javascript - breezejs: __stringStartsWith is undefined when using ODATA adapter -
i use wcf data service , when try save entity, error __stringstartswith undefined
. raises exception in file breeze.dataservice.odata.js @ line 215.
i've included both breeze.debug.js , breeze.dataservice.odata.js in page. function defined in breeze.debug.js global function, guess should known dataservice adapter... there i'm missing here ?
edit
client: https://www.dropbox.com/s/ed0o7ie1n88pnlw/reprobreezee_client.zip
service: https://www.dropbox.com/s/vnye10lcgg4h3iu/reprobreeze_service.zip
i had same problem __stringstartswith
in breeze.dataservice.odata.js
file being undefined
when trying insert record.
change code
if (__stringstartswith(uri,prefix)) ...
to
if (core.stringstartswith(uri, prefix)) ...
Comments
Post a Comment