How to use the cookie.defaults function in cookie

To help you get started, we’ve selected a few cookie examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github seajs / seajs / test / issues / auto-transport / main.js View on Github external
define(function(require) {

  var test = require('../../test')
  var $ = require('jquery')
  var cookie = require('cookie')

  test.assert($.fn, '$.fn')
  test.assert(typeof cookie === 'function', typeof cookie)
  test.assert(cookie.defaults, 'cookie.defaults')

  test.done()

})